]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
Bump for snapshot
[gcc.git] / gcc / ChangeLog
1 Sun Mar 15 22:30:44 PST 1998 Jeff Law (law@cygnus.com)
2
3 * version.c: Bump for snapshot.
4
5 Fri Mar 13 11:30:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6
7 * config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range
8 check for 'M' constraint.
9
10 Thu Mar 12 14:47:14 1998 Jim Wilson <wilson@cygnus.com>
11
12 * cccp.c (create_definition): If pedantic, call pedwarn for macro
13 varargs feature.
14
15 Thu Mar 12 13:43:25 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
16
17 * i386.c (ix86_logical_operator): New function.
18 (split_di): Ensure that when a MEM is split, the resulting MEMs have
19 SImode.
20 * i386.md (anddi3, xordi3, iordi3): New patterns. Add a define_split
21 to implement them.
22
23 Thu Mar 12 15:13:16 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24 Richard Earnshaw <rearnsha@arm.com>
25 Nick Clifton <nickc@cygnus.com>
26
27 * tm.texi (DEFAULT_RTX_COSTS): Document new macro.
28
29 * arm.h (DEFAULT_RTX_COSTS): Define instead of RTX_COSTS.
30
31 * cse.c (rtx_cost): Provide a default case in an enumeration
32 switch, and call DEFAULT_RTX_COSTS if it's defined.
33
34 Thu Mar 12 10:02:38 1998 Manfred Hollstein <manfred@s-direktnet.de>
35
36 * basic-block.h (compute_preds_succs): Change return type in
37 prototype to void.
38 * flow.c (compute_preds_succs): Likewise in function definition.
39
40 * regmove.c (find_matches): Cast char used as array index to unsigned char
41 to supress warning.
42
43 Thu Mar 12 09:39:40 1998 Manfred Hollstein <manfred@s-direktnet.de>
44
45 * i386.h (RTX_COSTS): Insert braces around nested if.
46 (ADDITIONAL_REGISTER_NAMES): Insert braces around structured
47 elements.
48
49 * gcc.c (default_compilers): Properly put brackets around array elements in
50 initializer.
51
52 * getopt.c (_getopt_internal): Add explicit braces around nested if;
53 reformatted.
54
55 * reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
56 (record_reg_life_pat): Add explicit parens around && and || in expression.
57 (stack_reg_life_analysis): Add parens around assignment used as expression.
58 (convert_regs): Likewise.
59
60 Thu Mar 12 09:25:29 1998 Manfred Hollstein <manfred@s-direktnet.de>
61
62 * bitmap.c (bitmap_element_allocate): Remove unused parameter;
63 change callers accordingly.
64
65 * cplus-dem.c (arm_special): Remove unused parameter work in prototype
66 and definition; change all callers accordingly.
67
68 * except.c (init_eh): Avoid assignment of unused return value of
69 build_pointer_type; cast it to void, instead, and remove unused
70 variable type.
71
72 * gcc.c (lang_specific_driver): Define prototype only #ifdef
73 LANG_SPECIFIC_DRIVER.
74 (temp_names): Define only #ifdef MKTEMP_EACH_FILE.
75
76 * genoutput.c (output_epilogue): Initialize next_name to 0.
77
78 * real.c (efrexp): #if 0 prototype and function definition.
79 (eremain): Likewise.
80 (uditoe): Likewise.
81 (ditoe): Likewise.
82 (etoudi): Likewise.
83 (etodi): Likewise.
84 (esqrt): Likewise.
85
86 * reload.c (push_secondary_reload): Define prototype only
87 #ifdef HAVE_SECONDARY_RELOADS.
88
89 * varasm.c (assemble_static_space): Define rounded only
90 #ifndef ASM_OUTPUT_ALIGNED_LOCAL.
91
92 Thu Mar 12 09:11:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
93
94 * i386.md (andsi): Add default case in enumeration switch.
95 (iorsi3): Likewise.
96 (iorhi3): Likewise.
97 (xorsi3): Likewise.
98
99 Thu Mar 12 08:37:02 1998 Manfred Hollstein <manfred@s-direktnet.de>
100
101 * c-decl (finish_struct): Change type of min_align to unsigned.
102
103 * cplus-dem.c (demangle_function_name): Change type of variable i to size_t;
104 remove unused variable len.
105
106 * dwarf2out.c (reg_save): Add explicit cast of -1 to unsigned and a
107 comment indicating this is proper behaviour.
108 (reg_loc_descriptor): Remove redundant comparison of unsigned variable
109 reg >= 0.
110 (based_loc_descr): Likewise.
111
112 * enquire.c (bitpattern): Change type of variable i to unsigned.
113
114 * final.c (output_asm_insn): Don't cast insn_noperands to unsigned.
115
116 * flow.c (life_analysis): Change type of variable i to size_t;
117 remove unused variable insn.
118
119 * gcc.c (translate_options): Change type of variables optlen, arglen and
120 complen to size_t.
121 (input_filename_length): Change type to size_t.
122 (do_spec_1): Change type of variable bufsize to size_t.
123 (main): Change type of variables i and j to size_t;
124 remove subblock local definition of variable i.
125 (lookup_compiler): Change type of second argument to size_t;
126 change type of variable i to size_t.
127
128 * genemit.c (output_init_mov_optab): Change type of variable i to size_t.
129
130 * genopinit.c (get_insn): Change type of variable pindex to size_t.
131
132 * genrecog.c (add_to_sequence): Change type of variable i to size_t.
133
134 * global.c (global_alloc): Change type of variable i to size_t.
135
136 * regclass.c (init_reg_sets): Change type of variables i and j to unsigned.
137
138 * stmt.c (expand_end_bindings): Change type of variable i to size_t.
139 (expand_end_case): Change type of variable count to size_t.
140
141 * toplev.c (main): Change type of variable j to size_t.
142 (set_target_switch): Change type of variable j to size_t.
143 (print_switch_values): Change type of variable j to size_t;
144 remove unused variable flags.
145
146 * varasm.c (assemble_variable): Change type of variable align to size_t.
147 (const_hash_rtx): Change type of variable i to size_t.
148
149 1998-03-11 Mark Mitchell <mmitchell@usa.net>
150
151 * dbxout.c (dbxout_type_methods): Only treat TYPE_METHODS as a
152 TREE_VEC if that's what it really is.
153
154 Wed Mar 11 15:16:01 1998 Michael Meissner <meissner@cygnus.com>
155
156 * {haifa-,}sched.c (rank_for_schedule): Only take void * arguments
157 as per ISO C spec.
158
159 Wed Mar 11 12:05:20 1998 Teemu Torma <tot@trema.com>
160
161 * gthr.h: Changed the comment about return values.
162 * gthr-solaris.h (__gthread_once): Do not use errno; return the
163 error number instead of -1.
164 (__gthread_key_create): Any non-zero return value is an error.
165 * libgcc2.c (eh_context_initialize): Check for non-zero return
166 value from __gthread_once.
167 Check that the value of get_eh_context was really changed.
168
169 Wed Mar 11 18:26:25 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
170
171 * sh.h (LOOP_ALIGN): Only align when optimizing.
172 * sh.c (find_barrier): Clear inc for CODE_LABELs.
173 When not optimizing, calculate alignment for BARRIERs directly.
174
175 Wed Mar 11 15:07:18 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
176
177 * final.c (shorten_branches): Remove conditionalizing on
178 SHORTEN_WITH_ADJUST_INSN_LENGTH
179 * sh.h, pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Remove.
180
181 Wed Mar 11 02:37:41 1998 Jeffrey A Law (law@cygnus.com)
182
183 * flow.c (find_basic_blocks_1): Keep the cfg accurate when removing
184 an unconditional jump around deleted blocks.
185
186 Mon Mar 9 12:02:23 1998 Jim Wilson <wilson@cygnus.com>
187
188 * profile.c (branch_prob): If see computed goto, call fatal instead of
189 abort.
190
191 * config/mips/sni-svr4.h (CPP_PREDEFINE): Add -DSNI and -Dsinix.
192
193 * configure.in (alpha-dec-osf): Add default case for osf* to switch.
194 Patch from Bruno Haible.
195
196 * function.c (put_reg_into_stack): Copy MEM_IN_STRUCT_P from new.
197 (assign_parms): Set aggregate if hide_last_arg and last_named.
198
199 Mon Mar 9 19:57:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
200
201 * final.c (shorten_branches): Initialize insn_addresses.
202
203 Mon Mar 9 14:10:23 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
204
205 * sh.h (MUST_PASS_IN_STACK): Define.
206
207 Sun Mar 8 13:01:56 1998 Jeffrey A Law (law@cygnus.com)
208
209 * final.c (shorten_branches): Fix minor logic error in
210 ADDR_DIFF_VEC shortening support.
211
212 Sun Mar 8 02:17:42 PST 1998 Jeff Law (law@cygnus.com)
213
214 * version.c: Bump for snapshot.
215
216 Sat Mar 7 00:54:15 1998 Jeffrey A Law (law@cygnus.com)
217
218 * haifa-sched.c (is_cfg_nonregular): Change return type to
219 an int. No longer compute "estimated" number of edges. Use
220 computed_jump_p instead of duplicating the code. Fixup/add
221 some comments.
222 (build_control_flow): Returns a value indicating an irregularity
223 in the cfg was detected. Count the number of edges in the cfg.
224 allocate various edge tables.
225 (find_rgns): No longer look for unreachable blocks.
226 (schedule_insns): Do not allocate memory for edge tables here.
227 Free memory for edge tables before returning. Do not perform
228 cross block scheduling if build_control_flow returns nonzero.
229 * flow.c (compute_preds_succs): More accurately determine when
230 a block drops in.
231
232 * basic-block.h (free_basic_block_vargs): Provide prototype.
233
234 * cccp.c (main): Fix dumb mistakes in last change.
235
236 Fri Mar 6 21:28:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
237
238 * rtl.h (addr_diff_vec_flags): New typedef.
239 (union rtunion_def): New member rt_addr_diff_vec_flags.
240 (ADDR_DIFF_VEC_FLAGS): New macro.
241
242 * sh.c (output_branch): Fix offset overflow problems.
243
244 * final.c (shorten_branches): Implement CASE_VECTOR_SHORTEN_MODE.
245 (final_scan_insn): New argument BODY for ASM_OUTPUT_ADDR_DIFF_ELT.
246 * rtl.def (ADDR_DIFF_VEC): Three new fields (min, max and flags).
247 * stmt.c (expand_end_case): Supply new arguments to
248 gen_rtx_ADDR_DIFF_VEC.
249 * 1750a.h (ASM_OUTPUT_ADDR_DIFF_ELT): New argument BODY.
250 * alpha.h, arc.h, clipper.h, convex.h : Likewise.
251 * dsp16xx.h, elxsi.h, fx80.h, gmicro.h, h8300.h : Likewise.
252 * i370.h, i386.h, i860.h, i960.h, m32r.h, m68k.h, m88k.h : Likewise.
253 * mips.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pyr.h : Likewise.
254 * rs6000.h, sh.h, sparc.h, spur.h, tahoe.h, v850.h : Likewise.
255 * vax.h, we32k.h, alpha/vms.h, arm/aof.h, arm/aout.h : Likewise.
256 * i386/386bsd.h, i386/freebsd-elf.h : Likewise.
257 * i386/freebsd.h, i386/linux.h : Likewise.
258 * i386/netbsd.h, i386/osfrose.h, i386/ptx4-i.h, i386/sco5.h : Likewise.
259 * i386/sysv4.h, m68k/3b1.h, m68k/dpx2.h, m68k/hp320.h : Likewise.
260 * m68k/mot3300.h, m68k/sgs.h : Likewise.
261 * m68k/tower-as.h, ns32k/encore.h, sparc/pbd.h : Likewise.
262 * sh.h (INSN_ALIGN, INSN_LENGTH_ALIGNMENT): Define.
263 (CASE_VECTOR_SHORTEN_MODE): Define.
264 (short_cbranch_p, align_length, addr_diff_vec_adjust): Don't declare.
265 (med_branch_p, braf_branch_p): Don't declare.
266 (mdep_reorg_phase, barrier_align): Declare.
267 (ADJUST_INSN_LENGTH): Remove alignment handling.
268 * sh.c (uid_align, uid_align_max): Deleted.
269 (max_uid_before_fixup_addr_diff_vecs, branch_offset): Deleted.
270 (short_cbranch_p, med_branch_p, braf_branch_p, align_length): Deleted.
271 (cache_align_p, fixup_aligns, addr_diff_vec_adjust): Deleted.
272 (output_far_jump): Don't use braf_branch_p.
273 (output_branchy_insn): Don't use branch_offset.
274 (find_barrier): Remove checks for max_uid_before_fixup_addr_diff_vecs.
275 Remove paired barrier stuff.
276 Don't use cache_align_p.
277 Take alignment insns into account.
278 (fixup_addr_diff_vecs): Reduce to only fixing up the base label of
279 the addr_diff_vec.
280 (barrier_align, branch_dest): New function.
281 (machine_dependent_reorg, split_branches): Remove infrastructure
282 for branch shortening that is now provided in the backend.
283 * sh.md (short_cbranch_p, med_branch_p, med_cbranch_p): New attributes.
284 (braf_branch_p, braf_cbranch_p): Likewise.
285 (attribute length): Use new attributes.
286 (casesi_worker): Get mode and unsignednedd from ADDR_DIFF_VEC.
287 (addr_diff_vec_adjust): Delete.
288 (align_2): Now a define_expand.
289 (align_log): Now length 0.
290
291 Fri Mar 6 14:41:33 1998 Michael Meissner <meissner@cygnus.com>
292
293 * m32r.md (right): Correctly check for length == 2, not 1.
294
295 Fri Mar 6 14:00:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
296
297 * mips/mips.h: Prototype `machine_dependent_reorg'.
298 (ASM_OUTPUT_ALIGN): Remove unused variable `mask'.
299
300 Fri Mar 6 11:43:35 1998 Joern Rennecke (amylaar@cygnus.co.uk)
301
302 * final.c (shorten_branches): Restore accidentally removed code.
303
304 Fri Mar 6 11:00:49 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
305
306 * configure.in: Remove duplicate uses of AC_PROG_CC and
307 AC_PROG_MAKE_SET.
308
309 Fri Mar 6 00:59:30 1998 Richard Henderson <rth@cygnus.com>
310
311 * configure.in (target_cpu_default2): Correct typo for alphapca56.
312
313 Thu Mar 5 23:24:50 1998 Jeffrey A Law (law@cygnus.com)
314 Doug Evans (devans@cygnus.com)
315
316 * haifa-sched.c (build_jmp_edges): Delete dead function.
317 (build_control_flow): Use cfg routines from flow.c
318 (schedule_insns): Remove debugging code accidentally checked
319 in earlier today.
320
321 * basic-block.h: Add external integer list structures, typdefs,
322 accessor macros and function declarations. Simlarly for
323 basic block pred/succ support and simple bitmap stuff.
324 * flow.c: Add functions for integer list, basic block pred/succ
325 support and simple bitmap support.
326 (compute_dominators): New function to compute dominators and
327 post dominators.
328 (find_basic_blocks): Split into two functions.
329 (life_analysis): Likewise.
330 (flow_analysis): Removed. Now handled by calling find_basic_blocks,
331 the life_analysis from toplev.c
332 * toplev.c (rest_of_compilation): Call find_basic_blocks, then
333 life_analysis instead of flow_analysis.
334
335 Thu Mar 5 23:06:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
336
337 * jump.c (jump_optimize): Call mark_jump_label also for deleted
338 insns.
339 (mark_jump_label): Don't increment ref counts for deleted insns.
340
341 Thu Mar 5 09:55:15 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
342
343 * mips/iris6.h (TARGET_DEFAULT): Parenthesize macro definition.
344
345 * mips/mips.c: Include stdlib.h and unistd.h.
346 (mips_asm_file_end): Add braces around empty body in an if-statement.
347 (function_prologue): Wrap variable `fnname' in
348 !FUNCTION_NAME_ALREADY_DECLARED. Correct format specifier in fprintf.
349 (mips_select_rtx_section, mips_select_section): Declare as void.
350
351 * mips/mips.h: Add prototypes for extern functions in mips.c.
352 (FUNCTION_ARG_REGNO_P): Add parentheses around && within ||.
353 (ENCODE_SECTION_INFO): Add braces around empty body in an
354 if-statement.
355
356 * mips/mips.md (movdi): Add parentheses around && within ||.
357 (movsf, movdf): Likewise.
358 (branch_zero, branch_zero_di): Add default case in
359 enumeration switch.
360
361
362 Thu Mar 5 02:45:48 1998 Richard Henderson <rth@cygnus.com>
363
364 * alpha/alpha.h (TARGET_WINDOWS_NT, TARGET_OPEN_VMS): Just make them
365 real constants, since they can't be changed.
366 (TARGET_AS_CAN_SUBTRACT_LABELS): New.
367 * alpha/alpha.md (builtin_setjmp_receiver): Use it.
368 * alpha/osf.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
369 * alpha/osf2or3.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
370 * alpha/vms.h (TARGET_OPEN_VMS): New.
371 * alpha/win-nt.h (TARGET_WINDOWS_NT): New.
372
373 Thu Mar 5 02:41:27 1998 Richard Henderson <rth@cygnus.com>
374
375 * reload.c (find_reloads): Always force (subreg (mem)) to be
376 reloaded if WORD_REGISTER_OPERATIONS.
377
378 Thu Mar 5 02:14:44 1998 Richard Henderson <rth@cygnus.com>
379
380 * haifa-sched.c (free_list): Rename from free_pnd_lst.
381 (free_pending_lists): Rename free_pnd_lst uses.
382 (remove_dependence): Place expunged element on unused_insn_list.
383 (alloc_INSN_LIST, alloc_EXPR_LIST): New. Change all callers of
384 gen_rtx_*_LIST and alloc_rtx to use them.
385 (compute_block_backward_dependences): Free the reg_last_* lists.
386
387 Thu Mar 5 00:05:40 1998 Jeffrey A Law (law@cygnus.com)
388
389 * cccp.c (main): Avoid undefined behavior when setting pend_includes
390 and pend_files.
391
392 Wed Mar 4 21:58:25 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
393
394 * rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if
395 USE_GNULIBC_1 is defined
396 * configure.in: add a new case powerpc-*-linux-gnulibc1 which
397 includes the t-linux-gnulibc1 fragment
398
399 Wed Mar 4 12:11:36 1998 Jim Wilson <wilson@cygnus.com>
400
401 * mips.md (movdf_internal1a): Fix misplaced parenthesis in condition.
402
403 Wed Mar 4 18:47:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
404
405 * final.c (final_scan_insn, case CODE_LABEL: Cleanup.
406
407 Wed Mar 4 15:51:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
408
409 * final.c (shorten_branches): Tag the loop alignment onto the
410 first label after NOTE_INSN_LOOP_BEG even if there is an
411 intervening insn.
412
413 Tue Mar 3 21:48:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
414
415 * final.c (insn_current_reference_address):
416 Use SEQ instead of BRANCH as argument to align_fuzz, to get a
417 proper alignment chain.
418
419 * final.c (max_labelno): New static variable.
420 (final_scan_insn): Check max_labelno before outputting an
421 alignment for a label.
422 (shorten_branches): Remove unused variable length_align.
423
424 Tue Mar 3 14:27:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
425
426 * sparc.c (ultrasparc_adjust_cost): Add default case in
427 enumeration switch.
428
429 * sparc.h: Add prototypes for extern functions defined in
430 sparc.c.
431
432 Tue Mar 3 10:00:11 1998 Nick Clifton <nickc@cygnus.com>
433
434 * toplev.c: Only generate <name>.dbr file when dumping RTL if
435 DEALY_SLOTS is defined.
436
437 Tue Mar 3 07:36:37 1998 Manfred Hollstein <manfred@s-direktnet.de>
438
439 * reorg.c (fill_eager_delay_slots): Add new argument delay_list
440 in call to fill_slots_from_thread.
441
442 Mon Mar 2 13:45:03 1998 Richard Henderson <rth@cygnus.com>
443
444 * alpha/linux.h (CPP_PREDEFINES): Correct connecting whitespace
445 to SUB_CPP_PREDEFINES. Reported by asun@saul4.u.washington.edu.
446
447 Mon Mar 2 22:59:28 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
448
449 * final.c (insn_last_address, insn_current_align, uid_align):
450 New variables.
451 (in_align_chain, align_fuzz, align_shrink_fuzz): New functions.
452 (insn_current_reference_address): Likewise.
453 (shorten_branches, final_scan_insn): Implement LABEL_ALIGN,
454 LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros.
455 (label_to_alignment): New function.
456 * genattrtab.c (write_test_expr): If one of LABEL_ALIGN,
457 LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call
458 insn_current_reference_address instead of insn_current_address.
459 (or_attr_value, write_length_unit_log): New functions.
460 (main): Call write_length_unit_log.
461 (write_const_num_delay_slots): Output extra '\n'.
462 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
463 replace with:
464 (LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER).
465 * i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise.
466 * arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with:
467 (LOOP_ALIGN).
468 * i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with:
469 (LABEL_ALIGN_AFTER_BARRIER).
470 * ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise.
471 * ns32k/tek6000.h: Likewise.
472 * i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete.
473 * i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of
474 ASM_OUTPUT_ALIGN_CODE.
475
476 Mon Mar 2 01:05:50 PST 1998 Jeff Law (law@cygnus.com)
477
478 * version.c: Bump for snapshot.
479
480 Mon Mar 2 00:52:18 PST 1998 Jeff Law (law@cygnus.com)
481
482 * version.c: Bump for snapshot.
483
484 Sun Mar 1 18:25:49 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
485
486 * reorg.c (fill_slots_from_thread): Don't steal delay list from target
487 if condition code of jump conflicts with opposite_needed.
488
489 * reorg.c (fill_slots_from_thread): Mark resources referenced in
490 opposite_needed thread. Return delay_list even when cannot get
491 any more delay insns from end of subroutine.
492
493 Sun Mar 1 18:26:21 1998 Ken Rose (rose@acm.org)
494
495 * reorg.c (fill_slots_from_thread): New parameter, delay_list.
496 All callers changed.
497
498 Sun Mar 1 18:25:37 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
499
500 * frame.c (start_fde_sort, fde_split, heapsort, fde_merge,
501 end_fde_sort): New functions for fast sorting of an FDE array.
502 (fde_insert): Simplified.
503 (add_fdes): Change argument list.
504 (frame_init): Use the new functions.
505
506 Sun Mar 1 18:06:21 1998 Jeffrey A Law (law@cygnus.com)
507
508 * ginclude/va-ppc.h (va_arg): Fix typo in long long support.
509
510 * i386.c (reg_mentioned_in_mem): Fix dangling else statement.
511
512 * fold-const.c (fold_range_test): Always return a value.
513
514 Sun Mar 1 17:57:34 1998 Mumit Khan <khan@xraylith.wisc.edu>
515
516 * config/i386/winnt.c (i386_pe_unique_section): Put read-only
517 data in the text section unless READONLY_DATA_SECTION is defined.
518
519 Sun Mar 1 17:48:46 1998 Jeffrey A Law (law@cygnus.com)
520
521 * c-parse.in (undeclared variable error): Tweak error message to
522 be clearer.
523
524 Sun Mar 1 10:22:36 PST 1998 Jeff Law (law@cygnus.com)
525
526 * version.c: Bump for snapshot.
527
528 1998-02-28 Mark Mitchell <mmitchell@usa.net>
529
530 * final.c (final_scan_insn): Undo overzealous removal of `set'.
531
532 Sat Feb 28 07:54:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
533
534 * pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated
535 case, add parentheses to specify the proper order of precedence in
536 the if-statement.
537
538
539 * c-aux-info.c: Include string.h/strings.h.
540
541 * pa.c: Include stdlib.h.
542 (pa_combine_instructions): Prototype the function.
543 (pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise.
544 (reloc_needed): Add default case for enumeration switch.
545 (remove_useless_addtr_insns): Remove unused variable `all'.
546 (hppa_expand_prologue): Add explicit braces to avoid
547 ambiguous `else'.
548 (output_function_epilogue): Remove unused variable `i'.
549 (output_millicode_call): Remove unused variable `link'.
550 (shadd_constant_p, forward_branch_p): Make the function static.
551 (following_call): Explicitly declare to return int.
552 (pa_reorg): Declare as void.
553 (pa_combine_instructions): Declare as static void. Add
554 parentheses around && within ||.
555
556 * pa.h: Add prototypes for pa_reorg, symbolic_operand,
557 following_call, function_label_operand, lhs_lshift_cint_operand
558 and zdepi_cint_p.
559
560 * pa.md: Add parentheses around && within ||.
561
562 * cppalloc.c: Include stdlib.h.
563
564 * cpperror.c (cpp_print_containing_files): Remove unused variable
565 `i'. Fix format specifier in fprintf.
566
567 * cse.c (cse_around_loop): Add explicit braces to avoid
568 ambiguous `else'.
569 (delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0.
570
571 * expr.c (expand_expr): Add parentheses around && within ||.
572
573 * final.c (app_enable): Replace fprintf with fputs where there are
574 no format specifiers and no trailing argument after the string.
575 Eg, when printing ASM_APP_ON/ASM_APP_OFF.
576 (app_disable): Likewise.
577 (final_end_function): Likewise.
578 (final_scan_insn): Likewise. Remove unused variable `set'.
579 (profile_function): Wrap empty if-statement body in {} brackets.
580
581 * function.c: Include stdlib.h.
582 (pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD.
583 (reposition_prologue_and_epilogue_notes): Add parentheses
584 around assignment used as truth value.
585
586 * integrate.c (expand_inline_function): Wrap variable
587 `cc0_insn' in macro HAVE_cc0.
588
589 * jump.c (jump_optimize): Wrap variable `q' in macro
590 HAVE_cc0. Remove unused variable `prev1'.
591
592 * libgcc2.c (__bb_exit_trace_func): Add parentheses around &&
593 within ||. Fix format specifier in fprintf.
594 (__bb_init_prg): Add parentheses around assignment used as
595 truth value.
596
597 * local-alloc.c: Include stdlib.h.
598 (requires_inout): Add parentheses around assignment used
599 as truth value.
600
601 * loop.c (analyze_loop_iterations): Wrap prototype and definition
602 in macro HAVE_decrement_and_branch_on_count.
603 (insert_bct, instrument_loop_bct): Likewise.
604 (move_movables): Add parentheses around assignment used as
605 truth value.
606 (consec_sets_invariant_p): Likewise.
607 (maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0.
608
609 * objc/objc-act.c: Include stdlib.h.
610 (lookup_method_in_protocol_list): Wrap empty else-statement body
611 in braces.
612 (lookup_protocol_in_reflist): Likewise.
613 (objc_add_static_instance): Remove unused variables `decl_expr'
614 and `decl_spec'.
615 (get_objc_string_decl): Remove unused variable `decl'.
616 (generate_static_references): Remove unused variables `idecl' and
617 `instance'.
618 (check_protocols): Wrap empty else-statement body in braces.
619
620 * protoize.c: Include stdlib.h.
621 (substr): Add parentheses around assignment used as truth value.
622 (abspath): Likewise.
623 (shortpath): Likewise.
624
625 * regmove.c (fixup_match_1): Add parentheses around assignment
626 used as truth value.
627
628 * reload.c (push_secondary_reload): Remove unused variable `i'.
629 (find_reloads): Add parentheses around assignment used as truth
630 value.
631
632 * reload1.c: Include stdlib.h.
633
634 * rtl.h: Correct typo in prototype of offsettable_memref_p.
635
636 * stmt.c (add_case_node): Add parentheses around assignment used
637 as truth value.
638 (case_tree2list): Likewise.
639
640 * tree.c (valid_machine_attribute): Wrap variable `decl_attr_list'
641 in macro VALID_MACHINE_DECL_ATTRIBUTE. Wrap variable
642 `type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE.
643 (merge_attributes): Add explicit braces to avoid ambiguous
644 `else'.
645
646 * unroll.c (copy_loop_body): Wrap variable `cc0_insn' in
647 macro HAVE_cc0.
648
649 * varasm.c: Include stdlib.h.
650
651
652 * system.h: Remove sys/stat.h.
653 * gcc.c: Add sys/stat.h.
654
655 * genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
656 * genattrtab.c: Likewise.
657 * genconfig.c: Likewise.
658 * genemit.c: Likewise.
659 * genextract.c: Likewise.
660 * genflags.c: Likewise.
661 * genopinit.c: Likewise.
662 * genoutput.c: Likewise.
663 * genpeep.c: Likewise.
664 * genrecog.c: Likewise.
665 * tlink.c: Likewise. Also wrap `getenv' in NEED_DECLARATION_GETENV.
666
667 Fri Feb 27 11:02:47 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
668
669 * invoke.texi: Use @itemx for a secondary item in a @table.
670
671 * config/m68k/m68k.md (movsf+1): Optimize moving a CONST_DOUBLE
672 zero.
673
674 1998-02-26 Ken Raeburn <raeburn@cygnus.com>
675
676 * regclass.c (init_reg_sets): Move init of move cost tables...
677 (init_reg_sets_1): ...to here.
678
679 Thu Feb 26 00:13:21 1998 Ian Lance Taylor <ian@cygnus.com>
680
681 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
682
683 Wed Feb 25 23:40:54 1998 Jeffrey A Law (law@cygnus.com)
684
685 * i386.c (struct machine_function): Add new fields for PIC stuff.
686 (save_386_machine_status): Fix argument to xmalloc. Save pic_label_rtx
687 and pic_label_name.
688 (restore_386_machine_status): Corresponding changes.
689 (clear_386_stack_locals): Also clear pic_label_rtx and pic_label_name.
690
691 Wed Feb 25 01:31:40 1998 Jeffrey A Law (law@cygnus.com)
692
693 * c-parse.y (undeclared variable error): Tweak error message
694 to be clearer.
695
696 Tue Feb 24 23:54:07 1998 Richard Henderson <rth@cygnus.com>
697
698 * flags.h (g_switch_value, g_switch_set): Declare.
699 * alpha.c (override_options): Set g_switch_value=8 if not set.
700 * alpha/elf.h (CC1_SPEC): New.
701 (ASM_SPEC): New.
702 (LINK_SPEC): Pass along the -G value we were given.
703 (LOCAL_ASM_OP): Remove.
704 (ASM_OUTPUT_ALIGNED_LOCAL): Output to .bss or .sbss by size.
705 (MAX_OFILE_ALIGNMENT): New.
706 (BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP): New.
707 (EXTRA_SECTIONS): Add sbss and sdata.
708 (SECTION_FUNCTION_TEMPLATE): New.
709 (EXTRA_SECTION_FUNCTIONS): Use it.
710 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
711 (SELECT_SECTION): Use sdata when small enough.
712 * alpha/linux.h (ASM_SPEC): Remove.
713
714
715 Mon Feb 23 15:09:18 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
716 * config.sub (sco5): Fix typo.
717
718 Mon Feb 23 18:19:31 1998 Manfred Hollstein <manfred@s-direktnet.de>
719
720 * config/t-linux (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Add macros and
721 set to empty.
722 * config/t-linux-aout (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Likewise.
723 * config/alpha/t-linux: Remove file.
724 * config/sparc/t-linux: Remove file.
725 * config/m68k/t-linux (LIBGCC1, CROSS_LIBGCC1): Remove.
726 * config/m68k/t-linux-aout (LIBGCC1, CROSS_LIBGCC1): Likewise.
727 * configure.in (alpha*-*-linux-gnulibc1*): Use t-linux instead of alpha/t-linux
728 for tmake_file.
729 (alpha*-*-linux-gnu*): Likewise.
730 (sparc-*-linux-gnulibc1*): Use t-linux instead of sparc/t-linux for tmake_file.
731 (sparc-*-linux-gnu*): Likewise.
732
733 Mon Feb 23 10:47:39 1998 Robert Lipe <robertl@dgii.com>
734 * collect2.c (ldd_file_name): Bracket declaration with same
735 manifests as use.
736 (full_real_ld_suffix): Deleted. Variable was calloced and
737 written into, but never read.
738
739 1998-02-23 Mike Stump <mrs@wrs.com>
740
741 * configure.in: Add support for i386-wrs-vxworks configuration.
742 * i386/vxi386.h: New file.
743
744 Sun Feb 22 21:16:51 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
745
746 * tree.c (contains_placeholder_p): Ensure function always returns
747 a value.
748 * sparc.md (movdi_sp64_insn): Add default case in enumeration switch.
749 (movsf_const_insn, movdf_const_insn, movtf_const_insn): Likewise.
750
751 Sun Feb 22 20:58:19 1998 Jeffrey A Law (law@cygnus.com)
752
753 * vms.h (SELECT_SECTION): Use TREE_CODE_CLASS correctly.
754
755 1998-02-22 Paul Eggert <eggert@twinsun.com>
756
757 * config/sparc/sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2):
758 Define this new symbol.
759 (DWARF2_DEBUGGING_INFO, DWARF_DEBUGGING_INFO): Do not #undef.
760 * toplev.c (main): Do not default to DWARF2_DEBUG with -ggdb if
761 LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined.
762
763 Sun Feb 22 20:07:32 1998 Jim Wilson <wilson@cygnus.com>
764
765 * iris5.h (DWARF2_UNWIND_INFO): Define to 0.
766 * iris5gas.h (DWARF2_UNWIND_INFO): Define to 1.
767
768 Sun Feb 22 15:29:48 1998 Richard Henderson <rth@cygnus.com>
769
770 * objc/Object.m (-error): Call objc_verror with our va_list.
771
772 Sun Feb 22 09:45:39 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
773
774 * collect2.c (scan_prog_file): Completely cover uses of variable
775 `exports' with macro COLLECT_EXPORT_LIST.
776
777 Sat Feb 21 20:36:23 1998 Jeff Law (law@cygnus.com)
778
779 * version.c: Bump for snapshot.
780
781 Fri Feb 20 16:22:13 1998 Michael Meissner <meissner@cygnus.com>
782
783 * sched.c (schedule_block): Remove code to get arguments from hard
784 regs into pseudos early. Same as Aug 25, 1997 change to
785 haifa-sched.c.
786
787 1998-02-20 Jason Merrill <jason@yorick.cygnus.com>
788
789 * collect2.c (main): Still handle !do_collecting for non-AIX targets.
790
791 Fri Feb 20 10:39:47 1998 Michael Tiemann <michael@impact.tiemann.org>
792
793 * ginclude/va-mips.h (va_arg): Remove trailing space after '\'
794 continuation character (line 243).
795
796 Fri Feb 20 12:10:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
797
798 * genrecog.c (main): Remove duplicated sentence in emitted comment.
799
800 Thu Feb 19 22:36:53 1998 Andrey Slepuhin <pooh@msu.net>
801 David Edelsohn <edelsohn@mhpcc.edu>
802
803 * collect2.c (XCOFF_SCAN_LIBS): Remove.
804 (export_flag): New variable.
805 (export_file): #ifdef COLLECT_EXPORT_LIST.
806 (import_file, exports, imports, undefined): New variables.
807 (libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
808 (dump_list, dump_prefix_list, is_in_list): New functions.
809 (write_export_file): $ifdef COLLECT_EXPORT_LIST.
810 (write_import_file, resolve_lib_name): New functions.
811 (use_import_list, ignore_library): Same.
812 (collect_exit): maybe_unlink import_file and #ifdef.
813 (handler): Same.
814 (main): New variable importf, #ifdef exportf. Move parsing of
815 -shared before general argument parsing. Resolve AIX library
816 paths and import libgcc.a symbols. Treat .so shared libraries the
817 same as objects and .a libraries. Create alias for object_lst and
818 increment it instead of original pointer. Scan AIX libraries as
819 objects earlier instead of using scan_libraries. Perform AIX
820 tlink later to resolve templates instead of forking ld.
821 (GCC_OK_SYMBOL): Ensure symbol not in undef section.
822 (GCC_UNDEF_SYMBOL): New macro.
823 (scan_prog_file): Loop for members of AIX libraries. Handle
824 export/import of ctors/dtors.
825 (aix_std_libs): New variable.
826 (scan_libraries, XCOFF): Delete.
827
828 Thu Feb 19 22:36:52 1998 Robert Lipe <robertl@dgii.com>
829
830 * collect2.c (full_real_ld_suffix): #ifdef CROSS_COMPILE.
831
832 1998-02-19 Mike Stump <mrs@wrs.com>
833
834 * Makefile.in: Use $tooldir for sys-include to match toplevel
835 configure.
836
837 Thu Feb 19 01:32:37 1998 Jeffrey A Law (law@cygnus.com)
838 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
839
840 * emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
841
842 * emit-rtl.c (hard-reg-set.h): Include.
843 (get_lowpart_common): Don't make new REG for hard reg in a
844 class that cannot change size.
845 * Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
846
847 * combine.c: Revert previous patch.
848
849 1998-02-19 Paul Eggert <eggert@twinsun.com>
850
851 * config/sparc/sol2-sld.h: New file.
852 * configure.in (sparc-*-solaris2*): Use it when using the
853 system linker.
854
855 Thu Feb 19 00:46:59 1998 Jeffrey A Law (law@cygnus.com)
856
857 * loop.c (force_movables): Fix typo.
858
859 Thu Feb 19 08:26:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
860
861 * m88k.h: Change file pattern to match reality.
862
863 Wed Feb 18 23:19:52 1998 Jeffrey A Law (law@cygnus.com)
864
865 * varasm.c (output_constant_pool): Fix dumb thinko in last
866 change.
867
868 * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
869 a function name to a section name.
870
871 1998-02-18 Doug Evans <devans@cygnus.com>
872
873 * tree.h (merge_machine_{type,decl}_attributes): Declare.
874 (split_specs_attrs, strip_attrs): Add prototypes.
875 * tree.c (merge_machine_{type,decl}_attributes): New functions.
876 * c-decl.c (duplicate_decls): Call merge_machine_decl_attributes.
877 Update olddecl's attributes too.
878 * c-common.c (strip_attrs): New function.
879 * c-typeck.c (common_type): Call merge_machine_type_attributes.
880 * varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P.
881 (make_decl_rtl): Likewise.
882
883 1998-02-18 Jim Wilson <wilson@cygnus.com>
884
885 * c-decl.c (shadow_tag_warned): Call split_specs_attrs.
886
887 Wed Feb 18 09:09:50 1998 Jeffrey A Law (law@cygnus.com)
888
889 Remove this change until we can fix it correctly.
890 * collect2.c: Bracket declaration of 'exportf' and
891 'full_real_ld_suffix'.
892
893 Wed Feb 18 08:44:25 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
894
895 * Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
896
897 Tue Feb 17 23:30:20 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
898
899 * c-common.c (c_expand_start_cond, c_expand_end_cond,
900 c_expand_start_else): Don't warn about non-ambiguous else even if
901 braces are missing.
902
903 Tue Feb 17 23:56:50 1998 Robert Lipe <robertl@dgii.com>
904
905 * sco5.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
906 ASM_OUTPUT_LONG_DOUBLE): Delete. Use the ones from i386.h
907 instead.
908
909 Tue Feb 17 22:56:14 1998 Richard Henderson <rth@cygnus.com>
910
911 * combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when
912 simplifying a subreg of a hard reg.
913 (expand_compound_operation): Likewise.
914 (force_to_mode): Likewise.
915
916 Tue Feb 17 22:37:22 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
917
918 * fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
919 (lshift_double): Add parentheses around + or - inside shift.
920 (rshift_double): Likewise.
921 (size_int_wide): Explicitly set type of `bit_p' to `int'.
922
923 * Makefile.in (fold-const.o): Depend on system.h.
924
925 * Makefile.in (gcc.o): Depend on system.h, in accordance with last
926 change to gcc.c.
927
928 * haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
929 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
930 (sched_note_set): Remove unused parameter `b', all callers changed.
931 (schedule_block): Likewise for `rgn'.
932 (split_hard_reg_notes): Likewise for `orig_insn'.
933 (check_live): Likewise for `trg'.
934 (update_live): Likewise.
935 (check_live_1): Explcitly declare variable `i' as int.
936 (update_live_1): Likewise.
937 (insn_issue_delay): Remove unused variable `link'.
938 (sched_analyze_2): Add default case in enumeration switch.
939 (schedule_insns): Remove unused variable `i'.
940
941 * Makefile.in ($(SCHED_PREFIX)sched.o): Depend on system.h.
942
943 Tue Feb 17 22:31:04 1998 Jeffrey A Law (law@cygnus.com)
944
945 * loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate
946 a dangling else clause.
947
948 Tue Feb 17 21:28:12 1998 Gavin Koch <gavin@cygnus.com>
949
950 * mips/mips.h (CAN_ELIMINATE): Don't eliminate the frame
951 pointer for the stack pointer in MIPS16 and 64BIT.
952
953 Tue Feb 17 21:17:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
954
955 * rtl.h (force_line_numbers, restore_line_number_status): Declare.
956 * emit-rtl.c (force_line_numbers, restore_line_number_status):
957 New functions.
958 * stmt.c (struct nesting): Replace seenlabel with line_number_status.
959 (expand_start_case): Adjust to this change.
960 (check_seenlabel): New function.
961 (pushcase, pushcase_range, expand_endcase): Use it.
962
963 Tue Feb 17 10:14:32 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
964
965 * i386.md (adddi3): Add =!r,0,0,X alternative.
966
967 Mon Feb 16 16:13:43 1998 David Edelsohn <edelsohn@mhpcc.edu>
968
969 * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
970 * x-aix31 (INSTALL): Delete.
971
972 Mon Feb 16 09:24:32 1998 Gavin Koch <gavin@cygnus.com>
973
974 * mips/mips.c (mips_expand_epilogue): Update tsize_rtx if
975 tsize changes to something other than zero.
976
977 Mon Feb 16 09:11:48 1998 Gavin Koch <gavin@cygnus.com>
978
979 * ginclude/va-mips.h: Replace casts of pointers to int with
980 casts of pointers to __PTRDIFF_TYPE__.
981
982 Mon Feb 16 08:17:14 1998 John Carr <jfc@mit.edu>
983
984 * loop.c (strength_reduce, record_biv, record_giv): Use
985 HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.
986
987 1998-02-16 Jason Merrill <jason@yorick.cygnus.com>
988
989 * tree.c (first_rtl_op): New fn.
990 (unsave_expr_now): Use it.
991 * print-tree.c (print_node): Likewise.
992 * tree.c (has_cleanups): New fn.
993 * fold-const.c (fold, case CLEANUP_POINT_EXPR): Use it. Be more
994 conservative about pushing the cleanup point down.
995 * tree.h: Declare them.
996
997 Sun Feb 15 23:28:44 1998 Jeffrey A Law (law@cygnus.com)
998
999 * toplev.c (flag_schedule_reverse_before_reload): Delete variable.
1000 (flag_schedule_reverse_after_reload): Likewise.
1001 (f_options): Remove reverse scheduling support.
1002 * flags.h (flag_schedule_reverse_before_reload): Delete declaration.
1003 (flag_schedule_reverse_after_reload): Likewise.
1004 * haifa-sched.c (rank_for_schedule): Remove support for reverse
1005 scheduling.
1006
1007 Sun Feb 15 21:33:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1008
1009 * gcc.c: Get system includes, prototypes and macros via "system.h"
1010 instead of doing it manually. Change all calls of the ctype
1011 macros to custom versions defined in "system.h".
1012
1013 * system.h: Fix return type of bcmp prototype from `void' to `int'.
1014 Make bcopy, bcmp and bzero prototypes explicitly `extern'.
1015 Add a prototype for getenv.
1016
1017 Sun Feb 15 17:05:41 1998 Jim Wilson <wilson@cygnus.com>
1018
1019 * mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.
1020
1021 Sun Feb 15 15:23:15 1998 John Carr <jfc@mit.edu>
1022
1023 * alias.c: Include <stdlib.h> and <string.h>.
1024 (init_alias_analysis): Pass NULL_RTX instead of 0 to record_set.
1025
1026 Sat Feb 14 11:23:09 PST 1998 Jeff Law (law@cygnus.com)
1027
1028 * version.c: Bump for snapshot.
1029
1030 Sat Feb 14 05:08:21 1998 Richard Earnshaw (rearnsha@arm.com)
1031
1032 * arm.md (movsfcc): Also validate operands[3] when compiling hard
1033 float.
1034 (movdfcc): Only accept fpu_add_operand for operands[3].
1035
1036 * arm/t-semi (STMP_FIXPROTO): Define to nothing.
1037 * arm/t-semiaof (STMP_FIXPROTO): Likewise.
1038
1039 Sat Feb 14 02:02:41 1998 Jeffrey A Law (law@cygnus.com)
1040
1041 * varasm.c (output_constant_pool): Bring back 'done' label inside
1042 an appropriate #ifdef.
1043
1044 * bitmap.c (bitmap_element_allocate): Wrap variable 'i' in an
1045 appropriate #ifdef.
1046 (bitmap_copy, bitmap_operation): Likewise.
1047 * combine.c (combinable_i3pat): Similarly for 'src'.
1048 * function.c (fixup_var_refs_1): Similarly for 'outerdest'.
1049 (locate_and_pad_parm): Similarly for 'reg_parm_stack_space'.
1050 * regclass.c (copy_cost): Similarly for 'secondary_class'.
1051 * reload.c (make_memloc): Simliarly for 'i'.
1052 (find_reloads_address_1): Similarly for 'link'.
1053 * reload1.c (reload): Similarly for 'previous_frame_pointer_needed'.
1054 (emit_reload_insns): Similarly for 'second_reloadreg'.
1055 * unroll.c (iteration_info): Similarly for 'v'.
1056
1057 * caller-save.c (insert_save_restore): Remove unused variable 'i'.
1058 * calls.c (expand_call): Similarly for 'i'.
1059 (emit_library_call, emit_library_call_value): Similarly for 'mode'.
1060 * fold-const.c (strip_compund_expr): Similarly for 'type'.
1061 * function.c (fixup_var_refs_1): Similarly for 'width'.
1062 (fixup_memory_subreg): Similarly for 'saved'.
1063 (locate_and_pad_parm): Similarly for 'boundary_in_bytes.'
1064 (setjmp_protect): Similarly for 'sub'.
1065 (thread_prologue_and_epilogue_insns): Similarly for 'insn'.
1066 * loop.c (record_giv): Similarly for 'p'.
1067 (combine_givs): Similarly for 'temp_iv'.
1068 (indirect_jump_in_function_p): Similarly for 'is_indirect_jump'.
1069 * recog.c (validate_replace_rtx_1): Similarly for 'width'.
1070 * tree.c (get_set_constructor_bytes): Similarly for 'vals'.
1071 * unroll.c (unroll_loop): Similarly for 'copy'.
1072 (iteration_info): Similarly for 'b'.
1073 * varasm.c (assemble_string): Similarly for 'i'.
1074 * i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
1075
1076 Fri Feb 13 14:38:34 1998 Jim Wilson <wilson@cygnus.com>
1077
1078 * dwarf2out.c (decl_scope_node): New type.
1079 (decl_scope_table): Change type to use it.
1080 (decl_scope_table_allocated, decl_scope_depth): Change type to int.
1081 (push_decl_scope): Use new type. New locals containing_scope, i.
1082 Add code to handle setting previous field.
1083 (scope_die_for): Change type of local i to int. Add code to use
1084 previous field.
1085 (dwarf2out_init): Use new type.
1086
1087 1998-02-13 Jason Merrill <jason@yorick.cygnus.com>
1088
1089 * except.c (emit_throw): Lose throw_used.
1090
1091 Fri Feb 13 20:36:05 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1092
1093 * sched.c (update_flow_info, REG_WAS_0): Ignore if setting insn
1094 was deleted.
1095 * haifa-sched.c (update_flow_info, REG_WAS_0): Likewise.
1096
1097 Fri Feb 13 12:18:40 1998 Jeffrey A Law (law@cygnus.com)
1098
1099 * genextract.c (main): Fix typo.
1100
1101 Fri Feb 13 08:41:49 1998 Robert Lipe <robertl@dgii.com>
1102
1103 * c-lang.c (finish_file): Bracket declaration of static_ctors,
1104 static_dtors.
1105
1106 * calls.c (expand_call): Bracket declaration of 'rtx_before_call',
1107 'old_stack_arg_under_construction'
1108 (emit_library_call): Bracket declaration of 'upper_bound',
1109 'lower_bound', 'i', 'reg_parm_stack_space'
1110 (emit_library_call_value): Likewise.
1111 (store_one_arg):
1112
1113 * collect2.c: include <unistd.h> when appropriate.
1114 Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
1115
1116 * emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
1117
1118 * explow.c (plus_constant_for_output_wide): Remove unused variable
1119 'code'.
1120 (memory_address): Remove unused variable 'orig_x'.
1121
1122 * genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
1123 (write_const_num_delay_slots): Remove unused variable 'i'.
1124
1125 * genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
1126 (gen_insn): Remove unused variable 'obstack_ptr'.
1127
1128 * libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
1129 'j', 'tmp', 'i'.
1130 (__bb_exit_trace_func): Remove unused variable 'e'.
1131
1132 * optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
1133 'funexp'.
1134 (expand_unop): Remove unused variable 'funexp'.
1135 (expand_complex_abs): Remove unused variable 'funexp'.
1136 (init_optabs): Bracket declaration of 'j'.
1137 (init_complex_libfuncs): Deleted. Dead static function.
1138
1139 * profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
1140
1141 * reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
1142 (reg_to_stack): 'initialized', 'before_function_beg'
1143 explictly type as ints instead of defaulting.
1144 (emit_swap_insn): Remove unused variable 'i2'.
1145 (compare_for_stack_reg): Remove unused variable 'src_note'.
1146
1147 * rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
1148
1149 * sched.c (actual_hazard): Bracket declaration of 'this_cost'.
1150
1151 * stmt.c (add_case_node): Add parens for assignment used as truth.
1152 (all_cases_count): Remove unused variable 'count_high'.
1153 (mark_seen_cases): Remove unused variable 'i'.
1154 (check_for_full_enumeration_handling): Remove unused variable 't'.
1155 Bracket declaration of 'all_values', 'l'.
1156
1157 * tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
1158
1159 * varasm.c (assemble_string): Remove unused variable 'i'.
1160 (immed_double_const): Remove unused variable 'in_current_obstack'.
1161 (immed_real_const_1): Likewise.
1162 (output_constant_pool): Remove unreferenced label 'done'.
1163 (output_constant): Remove unused variable 'x'.
1164
1165 * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
1166 a string.
1167
1168 * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
1169 as truth.
1170
1171 Fri Feb 13 10:21:41 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1172
1173 * combine.c (can_combine_p): Handle USEs in PARALLELs.
1174
1175 Fri Feb 13 01:34:14 1998 H.J. Lu (hjl@gnu.org)
1176
1177 * config/linux.h (LIB_SPEC): Add -lc for -shared if
1178 USE_GNULIBC_1 is not defined.
1179 * config/sparc/linux.h; Ditto.
1180
1181 * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
1182
1183 * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
1184 USE_GNULIBC_1 is not defined.
1185
1186 Fri Feb 13 01:29:29 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
1187
1188 * rs6000/sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux)
1189 for -mcall-linux
1190
1191 Fri Feb 13 01:23:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1192
1193 * system.h: New file to get common systems includes and various
1194 definitions and declarations based on autoconf macros.
1195
1196 Fri Feb 13 00:46:19 1998 Jeffrey A Law (law@cygnus.com)
1197
1198 * cccp.c (new_include_prefix): Correctly handle -I./.
1199
1200 Thu Feb 12 20:16:35 1998 Michael Meissner <meissner@cygnus.com>
1201
1202 * rs6000.md: Replace gen_rtx (CONST_INT,...) with GEN_INT.
1203
1204 Thu Feb 12 16:45:17 1998 Robert Lipe <robertl@dgii.com>
1205
1206 * expr.c (expand_assignment): Correct typo exposed by -Wall.
1207 offset should have been a truth value, not an assignment.
1208
1209 Thu Feb 12 15:26:50 1998 Jeffrey A Law (law@cygnus.com)
1210
1211 * cse.c (delete_dead_from_cse): If a libcall produces a constant
1212 result and that result can be substituted into SET_SRC of the
1213 insn with the REG_RETVAL note, then perform the substitution
1214 and delete the libcall.
1215
1216 Thu Feb 12 14:04:09 1998 Gavin Koch <gavin@cygnus.com>
1217
1218 * mips.md (trucndihi2,truncdiqi2): Change these to support
1219 mips16.
1220
1221 Thu Feb 12 11:34:55 1998 Gavin Koch <gavin@cygnus.com>
1222
1223 * mips/mips.c (movdi_operand): Direct referances to symbols
1224 that arn't mips16 consts in mips16 mode arn't valid operands.
1225
1226 * mips/mips.c (mips_move_2words): Add gprel handling.
1227
1228 Thu Feb 12 11:18:37 1998 Gavin Koch <gavin@cygnus.com>
1229
1230 * mips.md (extendsidi2): Allow extension to/from a non-mips16
1231 register.
1232
1233 Thu Feb 12 00:04:16 1998 Marc Lehmann <pcg@goof.com>
1234
1235 * i386.c: Conditionally include <stdlib.h>, <string.h>, and
1236 <strings.h>.
1237
1238 Wed Feb 11 11:43:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1239
1240 * Makefile.in (WARN_CFLAGS): New variable.
1241 (bootstrap, bootstrap2, bootstrap3, bootstrap4): Use it.
1242
1243 1998-02-11 Mark Mitchell <mmitchell@usa.net>
1244
1245 * config/i386/i386.c (reg_mentioned_in_mem): Don't abort when
1246 falling through default case in switch.
1247 (i386_aligned_p): Likewise.
1248
1249 Wed Feb 11 12:59:56 1998 Lee Iverson <leei@Canada.AI.SRI.COM>
1250
1251 * mips/mips.h (mips_abi_string): Correct typo in comment.
1252
1253 Wed Feb 11 08:29:56 1998 Gavin Koch <gavin@cygnus.com>
1254
1255 * mips/mips.md (movdi): These PLUS's need to be Pmode.
1256
1257 Wed Feb 11 01:47:54 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1258
1259 * Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o,
1260 reorg.o, regmove.o): Depend on insn-codes.h, it gets included
1261 indirectly via expr.h.
1262
1263 Wed Feb 11 01:44:13 1998 Richard Henderson <rth@cygnus.com>
1264
1265 * stor-layout.c (layout_type): Do upper - lower in the native type,
1266 so as to properly handle negative indices.
1267
1268 Wed Feb 11 01:35:55 1998 Robert Lipe <robertl@dgii.com>
1269
1270 * except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
1271 (expand_eh_region_start_tree): Remove unused variable 'note'.
1272 (exception_optimize): Remove unused variable 'regions'.
1273 (expand_builtin_eh_stub): Remove unused variable 'temp'.
1274 (copy_eh_entry): Deleted. Dead function.
1275
1276 * expr.c (move_block_to_reg) Bracket declaration of 'pat' and
1277 'last' with same #if HAVE_load_multiple as use of it.
1278 (move_block_from_reg): Likewise.
1279 (emit_move_insn_1): Remove unused variable 'insns'.
1280 (store_constructor): Bracket declaration of startb, endb with
1281 #if TARGET_MEMFUNCTIONS. Remove unused variables 'set_word_size'
1282 'target', and 'xtarget'.
1283 (expand_builtin_setjmp): Remove unused variables 'op0',
1284 'next_arg_reg', 'old_inhibit_defer_pop'.
1285 (expand_builtin): Remove unused variable 'offset'.
1286 (do_store_flag): Remove unused variables 'pattern', 'jump_pat'.
1287 (emit_queue): Add parens for assignment used as conditional.
1288 (expand_expr): case TARGET_EXPR: Remove unused variable 'temp'.
1289
1290 Wed Feb 11 01:30:49 1998 Marc Lehmann <pcg@goof.com>
1291
1292 * i386.c: Added include for recog.h.
1293 (override_options): Removed unused variable p. Initialized regno to
1294 avoid warning.
1295 (order_regs_for_local_alloc): Initialized regno to avoid warning.
1296 (legitimize_address): Likewise for 'other'.
1297 (i386_aligned_reg_p): Added default case with abort ().
1298 (print_operand): Likewise.
1299 (reg_mentioned_in_mem): Likewise.
1300 (ix86_expand_binary_operator): Removed unused variables i & insn.
1301 (ix86_expand_unary_operator): Removed unused variable insn.
1302 (output_fp_cc0_set): Removed unused variable unordered_label.
1303
1304 Wed Feb 11 01:23:03 1998 John F. Carr <jfc@mit.edu>
1305
1306 * i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
1307 Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
1308 and format string match.
1309
1310 Wed Feb 11 01:17:39 1998 Jeffrey A Law (law@cygnus.com)
1311
1312 * flow.c (life_analysis): Do not conside the stack pointer live at
1313 the end of a function if the fucntio ncalls alloca.
1314 (mark_used_regs): Similarly.
1315
1316 1998-02-10 John F Carr <jfc@mit.edu>
1317
1318 * config/sparc/sparc.md (movdi_v8plus): Output stx on alternative
1319 1, fzero on alternative 8.
1320
1321 Tue Feb 10 09:02:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1322
1323 * rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
1324
1325 Tue Feb 10 03:35:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1326
1327 * reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
1328 SUBREGs of CONST_INTs.
1329
1330 Mon Feb 9 17:52:36 1998 John Carr <jfc@mit.edu>
1331
1332 * mips.c (print_operand, function_prologue): Make printf format
1333 match argument type.
1334
1335 Mon Feb 9 02:37:25 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1336
1337 * alpha.c (alpha_return_addr): Remove unused variable `first'.
1338 (alpha_ra_ever_killed): Remove unused variables `ra' and `i'.
1339 (output_epilog): Remove unused variable `frame_size_from_reg_save'.
1340
1341 Sun Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1342
1343 * loop.c (strength_reduce): When placing increment for auto-inc
1344 case, do comparison in loop order.
1345
1346 Sun Feb 8 13:21:38 1998 John Carr <jfc@mit.edu>
1347
1348 * bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
1349 not a HOST_WIDE_INT.
1350
1351 * calls.c (expand_call): Change test of expand_inline_function
1352 return value to stop compiler warning.
1353
1354 * genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.
1355
1356 Sun Feb 8 12:04:24 1998 Jim Wilson (wilson@cygnus.com)
1357 Jeff Law (law@cygnus.com)
1358
1359 * regmove.c: Fix various minor formatting problems.
1360 (optimize_reg_copy_1): Stop search at CALL_INSNs if flag_exceptions
1361 is true. Make end of basic block tests consistent through regmove.c.
1362 (optimize_reg_copy_2, optimize_reg_copy_3): Likewise.
1363 (fixup_match_2, fixup_match_1, regmove_optimize): Likewise.
1364
1365 Sun Feb 8 01:49:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1366
1367 * gansidecl.h: Check for a conflicting macro definition before
1368 attempting to prototype bcopy, bcmp or bzero.
1369
1370 Sun Feb 8 00:09:59 1998 Jeffrey A Law (law@cygnus.com)
1371
1372 * expr.c (clear_pending_stack_adjust): Handle case where a function
1373 calls alloca, but the user has specified -fomit-fframe-pointer.
1374
1375 * function.c (assign_parms): Fix typo in last change.
1376
1377 Sat Feb 7 23:54:29 1998 Robert Lipe <robertl@dgii.com>
1378
1379 * gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
1380 <fcntl.h>.
1381 (free_path_suffix): Remove unreferenced static function.
1382 (process_command): Remove unused variable temp.
1383 (default_arg): Remove unused variable i.
1384 (do_spec_1): Add parens for assignment used as truth value.
1385 (main): Likewise.
1386 (validate_all_switches): Likewise.
1387 (main): Remove unused variables i, first_time>
1388
1389 * c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
1390
1391 * calls.c (expand_call): Remove unused variables funtree,
1392 n_regs, and tmpmode.
1393
1394 * dbxout.c, except.c: Include <string.h>/<strings.h>.
1395
1396 * explow.c: (plus_constant_for_output_wide) Removed unused
1397 variable all_constant.
1398
1399 * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
1400 genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
1401 genrecog.c, global.c, integrate.c , stupid.c : Include
1402 <stdlib.h>.
1403
1404 * genextract.c: (walk_rtx) Remove unused variable link.
1405
1406 * genrecog.c: (concat) Remove unreferenced static function.
1407
1408 * prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
1409
1410 * stmt.c: Include <stdlib.h>.
1411 (expand_asm_operands): Remove unused variable val1.
1412 (expand_return): Remove unused variable block.
1413 (pushcase): Remove unused variables l and n.
1414 (pushcaserange): Likewise.
1415
1416 * unroll.c (unroll_loop): Remove unused variable temp.
1417
1418 Sat Feb 7 23:46:09 1998 Greg McGary <gkm@gnu.org>
1419
1420 * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
1421
1422 Sat Feb 7 15:11:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1423
1424 * aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
1425 functions for whether they support the %p format specifier.
1426 * acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
1427 * configure.in (GCC_FUNC_PRINTF_PTR): Use it.
1428 * configure, config.in: Rebuild.
1429
1430 Fri Feb 6 14:20:16 1998 Jim Wilson <wilson@cygnus.com>
1431
1432 * function.c (assign_parms): New variable named_arg, with value
1433 depending on STRICT_ARGUMENT_NAMING. Use instead of ! last_named.
1434
1435 Fri Feb 6 14:34:28 1998 Gavin Koch <gavin@cygnus.com>
1436
1437 * mips/t-r3900: New - same as t-ecoff but eliminate
1438 multilibs: mips1 and mips3.
1439 * configure.in (tx39*): Use new mips/t-r3900.
1440 * configure: Rebuild.
1441 * mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.
1442
1443 1998-02-06 Jason Merrill <jason@yorick.cygnus.com>
1444
1445 * dwarf2out.c: Add old_args_size.
1446 (dwarf2out_args_size): Use it.
1447 (dwarf2out_begin_prologue): Initialize it.
1448 (dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
1449 pushed args until we see a call.
1450 * final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
1451 before outputting them.
1452
1453 1998-02-06 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
1454
1455 * cplus-dem.c (demangle_template_template_parm): New function.
1456 (demangle_template): Handle template template parameters.
1457
1458 1998-02-02 Mark Mitchell <mmitchell@usa.net>
1459
1460 * calls.c (expand_call): Don't confuse member functions named
1461 realloc, setjmp, and so forth with the standard library
1462 functions of the same names.
1463
1464 Thu Feb 5 21:59:49 1998 Jeffrey A Law (law@cygnus.com)
1465
1466 * stmt.c (expand_asm_operands): Correctly identify asm statements
1467 no output operands.
1468
1469 Thu Feb 5 21:56:06 1998 Mumit Khan <khan@xraylith.wisc.edu>
1470
1471 * c-common.c (decl_attributes): Flag unrecognized attribute
1472 functions as warnings instead of as errors.
1473
1474 1998-02-05 Marc Lehmann <pcg@goof.com>
1475
1476 * integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
1477 when -Os is specified.
1478 * toplev.c (main): Don't disable flag_inline_functions anymore when
1479 -Os is in effect.
1480
1481 Fri Feb 6 00:27:36 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1482
1483 * regmove.c: Update.
1484 * flags.h (flag_regmove): Declare.
1485 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Don't declare.
1486 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2):
1487 Moved into regmove; changed caller.
1488 * toplev.c (rest_of_compilation): Call regmove_optimize also for
1489 expensive_optimizations.
1490
1491 Thu Feb 5 13:38:42 PST 1998 Jeff Law (law@cygnus.com)
1492
1493 * version.c: Bump for snapshot.
1494
1495 Thu Feb 5 01:45:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1496 Undo this change (the problem was actually in reload):
1497 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1498
1499 * sh.md (movqi_i+1): New peephole.
1500
1501 Tue Feb 3 01:11:12 1998 Jeffrey A Law (law@cygnus.com)
1502
1503 * jump.c (jump_optimize): Lose calls to modified_in_p they are
1504 not needed anymore due to changes elsewhere in jump.c.
1505
1506 * jump.c (jump_optimize): Fix first arg to modified_in_p in
1507 previous change.
1508
1509 Mon Feb 2 19:18:14 1998 Richard Henderson <rth@cygnus.com>
1510
1511 * expr.c (expand_builtin_setjmp): Accept two new arguments for
1512 the labels to branch to on first and subsequent executions. Don't
1513 play with __dummy. Rename `setjmp' insn to `builtin_setjmp_setup',
1514 and provide it with the jmp_buf. Use only one of
1515 `builtin_setjmp_receiver' or `nonlocal_goto_receiver',
1516 and provide the former with the target label.
1517 (expand_builtin) [BUILTIN_SETJMP]: Generate a label for use by setjmp.
1518 (expand_builtin) [BUILTIN_LONGJMP]: Split out to ...
1519 (expand_builtin_longjmp): ... here. Recognize a `builtin_longjmp'
1520 insn to replace all of the normal nonlocal_goto code. Don't play
1521 with __dummy. Correct arguments to nonlocal_goto.
1522 * expr.h (expand_builtin_setjmp): Update prototype.
1523 * except.c (start_dynamic_handler): When using builtin_setjmp,
1524 generate more accurate flow information.
1525
1526 * alpha.md (nonlocal_goto_receiver_osf): Delete.
1527 (nonlocal_goto_receiver_vms): Rename to nonlocal_goto_receiver.
1528 (builtin_longjmp, builtin_setjmp_receiver): New.
1529 * sparc.md (update_return): Disambiguate unspec number.
1530 (nonlocal_goto): Rearrange arguments to match caller in except.c.
1531 (builtin_setjmp_setup): Rename from setjmp. Match and ignore the
1532 jmp_buf operand.
1533 * mips.md (nonlocal_goto_receiver, builtin_setjmp_receiver): Remove.
1534 (builtin_setjmp_setup*, builtin_longjmp): New.
1535
1536 Mon Feb 2 16:43:10 1998 John Carr <jfc@mit.edu>
1537
1538 * mips.md: Change gen_rtx (CONST_INT) to GEN_INT.
1539
1540 Mon Feb 2 13:06:47 1998 Jim Wilson <wilson@cygnus.com>
1541
1542 * vmsconfig.com: Remove bytecode references.
1543
1544 1998-01-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1545
1546 * dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
1547 -fno-sjlj-exceptions works for a target that defines
1548 DWARF2_UNWIND_INFO as zero.
1549
1550 * regmove.c (fixup_match_1): Undo last change which removed some
1551 "useless" code, and add a comment explaining this.
1552
1553 Mon Feb 2 10:47:14 1998 Gavin Koch (gavin@cygnus.com)
1554
1555 * mips.c (mips_expand_prologue): Change uses of TARGET_64BIT
1556 to TARGET_LONG64.
1557
1558 Mon Feb 2 10:38:41 1998 Klaus Kaempf <kkaempf@progis.de>
1559
1560 * makefile.vms: Remove bytecode references.
1561 Create genrtl files.
1562
1563 Mon Feb 2 02:08:04 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
1564
1565 * jump.c (jump_optimize): Allow conditional loading of floating point
1566 constants and constants from memory. Reinstalled modified_in_p tests.
1567
1568 Mon Feb 2 01:38:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1569
1570 * loop.c (get_condition): Handle sign-extended constants.
1571
1572 Mon Feb 2 01:22:46 1998 Hans-Peter Nilsson <hp@axis.se>
1573
1574 * expr.c (emit_push_insn): Add code to use movstrti if present.
1575
1576 * expr.c (emit_push_insn): Use same max-move-amount for movstrhi
1577 and movstrqi as in emit_block_move ().
1578
1579 Mon Feb 2 00:09:52 1998 Toon Moene <toon@moene.indiv.nluug.nl>
1580
1581 * config/m68k/x-next: Remove /NextDeveloper/Headers from
1582 the directories to fixinclude - /usr/include is a link
1583 to it and hence its contents are fixed by default.
1584
1585 Sun Feb 1 14:15:33 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
1586
1587 * rs6000/linux.h: define JUMP_TABLES_IN_TEXT_SECTION
1588
1589 Sun Feb 1 13:01:15 1998 Klaus Kaempf <kkaempf@progis.de>
1590
1591 * cccp.c (main): Predefine __VMS_VER on VMS.
1592
1593 Sun Feb 1 12:39:53 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1594
1595 * expr.c (get_inner_reference): Use sbitsizetype for type sizes.
1596 * fold-const.c (size_int): Replace with
1597 (size_int_wide).
1598 (make_bit_field_ref): Use bitsize_int for bit position.
1599 * stor-layout.c (sizetype): Delete.
1600 (sizetype_tab, sbitsizetype, ubitsizetype): Declare.
1601 (layout_record, layout_union, layout_type):
1602 Use bitsize_int for bit size.
1603 (set_sizetype): New function.
1604 (make_signed_type, make_unsigned_type): Use it.
1605 * c-decl.c (init_decl_processing): Likewise.
1606 * tree.h (size_int): Don't delcare, #define.
1607 (size_int_wide, sizetype_tab, sbitsize, ubitsize): Declare.
1608 (set_sizetype): Declare.
1609 (bitsize_int, size_int_2, BITS_PER_UNIT_LOG, sizetype, bitsizetype):
1610 Define.
1611 * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes):
1612 Convert result to sizetype.
1613 (really_start_incremental_init, push_init_level):
1614 Set type of constructor_bit_index to sbitsizetype.
1615 (push_init_level): Use unsigned arithmetic to determine padding.
1616 (output_init_element): Likewise.
1617
1618 Sun Feb 1 03:32:07 1998 Jeffrey A Law (law@cygnus.com)
1619
1620 * combine.c (simplify_shift_const): Fix typo in last change.
1621
1622 Sun Feb 1 02:50:46 1998 John Carr <jfc@mit.edu>
1623
1624 * combine.c (simplify_shift_const): (lshiftrt (truncate (lshiftrt)))
1625 is (truncate (lshiftrt)).
1626
1627 Sun Feb 1 01:06:53 1998 Richard Henderson <rth@cygnus.com>
1628
1629 * alpha.c (alpha_expand_unaligned_load): Use expand_binop properly.
1630 Make sure result winds up in TGT.
1631 (alpha_expand_unaligned_store): Use expand_binop properly. Allow
1632 src to be other than DImode.
1633 (alpha_expand_unaligned_load_words): Tidy. Take an offset argument.
1634 (alpha_expand_unaligned_store_words): Likewise.
1635 (alpha_expand_block_move): Use REGNO_POINTER_ALIGN. Restructure so
1636 that source and destination are separately optimized for alignment.
1637 (alpha_expand_block_clear): Use REGNO_POINTER_ALIGN.
1638
1639 Sun Feb 1 01:55:09 1998 Jeffrey A Law (law@cygnus.com)
1640
1641 * mips.md (adddi3_internal_2): Be consistent with adddi3 expander
1642 with handling of -32768.
1643
1644 Sun Feb 1 01:48:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1645
1646 * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a
1647 shell variable argument instead of only hard coded functions.
1648 (GCC_NEED_DECLARATIONS): New macro to accept multiple functions.
1649
1650 * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one
1651 call. Collapse multiple calls to GCC_NEED_DECLARATION into one
1652 call to GCC_NEED_DECLARATIONS (new macro.) Check if we need
1653 declarations for bcopy, bcmp and bzero.
1654
1655 * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations.
1656
1657 * gansidecl.h: If we have bcopy but don't declare it, then do so.
1658 Likewise for bcmp and bzero. Only define macros for bcopy, bcmp,
1659 bzero, index and rindex if they aren't already present.
1660
1661 Sat Jan 31 11:26:58 1998 Jeffrey A Law (law@cygnus.com)
1662
1663 * toplev.c (close_dump_file): Wrap function prototype for
1664 argument "func" in PROTO.
1665 (dump_rtl): Likewise.
1666
1667 Fri Jan 30 22:30:39 1998 John Carr <jfc@mit.edu>
1668
1669 * sparc.c (sparc_override_options): Make v8plus and ultrasparc set
1670 MASK_V8PLUS.
1671 (output_function_epilogue): Omit epilogue if nothing drops through.
1672 (output_move_double): Supress int ldd usage on ultrasparc and v9.
1673 (registers_ok_for_ldd_peep): Likewise.
1674 (print_operand): Supress b,a on ultrasparc. Let Y accept a constant.
1675 (ultrasparc_adjust_cost): New function.
1676 (sparc_issue_rate): New function.
1677 * sparc.h (MASK_VIS, TARGET_VIS): New
1678 (MASK_V8PLUS, TARGET_V8PLUS): New.
1679 (TARGET_HARD_MUL32, TARGET_HARD_MUL): New.
1680 (TARGET_SWITCHES): Add vis and v8plus.
1681 (REG_CLASS_FROM_LETTER): Accept d and b for VIS.
1682 (REGISTER_MOVE_COST): FP<->INT move cost 12 for ultrasparc.
1683 (RTX_COSTS): Use TARGET_HARD_MUL
1684 (ADJUST_COST): Call ultrasparc_adjust_cost.
1685 (ISSUE_RATE): New.
1686 * sparc.md (attr type): Add sload, fpmove, fpcmove. Adjust users
1687 of load & fp appropritely.
1688 (supersparc function units): Adjust for Haifa.
1689 (ultrasparc function units): Likewise.
1690 (get_pc_via_rdpc): All v9, not just arch64.
1691 (movdi_v8plus, movdi_v8plus+1): New.
1692 (adddi3_sp32+1): New.
1693 (subdi3_sp32+1): New.
1694 (movsi_insn, movsf_const_insn, movdf_const_insn): Know VIS.
1695 (addsi3, subsi3, anddi3_sp32, andsi3, and_not_di_sp32): Likewise.
1696 (and_not_si, iordi3_sp32, iorsi3, or_not_di_sp32, or_not_si): Likewise.
1697 (xorsi3_sp32, xorsi3, xor_not_di_sp32, xor_not_si): Likewise.
1698 (one_cmpldi2_sp32, one_cmplsi2): Likewise.
1699 (ldd peepholes): Suppress for v9.
1700 (return_adddi): Kill redundant test. Arg1 may be arith_operand.
1701 (return_subsi): Revmove.
1702
1703 Fri Jan 30 18:30:03 1998 John F Carr <jfc@mit.edu>
1704
1705 * mips.c (save_restore_insns): Set RTX_UNCHANGING_P in register
1706 save/restore MEM rtl.
1707
1708 Fri Jan 30 09:08:16 1998 Jeffrey A Law (law@cygnus.com)
1709
1710 * configure.in: Check for declaration of abort.
1711 * acconfig.h: Corresponding changes.
1712 * toplev.c: Use NEED_DECLARATION_ABORT to determine if abort should
1713 be declared.
1714
1715 Thu Jan 29 20:26:12 1998 Jeffrey A Law (law@cygnus.com)
1716
1717 * genattrtab.c (optimize): Define in case PRESERVE_DEATH_INFO_REGNO_P
1718 uses it.
1719
1720 Thu Jan 29 09:27:56 PST 1998 Jeff Law (law@cygnus.com)
1721
1722 * version.c: Bump for snapshot.
1723
1724 Thu Jan 29 10:12:27 1998 Jeffrey A Law (law@cygnus.com)
1725
1726 * configure.in: Check for atoq and atoll.
1727 * rtl.c (read_rtx): Use HAVE_ATOLL and HAVE_ATOQ to select the
1728 proper routine for converting ascii into long long values.
1729
1730 Thu Jan 29 01:28:14 1998 Klaus Kaempf <kkaempf@progis.de>
1731
1732 * cccp.c (SYS$SEARCH, SYS$PARSE): Write as upper-case.
1733
1734 * vmsconfig.com: Remove bytecode references.
1735
1736 * alpha/vms.h (PREFIX): Define.
1737
1738 * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Remove.
1739
1740 * am-alpha.h: Don't include alloca for OPEN_VMS.
1741
1742 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Define.
1743
1744 * alpha/xm-vms.h (INCLUDE_DEFAULTS): Define.
1745 (GCC_INCLUDE_DIR): Define
1746
1747 * make-cc.com, make-cccp.com, make-cc1.com: Removed.
1748 * makefile.vms: New file.
1749
1750 * alpha/vms.h (CPP_PREDEFINES): Remove -Dalpha.
1751
1752 * alpha.c (output_prolog): Output '.name' directive
1753 for minimal traceback information.
1754
1755 * alpha.c (output_prolog): Don't prepend entry point symbols
1756 with '$' on OPEN_VMS.
1757
1758 Thu Jan 29 00:25:35 1998 David S. Miller <davem@tanya.rutgers.edu>
1759 Jeffrey A Law (law@cygnus.com)
1760
1761 * rtl.c (read_rtx): Use atol/atoq based upon disposition of
1762 HOST_WIDE_INT.
1763
1764 * genattrtab.c (write_test_expr): Use HOST_WIDE_INT_PRINT_DEC
1765 as needed.
1766 * genemit.c (gen_exp): Likewise.
1767 * genpeep.c (match_rtx): Likewise.
1768 * genrecog.c (write_tree_1): Likewise.
1769
1770 * c-lex.c (yyprint): Use proper format string based upon
1771 disposition of HOST_BITS_PER_WIDE_INT.
1772 (yylex): Put casts in right place for args to build_int_2.
1773
1774 Thu Jan 29 00:24:29 1998 Jeffrey A Law (law@cygnus.com)
1775
1776 * combine.c: Fix typos in Jan27 changes.
1777
1778 Thu Jan 29 00:07:49 1998 Ollivier Robert <roberto@keltia.freenix.fr>
1779
1780 * i386/freebsd.h (LIB_SPEC): Correctly handle -shared, -p and friends.
1781 (LINK_SPEC): Likewise.
1782 (STARTFILE_SPEC): Likewise.
1783
1784 1998-01-28 Mike Stump <mrs@wrs.com>
1785
1786 * rtlanal.c (dead_or_set_regno_p): Ignore REG_DEAD notes after
1787 reload completes.
1788 * genattrtab.c (reload_completed): Define.
1789
1790 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Remove obsolete
1791 comments.
1792
1793 Wed Jan 28 20:11:06 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1794
1795 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
1796 SUBREG_REG if the word count is unchanged, also in the input reload
1797 case. Disable non-applicable sanity checks.
1798
1799 Wed Jan 28 20:08:26 1998 Jeffrey A Law (law@cygnus.com)
1800
1801 * config/t-svr4 (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
1802
1803 Wed Jan 28 20:04:43 1998 Ian Lance Taylor <ian@cygnus.com>
1804
1805 * i386/t-cygwin32 (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
1806
1807 Wed Jan 28 11:45:27 1998 Per Bothner <bothner@cygnus.com>
1808
1809 * dbxout.c (dbxout_type): For a RECORD_TYPE, check that TYPE_BINFO
1810 is a TREE_VEC before trying to use it for baseclasses.
1811 (Chill uses the same field for a different purpose.)
1812
1813 * toplev.c (strip_off_ending): Generalize to endings up to 5 chars.
1814
1815 Tue Jan 27 23:15:55 1998 Lassi A. Tuura <lat@iki.fi>
1816
1817 * config.sub: More accurate determination of HP processor types.
1818
1819 Tue Jan 27 23:11:11 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1820
1821 * c-lex.c: Include <stdlib.h> and <string.h>/<strings.h>. Add
1822 prototype for `handle_sysv_pragma', and make it static. Add
1823 parentheses around assignment used as truth value.
1824
1825 * combine.c (combine_instructions): Protect variable `prev' with
1826 macro HAVE_cc0.
1827 (can_combine_p): Protect variable `link' with AUTO_INC_DEC.
1828 (extract_left_shift): Add parentheses around operand of &.
1829 (merge_outer_ops): Avoid an empty body in an else-statement.
1830 (gen_rtx_combine): Remove unused variable `i'.
1831
1832 * sparc/gmon-sol2.c: Include <fcntl.h>. Make return type of
1833 function monstartup `void'. Likewise for internal_mcount. Add
1834 `static void' prototype for moncontrol. Reconcile sprintf format
1835 vs. args.
1836
1837 * sparc/sparc.c: Include <stdlib.h> and <string.h>/<strings.h>.
1838 Make return type of function_arg_slotno explicitly `int'.
1839 (reg_unused_after): Add parentheses around assignment used as
1840 truth value.
1841 (save_regs): Add explicit braces to avoid ambiguous `else'.
1842 (function_arg_slotno): Add parentheses around && within ||.
1843 (function_arg_pass_by_reference): Likewise.
1844 (sparc_flat_output_function_prologue): Reconcile fprintf format
1845 vs. args.
1846
1847 * svr4.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
1848 assignment used as truth value.
1849
1850 * cplus-dem.c: Include <stdlib.h>.
1851 (demangle_signature): Avoid an empty body in an else-statement.
1852 (do_type): Remove unused variable `lvl'.
1853
1854 * cppexp.c: Don't have <stdlib.h> depend on MULTIBYTE_CHARS.
1855 Include <string.h>/<strings.h>.
1856 (cpp_lex): Remove unused variable `namelen'.
1857 (cpp_lex): Explicitly declare `num_chars' as an int.
1858
1859 * cpplib.c: Avoid duplicate inclusion of <stdlib.h>, include
1860 <unistd.h> instead. Explicitly declare is_system_include
1861 returning int.
1862 (make_assertion): Remove unused variable `kt'.
1863 (cpp_expand_to_buffer): Hide variable `obuf'.
1864 (output_line_command): Remove unused variables, `line_end',
1865 `line_cmd_buf' and `len'.
1866 (macarg): Remove unused variable `arg_start'.
1867 (special_symbol): Remove unused variable `i'. Add parentheses
1868 around assignment used as truth value.
1869 (do_include): Remove unused variables `pcfname' and `retried',
1870 hide `pcf' and `pcfbuflimit'.
1871 (do_line): Remove unused variable `i'.
1872 (finclude): Hide variable `missing_newline'.
1873 (cpp_handle_options): Remove unused variable `j'.
1874 (read_token_list): Remove unused variable `eofp'.
1875 (cpp_error_with_line): Remove unused variable `i'.
1876 (cpp_warning_with_line): Likewise.
1877 (cpp_pedwarn_with_line): Explicitly declare `column' as int.
1878 (cpp_error_from_errno): Remove unused variable `i'.
1879
1880 * cse.c (invalidate): Add parentheses around assignment used as
1881 truth value.
1882 (find_best_addr): Move declaration of variable `our_cost' inside
1883 the conditional macro where its used.
1884 (fold_rtx): Avoid an empty body in an if-statement.
1885 (cse_insn): Wrap variables `this_insn_cc0_mode' and
1886 `this_insn_cc0' in macro HAVE_cc0.
1887
1888 * dwarf2out.c: Include <stdlib.h> and <string.h>/<string.h>.
1889 (ASM_OUTPUT_DWARF_DATA8): Reconcile format vs. args in fprintf's.
1890 (output_uleb128): Likewise.
1891 (output_sleb128): Likewise.
1892 (output_cfi): Likewise.
1893 (output_call_frame_info): Remove unused variables `j', `fde_size'
1894 and `fde_pad'.
1895 (comp_unit_has_inlines): Hide declaration as per rest of file.
1896 (size_of_line_prolog): Correct typo in prototype.
1897 (add_arange): Likewise.
1898 (output_aranges): Likewise.
1899 (add_name_and_src_coords_attributes): Likewise.
1900 (gen_array_type_die): Likewise.
1901 (gen_inlined_subroutine_die): Likewise.
1902 (equate_decl_number_to_die): Remove unused variable `i'.
1903 (print_die): Reconcile format vs. args in fprintf's.
1904 (print_dwarf_line_table): Likewise.
1905 (output_die): Likewise.
1906 (output_line_info): Likewise.
1907 (add_subscript_info): Avoid an empty body in an else-statement.
1908 (gen_subprogram_die): Remove unused variable `fp_loc'.
1909
1910 * dwarfout.c: Explicitly declare `next_pubname_number' as int.
1911 Protect `ordering_attribute' prototype with USE_ORDERING_ATTRIBUTE
1912 macro. Protect `src_coords_attribute' prototype with
1913 DWARF_DECL_COORDINATES macro. Hide `output_entry_point_die'
1914 prototype as in the rest of the file. Likewise for
1915 `output_pointer_type_die' and `output_reference_type_die'. Remove
1916 prototype for `type_of_for_scope'.
1917 (output_unsigned_leb128): Reconcile format vs. args in fprintf.
1918 (type_attribute): Add explicit braces to avoid ambiguous `else'.
1919
1920 * final.c: Include <stdlib.h> and <string.h>/<strings.h>.
1921 (shorten_branches): Protect declaration of tmp_length with
1922 SHORTEN_WITH_ADJUST_INSN_LENGTH and ADJUST_INSN_LENGTH macros.
1923 (profile_function): Protect declaration of `sval' and `cxt'
1924 variables with appropriate macros.
1925 (final_scan_insn): Likewise for `note' variable. Add explicit
1926 braces to avoid empty body in an if-statement.
1927 (output_asm_insn): Move variable `i' inside macro conditional
1928 where it is used. Add parentheses around assignment used as truth
1929 value.
1930 (asm_fprintf) Likewise, likewise.
1931
1932 * fix-header.c (main): Remove unused variable `done'. Protect
1933 declaration of `i' with FIXPROTO_IGNORE_LIST.
1934
1935 * pexecute.c: Include <unistd.h>. Prototype `my_strerror'.
1936
1937 * print-rtl.c (print_inline_rtx): Explicitly declare the parameter
1938 `ind'.
1939
1940 * profile.c: Include <string.h>/<strings.h>.
1941 (instrument_arcs): Remove unused variables `note', `inverted',
1942 `zero' and `neg_one'.
1943 (branch_prob): Avoid empty body in an if-statement.
1944
1945 * regclass.c: Include <stdlib.h>.
1946 (reg_alternate_class): Explicitly declare parameter `regno'.
1947
1948 * regmove.c (regmove_optimize): Remove unused variable `p'. Add
1949 parentheses around assignment used as truth value.
1950 (find_matches): Remove unused variables `output_operand' and
1951 `matching_operand'.
1952 (fixup_match_1): Remove statement with no effect: "if (0) ;".
1953
1954 * scan.c (sstring_append): Explicitly declare `count' as int.
1955 (scan_string): Explicitly declare parameter `init' as int.
1956
1957 * sched.c: Include <stdlib.h>.
1958 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
1959 (rank_for_schedule): Add parentheses around assignment used as
1960 truth value.
1961 (schedule_block): Likewise.
1962 (regno_use_in): Likewise.
1963 (schedule_insns): Remove unused variable `i'.
1964
1965 * toplev.c: Include <stdlib.h> and <string.h>/<strings.h>.
1966 (v_message_with_decl): Remove unused variable `n'.
1967 (botch): Explicitly declare parameter `s' as char *.
1968 (main): Add parentheses around assignment used as truth value.
1969
1970 * tree.c (make_node): Protect the variable `kind' with the
1971 GATHER_STATISTICS macro.
1972 (real_value_from_int_cst): Move variable `e' inside conditional
1973 macro area where it is used.
1974 (tree_last): Add parentheses around assignment used as truth value.
1975 (build1): Protect the variable `kind' with the GATHER_STATISTICS
1976 macro.
1977 (print_obstack_statistics): Reconcile format vs. args in fprintf.
1978 Protect variables `i', `total_nodes', and `total_bytes' with the
1979 GATHER_STATISTICS macro.
1980
1981 Tue Jan 27 23:01:55 1998 Mike Stump (mrs@wrs.com)
1982
1983 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Add
1984 some comments regarding use of dead_or_set_p.
1985
1986 Tue Jan 27 22:14:48 1998 Todd Vierling <tv@pobox.com>
1987
1988 * fixincludes: Tweak fix for struct exception in math.h
1989
1990 Tue Jan 27 17:21:09 1998 Gavin Koch (gavin@cygnus.com)
1991
1992 * mips/mips.c (mips_expand_prologue,mips_expand_epilogue):
1993 Change mode of registers used to add/sub from
1994 hard_frame_pointer_rtx from word_mode to Pmode.
1995
1996 Tue Jan 27 11:02:04 1998 Nick Clifton <nickc@cygnus.com>
1997
1998 * v850.h (ASM_OUTPUT_ALIGNED_BSS): Use
1999 asm_output_aligned_bss() instead of asm_output_bss().
2000
2001 * toplev.c (rest_of_compilation): Replace references to
2002 stack_reg_dump_file and dbr_sched_dump_file with references to
2003 rtl_dump_file.
2004
2005 Tue Jan 27 10:22:13 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
2006
2007 * tlink.c (scan_linker_output): Call fclose() for opened files.
2008
2009 Tue Jan 27 05:05:26 1998 Richard Henderson <rth@cygnus.com>
2010
2011 * alpha.c (output_epilog [!VMS]): Don't tag global functions if
2012 compiling with -fpic -- we want to be able to override symbols
2013 properly.
2014 (alpha_expand_block_move): Fix thinko in last change.
2015
2016 * alpha.h (ASM_OUTPUT_MI_THUNK): New define.
2017 * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): New define.
2018 * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): New undef.
2019
2020 Tue Jan 27 03:21:23 1998 Richard Henderson <rth@cygnus.com>
2021
2022 * alpha.md (abssf, absdf): Revert last change.
2023
2024 Tue Jan 27 00:26:50 1998 John Carr <jfc@mit.edu>
2025
2026 * dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO.
2027 * mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0.
2028
2029 Tue Jan 27 00:07:02 1998 Jeffrey A Law (law@cygnus.com)
2030
2031 * emit-rtl.c (gen_lowpart_common): Handle more case where converting
2032 a CONST_INT into SFmode.
2033
2034 Tue Jan 20 16:01:03 1998 Anthony Green <green@cygnus.com>
2035
2036 * flags.h: New flag (optimize_size).
2037 * toplev.c (main): Parse -Os option and set optimize_space
2038 accordingly.
2039 * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define
2040 __OPTIMIZE_SIZE__ when compiling with -Os.
2041 * config/dsp16xx/dsp16xx.h, config/i386/i386.h,
2042 config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
2043 config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
2044 to macro.
2045 * config/i386/i386.c (optimization_options): Accept new SIZE argument.
2046
2047 Mon Jan 26 23:57:39 1998 Manfred Hollstein <manfred@s-direktnet.de>
2048
2049 * libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
2050 stuff only if MCT_TEXT is #define'd.
2051
2052 Mon Jan 26 23:52:51 1998 Markus F.X.J. Oberhumer <k3040e4@c210.edvz.uni-linz.ac.at>
2053
2054 * configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32
2055 configurations.
2056
2057 Fri Jan 23 09:39:36 1998 Nick Clifton <nickc@cygnus.com>
2058
2059 * toplev.c: Add -dM command line option to dump RTL after the
2060 machine dependent reorganisation pass, if there is one.
2061 Reorganise RTL dump code, so that only one file handle is
2062 needed.
2063
2064 Mon Jan 26 12:09:42 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
2065
2066 * except.c (check_exception_handler_labels): Disable warning when
2067 flag_syntax_only.
2068
2069 Mon Jan 26 18:17:32 1998 Jim Wilson <wilson@cygnus.com>
2070
2071 * sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P.
2072
2073 Mon Jan 26 18:11:30 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2074
2075 * c-decl.c (grokdeclarator): Get parameter tags from
2076 last_function_parm_tags.
2077 * dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before
2078 traversing the parameter types.
2079 (output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context.
2080
2081 Mon Jan 26 01:44:12 1998 Jeffrey A Law (law@cygnus.com)
2082
2083 * h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and
2084 the default case.
2085 (get_shift_alg): Fix typo.
2086
2087 Sun Jan 25 22:22:04 1998 Richard Henderson <rth@cygnus.com>
2088
2089 * alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
2090
2091 Sun Jan 25 22:14:28 1998 Richard Henderson <rth@cygnus.com>
2092
2093 * toplev.c (get_run_time): Make sure each case gets its variables.
2094
2095 Sun Jan 25 22:10:21 1998 Richard Henderson <rth@cygnus.com>
2096
2097 * configure.in (build_xm_file): Add auto-config.h if host=build.
2098 (host_xm_file_list): Don't add $(srcdir) to auto-config.h.
2099 (build_xm_file_list): Likewise.
2100 * configure: Rebuild.
2101
2102 Sun Jan 25 22:00:25 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
2103
2104 * recog.c (validate_replace_rtx_1): Only perform substitutions
2105 of arguments to commutative and comparison operators once.
2106
2107 Sun Jan 25 12:30:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2108
2109 * sparc.c (output_cbranch): Add default case in
2110 enumeration switch.
2111
2112 * reorg.c (insn_sets_resource_p): Correct typo in prototype.
2113 (emit_delay_sequence): Eliminate unused parameter, all callers
2114 changed.
2115 (fill_simple_delay_slots): Likewise.
2116 (fill_slots_from_thread): Likewise.
2117 (fill_eager_delay_slots): Likewise.
2118 (mark_referenced_resources): Add default case in enumeration switch.
2119 (mark_set_resources): Likewise.
2120 (rare_destination): Likewise.
2121 (mostly_true_jump): Likewise.
2122 (find_dead_or_set_registers): Likewise.
2123 (redirect_with_delay_slots_safe_p): Remove unused variable `slots'.
2124 (update_reg_unused_notes): Remove unused variable `p'.
2125 (mark_target_live_regs): Remove unused variables `next' and
2126 `jump_count'.
2127 (fill_simple_delay_slots): Remove unused variable `j'.
2128 (fill_slots_from_thread): Add parentheses around assignment used
2129 as truth value.
2130 (dbr_schedule): Likewise.
2131
2132 * objc/Make-lang.in (objc.stage1): Depend on stage1-start.
2133 (objc.stage2, objc.stage3, objc.stage4): Likewise.
2134
2135 Sun Jan 25 12:13:47 1998 Michael Tiemann <michael@tiemann.org>
2136
2137 * cse.c (simplify_ternary_operation): Don't try to simplify
2138 IF_THEN_ELSE expressions (created by combine) that don't use
2139 relational operators.
2140
2141 Fri Jan 23 22:48:24 1998 Jeffrey A Law (law@cygnus.com)
2142
2143 * cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
2144 simplifications.
2145
2146 * crtstuff.c (init_dummy): Keep the epilogue in the init
2147 section for non-ELF systems.
2148
2149 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2150
2151 * sh.md (movqi_i+1): New peephole.
2152
2153 Fri Jan 23 15:39:42 1998 Jim Wilson <wilson@cygnus.com>
2154
2155 * Makefile.in: Remove remaining bytecode stuff.
2156 * emit-rtl.c, expr.c: Likewise.
2157
2158 Fri Jan 23 12:41:10 1998 Nick Clifton (nickc@cygnus.com)
2159
2160 * toplev.c (lang_options): Add unknown-pragma options.
2161
2162 Thu Jan 22 23:43:38 1998 Per Bothner <bothner@cygnus.com>
2163
2164 * dwarfout.c (byte_size_attribute): Simplify and fix - don't need
2165 special (and incomplete) handling for Chill arrays.
2166
2167 Fri Jan 23 00:27:23 1998 John Carr <jfc@mit.edu>
2168
2169 * toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available,
2170 to get clock rate.
2171
2172 Fri Jan 23 00:19:36 1998 Gavin Koch (gavin@cygnus.com)
2173
2174 * mips.md (muldi3_internal2): Reverse test for TARGET_MIPS16.
2175
2176 1998-01-22 scott snyder <snyder@d0sgif.fnal.gov>
2177
2178 * mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in
2179 .frame directive instead of FRAME_POINTER_REGNUM.
2180
2181 Fri Jan 23 00:08:55 1998 Robin Kirkham <rjk@mlb.dmt.csiro.au>
2182
2183 * m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
2184 (MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
2185 * m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
2186 (CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
2187 (CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
2188 * m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
2189 (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
2190 (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
2191 mcpu32 or m5200.
2192 * longlong.h: Replace __mc68332__ with __mcpu32__.
2193
2194 Thu Jan 22 19:55:40 PST 1998 Jeff Law (law@cygnus.com)
2195
2196 * version.c: Bump for snapshot.
2197
2198 Thu Jan 22 14:47:31 1998 Jim Wilson <wilson@cygnus.com>
2199
2200 * reload.c (push_reload): In WORD_REGISTER_OPERATIONS code, add test
2201 to require the SUBREG mode to be smaller than the SUBREG_REG mode.
2202 * reload1.c (eliminate_regs): Likewise.
2203
2204 Thu Jan 22 14:49:14 1998 Jeffrey A Law (law@cygnus.com)
2205
2206 * regmove.c (find_matches): Initialize matches->earlyclobber too.
2207
2208 Thu Jan 22 01:40:52 1998 Richard Henderson <rth@cygnus.com>
2209
2210 * alpha.md (abssf2, absdf2): Disable in IEEE mode.
2211 (negsf2, negdf2): Use proper subtract in IEEE mode.
2212
2213 Tue Jan 20 09:29:09 1998 Jeffrey A Law (law@cygnus.com)
2214
2215 * Makefile.in: Remove more bytecode stuff.
2216 * expr.c, stmt.c, config/msdos/top.sed: Likewise.
2217 * vax/xm-vms.h, winnt/config-nt.sed: Likewise.
2218 * f/install.texi, objc/Make-lang.in: Likewise.
2219
2220 * Makefile.in: Remove all bytecode support.
2221 (OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
2222 * emit-rtl.c: Remove all bytecode support.
2223 * expr.c, expr.h function.c, integrate.c: Likewise.
2224 * output.h, regclass.c, rtl.h, stmt.c, toplev.c: Likewise.
2225 * tree.h, varasm.c: Likewise.
2226 * config/m68k/m68k.h: Likewise.
2227 * bi-*, bc-*, bytecode*: Delete bytecode related files.
2228 * modemap.def: Likewise.
2229
2230 Tue Jan 20 09:02:31 1998 Gavin Koch (gavin@cygnus.com)
2231
2232 * mips/mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3,
2233 umodsi3,umoddi3): Handle mips16 div/mod by a constant.
2234
2235 Mon Jan 19 21:57:00 1998 Richard Henderson <rth@cygnus.com>
2236
2237 * i386.md (push): Prohibit symbolic constants if flag_pic.
2238 (movsi+1): Likewise for move to non-register.
2239
2240 Mon Jan 19 11:15:38 1998 Jim Wilson <wilson@cygnus.com>
2241
2242 * alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
2243 (print_operand): Handle 0xffffffff on 32 bit host.
2244
2245 * configure.in (thread_file): Rename uses before main loop to
2246 target_thread_file. Initialize to empty in main loop. Set thread_file
2247 to target_thread_file after main loop if not set.
2248 * configure: Rebuild.
2249
2250 * genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
2251 (add_values_to_cover): Revert last change (which had no ChangeLog
2252 entry).
2253 (simplify_with_current_value_aux): Handle CONST_INT.
2254
2255 Mon Jan 19 10:14:55 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2256
2257 * unprotoize.c: Define UNPROTOIZE first, to actually take effect.
2258
2259 Mon Jan 19 10:11:52 1998 Richard Henderson <rth@cygnus.com>
2260
2261 * configure.in: Add cpp stringify test.
2262 * acconfig.h (HAVE_CPP_STRINGIFY): New tag.
2263 * gengenrtl.c: Use it.
2264 * configure, config.in: Rebuild.
2265
2266 Mon Jan 19 09:43:15 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2267
2268 * Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
2269
2270 Mon Jan 19 09:38:18 1998 Richard Henderson <rth@cygnus.com>
2271
2272 * configure.in: Find declaration for sbrk.
2273 * acconfig.h (NEED_DECLARATION_SBRK): New tag.
2274 * config.in, configure: Rebuild.
2275 * mips-tfile.c: Properly protect declaration of sbrk and free.
2276 * toplev.c: Properly protect declaration of sbrk.
2277
2278 Sun Jan 18 20:18:01 1998 Richard Henderson <rth@cygnus.com>
2279
2280 * alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
2281
2282 Sun Jan 18 01:54:27 1998 Jeffrey A Law (law@cygnus.com)
2283
2284 * alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
2285
2286 Sun Jan 18 00:57:35 1998 Mike Stump (mrs@wrs.com)
2287
2288 * configure.in (i960-wrs-vxworks): Default to latest vxworks release.
2289
2290 Sat Jan 17 23:41:36 1998 David S. Miller <davem@tanya.rutgers.edu>
2291
2292 * combine.c (force_to_mode, nonzero_bits): Correctly optimize
2293 constant offset computations from objects with known alignment in
2294 the presence of STACK_BIAS.
2295
2296 * varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
2297 necessary.
2298 (const_hash): Hash val is unsigned long.
2299 (SYMHASH): Likewise.
2300
2301 * tree.c (TYPE_HASH): Type of hash val is unsigned long.
2302
2303 * print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
2304 char pointer, not HOST_WIDE_INT.
2305 (print_node): Likewise. Also hash is unsigned long not
2306 HOST_WIDE_INT.
2307
2308 * cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
2309
2310 * explow.c (optimize_save_area_alloca): New function for targets
2311 where SETJMP_VIA_SAVE_AREA is true.
2312 (allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
2313 compute the amount of stack space needed should we find later that
2314 setjmp is never called by this function, stuff rtl for this inside
2315 a REG_NOTE of the final SET of stack_pointer_rtx.
2316 * toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
2317 current_function_calls_alloca, call optimize_save_area_alloca.
2318
2319 Sat Jan 17 23:22:59 1998 John Wehle (john@feith.com)
2320
2321 * i386.md: Remove redundant integer push patterns.
2322 Don't bother checking for TARGET_PUSH_MEMORY when
2323 pushing constants or registers.
2324
2325 Sat Jan 17 22:35:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
2326 J.J VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
2327
2328 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
2329 (pwait): New function for mingw32.
2330
2331 * gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
2332 pipe support is broken for now.
2333
2334 1998-01-17 Lee Iverson <leei@Canada.AI.SRI.COM>
2335
2336 * emit_rtl.c (init_emit_once): Ensure that potential aliasing
2337 between frame_pointer_rtx, hard_frame_pointer_rtx, and
2338 arg_pointer_rtx is respected in initialization.
2339 (init_emit_once): Use gen_rtx_raw_REG() to create
2340 return_address_pointer_rtx.
2341
2342 * reorg.c: #include "expr.h" for rtx prototypes.
2343 * Makefile.in (reorg.o): Depend on expr.h
2344
2345 Sat Jan 17 21:28:08 1998 Pieter Nagel <pnagel@epiuse.co.za>
2346
2347 * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
2348 local_prefix to sub-make invocations.
2349
2350 Sat Jan 17 21:24:16 1998 David T. McWherter <dtm@waterw.com>
2351
2352 * objc-parse.c: Recognize protocol qualifiers in class definitions.
2353
2354 Sat Jan 17 21:16:19 1998 Jeffrey A Law (law@cygnus.com)
2355
2356 * rtl.h: Fix typos.
2357
2358 * acconfig.h (NEED_DECLARATION_ATOL): New declaration to check for.
2359 * configure.in: Check for atol.
2360 * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.
2361
2362 * rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
2363
2364 * loop.c (find_and_verify_loops): When attempting to move insns from
2365 inside the loop outside the loop, create a BARRIER if no suitable
2366 one was found.
2367
2368 * jump.c (jump_optimize): Remove Dec 17, 1997 chance in
2369 favor of an equivalent change from gcc-2.8.
2370
2371 * i386/x-sco5 (CC): Remove trailing whitespace.
2372
2373 Sat Jan 17 21:09:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2374
2375 * gengenrtl.c (type_from_format): De-ANSIfy function signature.
2376 (accessor_from_format): Likewise.
2377 (xmalloc): New function for use when linking with alloca.o.
2378
2379 Mon Jan 5 02:53:01 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
2380
2381 * frame.c (find_fde): Correct FDE's upper bound.
2382
2383 Fri Jan 16 16:23:52 1998 Richard Henderson <rth@cygnus.com>
2384
2385 * gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
2386
2387 Fri Jan 16 10:16:10 1998 Jeffrey A Law (law@cygnus.com)
2388
2389 * calls.c (expand_call): Move #ifdef code out of macro argument
2390 lists.
2391 (emit_library_call, emit_library_call_value): Likewise.
2392
2393 Fri Jan 16 00:46:40 1998 Jeffrey A Law (law@cygnus.com)
2394
2395 * rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
2396
2397 Thu Jan 15 01:02:30 1998 Jeffrey A Law (law@cygnus.com)
2398
2399 * version.c: Bump for snapshot.
2400
2401 Wed Jan 14 22:49:17 1998 Richard Henderson <rth@cygnus.com>
2402
2403 * alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
2404 change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
2405 * caller-save.c, calls.c, combine.c, cse.c: Likewise.
2406 * dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
2407 * final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
2408 * halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
2409 * profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
2410 * reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
2411 * unroll.c, varasm.c: Likewise.
2412 * config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
2413
2414 Wed Jan 14 19:36:08 1998 Gavin Koch (gavin@cygnus.com)
2415
2416 * mips.h: Fix some type-o's from a previous change.
2417
2418 Wed Jan 14 01:26:05 1998 Jeffrey A Law (law@cygnus.com)
2419
2420 * loop.c (check_dbra_loop): Make sure initial value is a
2421 CONST_INT before trying to normalize it.
2422
2423 Tue Jan 13 23:27:54 1998 Robert Lipe (robertl@dgii.com)
2424
2425 * sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
2426
2427 Tue Jan 13 22:47:02 1998 Herman ten Brugge <herman@htbrug.net.HCC.nl>
2428
2429 * cppexp.c: Include gansidecl.h
2430
2431 Tue Jan 13 22:43:35 1998 Ian Lance Taylor <ian@cygnus.com>
2432
2433 * svr4.h (LINK_SPEC): Never specify -h.
2434 * ptx4.h (LINK_SPEC): Likewise.
2435 * rs6000/sysv4.h (LINK_SPEC): Likewise.
2436 * sparc/sol2.h (LINK_SPEC): Likewise.
2437
2438 Tue Jan 13 22:39:40 1998 Richard Henderson (rth@cygnus.com)
2439
2440 * c-typeck.c (comptypes): Exit early on NULL input.
2441
2442 * haifa-sched.c (schedule_insns): Correctly remove inter-block
2443 dependencies after reload.
2444
2445 Tue Jan 13 22:22:31 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
2446
2447 * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
2448
2449 Tue Jan 13 22:14:57 1998 Klaus Kaempf <kkaempf@progis.de>
2450
2451 * alpha/vms.h (DIR_SEPARATOR): define
2452
2453 Tue Jan 13 22:13:04 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
2454
2455 * Makefile.in (stamp-proto): Remove.
2456 (protoize.o, unprotoize.o): Straightforward compile.
2457 * unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
2458
2459 Tue Jan 13 21:59:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
2460
2461 * i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
2462 off the trailing @[NUM] added by ENCODE_SECTION_INFO.
2463
2464 Tue Jan 13 21:55:06 1998 Jeffrey A Law (law@cygnus.com)
2465
2466 * arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
2467 * i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
2468 * sparc/netbsd.h, vax/netbsd.h: Likewise.
2469
2470 Tue Jan 13 21:37:07 1998 Shigeya Suzuki <shigeya@foretune.co.jp>
2471
2472 * i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
2473
2474 Tue Jan 13 17:50:55 1998 Jim Wilson <wilson@cygnus.com>
2475
2476 * configure.in (target_cpu_default, target_cpu_default2): Use double
2477 quotes around them when testing their value.
2478 * configure: Rebuilt.
2479
2480 Tue Jan 13 09:07:44 1998 John Carr <jfc@mit.edu>
2481
2482 * gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
2483 to allocate rtx.
2484 (gendef): Call obstack_alloc_rtx.
2485
2486 Tue Jan 13 01:16:36 1998 Robert Lipe (robertl@dgii.com)
2487
2488 * configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4
2489 for now.
2490
2491 Thu Dec 18 18:40:17 1997 Mumit Khan <khan@xraylith.wisc.edu>
2492
2493 * i386/mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete. Use the value
2494 of DWARF2_UNWIND_INFO, if any, from i386/cygwin32.h instead.
2495 (STANDARD_INCLUDE_DIR): Change to /usr/local/i386-mingw32/include.
2496
2497 Tue Jan 13 00:44:02 1998 Jim Wilson <wilson@cygnus.com>
2498
2499 * mips.md (return_internal): Change mode from SImode to VOIDmode.
2500
2501 Sat Jan 10 22:11:39 1998 J. Kean Johnston <jkj@sco.com>
2502
2503 * i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
2504 "-static".
2505
2506 Sat Jan 10 22:04:15 1998 Stan Cox <scox@equinox.cygnus.com>
2507
2508 * i386.md: (movsicc_1, movhicc_1): For alternate 3 set the opcode
2509 suffix from operand 3.
2510
2511 Sat Jan 10 21:50:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2512 Jeffrey A Law (law@cygnus.com)
2513
2514 * regmove.c: New implementation of regmove pass.
2515 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2): Remove
2516 decls, make them have external linkage. Return a value from
2517 optimize_reg_copy_1.
2518 * reload.h (count_occurrences): Add decl.
2519 * reload1.c (count_occurrences): Delete decl, make it have external
2520 linkage.
2521 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Declare.
2522
2523 Sat Jan 10 20:30:12 1998 Jeffrey A Law (law@cygnus.com)
2524
2525 * regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P
2526 if it is not defined.
2527
2528 Thu Jan 8 21:06:54 1998 Richard Henderson <rth@cygnus.com>
2529
2530 * Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
2531 * emit-rtl.c (gen_rtx): Move special code to ...
2532 (gen_rtx_CONST_INT): New function.
2533 (gen_rtx_REG): New function.
2534 (*): Update all calls to gen_rtx.
2535 * genemit.c (gen_exp): Emit calls to gen_rtx_FOO for constant FOO.
2536 * rtl.h: Include genrtl.h; prototype CONST_INT & REG generators.
2537 (GEN_INT): Call gen_rtx_CONST_INT.
2538 * gengenrtl.c: New file.
2539
2540 Mon Jan 5 13:00:18 1998 John F. Carr <jfc@mit.edu>
2541
2542 * alias.c (*_dependence): Call base_alias_check before canon_rtx.
2543 (base_alias_check): If no base found for address call canon_rtx and
2544 try again.
2545
2546 Mon Jan 5 11:39:49 1998 Jeffrey A Law (law@cygnus.com)
2547
2548 * mips.c (mips_expand_prologue): Handle large frame with no outgoing
2549 arguments for mips16.
2550 (mips_expand_epilogue): Pass "orig_tsize" to save_restore_insns.
2551 Don't lose if tsize is zero after handling large stack for mips16.
2552 * mips.md (return): For trivial return, return address is in $31.
2553
2554 Sun Jan 4 20:24:00 1998 Nigel Stephens <nigel@algor.co.uk>
2555
2556 * mips/mips16.S: Various changes to make it work with -msingle-float
2557 and -EL.
2558
2559 Sun Jan 4 14:25:18 1998 Gavin Koch <gavin@cygnus.com>
2560 Ian Lance Taylor <ian@cygnus.com>
2561 Jeff Law <law@cygnus.com>
2562
2563 * mips.c, mips.h, mips.md: First cut at merging in mips16
2564 support. Major modifications throughout all three files.
2565
2566 Sun Jan 4 01:01:50 1998 scott snyder <snyder@d0sgif.fnal.gov>
2567
2568 * configure.in: Make gthr-default.h a forwarding header instead of
2569 a symlink.
2570
2571 Sat Jan 3 12:08:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2572
2573 * gcov-io.h: Include sys/types.h to ensure we get size_t.
2574
2575 * pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.
2576
2577 Fri Jan 2 23:40:09 1998 Jim Wilson (wilson@cygnus.com)
2578 Jeffrey A Law (law@cygnus.com)
2579
2580 * crtstuff.c (__frame_dummy): New function for irix6.
2581 (__do_global_ctors): Call __frame_dummy for irix6.
2582 * iris6.h (LINK_SPEC): Hide __frame_dummy too.
2583
2584 Fri Jan 2 04:57:57 1998 Weiwen Liu <liu@hepmail.physics.yale.edu>
2585
2586 * alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
2587
2588 Fri Jan 2 04:34:14 1998 Richard Henderson <rth@cygnus.com>
2589
2590 * c-decl.c (init_decl_processing): Provide proper fallback symbol
2591 for __builtin_memset.
2592 * expr.c (expand_builtin) [MEMSET]: Arg 3 type code is INTEGER_TYPE
2593 not INTEGER_CST. Assert arg 3 is a constant.
2594
2595 * alpha.c (mode_width_operand): Accept 64-bit modes.
2596 (mode_mask_operand): Likewise.
2597 (print_operand): Likewise for 'M' and 'U' codes.
2598 (alpha_expand_unaligned_load): New function.
2599 (alpha_expand_unaligned_store): Likewise.
2600 (alpha_expand_unaligned_load_words): Likewise.
2601 (alpha_expand_unaligned_store_words): Likewise.
2602 (alpha_expand_block_move): Likewise.
2603 (alpha_expand_block_clear): Likewise.
2604 * alpha.h (MOVE_RATIO): New define.
2605 * alpha.md (extxl, ext*h, ins*l, mskxl): Name them.
2606 (insql, insxh, mskxh, extv, extzv, insv, movstrqi, clrstrqi): New.
2607
2608 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Set to 3.
2609 (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Disable.
2610
2611 Thu Jan 1 15:40:15 1998 Richard Henderson <rth@cygnus.com>
2612
2613 * configure.in: Put parenthesis around TARGET_CPU_DEFAULT's value.
2614 * configure: Update.
2615
2616 Thu Jan 1 10:49:12 1998 Jeffrey A Law (law@cygnus.com)
2617
2618 * emit-rtl.c (operand_subword): Correctly handle extracting a word
2619 from a CONST_DOUBLE for 16bit targets with !WORDS_BIG_ENDIAN.
2620
2621 * mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate
2622 for first argument.
2623
2624 Wed Dec 31 14:42:18 1997 Ian Lance Taylor <ian@cygnus.com>
2625
2626 * configure.in: Set and subsitute host_exeext. Use it when creating
2627 the assembler and linker symlinks.
2628 * configure: Rebuild.
2629 * Makefile.in (exeext): Set to @host_exeext@.
2630 (build_exeext): New variable, set to @build_exeext@.
2631 (FLAGS_TO_PASS): Pass down build_exeext.
2632 (STAGESTUFF): Use build_exeext, not exeext, for gen* and bi*
2633 programs.
2634
2635 Wed Dec 31 10:05:44 1997 Jeffrey A Law (law@cygnus.com)
2636
2637 * mn10200.md (addsi3, subsi3): Fix thinkos.
2638
2639 Tue Dec 30 00:04:49 1997 Richard Henderson <rth@cygnus.com>
2640
2641 * sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of
2642 save+restore. Fix pic+big_offset delay slot. Use "pic" case for
2643 unix always, since we want to be able to thunk to functions in a
2644 shared library from an application.
2645
2646 Mon Dec 29 14:37:31 1997 Ian Lance Taylor <ian@cygnus.com>
2647
2648 * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
2649 (LIB1ASMSRC, LIB1ASMFUNCS): Define.
2650
2651 Mon Dec 29 14:03:38 1997 Jeffrey A Law (law@cygnus.com)
2652
2653 * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
2654 offset's mode is not ptr_mode, convert it.
2655
2656 Mon Dec 29 15:58:18 1997 Michael Meissner <meissner@cygnus.com>
2657
2658 * libgcc2.c (inhibit_libc): Don't define inhibit_libc when cross
2659 compiling if it was already defined.
2660
2661 Sun Dec 28 00:32:16 1997 Jeffrey A Law (law@cygnus.com)
2662
2663 * flow.c (find_basic_blocks): Don't create a new basic block
2664 for calls in a LIBCALL block.
2665
2666 Sun Dec 28 00:30:24 1997 David Edelsohn <edelsohn@mhpcc.edu>
2667
2668 * config/fp-bit.c (L_df_to_sf): Fix typo in last change.
2669
2670 Sat Dec 27 22:43:12 1997 Jeffrey A Law (law@cygnus.com)
2671
2672 * cse.c (rtx_cost): Remove conflicting default case.
2673
2674 Sat Dec 27 21:20:02 1997 Richard Henderson <rth@cygnus.com>
2675
2676 * configure.in: Move default enabling of Haifa out of for loop.
2677 * configure: Rebuild.
2678
2679 Thu Dec 25 01:02:54 1997 Jeffrey A Law (law@cygnus.com)
2680
2681 * version.c: Bump for snapshot.
2682
2683 1997-12-25 Teemu Torma <tot@trema.com>
2684
2685 * Makefile.in (GTHREAD_FLAGS): New var.
2686 (LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
2687 (distclean): Remove gthr-default.h.
2688
2689 * configure.in: Accept dce as a thread package.
2690 Check for thread.h and pthread.h.
2691 Link gthr-default.h to appropriate thread file and set
2692 gthread_flags.
2693 (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
2694 include multilib definitions from pa/t-dce-thr.
2695 (sparc-*-solaris2*): Enable threads by default, if thread.h or
2696 pthread.h is found, preferring posix threads over solaris ones.
2697
2698 * config/pa/t-dce-thr: New file.
2699 * config/pa/t-pa: Removed multilibs.
2700 * config/sparc/t-sol2: Ditto.
2701
2702 * gthr.h: New file.
2703 * gthr-single.h: New file.
2704 * gthr-posix.h: New file.
2705 * gthr-solaris.h: New file.
2706 * gthr-dce.h: New file.
2707 * libgcc-thr.h: Removed.
2708 * objc/thr-dce.c: New file copied from thr-decosf1.c.
2709
2710 * frame.c: Include gthr.h instead of libgcc-thr.h.
2711 * libgcc2.c: Include gthr.h instead of libgcc-thr.h.
2712 (eh_context_initialize): If __gthread_once fails, use static eh
2713 context.
2714 (eh_context_free): Call __gthread_key_dtor.
2715
2716 Wed Dec 24 23:33:17 1997 Jeffrey A Law (law@cygnus.com)
2717
2718 * expr.h (MUST_PASS_IN_STACK): Allow target port to override.
2719
2720 Wed Dec 24 23:12:14 1997 Jim Wilson <wilson@cygnus.com>
2721
2722 * cse.c (max_insn_uid): New variable.
2723 (cse_around_loop): Use max_insn_uid.
2724 (cse_main): Set max_insn_uid.
2725
2726 * abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT,
2727 and define __LONG_MAX__ appropriately. Add support for -mabi=X,
2728 -mlong64, and -mgp{32,64} options.
2729 * mips.c (mips_abi): Change type to int.
2730 * mips.h (enum mips_abi_type): Delete.
2731 (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants.
2732 (mips_abi): Change type to int.
2733
2734 Wed Dec 24 22:38:34 1997 John Carr <jfc@mit.edu>
2735
2736 * flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check;
2737 optimization is now always enabled.
2738
2739 * calls.c (expand_call): Recognize C++ operator new as malloc-like
2740 function.
2741
2742 * alias.c (memrefs_conflict_p): Eliminate tests now done by
2743 base_alias_check.
2744 (*_dependence): Call canon_rtx before base_alias_check.
2745 (init_alias_once): New function to precompute set of registers which
2746 can hold Pmode function arguments.
2747
2748 * rtl.h: Declare init_alias_once.
2749
2750 * toplev.c (compile_file): Call init_alias_once.
2751
2752 Wed Dec 24 22:34:55 1997 Jeffrey A Law (law@cygnus.com)
2753
2754 * tree.c (restore_tree_status): Do not dereference a null pointer.
2755
2756 Tue Dec 23 12:56:46 1997 Paul Eggert <eggert@twinsun.com>:
2757
2758 * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to
2759 RLIMIT_STACK. This maintains consistency with the recent, similar
2760 patch to cccp.c and toplev.c.
2761
2762 Tue Dec 23 05:17:28 1997 Richard Henderson <rth@cygnus.com>
2763
2764 * genattrtab.c (expand_units): For large nr opclasses, expand
2765 function_units_used with ORX to prevent blowups. Tag with FFS.
2766 (num_unit_opclasses): New variable.
2767 (gen_unit): Update it.
2768 (enum operator): Add ORX_OP.
2769 (operate_exp): Treat ORX as or, except don't expand across an if.
2770 Reuse number rtx's after operating on them.
2771 (check_attr_value): Accept IOR, AND, & FFS.
2772 (write_test_expr): Transmute `in_comparison' to `flags'. Allow
2773 for attribute value caching. Handle CONST_STRING, IF_THEN_ELSE.
2774 (write_expr_attr_cache, write_toplevel_expr): New functions.
2775 (write_attr_get): Handle FFS-tagged expressions.
2776 (make_canonical): Don't expand const attributes.
2777 (convert_const_symbol_ref): Dike out.
2778 (evaluate_eq_attr): Handle SYMBOL_REF.
2779 (main): Don't emit get_attr_foo for const attributes.
2780
2781 * alpha.c (override_options): Reinstate PROCESSOR_EV6.
2782 (alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests.
2783 * alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly.
2784 * alpha.md: Redo all of the scheduling, adding EV6 support, and
2785 combining function units where possible.
2786 (attr "type"): Split loads, stores, cmov into int/fp. Combine
2787 multiplies and divides. Add EV6 sqrt, ftoi, itof.
2788 (attr "opsize"): New attribute.
2789 (sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns.
2790 (movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX
2791 to control register allocation.
2792 (movsi2-1, movdi2-1): Likewise.
2793
2794 Tue Dec 23 03:53:21 1997 Richard Henderson <rth@cygnus.com>
2795
2796 * alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC,
2797 MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC):
2798 Move OSF/1 specific defines out.
2799 * alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS):
2800 Move Linux specific defines out.
2801 (LINK_SPEC): Genericize.
2802 (ASM_FILE_START): Emit .arch if using more than the base insn set.
2803 (ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version.
2804 (SDB_DEBUGGING_INFO): Remove; gas can't handle it.
2805 (HANDLE_SYSV_PRAGMA): Define.
2806 * alpha/osf.h: New file.
2807 * alpha/linux.h: Split. Retain file-format independant defines.
2808 Import Linux bits from elf.h.
2809 (CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES
2810 (FUNCTION_PROFILER): _mcount takes its address in $28.
2811 (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef.
2812 * alpha/linux-ecoff.h: New file.
2813 * alpha/linux-elf.h: New file.
2814 * alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h.
2815 * alpha/win-nt.h (TARGET_DEFAULT): Define.
2816 * configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]:
2817 Add new headers as appropriate.
2818
2819 * configure.in (alpha*): Enable Haifa by default.
2820 (*-*-winnt3*): Change to winnt*, since we're not v3 specific.
2821 * configure: Rebuild.
2822
2823 Tue Dec 23 03:14:54 1997 Richard Henderson <rth@cygnus.com>
2824
2825 * Makefile.in (clean): Remove the stages with their objects here ...
2826 (distclean): ... instead of here.
2827
2828 Mon Dec 22 11:24:01 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2829
2830 * cse.c (rtx_cost): Add default case in enumeration switch.
2831 * fix-header.c (recognized_macro): Likewise.
2832 (recognized_extern): Likewise.
2833 (write_rbrac): Likewise.
2834 * objc/objc-act.c (encode_aggregate): Likewise.
2835 (gen_declarator): Likewise.
2836 (gen_declspecs): Likewise.
2837
2838 Mon Dec 22 09:58:51 1997 Jeffrey A Law (law@cygnus.com)
2839
2840 * haifa-sched.c (create_reg_dead_note): Detect and handle another
2841 case where we kill more regs after sched than were killed before
2842 sched.
2843 * sched.c (create_reg_dead_note): Similarly.
2844
2845 Mon Dec 22 09:18:37 1997 Jeffrey A Law (law@cygnus.com)
2846
2847 * c-pragma.c: Include flags.h.
2848
2849 Sun Dec 21 22:10:59 1997 Mumit Khan <khan@xraylith.wisc.edu>
2850
2851 * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
2852 about system headers.
2853 (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
2854 and also to resolve symbols in prefix.c.
2855
2856 * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
2857 between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
2858 when the definitions in auto-config.h is not visible.
2859 (HAVE_BZERO): Likewise.
2860 (HAVE_BCMP): Likewise.
2861 (HAVE_RINDEX): Likewise.
2862 (HAVE_INDEX): Likewise.
2863
2864 Sun Dec 21 21:54:22 1997 Jeffrey A Law (law@cygnus.com)
2865
2866 * pa.c (emit_move_sequence): Handle a function label source
2867 operand.
2868
2869 Sun Dec 21 16:13:55 1997 Nick Clifton <nickc@cygnus.com
2870
2871 * c-pragma.c (handle_pragma_token): Generate warning messages
2872 about unknown pragmas if warn_unknown_pragmas is set.
2873
2874 * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command
2875 line option to set variable: warn_unknown_pragmas.
2876
2877 Sun Dec 21 15:51:10 1997 Manfred Hollstein <manfred@lts.sel.alcatel.de>
2878
2879 * m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
2880 definition.
2881 (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.
2882
2883 Sun Dec 21 13:58:39 1997 Jeffrey A Law (law@cygnus.com)
2884
2885 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
2886 (libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to
2887 generate more fine grained floating point emulation libraries.
2888 * config/fp-bit.c: Add protecting #ifdef to all functions so
2889 that they can be compiled separately. If !FINE_GRAINED_LIBRARIES,
2890 then compile all suitable functions.
2891 (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
2892 underscores to avoid namespace pollution.
2893 * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
2894 (FPBIT): Define.
2895 * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
2896 (FPBIT): Define.
2897 (DPBIT): Define.
2898
2899 Sat Dec 20 11:26:47 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2900 Jeff Law <law@cygnus.com>
2901
2902 * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
2903 of the declaration.
2904 * c-decl.c (finish_decl): Use parentheses around && within ||.
2905 * rtl.c: Include stdlib.h.
2906 (read_skip_spaces): Add parentheses around assignments used as
2907 truth values.
2908 (read_rtx): Initialize list_rtx.
2909 * cppexp.c (parse_number): Use || when operands are truth values.
2910 * alias.c (find_base_value): Add default case.
2911 (memrefs_conflict): Likewise.
2912 * combine.c (sets_function_arg_p): Likewise.
2913 * genemit.c (gen_exp): Likewise.
2914 * local-alloc.c (contains_replace_regs): Likewise.
2915 * rtlanal.c (jmp_uses_reg_or_mem): Likewise.
2916 * fold-const.c (fold_convert): Use "&&" for truth values.
2917 (fold): Add default case.
2918 * sdbout.c (sdbout_field_types): Fix typo in declaration.
2919 (sdbout_one_type): Add default case.
2920 * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
2921 (some_operand): Add default case.
2922 (input_operand): Likewise.
2923 (signed_comparison_operator): Likewise.
2924 (divmod_operator): Likewise.
2925 (alpha_set_memflags_1): Likewise.
2926 * reload1.c (reload_cse_simplify_operands): Ensure function
2927 always returns a value.
2928 * scan-decls.c (scan_decls): Likewise.
2929 * c-lex.c (skip_white_space): Fix typo in declaraion.
2930 * c-typeck.c (comp_target_types): Add parentheses around assignment
2931 used as truth value.
2932 (print_spelling): Likewise.
2933 (constructor_implicit, constructor_result): Remove unused variables.
2934 * collect2.c (scan_library): Protect prototype with
2935 #ifdef SCAN_LIBRARIES.
2936 * emit-rtl.c (find_line_note): Fix typo in declaration.
2937 * final.c (asm_insn_count): Protect prototype with
2938 #ifdef HAVE_ATTR_length.
2939 * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
2940 (try_pre_increment_1, try_pre_increment): Likewise.
2941 * regclass.c (auto_inc_dec_reg_p): Protect prototype with
2942 #ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit.
2943 * gcov-io.h (__store_long, __write_long, __read_long): Fix
2944 unsigned/signed comparisons.
2945 * gcov.c (read_files): Remove unused "first_type" variable.
2946 (scan _for_source_files): Initialize s_ptr.
2947 (function_summary): Eliminate "%lf" formatting, use %ld for
2948 longs.
2949 (output_data): Initialize branch_probs and last_line_num.
2950 Eliminate "%lf" formatting, use "%ld" for longs.
2951
2952 Fri Dec 19 17:31:11 1997 Ian Lance Taylor <ian@cygnus.com>
2953
2954 * mips16.S: New file.
2955
2956 * libgcc2.c (varargs): Handle mips16.
2957
2958 * expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
2959 expression.
2960 * stmt.c (expand_end_case): Likewise.
2961 * alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
2962 * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
2963 * rs6000.h, sh.h, tahoe.h, v850.h, vax.h: Likewise.
2964
2965 Tue Dec 16 15:14:09 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2966
2967 * objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in
2968 the build directory.
2969 (libobjc.a): Update dependency list.
2970 (libobjc.dll): Likewise. Use libobjc_entry.o from the build
2971 directory.
2972 (objc/sendmsg.o): Add -Iobjc to find runtime-info.h.
2973 (objc.mostlyclean): Remove runtime-info.h.
2974
2975 Fri Dec 19 00:19:42 1997 Richard Henderson <rth@cygnus.com>
2976
2977 * tree.c (build_range_type): Allow creation of ranges with no maximum.
2978 * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
2979 * dwarf2out.c (add_subscript_info): Likewise.
2980 * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
2981 * sdbout.c (plain_type_1): Likewise.
2982 * stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
2983 Likewise.
2984 * fold-const.c (int_const_binop, fold_convert, make_range, fold):
2985 Likewise.
2986
2987 Thu Dec 18 17:05:10 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2988
2989 * mips.c (fatal): Remove declaration.
2990
2991 1997-12-18 Mark Mitchell <mmitchell@usa.net>
2992
2993 * integrate.c (get_label_from_map): New function.
2994 (expand_inline_function): Use it. Initialize the label_map to
2995 NULL_RTX instead of gen_label_rtx.
2996 (copy_rtx_and_substitute): Use get_label_from_map.
2997 * integrate.h (get_label_from_map): New function.
2998 (set_label_from_map): New macro.
2999 * unroll.c (unroll_loop): Use them.
3000 (copy_loop_body): Ditto.
3001
3002 Thu Dec 18 19:19:57 1997 Ian Lance Taylor <ian@cygnus.com>
3003
3004 * mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
3005 (INIT_TARGET_OPTABS): Define.
3006 * mips/ecoff.h: Include gofast.h before mips.h.
3007 (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS.
3008 * mips/elf64.h: Likewise.
3009 * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define.
3010
3011 Thu Dec 18 14:51:12 1997 Jason Merrill <jason@yorick.cygnus.com>
3012
3013 * except.c: Remove register_exception_table{,_p}.
3014
3015 Thu Dec 18 14:57:29 1997 Gavin Koch <gavin@cygnus.com>
3016
3017 * unroll.c (calculate_giv_inc): Handle constant increment found in
3018 a MEM with an appropriate REG_EQUAL note.
3019
3020 * calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
3021
3022 * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
3023 frame pointer in the prologue.
3024
3025 Thu Dec 18 00:19:38 1997 Robert Lipe <robertl@dgii.com>
3026
3027 * i386/x-sco5 (CLIB) Deleted. (ALLOCA) Added.
3028 * i386/xm-sco5.h (USE_C_ALLOCA) Added.
3029
3030 Tue Dec 16 18:51:00 1997 Bill Moyer <billm@cygnus.com>
3031
3032 * config/m68k/m68k.c (output_function_prologue): Typecast
3033 dwarf2out_cfi_label to (char *).
3034 * config/m68k/m68kemb.h (STARTFILE_SPEC): Redefined to "".
3035
3036 Wed Dec 17 15:06:04 1997 Richard Henderson <rth@cygnus.com>
3037
3038 * sparc.md (jump): Don't use the annul bit around an empty loop.
3039 Patch from Kevin.Kelly@East.Sun.COM.
3040
3041 Wed Dec 17 00:51:36 1997 Stan Cox (scox@cygnus.com)
3042
3043 * jump.c: (jump_optimize): Don't use the return register as a
3044 source1 of a conditional move.
3045
3046 Tue Dec 16 23:45:40 1997 Richard Henderson <rth@cygnus.com>
3047
3048 * sparc.c (DF_MODES): Or the mask not the bit number.
3049 (function_arg) [ARCH64]: Send unprototyped arg to fp reg first.
3050
3051 Wed Dec 17 00:13:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
3052
3053 * combine.c (force_to_mode): return immediately if operand is a CLOBBER.
3054
3055 Tue Dec 16 23:44:54 1997 Manfred Hollstein <manfred@s-direktnet.de>
3056
3057 * fixincludes (size_t): Add support for Motorola's stdlib.h
3058 which fails to provide a definition for size_t.
3059 (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3.
3060 (strlen,strspn,strcspn return value): Handle different layout on sysV88.
3061 (hypot): Provide a fake for hypot for m88k-motorola-sysv3.
3062
3063 * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
3064 prevent unresolved externals in libio.
3065 * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise.
3066
3067 Tue Dec 16 23:25:45 1997 H.J. Lu (hjl@gnu.org)
3068
3069 * config/sparc/linux64.h (LIBGCC_SPEC): Removed.
3070 (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
3071 (LIB_SPEC): Updated for glibc 2.
3072
3073 Tue Dec 16 20:11:36 1997 Jeffrey A Law (law@cygnus.com)
3074
3075 * ginclude/stdarg.h: Undo BeOS changes, they break hpux.
3076 * ginclude/varargs.h: Likewise.
3077
3078 Tue Dec 16 00:32:01 1997 Jeffrey A Law (law@cygnus.com)
3079
3080 * version.c: Bump for snapshot.
3081
3082 Tue Dec 16 00:14:29 1997 H.J. Lu (hjl@gnu.org)
3083
3084 * frame.h (__register_frame, __register_frame_table,
3085 __deregister_frame): New.
3086 * frame.c (__register_frame, __register_frame_table,
3087 __deregister_frame): New.
3088 * frame.c (__deregister_frame_info): Return void *.
3089 * frame.h (__deregister_frame_info): Ditto.
3090 * collect2.c (__deregister_frame_info): Ditto.
3091
3092 Mon Dec 15 18:40:08 1997 Richard Henderson <rth@cygnus.com>
3093
3094 * expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
3095
3096 Mon Dec 15 18:31:43 1997 Richard Henderson <rth@cygnus.com>
3097
3098 * alpha.c (alpha_cpu_name): New variable.
3099 (alpha_mlat_string): Likewise.
3100 (alpha_memory_latency): Likewise.
3101 (override_options): Handle -mmemory-latency.
3102 (alpha_adjust_cost): Adjust load cost for latency.
3103 * alpha.h (TARGET_OPTIONS): Add meory-latency.
3104 (REGISTER_MOVE_COST): Define in terms of memory_latency. Take
3105 TARGET_CIX into account.
3106 (MEMORY_MOVE_COST): Define in terms of memory_latency.
3107 * invoke.texi (DEC Alpha Options): Document -mmemory-latency.
3108
3109 * alpha.h (ASM_COMMENT_START): New macro.
3110
3111 Mon Dec 15 17:48:05 1997 Richard Henderson <rth@cygnus.com>
3112
3113 * reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
3114 dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
3115
3116 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
3117 SUBREG_REG if the word count is unchanged.
3118 * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
3119 subregs of identical word size for push_reload.
3120
3121 Mon Dec 15 Mark Mitchell <mmitchell@usa.net> 11:41:32 1997
3122
3123 * toplev.c (rest_of_compilation): Don't call save_for_inline_copy
3124 if all we're doing is dealing with -Wreturn-type.
3125
3126 Mon Dec 15 09:44:39 1997 Richard Henderson <rth@cygnus.com>
3127
3128 * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
3129 Use and 255 instead of zapnot 1, since it schedules better.
3130
3131 Mon Dec 15 08:48:24 1997 Jeffrey A Law (law@cygnus.com)
3132
3133 * stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
3134 it as volatile.
3135
3136 Mon Dec 15 00:04:48 1997 Jeffrey A Law (law@cygnus.com)
3137
3138 * haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on
3139 dependency we delete. Properly update prev for multiple consecutive
3140 deletions.
3141 (priority): Skip deleted dependence.
3142
3143 Fri Dec 12 18:54:23 1997 Per Bothner <bothner@cygnus.com>
3144
3145 * expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod.
3146
3147 Fri Dec 12 01:19:48 1997 Jason Merrill <jason@yorick.cygnus.com>
3148
3149 * flow.c (flow_analysis): Be consistent with find_basic_blocks in
3150 determining when a new basic block starts.
3151
3152 * alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
3153
3154 * pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
3155 * pa.md (iorsi3): Add missing args to *_operand calls.
3156
3157 * except.c (call_get_eh_context): Don't mess with sequences.
3158 (emit_eh_context): Include the call in the sequence here.
3159
3160 1997-12-11 Paul Eggert <eggert@twinsun.com>
3161
3162 * collect2.c (write_c_file_glob): Allocate initial frame object
3163 in static storage and pass its address.
3164
3165 Thu Dec 11 23:33:48 1997 Jason Merrill <jason@yorick.cygnus.com>
3166
3167 * except.c (call_get_eh_context): Don't take a parm.
3168 Put the call at the top of the function.
3169 (emit_eh_context): Adjust.
3170 (get_eh_context): Replace with former use_eh_context.
3171 (get_eh_context_once, get_saved_pc_ref): Remove.
3172 (start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
3173 * except.h: Adjust.
3174 * integrate.c (expand_inline_function): Adjust.
3175 * toplev.c (rest_of_compilation): Don't call emit_unwinder.
3176
3177 Fri Oct 10 17:58:31 CEST 1997 Marc Lehmann <pcg@goof.com>
3178
3179 * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
3180 (DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise.
3181
3182 Thu Dec 11 23:55:17 1997 Manfred Hollstein <manfred@s-direktnet.de>
3183
3184 * fixincludes (strlen,strspn,strcspn return value): Handle different
3185 layout on sysV88.
3186 (hypot): Provide a fake for hypot which is broken on
3187 m88k-motorola-sysv3.
3188
3189 Thu Dec 11 23:50:17 1997 John F. Carr <jfc@mit.edu>
3190
3191 * tree.c, tree.h: Change tree_code_type, tree_code_length, and
3192 tree_code_name from pointers to arrays.
3193 * tree.c: Remove standard_tree_code_* variables, no longer used.
3194 * print-tree.c: Remove declaration of tree_code_name.
3195
3196 * cp/lex.c (init_lex): Update for tree_code_* changes.
3197 * objc/objc-act.c (init_objc): Likewise.
3198
3199 * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
3200 changes.
3201
3202 Thu Dec 11 23:34:54 1997 Fred Fish <fnf@ninemoons.com>
3203
3204 * config.sub: Add support for BeOS target.
3205 * configure.in: Likewise.
3206 * ginclude/stdarg.h: Likewise.
3207 * ginclude/stddef.h: Likewise.
3208 * ginclude/varargs.h: Likewise.
3209 * rs6000/beos.h: New file for BeOS.
3210 * rs6000/t-beos: Likewise.
3211 * rs6000/x-beos: Likewise.
3212 * rs6000/xm-beos.h: Likewise.
3213 * toplev.c (get_run_time): Just return 0 on BeOS.
3214
3215 Thu Dec 11 23:25:23 1997 Jeffrey A Law (law@cygnus.com)
3216 Toon Moene (toon@moene.indiv.nluug.nl)
3217
3218 * m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly
3219 old and broken Sun3 assemblers. Newer versions handle large
3220 offsets correctly as does the GNU assembler.
3221
3222 Thu Dec 11 23:06:48 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
3223
3224 * objc/objc-act.c (lang_report_error_function): Disable.
3225 * objc/objc-parse.y: Include "output.h".
3226 (yyerror): Remove redundant decl.
3227 (yyprint): Fix prototype.
3228 (apply_args_register_offset): Remove redundant decl.
3229 (get_file_function_name): Likewise.
3230
3231 Thu Dec 11 22:02:10 1997 Jason Merrill <jason@yorick.cygnus.com>
3232
3233 * flow.c (find_basic_blocks): A CALL_INSN that can throw starts
3234 a new basic block.
3235 (find_basic_blocks_1): Likewise.
3236
3237 Thu Dec 11 21:08:48 1997 Jason Merrill <jason@yorick.cygnus.com>
3238
3239 * except.c (use_eh_context): Don't copy_rtx a REG.
3240 (emit_throw): Lose old unwinder support.
3241 (expand_internal_throw): Likewise.
3242 * libgcc2.c (struct eh_context): Likewise.
3243 (new_eh_context): Likewise.
3244 (__get_eh_info): Lose redundant cast.
3245 (__get_dynamic_handler_chain): Likewise.
3246 (__get_saved_pc): Lose.
3247 Lose all old unwinder support code.
3248
3249 Thu Dec 11 20:42:18 1997 Teemu Torma <tot@trema.com>
3250
3251 Thread-safe EH support for pthreads, DCE threads and Solaris threads.
3252
3253 * integrate.c (expand_inline_function): If the inline fn uses eh
3254 context, make sure that the current fn has one.
3255 * toplev.c (rest_of_compilation): Call emit_eh_context.
3256 * except.c (use_eh_context): New fn.
3257 (get_eh_context_once): New fn.
3258 (call_get_eh_context): New fn.
3259 (emit_eh_context): New fn.
3260 (get_eh_context): Call either get_eh_context_once or
3261 call_get_eh_context, depending on what we have.
3262 (get_dynamic_handler_chain): Call get_eh_context_once.
3263 * except.h: Prototypes for fns above.
3264 * optabs.c (get_eh_context_libfunc): Removed.
3265 (init_optabs): Don't initialize it.
3266 * expr.h (get_eh_context_libfunc): Removed.
3267 * rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
3268 * config/pa/pa.h (CPP_SPEC): Support for -threads.
3269 * config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
3270 * config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
3271 New multilib for -threads.
3272 * config/sparc/t-sol2: Added multilibs for -threads and
3273 made -pthreads alias to it.
3274 * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
3275 Added -threads and -pthreads options.
3276 * libgcc-thr.h: New file.
3277 * libgcc2.c: (__get_cpp_eh_context): Removed.
3278 (struct cpp_eh_context): Removed.
3279 (struct eh_context): Replaced cpp_eh_context with generic language
3280 specific pointer.
3281 (__get_eh_info): New function.
3282 (__throw): Check eh_context::info.
3283 (__sjthrow): Ditto.
3284 * libgcc2.c: Include libgcc-thr.h.
3285 (new_eh_context, __get_eh_context,
3286 eh_pthread_initialize, eh_context_initialize, eh_context_static,
3287 eh_context_specific, eh_context_free): New functions.
3288 (get_eh_context, eh_context_key): New variables.
3289 (__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
3290 get_eh_context to get the context.
3291 (longjmp): Move the declaration inside
3292 #ifdef DONT_USE_BUILTIN_SETJMP.
3293 * frame.c: Include libgcc-thr.h.
3294 (object_mutex): Mutex to protect the object list.
3295 (find_fde, __register_frame, __register_frame_table,
3296 __deregister_frame): Hold the lock while accessing objects.
3297 * except.h (get_eh_context): Declare.
3298 * except.c (current_function_ehc): Define.
3299 (current_function_dhc, current_function_dcc): Removed.
3300 (get_eh_context): New function.
3301 (get_dynamic_handler_chain): Use get_eh_context.
3302 (get_saved_pc_ref): Ditto.
3303 (get_dynamic_cleanup_chain): Removed references to
3304 current_function_dcc.
3305 (save_eh_status, restore_eh_status): Save and restore
3306 current_function_ehc instead.
3307 * optabs.c (get_eh_context_libfunc): New variable.
3308 (init_optabs): Initialize it.
3309 * expr.h: Declare get_eh_context_libfunc.
3310 * function.h (struct function): Replaced dhc and dcc with ehc.
3311 * except.c (get_saved_pc_ref): New functions.
3312 (eh_saved_pc_rtx, eh_saved_pc): Deleted.
3313 (expand_internal_throw_indirect): Use get_saved_pc_ref() instead
3314 of eh_saved_pc.
3315 (end_eh_unwinder): Likewise.
3316 (init_eh): Remove initialization of eh_saved_pc.
3317 * optabs.c (get_saved_pc_libfunc): New variable.
3318 (init_optabs): Initialize it.
3319 * expr.h: Declare get_saved_pc_libfunc.
3320 * except.h (eh_saved_pc_rtx): Deleted.
3321 (get_saved_pc_ref): Declared.
3322
3323 From Scott Snyder <snyder@d0sgif.fnal.gov>:
3324 * libgcc2.c (__get_saved_pc): New.
3325 (__eh_type, __eh_pc): Deleted.
3326 (__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
3327 (__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
3328 this fcn.
3329
3330 Thu Dec 11 17:23:48 1997 John F. Carr <jfc@mit.edu>
3331
3332 * sparc/sol2.h: Use 64 bit multiply and divide functions in
3333 Solaris libc. Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
3334 as 0.
3335
3336 * rtl.h (global_rtl): New variable, replacing separate variables for
3337 commonly used rtl.
3338 (const_int_rtx): Now array of rtx_def, not rtx.
3339 * emit-rtl.c: Update for new rtl data structures.
3340 * genattrtab.c: Define global_rtl.
3341
3342 Thu Dec 11 15:50:29 1997 David Edelsohn <edelsohn@mhpcc.edu>
3343
3344 * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by
3345 default.
3346
3347 Wed Dec 10 12:30:18 1997 Anthony Green <green@cygnus.com>
3348
3349 * crtstuff.c (__do_global_ctors): Fix typo.
3350
3351 Tue Dec 9 09:43:59 1997 Manfred Hollstein <manfred@s-direktnet.de>
3352
3353 * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
3354 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
3355
3356 Tue Dec 9 09:38:58 1997 David Edelsohn <edelsohn@mhpcc.edu>
3357
3358 * rs6000.h (FUNCTION_ARG_PADDING): Define.
3359 * rs6000.c (function_arg_padding): New function.
3360
3361 Tue Dec 9 10:34:21 1997 Manfred Hollstein <manfred@s-direktnet.de>
3362
3363 * m68k.c: Include tree.h only once.
3364
3365 Tue Dec 9 09:32:33 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3366
3367 * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
3368
3369 Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com)
3370
3371 * Partially cleaned up prototyping code from HJ.
3372 * tree.h: Add many prototypes.
3373 * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
3374 All references changed.
3375 * rtl.h: Protect from multiple inclusions. Add many prototypes.
3376
3377 Tue Dec 9 01:15:15 1997 Fred Fish <fnf@ninemoons.com>
3378
3379 * libgcc2.c (string.h): Hoist inclusion to occur before first use of
3380 string functions like strlen.
3381
3382 Tue Dec 9 00:57:38 1997 Manfred Hollstein <manfred@s-direktnet.de>
3383
3384 * configure.in: Check for functions getrlimit and setrlimit.
3385 * cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
3386 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
3387
3388 Mon Dec 8 23:53:26 1997 Jay Sachs <sachs@bull.cs.williams.edu>
3389
3390 * Makefile.in (compare*): Handle losing behavior from 4.4bsd make.
3391
3392 Mon Dec 8 21:03:28 1997 Richard Henderson <rth@cygnus.com>
3393
3394 * alpha.c (REG_RA, alpha_return_addr, output_epilog):
3395 Fix merge problems.
3396
3397 * alpha.c (override_options): Don't know about scheduling for EV6.
3398 * alpha.md (ev5 function units): Don't overload as ev6.
3399
3400 * alpha.c (alpha_adjust_cost): Simplify. Fix typo in ev5 mult case.
3401 * alpha.md (define_attr type): Add mvi.
3402 (ev5_e0): Define sceduling parameters for it.
3403 (TARGET_MAX insns): Type is mvi not shift.
3404
3405 Mon Dec 8 18:15:00 1997 Richard Henderson <rth@cygnus.com>
3406
3407 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.
3408
3409 Mon Dec 8 21:17:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3410
3411 * cstamp-h, auto-config.h: Delete.
3412
3413 Sun Dec 7 19:19:03 1997 Jeffrey A Law (law@cygnus.com)
3414
3415 * version.c: Bump for snapshot.
3416
3417 Sat Dec 6 22:22:22 1997 Jeffrey A Law (law@cygnus.com)
3418
3419 * cccp.c: Fix typo brought over in merge.
3420
3421 * Merge in changes from gcc-2.8.
3422
3423 Mon Nov 3 05:45:32 1997 Philippe De Muyter <phdm@macqel.be>
3424
3425 * m68k.c: Include tree.h for dwarf2out_cfi_label.
3426
3427 * gcc.c (process_command): Do not take address of function fatal when
3428 calling lang_specific_driver.
3429
3430 Sat Dec 6 01:02:38 1997 Mumit Khan <khan@xraylith.wisc.edu>
3431
3432 * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling
3433 doesn't work with it yet, so set it to 0.
3434 * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.
3435
3436 Sat Dec 6 01:01:02 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
3437
3438 * cse.c (cse_insn): Check for invalid entries when taking references.
3439
3440 Fri Dec 5 18:26:25 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3441
3442 * loop.c (invariant_p): Don't test flag_rerun_loop_opt.
3443 (loop_optimize, scan_loop, strength_reduce): New argument unroll_p.
3444 * toplev.c (rest_of_compilation): Pass it. Remove code to
3445 save / clear / restore flag_unroll_{,all_}loops.
3446
3447 Fri Dec 5 16:26:03 1997 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
3448
3449 * i386.c (notice_update_cc): Remove bogus pentium GCC code.
3450
3451 Fri Dec 5 16:25:14 1997 Jeffrey A Law (law@cygnus.com)
3452
3453 * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
3454
3455 Thu Dec 4 11:51:00 1997 Jason Merrill <jason@yorick.cygnus.com>
3456
3457 * except.c (get_dynamic_handler_chain): Only make the call once per
3458 function.
3459
3460 * except.c (expand_end_all_catch): Fix for sjlj exceptions.
3461
3462 Thu Dec 4 12:30:40 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3463
3464 * sh.c (final_prescan_insn): Use local label prefix
3465 when emitting .uses pseudo-ops.
3466
3467 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
3468
3469 * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
3470 * except.c: Lose outer_context_label_stack.
3471 (expand_eh_region_end): Rethrow from outer_context here.
3472 (expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
3473 (expand_internal_throw): Take no args.
3474 (expand_internal_throw_indirect): Lose.
3475 (expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
3476 (expand_start_all_catch): Start a rethrow region.
3477 (expand_end_all_catch): End it.
3478 (expand_rethrow): New fn.
3479 * except.h: Reflect above changes.
3480 * flow.c: Revert change of Nov 27.
3481
3482 Thu Dec 4 00:24:09 1997 Jeffrey A Law (law@cygnus.com)
3483
3484 * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
3485
3486 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
3487
3488 * except.c (expand_fixup_region_end): New fn.
3489 (expand_fixup_region_start): Likewise.
3490 (expand_eh_region_start_tree): Store cleanup into finalization here.
3491 * stmt.c (expand_cleanups): Use them to protect fixups.
3492
3493 Wed Dec 3 11:41:13 1997 Gavin Koch <gavin@cygnus.com>
3494
3495 * mips/mips.md (muldi3_r4000): Broaden the output template
3496 and attribute assignments to handle three operand dmult;
3497 rename to muldi3_internal2.
3498 (muldi3): Call the new muldi3_internal2 for R4000, and
3499 any GENERATE_MULT3 chip.
3500
3501 Tue Dec 2 19:40:43 1997 Jason Merrill <jason@yorick.cygnus.com>
3502
3503 * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
3504
3505 Tue Dec 2 12:54:33 1997 Jim Wilson <wilson@cygnus.com>
3506
3507 * unroll.c (find_splittable_givs): Remove last change. Handle givs
3508 with a dest_reg that was created by loop.
3509
3510 Sat Nov 29 12:44:57 1997 David Edelsohn <edelsohn@mhpcc.edu>
3511
3512 * rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch.
3513
3514 * rs6000/aix41.h (ASM_CPU_SPEC): Define.
3515
3516 Fri Nov 28 10:00:27 1997 Jeffrey A Law (law@cygnus.com)
3517
3518 * configure.in: Fix NCR entries.
3519
3520 Thu Nov 27 12:20:19 1997 Jeffrey A Law (law@cygnus.com)
3521
3522 * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
3523 nested exceptions correctly.
3524
3525 * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
3526 that was created by loop.
3527
3528 Thu Nov 27 09:34:58 1997 Jason Merrill <jason@yorick.cygnus.com>
3529
3530 * expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
3531
3532 * except.c (expand_start_all_catch): One more do_pending_stack_adjust.
3533
3534 Wed Nov 26 15:47:30 1997 Michael Meissner <meissner@cygnus.com>
3535
3536 * rs6000.c (SMALL_DATA_REG): Register to use for small data relocs.
3537 (print_operand): Use SMALL_DATA_REG for the register involved in
3538 small data relocations.
3539 (print_operand_address): Ditto.
3540
3541 * rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if
3542 -dynamic linker is not used.
3543
3544 * rs6000.md (call insns): For local calls, use @local suffix under
3545 System V. Don't use @plt under Solaris.
3546
3547 * rs6000.c (output_function_profiler): Put label address in r0, and
3548 store LR in 4(sp) for System V/eabi.
3549
3550 * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16
3551 byte boundary, and maintain stack backchain.
3552
3553 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
3554
3555 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
3556 fix_truncsfdi2): Change *.
3557
3558 Wed Nov 26 11:12:26 1997 Jason Merrill <jason@yorick.cygnus.com>
3559
3560 * toplev.c (main): Complain about -gdwarfn.
3561
3562 Tue Nov 25 22:43:30 1997 Jason Merrill <jason@yorick.cygnus.com>
3563
3564 * dwarfout.c (output_type): If finalizing, write out nested types
3565 of types we've already written.
3566
3567 Tue Nov 25 20:32:24 1997 Michael Meissner <meissner@cygnus.com>
3568
3569 (patches originally from Geoffrey Keating)
3570 * rs6000.c (function_arg): Excess floating point arguments don't
3571 go into GPR registers after exhausting FP registers under the
3572 System V.4 ABI.
3573 (function_arg_partial_nregs): Ditto.
3574
3575 * rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt
3576 suffix to calls.
3577
3578 Tue Nov 25 23:37:27 1997 Jason Merrill <jason@yorick.cygnus.com>
3579
3580 * integrate.c (output_inline_function): Just unset DECL_INLINE.
3581
3582 Tue Nov 25 23:33:29 1997 scott snyder <snyder@d0sgif.fnal.gov>
3583
3584 * dwarf2out.c (outout_call_frame_info): Ensure that the info has
3585 proper alignment.
3586
3587 * libgcc2.c (__throw): Initialize HANDLER.
3588
3589 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
3590
3591 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
3592 fix_truncsfdi2): Change *X to ?*X.
3593
3594 Tue Nov 25 10:00:42 1997 Richard Henderson (rth@cygnus.com)
3595
3596 * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
3597
3598 Tue Nov 25 10:00:42 1997 Jeffrey A Law (law@cygnus.com)
3599
3600 * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
3601
3602 Tue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr>:
3603
3604 * dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
3605
3606 Mon Nov 24 22:41:55 1997 Jason Merrill <jason@yorick.cygnus.com>
3607
3608 * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
3609 * optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
3610 * expr.h: Likewise.
3611
3612 Sat Nov 22 18:58:20 1997 Jeffrey A Law (law@cygnus.com)
3613
3614 * pa-hpux10.h (NEW_HP_ASSEMBLER): Define.
3615 * pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using
3616 gas and not using the new HP assembler.
3617
3618 Fri Nov 21 15:20:05 1997 Jeffrey A Law (law@cygnus.com)
3619
3620 * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
3621 (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.
3622
3623 Fri Nov 21 19:37:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
3624
3625 * config/mips/elf64.h (MULTILIB_DEFAULTS): Test for
3626 TARGET_ENDIAN_DEFAULT == zero instead of testing for macro
3627 definition.
3628
3629 Fri Nov 21 12:49:56 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3630
3631 * stmt.c (expand_end_bindings): Allow jump into block with cleanups.
3632
3633 Fri Nov 21 12:18:51 1997 Jason Merrill <jason@yorick.cygnus.com>
3634
3635 * except.h: Add outer_context_label_stack.
3636 * except.c: Likewise.
3637 (expand_start_all_catch): Push the outer_context for the try block
3638 onto outer_context_label_stack.
3639 (expand_end_all_catch): Use it and pop it.
3640
3641 Fri Nov 21 10:13:11 1997 Robert Lipe (robertl@dgii.com)
3642
3643 * i386/sco5.h (HAVE_ATEXIT): Revert last change.
3644
3645 Thu Nov 20 16:11:50 1997 Richard Henderson <rth@cygnus.com>
3646
3647 * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
3648
3649 Thu Nov 20 16:11:50 1997 Klaus Kaempf <kkaempf@progis.de>
3650
3651 * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
3652 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
3653
3654 Thu Nov 20 14:42:15 1997 Jason Merrill <jason@yorick.cygnus.com>
3655
3656 * Makefile.in (LIB2FUNCS): Remove C++ memory management support.
3657 * libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler,
3658 __builtin_delete, and __builtin_vec_delete.
3659
3660 * except.c (output_exception_table): Don't bother with
3661 __EXCEPTION_END__.
3662
3663 Thu Nov 20 16:11:50 1997 Jeffrey A Law (law@cygnus.com)
3664
3665 * pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register
3666 is an in/out operand.
3667 (zero extended variants of stwm/stwm patterns): Similarly.
3668
3669 * mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
3670
3671 Thu Nov 20 13:19:32 1997 Jason Merrill <jason@yorick.cygnus.com>
3672
3673 * dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
3674 Use assemble_name.
3675 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name.
3676 (output_call_frame_info): Emit a \n after using it.
3677
3678 Thu Nov 20 00:38:46 1997 Dave Love <d.love@dl.ac.uk>
3679
3680 * configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
3681
3682 Wed Nov 19 12:03:04 1997 Philippe De Muyter <phdm@macqel.be>
3683
3684 * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
3685 (ASM_OUTPUT_DWARF_VALUE4): New macro.
3686 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
3687 defined.
3688 (output_call_frame_info): Do not output forward label differences
3689 if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
3690 * m68k/mot3300.h (SET_ASM_OP): Define when not using gas.
3691
3692 Tue Nov 18 23:03:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3693
3694 * sh.md (attribute "type"): Add nil.
3695 (movsi_ie): y/y alternative is type nil.
3696 (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X
3697 alternatives.
3698 (movsf_ie+1): Delete.
3699
3700 Tue Nov 18 15:39:59 1997 Jim Wilson <wilson@cygnus.com>
3701
3702 * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
3703 large_int, emit two insns instead of one splitable insn.
3704 * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
3705 from cfa_temp_value, use cfa_offset. Add assert checking that
3706 cfa_reg is SP.
3707
3708 Mon Nov 17 15:35:38 1997 Tom Tromey <tromey@cygnus.com>
3709
3710 * cccp.c (deps_output): Properly quote file names for make.
3711
3712 Mon Nov 17 13:21:40 1997 Jeffrey A Law (law@cygnus.com)
3713
3714 * t-h8300 (MULTILIB_EXCEPTIONS): Define.
3715
3716 Fri Nov 7 15:33:11 1997 Robert Lipe (robertl@dgii.com)
3717
3718 * i386/sco5.h (HAVE_ATEXIT): Delete definition.
3719
3720 Sun Nov 16 23:52:48 1997 Jeffrey A Law (law@cygnus.com)
3721
3722 * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
3723 return.
3724 (cse_end_of_basic_block): Similarly.
3725
3726 Sun Nov 16 23:01:40 1997 J. Kean Johnston <jkj@sco.com>
3727
3728 * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
3729 (SELECT_RTX_SECTION): Define.
3730 (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.
3731
3732 Sun Nov 16 22:47:03 1997 Manfred Hollstein <manfred@s-direktnet.de>
3733
3734 * Makefile.in (compare, compare-lean): Define $stage for each
3735 shell command.
3736 (gnucompare, gnucompare-lean): Likewise.
3737
3738 Sun Nov 16 22:02:16 1997 Richard Henderson (rth@cygnus.com)
3739
3740 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
3741
3742 * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
3743 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
3744
3745 Fri Nov 14 09:09:20 1997 Fred Fish (fnf@cygnus.com)
3746
3747 * dwarfout.c (byte_size_attribute): Add local var upper_bound
3748 and add case to handle STRING_TYPE.
3749 * dwarfout.c (output_string_type_die): Fix code to generate
3750 correct string length attribute for fixed length strings.
3751 Still needs support for varying length strings.
3752
3753 Fri Nov 14 08:46:56 1997 Jeffrey A Law (law@cygnus.com)
3754
3755 * toplev.c (get_run_time): Do something sensible for cygwin32.
3756
3757 Fri Nov 14 07:24:20 1997 Richard Henderson <rth@cygnus.com>
3758
3759 * expr.c (expand_builtin_setjmp): Set
3760 current_function_has_nonlocal_label.
3761 * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
3762 call-saved registers across calls.
3763
3764 * alpha.md (exception_receiver): Remove.
3765 (nonlocal_goto_receiver_osf): New
3766 (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
3767 (nonlocal_goto_receiver): New, select _osf or _vms.
3768
3769 * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
3770 keep them from being propogated to the object file.
3771 (alpha_write_linkage): Likewise.
3772 * alpha.md (call_vms): Likewise.
3773 (call_value_vms): Likewise.
3774 (unnamed osf call insns): Likewise.
3775
3776 * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
3777 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3778
3779 * alpha.c (call_operand): Any reg is valid for WinNT.
3780 * alpha.md (call_nt, call_value_nt): Don't force address into $27.
3781 (anon nt calls): Add 'R' alternative.
3782 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
3783 INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.
3784
3785 Fri Nov 14 06:59:33 1997 Jeffrey A Law (law@cygnus.com)
3786
3787 * calls.c (expand_call): Handle pcc_struct_value correctly for C++.
3788
3789 * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
3790 * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
3791 * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
3792
3793 Thu Nov 13 20:37:33 1997 Michael Meissner <meissner@tiktok.cygnus.com>
3794
3795 * reload1.c (new_spill_reg): Improve fixed or forbidden register
3796 spill error message.
3797
3798 Thu Nov 13 20:29:08 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3799
3800 * prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise,
3801 use varargs.h. Wrap header with <>, not "".
3802
3803 Thu Nov 13 20:21:17 1997 Jeffrey A Law (law@cygnus.com)
3804
3805 * integrate.c (save_for_inline_copying): Add return value from
3806 savealloc.
3807
3808 Thu Nov 13 19:12:33 1997 Brendan Kehoe <brendan@cygnus.com>
3809
3810 * fixincludes: Be a little more restrictive on what we will
3811 substitute to replace definitions of MAXINT for HPUX.
3812
3813 Thu Nov 13 18:41:02 1997 Michael Meissner <meissner@cygnus.com>
3814
3815 * dbxout.c (dbxout_symbol_location): Don't assume that variables
3816 whose address is the stack or argument pointers are indirect
3817 pointers.
3818
3819 1997-11-13 Paul Eggert <eggert@twinsun.com>
3820
3821 * cccp.c, cpplib.c (compare_defs):
3822 Don't complain about arg name respellings unless pedantic.
3823 * cpplib.c (compare_defs): Accept pfile as new arg.
3824 All callers changed.
3825
3826 Thu Nov 13 23:33:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3827
3828 * fold-const.c (fold_truthop): Fix bug in last change.
3829
3830 1997-11-13 Paul Eggert <eggert@twinsun.com>
3831
3832 Fix some confusion with IEEE minus zero.
3833
3834 * real.h (REAL_VALUES_IDENTICAL): New macro.
3835
3836 * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
3837 * fold-const.c (operand_equal_p): Don't consider -0.0 to be
3838 identical to 0.0.
3839 * tree.c (simple_cst_equal): Don't consider -0.0 to have the
3840 same tree structure as 0.0.
3841
3842 * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
3843 macro instead of doing it by hand.
3844
3845 Thu Nov 13 16:56:14 1997 Jeffrey A Law (law@cygnus.com)
3846
3847 * v850/lib1funcs.asm: Minor whitespace changes.
3848 * v850.c: Fix minor formatting problems in many places.
3849 (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.
3850
3851 Thu Nov 13 12:53:44 1997 Jim Wilson <wilson@cygnus.com>
3852
3853 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
3854 xplus1 when xplus0 is not a register.
3855
3856 Thu Nov 13 11:41:42 1997 Jeffrey A Law (law@cygnus.com)
3857
3858 * flow.c (find_basic_blocks): During marking phase, if we encounter
3859 an insn with a REG_LABEL note, make the target block live and
3860 create an edge from the insn to the target block. Do not make
3861 edges from all blocks to the target block.
3862
3863 * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
3864
3865 * confiugre.in: Tweak NCR entries.
3866 * configure: Rebuilt.
3867
3868 Thu Nov 13 11:07:41 1997 Michael Meissner <meissner@cygnus.com>
3869
3870 * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
3871 pick apart floating point values, instead of using CONST_DOUBLE_LOW
3872 and CONST_DOUBLE_HIGH.
3873
3874 * rs6000.md (define_splits for DF constants): Use the appropriate
3875 REAL_VALUE_* interface to pick apart DF floating point constants in
3876 a machine independent fashion.
3877
3878 Thu Nov 13 00:06:58 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3879
3880 * fold-const.c (fold_truthop): When changing a one-bit comparison
3881 against zero into a comparison against mask, do a proper sign
3882 extension.
3883
3884 Wed Nov 12 09:37:01 1997 Jeffrey A Law (law@cygnus.com)
3885
3886 * except.c: Do not include "assert.h".
3887 (save_eh_status): Turn asserts into conditional aborts.
3888 (restore_eh_status, scan_region): Likewise.
3889 * dwarfout.c: Do not include "assert.h".
3890 (bit_offset_attribute): Turn asserts into conditional aborts.
3891 (bit_size_attribute, output_inlined_enumeration_type_die): Likewise.
3892 (output_inlined_structure_type_die): Likewise.
3893 (output_inlined_union_type_die): Likewise
3894 (output_tagged_type_instantiation): Likewise.
3895 (dwarfout_file_scope_decl): Likewise.
3896 * dwarf2out.c: Do not include "assert.h"
3897 (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts.
3898 (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise.
3899 (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise.
3900 (add_bit_size_attribute, scope_die_for): Likewise.
3901 (output_pending_types_for_scope): Likewise.
3902 (get_inlined_enumeration_type_die): Likewise.
3903 (get_inlined_structure_type_die): Likewise.
3904 (get_inlined_union_type_die, gen_subprogram_die): Likewise.
3905 (gen_tagged_type_instantiation_die): Likewise.
3906
3907 * flow.c (find_basic_blocks): Refine further to get a more correct
3908 cfg, especially in the presense of exception handling, computed
3909 gotos, and other non-trivial cases. Call abort if an inaccuracy
3910 is detected in the cfg.
3911
3912 Tue Nov 11 21:47:27 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3913
3914 * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
3915
3916 * c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
3917 (skip_white_space): Use whitespace_cr.
3918 (check_newline): Handle whitespace more consistently.
3919
3920 Tue Nov 11 16:25:49 1997 Jim Wilson <wilson@cygnus.com>
3921
3922 * i386/cygwin32.h (CPP_PREDEFINES): Delete -DPOSIX.
3923 * i386/xm-cygwin32.h (POSIX): Define.
3924
3925 Mon Nov 10 20:53:11 1997 Gavin Koch <gavin@cygnus.com>
3926
3927 * config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit
3928 is available elsewhere.
3929
3930 Mon Nov 10 16:21:58 1997 Doug Evans <devans@canuck.cygnus.com>
3931
3932 * sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match
3933 what the instruction can handle.
3934
3935 Mon Nov 10 03:02:19 1997 Jason Merrill <jason@yorick.cygnus.com>
3936
3937 * stmt.c (expand_decl_cleanup_no_eh): New fn.
3938
3939 * except.c (expand_leftover_cleanups): do_pending_stack_adjust.
3940
3941 Mon Nov 10 00:05:56 1997 Jeffrey A Law (law@cygnus.com)
3942
3943 * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
3944 (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.
3945
3946 Sun Nov 9 14:34:47 1997 David Edelsohn <edelsohn@mhpcc.edu>
3947
3948 * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
3949 swap instruction order.
3950
3951 Sun Nov 9 02:07:16 1997 Jeffrey A Law (law@cygnus.com)
3952
3953 * fixinc.svr4 (__STDC__): Add another case.
3954
3955 Sun Nov 9 02:00:29 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3956
3957 * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
3958 addresses in the epilogue delay slot.
3959
3960 Sun Nov 9 01:40:40 1997 Manfred Hollstein (manfred@s-direktnet.de)
3961
3962 * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
3963 in generated `specs' file.
3964
3965 Sun Nov 9 01:37:11 1997 Jim Wilson (wilson@cygnus.com)
3966
3967 * flags.h (flag_rerun_loop_opt): Declare.
3968 * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt.
3969 * toplev.c (flag_rerum_loop_opt): Delete static.
3970
3971 Sat Nov 8 18:20:21 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3972
3973 Bring over from FSF:
3974
3975 Thu Oct 30 12:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3976
3977 * va-sh.h (__va_arg_sh1): Define.
3978 (va_arg): Use it.
3979 SH3E doesn't use any integer registers for subsequent arguments
3980 once a non-float value was passed in the stack.
3981 * sh.c (machine_dependent_reorg): If optimizing, put explicit
3982 alignment in front label for ADDR_DIFF_VEC.
3983 * sh.h (PASS_IN_REG_P): Fix SH3E case.
3984 (ADJUST_INSN_LENGTH): If not optimizing, add two extra bytes length.
3985
3986 Tue Oct 28 15:06:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3987
3988 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Undefine before including
3989 svr4.h.
3990
3991 Mon Oct 27 16:11:52 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3992
3993 * sh.c (machine_dependent_reorg): When -flag_delayed_branches,
3994 put an use_sfunc_addr before each sfunc.
3995 * sh.md (use_sfunc_addr, dummy_jump): New insns.
3996 (casesi): For TARGET_SH2, emit a dummy_jump after LAB.
3997
3998 Tue Oct 21 07:12:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3999
4000 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Don't redefine.
4001
4002 Fri Nov 7 10:22:24 1997 Jason Merrill <jason@yorick.cygnus.com>
4003
4004 * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
4005 linked once FDEs.
4006
4007 Wed Nov 5 14:26:05 1997 Jeffrey A Law (law@cygnus.com)
4008
4009 * alias.c (find_base_value): Only return the known base value for
4010 pseudo registers.
4011
4012 Wed Nov 5 11:27:14 1997 Jim Wilson <wilson@cygnus.com>
4013
4014 * i386.c (load_pic_register): Call prologue_get_pc_and_set_got.
4015 * i386.md (prologue_set_got, prologue_get_pc): Add UNSPEC_VOLATILE
4016 to pattern.
4017 (prologue_get_pc_and_set_got): New pattern.
4018
4019 Tue Nov 4 20:36:50 1997 Richard Henderson (rth@cygnus.com)
4020
4021 * alpha.c (summarize_insn): Handle ASM_OPERANDS. Don't recurse
4022 for SUBREG, just fall through.
4023
4024 * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.
4025
4026 * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.
4027
4028 Tue Nov 4 18:49:42 1997 Jeffrey A Law (law@cygnus.com)
4029
4030 * fixincludes: Fix "hypot" prototype in NeXT math.h.
4031
4032 * Makefile.in (USE_ALLOCA): Always include alloca.o.
4033 (USE_HOST_ALLOCA): Likewise.
4034
4035 * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES
4036 and LABEL_REFS fields.
4037 * rtl.h (LABEL_REFS): Update.
4038
4039 Tue Nov 4 16:55:11 1997 Jim Wilson <wilson@cygnus.com>
4040
4041 * combine.c (try_combine): When setting elim_i2, check whether newi2pat
4042 sets i2dest. When calling distribute_notes for i3dest_killed, pass
4043 elim_i2 and elim_i1. When setting elim_i1, check if newi2pat
4044 sets i1dest.
4045
4046 * mips.md (insv, extzv, extv): Add change_address call.
4047 (movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern.
4048
4049 * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
4050
4051 * reload.c (find_reloads, case 'm' and 'o'): Reject HIGH constants.
4052
4053 * mips.c (mips_expand_epilogue): Emit blockage insn before call to
4054 save_restore_insns if no FP and GP will be restored.
4055
4056 * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode.
4057 Convert CCmode to word_mode before calling GET_MODE_SIZE.
4058
4059 * acconfig.h (HAVE_INTTYPES_H): Undef.
4060 * configure.in (inttypes.h): Check for conflicts between sys/types.h
4061 and inttypes.h, and verify that intmax_t is defined.
4062 * config/mips/x-iris (CC, OPT, OLDCC): Comment out.
4063 * config/mips/x-iris3: Likewise.
4064
4065 Tue Nov 4 16:07:15 1997 Jeffrey A Law (law@cygnus.com)
4066
4067 * alias.c (find_base_value): When copying arguments, return the
4068 tenative value for a hard register.
4069
4070 Tue Nov 4 13:40:35 1997 Doug Evans <devans@canuck.cygnus.com>
4071
4072 * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
4073 (yylex): Record wide strings using target endianness, not host.
4074
4075 Tue Nov 4 13:13:12 1997 Jeffrey A Law (law@cygnus.com)
4076
4077 * mn10200.h (ASM_OUTPUT_BSS): Delete.
4078 (ASM_OUTPUT_ALIGNED_BSS): New macro
4079 * mn10300.h (ASM_OUTPUT_BSS): Delete.
4080 (ASM_OUTPUT_ALIGNED_BSS): New macro.
4081 * v850.h (ASM_OUTPUT_BSS): Delete.
4082 (ASM_OUTPUT_ALIGNED_BSS): New macro.
4083
4084 Tue Nov 4 00:55:48 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4085
4086 * profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
4087
4088 Mon Nov 3 14:36:50 1997 Jeffrey A Law (law@cygnus.com)
4089
4090 * configure.in (sco5): Use cpio to install header files.
4091
4092 Sun Nov 2 23:31:43 1997 Manfred Hollstein <manfred@s-direktnet.de>
4093
4094 * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
4095 14 char length.
4096 * configure: Rebuild.
4097
4098 Sun Nov 2 19:44:00 1997 Robert Lipe (robertl@dgii.com)
4099
4100 * i386/sco5.h: enable -gstabs once again.
4101
4102 Sun Nov 2 19:27:21 1997 Jeffrey A Law (law@cygnus.com)
4103
4104 * arm.c (output_move_double): Allocate 3 entries in otherops array.
4105
4106 Sat Nov 1 21:43:00 1997 Mike Stump (mrs@wrs.com)
4107
4108 * except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
4109 notes for sjlj exceptions too.
4110 (expand_eh_region_end): Similarly for EH_REGION_END notes.
4111 (exception_optimize): Optimize EH regions for sjlj exceptions too.
4112 * final.c (final_scan_insn): Don't output labels for EH REGION
4113 notes if doing sjlj exceptions.
4114
4115 Sat Nov 1 19:15:28 1997 Jeffrey A Law (law@cygnus.com)
4116
4117 * alias.c (init_alias_analysis): Handle -fno-alias-check when
4118 optimizing correctly.
4119
4120 * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
4121 or set current_function_calls_setjmp anymore.
4122
4123 * flow.c (find_basic_blocks): If we delete the label for an
4124 exception handler, remove it from the EH label list and remove
4125 the EH_BEGIN/EH_END notes for that EH region.
4126
4127 Sat Nov 1 16:44:49 1997 Jason Merrill (jason@cygnus.com)
4128
4129 * flow.c (find_basic_blocks): Generate correct flow control
4130 information when exception handling notes are present.
4131
4132 Sat Nov 1 13:42:19 1997 Jeffrey A Law (law@cygnus.com)
4133
4134 * dwarf2out.c (output_call_frame_info): Fix length argument
4135 to ASM_OUTPUT_ASCII.
4136 (output_die, output_pubnames, output_line_info): Likewise.
4137
4138 Fri Oct 31 07:10:09 1997 Jeffrey A Law (law@cygnus.com)
4139
4140 * version.c: Bump for snapshot.
4141
4142 * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
4143 output ASCII by default. Only use ASM_OUTPUT_DWARF_STRING if
4144 flag_debug_asm is on.
4145 (output_die, output_pubnames, output_line_info): Likewise.
4146
4147 * alias.c (init_alias_analysis): Add struct_value_incoming_rtx
4148 and static_chain_rtx into the potential base values array if
4149 they are registers.
4150
4151 * alias.c (new_reg_base_value): New array of potential base values.
4152 (unique_id): Now file scoped static.
4153 (find_base_value, case REG): Return the value in reg_base_value
4154 array for the REG if it exists. Else, return the value from
4155 new_reg_base_value if copying args and REG is a hard register.
4156 (find_base_value, case PLUS): If either operand of the PLUS is
4157 a REG, try to get its base value. Handle base + index and
4158 index + base.
4159 (record_set): Use new_reg_base_value instead of reg_base_value.
4160 (init_alias_analysis): Allocate space for new_reg_base_value too.
4161 Rework code to iterate over the insns propagating base value
4162 information until nothing changes.
4163
4164 * global.c (global_alloc): Free the conflict matrix after
4165 reload has finished.
4166
4167 Fri Oct 31 01:45:31 1997 Jason Merrill <jason@yorick.cygnus.com>
4168
4169 * libgcc2.c (L_eh): Define __eh_pc.
4170 Replace __eh_type with generic pointer __eh_info.
4171
4172 Fri Oct 31 00:34:55 1996 J"orn Rennecke <amylaar@cygnus.co.uk>
4173
4174 * expr.c (expand_increment): When enqueing a postincrement for a MEM,
4175 use copy_to_reg if address is not a general_operand.
4176
4177 Fri Oct 31 00:16:55 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4178
4179 * profile.c (output_func_start_profiler): Clear flag_inline_functions
4180 for the duration of the call to rest_of_compilation.
4181
4182 Thu Oct 30 14:40:10 1997 Doug Evans <devans@canuck.cygnus.com>
4183
4184 * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
4185 Set extra_parts.
4186 (sparc*-*-*): Recognize --with-cpu=v9.
4187 * sparc/elf.h: New file.
4188 * sparc/t-elf: New file.
4189
4190 Thu Oct 30 13:26:12 1997 Jeffrey A Law (law@cygnus.com)
4191
4192 * mn10300.c (const_8bit_operand): New function.
4193 (mask_ok_for_mem_btst): New funtion.
4194 * mn10300.md (btst patterns with mem operands): Use new functions
4195 to avoid creating btst instructions with invalid operands.
4196
4197 Wed Oct 29 16:57:19 1997 Michael Meissner <meissner@cygnus.com>
4198
4199 * rs6000/xm-sysv4.h: Include xm-linux.h instead of xm-svr4.h if we
4200 are running on PowerPC Linux.
4201
4202 Wed Oct 29 13:10:11 1997 Gavin Koch <gavin@cygnus.com>
4203
4204 * config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
4205 if not previously defined.
4206
4207 Tue Oct 28 23:55:27 1997 Doug Evans (devans@cygnus.com)
4208
4209 * function.c (assign_parms): Correct mode of stack_parm if
4210 entry_parm underwent a mode conversion.
4211
4212 1997-10-28 Brendan Kehoe <brendan@lisa.cygnus.com>
4213
4214 * global.c (global_alloc): Use xmalloc instead of alloca for
4215 CONFLICTS, since max_allocno * allocno_row_words alone can be more
4216 than 2.5Mb sometimes.
4217
4218 Tue Oct 28 15:29:15 1997 Richard Henderson <rth@cygnus.com>
4219
4220 * reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
4221 DEST for the spill, adjust mode of SRC to compensate.
4222
4223 Tue Oct 28 14:36:45 1997 Richard Henderson <rth@cygnus.com>
4224
4225 * alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
4226 since any_memory_operand() allows pseudos during reload.
4227 (reload_inhi, reload_outqi, reload_outhi): Likewise.
4228
4229 Tue Oct 28 11:53:14 1997 Jim Wilson <wilson@cygnus.com>
4230
4231 * m68k.md (btst patterns): Add 5200 support.
4232
4233 Tue Oct 28 11:58:40 1997 Toon Moene <toon@moene.indiv.nluug.nl>
4234
4235 * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
4236 optimizations, look inside dividend to determine if the expression
4237 can be simplified by using EXACT_DIV_EXPR.
4238
4239 Tue Oct 28 10:19:01 1997 Jason Merrill <jason@yorick.cygnus.com>
4240
4241 From Brendan:
4242 * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
4243
4244 Tue Oct 28 00:32:14 1997 Richard Henderson <rth@cygnus.com>
4245
4246 * alpha.c (summarize_insn [SUBREG]): Propogate SET.
4247
4248 Mon Oct 27 23:59:26 1997 Richard Henderson <rth@cygnus.com>
4249
4250 * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
4251 on a CLOBBER.
4252
4253 Mon Oct 27 21:25:20 1997 Richard Henderson <rth@cygnus.com>
4254
4255 * alpha.md (movqi, movhi): Make sure new insns created during reload
4256 won't need reloading themselves.
4257 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise.
4258
4259 Mon Oct 27 16:11:10 1997 Jeffrey A Law (law@cygnus.com)
4260
4261 * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
4262
4263 Sun Oct 26 13:50:44 1997 Richard Henderson <rth@cygnus.com>
4264
4265 * alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
4266 Patch from Klaus Kaempf <kkaempf@progis.de>.
4267
4268 Sun Oct 26 13:31:47 1997 Jim Wilson (wilson@cygnus.com)
4269
4270 * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
4271 to an element in a constant string.
4272
4273 Sun Oct 26 11:41:49 1997 Jason Merrill <jason@yorick.cygnus.com>
4274
4275 * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
4276 bit PC-relative offset. The exception range table pointer is now in
4277 the CIE.
4278 * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
4279 (count_fdes, add_fdes, get_cie): Adjust.
4280 (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.
4281
4282 From H.J. Lu:
4283 * frame.c (count_fdes, add_fdes): Skip linked once FDE entries.
4284
4285 Sun Oct 26 11:52:01 1997 Richard Henderson <rth@cygnus.com>
4286
4287 * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
4288 like stack_pointer_rtx.
4289
4290 Sun Oct 26 11:32:16 1997 Manfred Hollstein <manfred@s-direktnet.de>
4291
4292 * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
4293 targets using "$@" to provide support for similar but not identical
4294 targets without having to duplicate code.
4295 (bootstrap4): New goal.
4296
4297 * Makefile.in (compare, compare-lean, compare3): Combined to one
4298 ruleset determining actions to be performed via $@.
4299 (compare4, compare4-lean): New targets.
4300 (gnucompare, gnucompare3): Combined to one ruleset determining
4301 actions to be performed via $@. Also, note which files failed
4302 the comparison test in .bad_compare.
4303 (gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets.
4304
4305 Sun Oct 26 10:06:11 1997 Toon Moene <toon@moene.indiv.nluug.nl>
4306
4307 * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
4308 if the dividend is a multiple of the divisor.
4309
4310 Sun Oct 26 09:21:40 1997 Jeffrey A Law (law@cygnus.com)
4311
4312 * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
4313
4314 * alias.c (find_base_term): Handle PRE_INC, PRE_DEC, POST_INC,
4315 and POS_DEC.
4316
4317 * alias.c (true_dependence): Fix typo.
4318
4319 * toplev.c (flag_rerun_loop_opt): New variable.
4320 (f_options): Handle -frerun-loop-opt.
4321 (rest_of_compilation): If -frerun-loop-opt, then run the loop
4322 optimizer twice.
4323 (main): Enable -frerun-loop-opt by default for -O2 or greater.
4324
4325 * loop.c (simplify_giv_expr): Adding two invariants results
4326 in an invariant.
4327
4328 Sun Oct 26 09:15:15 1997 Richard Henderson <rth@cygnus.com>
4329
4330 * expr.c (get_inner_reference): Remove the array bias after
4331 converting the index to Pmode.
4332
4333 Sat Oct 25 12:20:58 1997 Jeffrey A Law (law@cygnus.com)
4334
4335 * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
4336 (TARGET_MULT_BUG): Define.
4337 (TARGET_DEFAULT): Default to TARGET_MULT_BUG.
4338 * mn10300.md (mulsi3): Handle TARGET_MULT_BUG.
4339
4340 Fri Oct 24 17:40:34 1997 Jeffrey A Law (law@cygnus.com)
4341
4342 * mn10200.c (indirect_memory_operand): Delete unused function.
4343 * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
4344 * mn10200.md (bset, bclr insns): Handle output in a reg too.
4345
4346 Fri Oct 24 15:54:57 1997 Richard Henderson <rth@cygnus.com>
4347
4348 * alpha.md (call patterns): Revert Oct 16 change; if we are to elide
4349 the callee's ldgp, we must do it ourselves, and we use the jsr tag
4350 for more than scheduling.
4351
4352 Fri Oct 24 13:23:04 1997 Doug Evans <devans@canuck.cygnus.com>
4353
4354 * sparc/sparc.h (ASM_SPEC): Delete asm_arch.
4355
4356 Fri Oct 24 13:19:40 1997 Jeffrey A Law (law@cygnus.com)
4357
4358 * mn10300.c (symbolic_operand, legitimize_address): New functions.
4359 * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
4360 (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.
4361
4362 Thu Oct 23 09:35:12 1997 Jeffrey A Law (law@cygnus.com)
4363
4364 * version.c: Bump for snapshot.
4365
4366 Thu Oct 23 08:03:59 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4367
4368 * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
4369 for FILENAME.
4370
4371 Wed Oct 22 00:34:12 1997 Jeffrey A Law (law@cygnus.com)
4372
4373 * toplev.c (flag_exceptions): Default value is 2.
4374 (compile_file): If flag_exceptions still has the value 2, then
4375 set it to 0.
4376
4377 * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
4378 (rs6000_save_machine_status): Save pic_offset_table_rtx.
4379 (rs6000_restore_machine_status: Restore pic_offset_table_rtx.
4380
4381 * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
4382 are shared.
4383
4384 * rs6000.md (*movsi_got_internal_mem): New pattern.
4385 (*movsi_got_internal_mem splitter): New define_split.
4386
4387 Tue Oct 21 18:14:03 1997 Jim Wilson <wilson@cygnus.com>
4388
4389 * obstack.h (obstack_empty_p): Fix spurious space after backslash.
4390
4391 Tue Oct 21 18:34:01 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
4392
4393 * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
4394 only need to save LR.
4395
4396 Tue Oct 21 10:06:40 1997 Jeffrey A Law (law@cygnus.com)
4397
4398 * mn10300.md (movqi, movhi): Avoid using address registers as
4399 destinations unless absolutely necessary.
4400
4401 * mn10200.c (expand_prologue): Fix typo.
4402
4403 * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
4404 addresses.
4405 * mn10200.md (neghi2): Provide an alternative which works if
4406 the input and output register are the same.
4407
4408 * mn10300.c (print_operand): Handle 'S'.
4409 * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for
4410 shift amount in last alternative
4411
4412 * mn10300.c (expand_epilogue): Rework to handle register restores
4413 in "ret" and "retf" instructions correctly.
4414
4415 Mon Oct 20 16:47:08 1997 Jim Wilson <wilson@cygnus.com>
4416
4417 * expmed.c (extract_bit_field): Don't make flag_force_mem disable
4418 extzv for memory operands.
4419
4420 * cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
4421 redundant conditional moves to single operand.
4422
4423 Mon Oct 20 15:30:26 1997 Nick Clifton <nickc@cygnus.com>
4424
4425 * v850.h: Move define of __v850__ from CPP_PREDEFINES
4426 to CPP_SPEC.
4427
4428 * xm-v850.h: Use __v850 rather than __v850__ to
4429 identify v850 port.
4430
4431 Mon Oct 20 14:15:02 1997 Jim Wilson <wilson@cygnus.com>
4432
4433 * mips/mips.c (compute_frame_size): Not a leaf function if
4434 profile_flag set.
4435
4436 Mon Oct 20 14:16:38 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
4437
4438 * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
4439
4440 Mon Oct 20 12:28:17 1997 Doug Evans <devans@canuck.cygnus.com>
4441
4442 * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
4443 (DEFAULT_ARCH32_P): New macro.
4444 (TARGET_ARCH{32,64}): Allow compile time or runtime selection.
4445 (enum cmodel): Declare.
4446 (sparc_cmodel_string,sparc_cmodel): Declare.
4447 (SPARC_DEFAULT_CMODEL): Provide default.
4448 (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
4449 (TARGET_FULLANY): Deleted.
4450 (TARGET_CM_MEDMID): New macro.
4451 (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
4452 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
4453 (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
4454 (CPP_SPEC): Rewrite.
4455 (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
4456 (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
4457 (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
4458 (ASM_SPEC): Add %(asm_arch).
4459 (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
4460 Rename asm_default to asm_cpu_default.
4461 Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
4462 cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
4463 (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
4464 ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
4465 (MASK_INT64,MASK_LONG64): Delete.
4466 (MASK_ARCH64): Renamed to MASK_64BIT.
4467 (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
4468 (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
4469 (TARGET_SWITCHES): Always provide 64 bit options.
4470 (ARCH64_SWITCHES): Delete.
4471 (TARGET_OPTIONS): New option -mcmodel=.
4472 (INT_TYPE_SIZE): Always 32.
4473 (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
4474 (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
4475 (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
4476 (PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
4477 * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
4478 CPP_SPEC.
4479 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
4480 * sparc/linux.h: Likewise.
4481 * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
4482 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
4483 (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
4484 (SPARC_DEFAULT_CMODEL): Define.
4485 (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
4486 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
4487 (LONG_DOUBLE_TYPE_SIZE): Define.
4488 (ASM_SPEC): Add %(asm_arch).
4489 * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
4490 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
4491 (TARGET_CPU_DEFAULT): Add ultrasparc case.
4492 * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
4493 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
4494 (SPARC_DEFAULT_CMODEL): Define.
4495 * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
4496 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT. Delete
4497 MASK_LONG64, MASK_MEDANY.
4498 (SPARC_DEFAULT_CMODEL): Define.
4499 (CPP_PREDEFINES): Delete.
4500 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
4501 (ASM_SPEC): Add %(asm_arch).
4502 (LONG_DOUBLE_TYPE_SIZE): Define.
4503 (DWARF2_DEBUGGING_INFO): Define.
4504 * sparc/splet.h (CPP_SPEC): Delete.
4505 * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
4506 (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
4507 (BLOCK_PROFILER): Likewise.
4508 * sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
4509 (sparc_override_options): Handle code model selection.
4510 (sparc_init_expanders): Renamed from sparc64_init_expanders.
4511 * sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
4512 TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
4513 (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
4514 (sethi_di_fullany): Delete.
4515
4516 Mon Oct 20 02:00:18 1997 Klaus Kaempf <kkaempf@progis.de>
4517 Jeff Law <law@cygnus.com>
4518 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4519
4520 * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
4521 (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
4522 (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
4523 (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
4524 * alpha/alpha.md (arg_home): Likewise.
4525
4526 * alpha/alpha.c (vmskrunch): Delete
4527 * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.
4528 * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
4529 truncate to 64 characters.
4530
4531 * make-l2.com: Support openVMS/Alpha.
4532
4533 * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.
4534
4535 Sun Oct 19 19:00:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4536
4537 * longlong.h (count_leading_zeros): Add missing casts to USItype.
4538
4539 Sun Oct 19 18:44:06 1997 Jeffrey A Law (law@cygnus.com)
4540
4541 * i386/bsd386.h (ASM_COMMENT_START): Define.
4542
4543 Sat Oct 18 13:47:15 1997 Jason Merrill <jason@yorick.cygnus.com>
4544
4545 * tree.c (restore_tree_status): Also free up temporary storage
4546 when we finish a toplevel function.
4547 (dump_tree_statistics): Print stats for backend obstacks.
4548
4549 Sat Oct 18 12:47:31 1997 Doug Evans <dje@canuck.cygnus.com>
4550
4551 * expr.c (use_group_regs): Don't call use_reg for MEMs.
4552
4553 Sat Oct 18 09:49:46 1997 Jason Merrill <jason@yorick.cygnus.com>
4554
4555 * libgcc2.c (__throw): Don't copy the return address.
4556 * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
4557
4558 * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
4559 * toplev.c (main): Initialize exceptions_via_longjmp.
4560
4561 * tree.c: Add extra_inline_obstacks.
4562 (save_tree_status): Use it.
4563 (restore_tree_status): If this is a toplevel inline obstack and we
4564 didn't want to save anything on it, recycle it.
4565 (print_inline_obstack_statistics): New fn.
4566 * function.c (pop_function_context_from): Pass context to
4567 restore_tree_status.
4568 * obstack.h (obstack_empty_p): New macro.
4569
4570 Sat Oct 18 00:43:59 1997 Jeffrey A Law (law@cygnus.com)
4571
4572 * i386/freebsd.h (ASM_COMMENT_START): Fix.
4573
4574 Fri Oct 17 23:48:52 1997 Jim Wilson (wilson@cygnus.com)
4575
4576 * v850.c (ep_memory_offset): New function.
4577 (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
4578
4579 * v850.h (CONST_OK_FOR_*): Add and correct comments.
4580 (CONSTANT_ADDRESS_P): Add comment.
4581 (EXTRA_CONSTRAINT): Define 'U'.
4582 * v850.md: Add comments on bit field instructions.
4583 (addsi3): Delete &r/r/r alternative. Add r/r/U alternative.
4584 (lshrsi3): Use N not J constraint.
4585
4586 * v850.md (v850_tst1+1): New define_split for tst1 instruction.
4587
4588 * v850.c (reg_or_0_operand): Call register_operand.
4589 (reg_or_int5_operand): Likewise.
4590 * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
4591 (TARGET_SWITCHES): Add "big-switch".
4592 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
4593 ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
4594 (CASE_DROPS_THROUGH): Comment out.
4595 (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
4596 * v850.md (cmpsi): Delete compare mode.
4597 (casesi): New pattern.
4598
4599 * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
4600 * v850.md (ashlsi3): Use SImode not QImode for shift count.
4601 (lshrsi3): Likewise.
4602
4603 * v850.c (print_operand): Add 'c', 'C', and 'z' support. Delete
4604 unreachable switch statement after 'b' support. Remove "b" from
4605 strings for 'b' support.
4606 * v850.md (branch_normal, branch_invert): Change %b to b%b.
4607
4608 Fri Oct 17 23:33:20 1997 Jeffrey A Law (law@cygnus.com)
4609
4610 * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
4611 empty line if @inhibit_libc@ is empty.
4612
4613 Fri Oct 17 23:24:40 1997 Robert Lipe (robertl@dgii.com)
4614
4615 * i386/sco5.h: Let ELF use dwarf2 unwinding. COFF uses sjlj.
4616 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined.
4617 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
4618 (DWARF2_UNWIND_INFO): Let this track object file format.
4619 (EXTRA_SECTIONS): Add in_eh.
4620 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define.
4621 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
4622
4623 Fri Oct 17 17:13:42 1997 David S. Miller <davem@tanya.rutgers.edu>
4624
4625 * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
4626 * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
4627 TARGET_MEDANY.
4628 * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
4629 (output_double_int): Output DI mode values correctly when
4630 HOST_BITS_PER_WIDE_INT is 64.
4631 (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
4632 fmovd so it works if a quad float ends up in one of the upper 32
4633 float regs.
4634 * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
4635 necessary for PIC support on sparc64.
4636
4637 Fri Oct 17 13:39:56 1997 Doug Evans <dje@canuck.cygnus.com>
4638
4639 * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
4640 * sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
4641 (PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
4642 (SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
4643 (SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
4644 (SPARC_FP_ARG_FIRST): New macro.
4645 (CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
4646 (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
4647 (NPARM_REGS): There are 32 fp argument registers now.
4648 (FUNCTION_ARG_REGNO_P): Likewise.
4649 (FIRST_PARM_OFFSET): Update to new v9 abi.
4650 (REG_PARM_STACK_SPACE): Define for arch64.
4651 (enum sparc_arg_class): Delete.
4652 (sparc_arg_count,sparc_n_named_args): Delete.
4653 (struct sparc_args): Redefine and use for arch32 as well as arch64.
4654 (GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
4655 (FUNCTION_ARG_ADVANCE): Rewrite.
4656 (FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
4657 (FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
4658 (FUNCTION_ARG_CALLEE_COPIES): Delete.
4659 (FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
4660 (STRICT_ARGUMENT_NAMING): Define.
4661 (doublemove_string): Declare.
4662 * sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
4663 (single_move_string): Use GEN_INT, and HOST_WIDE_INT.
4664 (doublemove_string): New function.
4665 (output_move_quad): Clean up some of the arch64 support.
4666 (compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
4667 Don't add 8 bytes of reserved space if arch64.
4668 (sparc_builtin_saveregs): Combine arch32/arch64 versions.
4669 (init_cumulative_args): New function.
4670 (function_arg_slotno): New static function.
4671 (function_arg,function_arg_partial_nregs): New functions.
4672 (function_arg_{pass_by_reference,advance}): New functions.
4673 (function_arg_padding): New function.
4674 * ginclude/va-sparc.h: Rewrite v9 support.
4675
4676 Fri Oct 17 12:29:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
4677
4678 * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
4679 for hard regs to determine base and index registers.
4680
4681 * reload.c (debug_reload_to_stream): New function. Specify stream
4682 into which to write debug info.
4683 (debug_reload): Modify to call debug_reload_to_stream with stderr.
4684
4685 Thu Oct 16 15:07:51 1997 Richard Henderson <rth@cygnus.com>
4686
4687 * combine.c (can_combine_p): Don't combine with an asm whose
4688 output is a hard register.
4689
4690 Thu Oct 16 15:43:26 1997 Mike Stump (mrs@wrs.com)
4691
4692 * c-decl.c (start_struct): Ensure that structs with forward
4693 declarations are in fact packed when -fpack-struct is given.
4694
4695 * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
4696 we are packing a structure. This allows a structure with only
4697 bytes to be aligned on a byte boundary and have no padding on a
4698 m68k.
4699
4700 Thu Oct 16 15:17:54 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4701
4702 * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
4703
4704 Thu Oct 16 11:20:30 1997 Richard Henderson <rth@cygnus.com>
4705
4706 * alpha.c (alpha_return_addr_rtx): New variable.
4707 (alpha_save_machine_status): New; save it.
4708 (alpha_restore_machine_status): New; restore it.
4709 (alpha_init_expanders): New; clear it.
4710 (alpha_return_addr): New; set it.
4711 (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
4712 is overly conservative, so search the insns explicitly.
4713 (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
4714 (alpha_sa_size [VMS && !VMS]): Likewise.
4715 * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
4716 (INIT_EXPANDERS): New definition.
4717
4718 * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
4719 (output_prolog [!VMS]): Use them.
4720
4721 * alpha.c (output_prolog [!VMS]): Move gp detection to ...
4722 (alpha_does_function_need_gp): ... a new function. Refine the
4723 CALL_INSN test to just TYPE_JSR.
4724 * alpha.md (most call insns): Fix some jsr/ibr type transpositions.
4725
4726 Thu Oct 16 09:36:47 1997 Jeffrey A Law (law@cygnus.com)
4727
4728 * version.c: Bump for snapshot.
4729
4730 Wed Oct 15 21:38:18 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4731
4732 * pa.c (move_operand): Respect -mdisable-indexing.
4733 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
4734
4735 Wed Oct 15 21:34:45 1997 David Edelsohn <edelsohn@mhpcc.edu>
4736
4737 * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for
4738 PPC601.
4739 (umulsidi3,umulsi3_highpart): Ditto.
4740 (smulsi3_highpart_no_mq): Add !TARGET_POWER.
4741
4742 Wed Oct 15 18:21:46 1997 Richard Henderson <rth@cygnus.com>
4743
4744 * alpha.c (final_prescan_insn): Gut, remove and transform to ...
4745 (alpha_handle_trap_shadows): ... a new function. Handle the entire
4746 function in one go. Emit RTL for trapb, instead of printf directly.
4747 (alpha_reorg): New function. Call alpha_handle_trap_shadows.
4748 (trap_pending): Kill global variable.
4749 (output_epilog): Don't call final_prescan_insn.
4750 (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
4751 * alpha.h (FINAL_PRESCAN_INSN): Remove.
4752 (MACHINE_DEPENENT_REORG): Define.
4753 * alpha.md (jsr patterns with trapb): Stupid and useless. Kill.
4754 (trapb): New insn.
4755
4756 Wed Oct 15 18:16:05 1997 Richard Henderson <rth@cygnus.com>
4757
4758 Tune Haifa scheduler for Alpha:
4759 * alpha.h (ISSUE_RATE): Define.
4760 * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
4761 EV4 adjustments to EV5.
4762 * alpha.md: Remove all scaling from function unit delays. Rework
4763 EV5 function units to match the CPU.
4764 (umuldi3_highpart): EV5 added the IMULH insn class.
4765
4766 Wed Oct 15 17:42:41 1997 Jeffrey A Law (law@cygnus.com)
4767
4768 * pa.c (following_call): Fail if the CALL_INSN is an indirect
4769 call.
4770
4771 Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
4772
4773 * cplus-dem.c (demangle_signature): Don't look for return types on
4774 constructors. Handle member template constructors.
4775
4776 Tue Oct 14 11:30:29 1997 Jason Merrill <jason@yorick.cygnus.com>
4777
4778 * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
4779 * tree.h: Declare them.
4780
4781 Fri Oct 10 13:46:56 1997 Doug Evans <dje@canuck.cygnus.com>
4782
4783 * configure.in: Handle --with-newlib.
4784 * Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.
4785
4786 * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
4787
4788 Wed Oct 8 14:37:44 1997 Jeffrey A Law (law@cygnus.com)
4789
4790 * config/ptx4.h: Fix typo.
4791
4792 Wed Oct 8 08:57:20 1997 Jeffrey A Law (law@cygnus.com)
4793
4794 * version.c: Bump for snapshot.
4795
4796 Tue Oct 7 16:27:34 1997 Manfred Hollstein <manfred@s-direktnet.de>
4797
4798 * aclocal.m4: Substitute INSTALL.
4799 * configure: Re-built.
4800
4801 Tue Oct 7 15:37:35 1997 Jeffrey A Law (law@cygnus.com)
4802
4803 * integrate.c (save_for_inline_copying): Avoid undefined pointer
4804 operations.
4805 (expand_inline_function): Likewise.
4806
4807 * dwarf2out.c (output_call_frame_info): Reinstate last change
4808 using flag_debug_asm check instead of flag_verbose_asm.
4809
4810 Tue Oct 7 12:57:26 1997 Jim Wilson <wilson@cygnus.com>
4811
4812 * dwarf2out.c (output_call_frame_info): Remove last change.
4813
4814 1997-10-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4815
4816 * frame.c (__frame_state_for): Execute the FDE insns until the
4817 current pc value is strictly bigger than the target pc value.
4818
4819 Tue Oct 7 11:00:42 1997 Jason Merrill <jason@yorick.cygnus.com>
4820
4821 * regclass.c (init_reg_modes): If we can't find a mode for the
4822 register, use the previous one.
4823
4824 Tue Oct 7 10:55:34 1997 Richard Henderson <rth@cygnus.com>
4825
4826 * haifa-sched.c (print_block_visualization): Call fprintf directly,
4827 don't sprintf through an alloca'ed buffer.
4828
4829 Tue Oct 7 10:52:29 1997 Thomas Koenig (ig25@rz.uni-karlsruhe.de)
4830
4831 * reload.c (decompose): Always initialize val.base.
4832
4833 Tue Oct 7 10:19:26 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
4834
4835 * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
4836 instead of aborting.
4837 * dwarf2out.c (output_call_frame_info): Call app_enable and
4838 app_disable to let GNU as accept the generated comments.
4839
4840 Tue Oct 7 11:41:21 1997 Michael Meissner <meissner@cygnus.com>
4841
4842 * tree.h (get_file_function_name): Add declaration.
4843 * dwarf2out.c (output_call_frame_info): No need to cast
4844 get_file_function_name call anymore.
4845 * profile.c (toplevel): Remove get_file_function_name
4846 declaration.
4847 * c-lang.c (finish_file): Ditto.
4848
4849 Tue Oct 7 10:01:45 1997 Chip Salzenberg <chip@rio.atlantic.net>
4850
4851 * Makefile.in (program_transform_name): Let autoconf substitute
4852 the correct value.
4853
4854 Tue Oct 7 09:54:35 1997 Jeffrey A Law (law@cygnus.com)
4855
4856 * haifa-sched.c (schedule_block): If the first real insn in a
4857 block has any special notes attached to it, remove them.
4858
4859 Tue Oct 7 09:48:51 1997 Richard Henderson <rth@cygnus.com>
4860
4861 * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
4862
4863 Mon Oct 6 12:47:32 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
4864
4865 * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
4866
4867 Mon Oct 6 12:04:24 1997 Jeffrey A Law (law@cygnus.com)
4868
4869 * Makefile.in (check-g77): New test target.
4870 (CHECK-TARGETS): Add check-g77.
4871
4872 Fri Oct 3 11:56:36 1997 Jason Merrill <jason@yorick.cygnus.com>
4873
4874 * toplev.c (rest_of_compilation): Defer all non-nested inlines.
4875
4876 Fri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com>
4877
4878 * flow.c (print_rtl_with_bb): Cast alloca return value for
4879 in_bb_p.
4880
4881 Thu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com>
4882
4883 * i386.h (RETURN_ADDR_RTX): New definition that works for
4884 __builtin_return_address(0) and -fomit-frame-pointer.
4885
4886 Wed Oct 1 13:43:53 1997 Jim Wilson <wilson@cygnus.com>
4887
4888 Bring over from FSF.
4889 Tue Aug 5 16:10:45 1997 Jason Merrill <jason@yorick.cygnus.com>
4890
4891 * mips.c (function_arg): Handle passing a struct
4892 containing a double in a DFmode register without the PARALLEL.
4893
4894 Wed Oct 1 11:13:25 1997 Ian Lance Taylor <ian@cygnus.com>
4895
4896 * pexecute.c: Use spawn if __CYGWIN32__.
4897
4898 * pexecute.c: Include "config.h" first, as per autoconf manual
4899 (from Paul Eggert <eggert@twinsun.com>).
4900
4901 Wed Oct 1 01:44:36 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
4902
4903 * m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
4904 optimisation for f/expr.o and f/stb.o.
4905
4906 Tue Sep 30 23:48:57 1997 Jeffrey A Law (law@cygnus.com)
4907
4908 * cse.c (this_insn_cc0_mode): Initialize.
4909
4910 Tue Sep 30 23:09:40 1997 Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
4911
4912 * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
4913
4914 * haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
4915
4916 Tue Sep 30 23:06:43 1997 Richard Henderson <rth@cygnus.com>
4917
4918 * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
4919 that pair will dual-issue on the 21164 and plus+beq won't.
4920 (bne): Likewise for cmpeq+beq.
4921
4922 Tue Sep 30 16:07:58 1997 Jim Wilson <wilson@cygnus.com>
4923
4924 * except.c (find_exception_handler_labels): Correct argument to free.
4925
4926 Tue Sep 30 11:00:00 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
4927
4928 * except.c (find_exception_handler_labels): Free LABELS when we're
4929 done.
4930
4931 Mon Sep 29 14:04:35 1997 Jeffrey A Law (law@cygnus.com)
4932
4933 * version.c: Bump for snapshot.
4934
4935 Mon Sep 29 10:51:53 1997 Jason Merrill <jason@yorick.cygnus.com>
4936
4937 * flow.c (find_basic_blocks): Mark calls as potentially jumping
4938 to the EH labels.
4939
4940 Mon Sep 29 09:58:06 1997 Jeffrey A Law (law@cygnus.com)
4941
4942 * configure.in: Substitute for "install" too.
4943 * configure: Rebuilt.
4944
4945 Mon Sep 29 00:38:42 1997 Aaron Jackson <jackson@negril.msrce.howard.edu>
4946
4947 * Makefile.in (bootstrap-lean, compare-lean): New targets.
4948
4949 Mon Sep 29 00:18:16 1997 Richard Henderson (rth@cygnus.com)
4950
4951 * alias.c (base_alias_check): Two symbols can conflict if they
4952 are accessed via AND.
4953 (memrefs_conflict_p): Likewise.
4954
4955 * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn
4956 after flushing argument registers to the stack.
4957
4958 * Makefile.in (mostlyclean): Remove .regmove files.
4959
4960 Sun Sep 28 18:59:58 1997 Jason Merrill <jason@yorick.cygnus.com>
4961
4962 * libgcc2.c (__throw): Fix thinko.
4963
4964 Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
4965
4966 * cplus-dem.c (demangle_template): Add new parameter. Handle new
4967 template-function mangling.
4968 (consume_count_with_underscores): New function.
4969 (demangle_signature): Handle new name-mangling scheme.
4970
4971 Sun Sep 28 01:55:04 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
4972
4973 * flow.c (print_rtl_with_bb): Cast alloca return values for variables
4974 start and end.
4975
4976 Sun Sep 28 01:05:16 1997 Jeffrey A Law (law@cygnus.com)
4977
4978 * frame.c: Remove last change.
4979 * dwarf2.h: Remove last change.
4980 * tree.h: Add declarations of DWARF2 unwind info support
4981 functions.
4982
4983 Sat Sep 27 11:02:38 1997 Jason Merrill <jason@yorick.cygnus.com>
4984
4985 * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
4986 * tree.h (built_in_function): Likewise.
4987 * expr.c (expand_builtin): Likewise.
4988 * except.h: Likewise.
4989 * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
4990 * libgcc2.c (copy_reg): New fn.
4991 (__throw): Use it.
4992
4993 Fri Sep 26 08:54:59 1997 Paul Eggert <eggert@twinsun.com>
4994
4995 * c-typeck.c (build_binary_op): Warn about comparing signed vs
4996 unsigned if -W is specified and -Wno-sign-compare is not.
4997 * c-decl.c (warn_sign_compare): Initialize to -1.
4998 (c_decode_option): -Wall no longer implies -Wsign-compare.
4999
5000 Fri Sep 26 09:00:13 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5001
5002 * frame.c: Include gansidecl.h for PROTO.
5003 * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is
5004 defined. Don't declare dwarf2out_cfi_label here.
5005 * dwarf2.h: Add declarations of DWARF2 unwind info support
5006 functions.
5007 * m68k.c: Include dwarf2.h.
5008 (output_function_prologue): Add dwarf2 support.
5009 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros.
5010 (INCOMING_FRAME_SP_OFFSET): Likewise.
5011
5012 * integrate.c (expand_inline_function): Make sure there is at
5013 least one insn that can be used as an insertion point.
5014
5015 Wed Sep 24 21:34:06 1997 Jason Merrill <jason@yorick.cygnus.com>
5016
5017 * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/
5018
5019 Wed Sep 24 22:05:30 1997 Jeffrey A Law (law@cygnus.com)
5020
5021 * version.c: Bump for snapshot.
5022
5023 Wed Sep 24 17:36:23 1997 Doug Evans <dje@canuck.cygnus.com>
5024
5025 Bring over from FSF.
5026
5027 Wed Sep 24 19:17:08 1997 Doug Evans <dje@cygnus.com>
5028
5029 * sparc/sparc.md (get_pc_via_call): Renamed from get_pc_sp32.
5030 (get_pc_via_rdpc): Renamed from get_pc_sp64.
5031 * sparc/sparc.c (finalize_pic): Update call to gen_get_pc_via_call.
5032
5033 Wed Sep 24 18:38:22 1997 David S. Miller <davem@tanya.rutgers.edu>
5034
5035 * sparc/sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc.
5036 (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=,
5037 -malign-functions=.
5038 (sparc_align_{loops,jumps,funcs}_string): Declare.
5039 (sparc_align_{loops,jumps,funcs}): Declare.
5040 (DEFAULT_SPARC_ALIGN_FUNCS): New macro.
5041 (FUNCTION_BOUNDARY): Use sparc_align_funcs.
5042 (STACK_BIAS): Define.
5043 (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT first, then perform
5044 test.
5045 (SPARC_SETHI_P): New macro.
5046 (CONST_OK_FOR_LETTER_P): Use it.
5047 (ASM_OUTPUT_ALIGN_CODE): Define.
5048 (ASM_OUTPUT_LOOP_ALIGN): Define.
5049 * sparc/sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals.
5050 (sparc_align_{loops,jumps,funcs}): New globals.
5051 (sparc_override_options): Handle -malign-loops=, -malign-jumps=,
5052 -malign-functions=.
5053 (move_operand): Use SPARC_SETHI_P.
5054 (arith_double_operand): Cast to unsigned HOST_WIDE_INT first, then
5055 perform test.
5056 (arith11_double_operand): Likewise.
5057 (arith10_double_operand): Likewise.
5058 (finalize_pic): Finish sparc64 support.
5059 (emit_move_sequence): Use SPARC_SETHI_P. Simplify low part of
5060 64 bit constants if able.
5061 (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD.
5062 (sparc_builtin_saveregs, sparc64 case): Don't save fp regs if
5063 ! TARGET_FPU.
5064 * sparc/sparc.md (*): Use GEN_INT instead of gen_rtx.
5065 (get_pc_sp32): Use for sparc64 as well.
5066 (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts.
5067 (sethi_di_sp64_const): Likewise.
5068 (movtf_cc_sp64): Check TARGET_HARD_QUAD.
5069 (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast.
5070 (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
5071
5072 Tue Sep 23 19:02:46 1997 Doug Evans <dje@cygnus.com>
5073
5074 * sparc/linux-aout.h (COMMENT_BEGIN): Delete.
5075 * sparc/linux.h (COMMENT_BEGIN): Likewise.
5076 * sparc/linux64.h (COMMENT_BEGIN): Likewise.
5077
5078 Tue Sep 23 14:48:18 1997 David S. Miller <davem@tanya.rutgers.edu>
5079
5080 Add sparc64 linux support.
5081 * configure.in (sparc64-*-linux*): Recognize. Add sparc/xm-sparc.h
5082 to xm_file list on 32-bit sparc-linux.
5083 * sparc/xm-sp64.h: New file.
5084 * sparc/linux64.h: New file.
5085 * sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
5086 Don't include xm-sparc.h.
5087 * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define.
5088 * glimits.h (LONG_MAX): Handle sparc64.
5089
5090 Sat Sep 20 03:07:54 1997 Doug Evans <dje@cygnus.com>
5091
5092 * sparc/sysv4.h (ASM_COMMENT_START): Delete.
5093 * sparc.h (ASM_COMMENT_START): Define.
5094 * sparc.c (output_function_prologue): Use it.
5095 (sparc_flat_output_function_{epi,pro}logue): Likewise.
5096
5097 Wed Sep 17 15:04:19 1997 Doug Evans <dje@cygnus.com>
5098
5099 * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete,
5100 use sparc.h's copies.
5101 * sparc/sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print
5102 ascii form as well.
5103
5104 Mon Sep 8 08:45:19 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5105
5106 * sparc.c (dwarf2out_cfi_label): Add declaration.
5107 (save_regs, output_function_prologue): Remove cast for it.
5108 (sparc_flat_{save_restore,output_function_prologue): Likewise.
5109 ({save,restore}_regs): No longer inline.
5110
5111 Tue Sep 23 12:34:51 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5112
5113 * fold-const.c (make_range): Correctly handle cases of converting
5114 from unsigned to signed type.
5115
5116 Tue Sep 23 12:34:51 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
5117
5118 * fold-const.c (merge_ranges): Make sure that if one range is subset
5119 of another, it will always be the second range. Correct (+,-) case to
5120 account for this.
5121
5122 Tue Sep 23 08:32:51 1997 Jason Merrill <jason@yorick.cygnus.com>
5123
5124 * final.c (final_end_function): Also do dwarf2 thing if
5125 DWARF2_DEBUGGING_INFO.
5126 (final_start_function): Likewise.
5127
5128 Tue Sep 23 01:15:50 1997 David S. Miller <davem@tanya.rutgers.edu>
5129
5130 * expmed.c (expand_divmod): If compute_mode is not the same as
5131 mode, handle the case where convert_modes() causes op1 to no
5132 longer be a CONST_INT.
5133
5134 * reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED
5135 note holding get_jump_flags() calculation to all JUMP_INSNs.
5136 * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA.
5137 * rtl.c (reg_note_name): Add new note types.
5138
5139 Tue Sep 23 00:59:54 1997 Jeffrey A Law (law@cygnus.com)
5140
5141 * rtlanal.c (computed_jump_p): Fix typo in last change.
5142
5143 Tue Sep 23 00:42:44 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5144
5145 * loop.c (indirect_jump_in_function_p): Return 0
5146 by default.
5147
5148 Tue Sep 23 00:33:55 1997 Jeffrey A Law (law@cygnus.com)
5149
5150 * rs6000/xm-rs6000.h: Fix thinko in last change.
5151 * rs6000/xm-sysv4.h: Likewise.
5152
5153 Mon Sep 22 19:33:53 1997 Jim Wilson <wilson@cygnus.com>
5154
5155 * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
5156
5157 Mon Sep 22 14:41:00 1997 Jeffrey A Law (law@cygnus.com)
5158
5159 * reg-stack.c (find_blocks): Fix thinko in last change.
5160
5161 1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5162
5163 * m68k.c (output_function_prologue): Add dwarf2 support.
5164
5165 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM,
5166 INCOMING_FRAME_SP_OFFSET): New definitions.
5167
5168 Mon Sep 22 11:36:42 1997 David S. Miller <davem@tanya.rutgers.edu>
5169
5170 * combine.c (try_combine): Use NULL_RTX instead of '0' where
5171 appropriate in calls to gen_rtx().
5172 * cse.c (cse_main): Likewise.
5173 * emit-rtl.c (gen_label_rtx): Likewise.
5174 * expr.c (init_expr_once): Likewise.
5175 * haifa-sched.c (flush_pending_lists, sched_analyze_insn,
5176 sched_analyze, init_rgn_data_dependences,
5177 compute_block_backward_dependences): Likewise.
5178 * sched.c (schedule_insns): Likewise.
5179 * varasm.c (immed_double_const): Likewise.
5180
5181 * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
5182 SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
5183
5184 Mon Sep 22 11:21:33 1997 J. Kean Johnston <jkj@sco.com>
5185
5186 * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
5187 (MULTILIB_DEFAULTS): Define.
5188 (ASM_SPEC, CPP_SPEC): Handle -mcoff.
5189 (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
5190 (LIBGCC_SPEC): Likewise.
5191 (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
5192 (SUBTARGET_SWITCHES): Add -mcoff and -melf.
5193 * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
5194 (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
5195 (EXTRA_PARTS, TAROUTOPTS): Delete.
5196 (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
5197 (MULTILIB_OPTIONS): Define.
5198 (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
5199 (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
5200
5201 Mon Sep 22 02:10:43 1997 Jeffrey A Law (law@cygnus.com)
5202
5203 * version.c: Bump for snapshot.
5204
5205 Sun Sep 21 17:45:45 1997 Jeffrey A Law (law@cygnus.com)
5206
5207 * loop.c (loop_number): Delete function. Change all references
5208 to use uid_loop_num array.
5209 * loop.h (loop_number): Delete declaration.
5210 * unroll.c (unroll_loop): Change "loop_number" references to
5211 use uid_loop_num instead.
5212
5213 * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
5214 conditional.
5215 (loop_unroll_iter): Remove unused variable and all references.
5216 (loop_optimize): Always allocate and clear space for loop_unroll_factor.
5217 (insert_bct): Fix minor formatting problems.
5218 * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
5219 (loop_unroll_iter): Removed unused decl.
5220 * unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
5221 Always record the unrolling factor.
5222
5223 * cse.c (simplify_relational_operation): Set h0u just like h0s.
5224 Similarly for h1u and h1s.
5225
5226 * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
5227 (find_basic_blocks): Use computed_jump_p to determine if a
5228 particular JUMP_INSN is a computed jump.
5229 * reg-stack.c (find_blocks): Use computed_jump_p to determine
5230 if a particular JUMP_INSN is a computed jump.
5231 * rtlanal.c (jmp_uses_reg_or_mem): New function.
5232 (computed_jump_p): Likewise.
5233 * rtl.h (computed_jump_p): Declare.
5234 * genattrtab.c (pc_rtx): Define and initialize.
5235 * loop.c (loop_optimize): Always determine if the current
5236 function has a computed jump.
5237 (indirect_jump_in_function_p): Use computed_jump_p to determine
5238 if a particular JUMP_INSN is a computed jump.
5239
5240 * loop.c (fix_bct_param): Delete unused function.
5241 (check_bct_param): Likewise.
5242
5243 Sat Sep 20 16:22:06 1997 Jason Merrill <jason@yorick.cygnus.com>
5244
5245 * frame.c (__deregister_frame): Check properly for initialized object.
5246
5247 Fri Sep 19 20:51:03 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5248
5249 * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
5250
5251 Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5252
5253 * jump.c (thread_jumps): check can_reverse_comparison_p before
5254 threading a reversed-condition jump.
5255
5256 * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
5257 * haifa-sched.c (update_flow_info): Likewise.
5258
5259 Thu Sep 18 21:13:40 1997 Jeffrey A Law (law@cygnus.com)
5260
5261 * Makefile.in (BOOT_CFLAGS): Use -O2.
5262
5263 * configure.in (strtoul, bsearch): Have autoconf check for these
5264 functions.
5265 * configure, config.in: Rebuilt.
5266
5267 * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
5268 * mips/mips.h (alloca): Likewise.
5269 * rs6000/xm-rs6000.h (alloca): Likewise.
5270 * rs6000/xm-sysv4.h: Likewise.
5271
5272 Thu Sep 18 14:22:22 1997 Jason Merrill <jason@yorick.cygnus.com>
5273
5274 * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
5275 * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
5276 (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
5277
5278 * except.c (end_eh_unwinder): Subtract 1 from return address.
5279 * libgcc2.c (__throw): Likewise.
5280 (find_exception_handler): Don't change PC here. Compare end with >.
5281
5282 Thu Sep 18 10:43:07 1997 Nick Clifton <nickc@cygnus.com>
5283
5284 * v850.c (compute_register_save_size): Correct register
5285 number.
5286 * v850.md (save_interrupt, return_interrupt): Correct
5287 register number.
5288 * v850/lib1funcs.asm (save_interrupt): Correct register number.
5289 (return_interrupt): Use stack pointer, not element pointer.
5290
5291 1997-09-18 Brendan Kehoe <brendan@lisa.cygnus.com>
5292
5293 * configure.in, configure: Make sure to create the stage* and include
5294 symbolic links in each subdirectory.
5295
5296 Thu Sep 18 01:47:06 1997 Jeffrey A Law (law@cygnus.com)
5297
5298 * pa.md (reload_peepholes): Don't allow addresses with side
5299 effects for the memory operand.
5300
5301 Wed Sep 17 18:19:53 1997 Jason Merrill <jason@yorick.cygnus.com>
5302
5303 * libgcc2.c (find_exception_handler): Subtract one from our PC when
5304 looking for a handler, to avoid hitting the beginning of the next
5305 region.
5306
5307 * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
5308
5309 Wed Sep 17 18:33:59 1997 Jeffrey A Law (law@cygnus.com)
5310
5311 * mips/abi64.h (LONG_MAX_SPEC): Define.
5312 * mips.h (LONG_MAX_SPEC): Define.
5313 (CPP_SPEC): Include long_max_spec.
5314 (EXTRA_SPECS): Include long_max_spec.
5315
5316 Wed Sep 17 14:11:38 1997 Jeffrey A Law (law@cygnus.com)
5317
5318 * v850.c (construct_save_jarl): Fix thinko in last change.
5319
5320 Wed Sep 17 09:53:07 1997 Jeffrey A Law (law@cygnus.com)
5321
5322 * version.c: Bump for snapshot.
5323
5324 Tue Sep 16 14:22:36 1997 Jason Merrill <jason@yorick.cygnus.com>
5325
5326 * libgcc2.c (find_exception_handler): Not found is -1.
5327
5328 * integrate.c (expand_inline_function): Move expand_start_bindings
5329 after expanding the arguments.
5330
5331 Tue Sep 16 11:13:46 1997 Jim Wilson <wilson@cygnus.com>
5332
5333 * expr.c (expand_expr): Remove previous incorrect change.
5334 If target and slot has no DECL_RTL, then call mark_addressable
5335 again for the slot after we give it RTL.
5336
5337 Tue Sep 16 09:18:52 1997 Jason Merrill (jason@cygnus.com)
5338
5339 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
5340 again for the slot after we give it RTL.
5341
5342 Tue Sep 16 00:13:20 1997 Nick Clifton <nickc@cygnus.com>
5343
5344 * v850.c (register_is_ok_for_epilogue,
5345 pattern_is_ok_for_epilogue, construct_restore_jr,
5346 pattern_is_ok_for_prologue, construct_save_jarl): New functions.
5347
5348 * v850.h (pattern_is_ok_for_prologue,
5349 pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
5350 predicates.
5351
5352 * v850.md: Replace prologue and epilogue patterns with a
5353 match_parallel pattern.
5354
5355 Mon Sep 15 22:53:01 1997 Jeffrey A Law (law@cygnus.com)
5356
5357 * aclocal.m4: Add replacement for AC_PROG_INSTALL.
5358 * configure.in: Use EGCS_PROG_INSTALL.
5359
5360 Mon Sep 15 22:40:55 1997 Jim Wilson (wilson@cygnus.com)
5361
5362 * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
5363 extern inline function.
5364
5365 Mon Sep 15 22:40:55 1997 Richard Henderson (rth@cygnus.com)
5366
5367 * dwarf2out.c (reg_loc_descriptor): Fix prototype.
5368 (concat_loc_descriptor): New function.
5369 (loc_descriptor): Call it.
5370 (add_AT_location_description): Also elide the descriptor if both
5371 halves of a CONCAT are pseudos.
5372 (add_location_or_const_value_attribute): Recognize CONCAT too.
5373
5374 Mon Sep 15 15:24:00 1997 Richard Henderson <rth@cygnus.com>
5375
5376 * alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS.
5377
5378 * alpha/alpha.c (output_prolog): New variable sa_reg. Use it for
5379 out-or-range reg_offset.
5380 (output_epilog): Likewise.
5381
5382 Mon Sep 15 15:39:26 1997 Jeffrey A Law (law@cygnus.com)
5383
5384 * cse.c (simplify_relational_operation): If MODE specifies a
5385 mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
5386 is derived from the sign bit of the low word.
5387
5388 Mon Sep 15 11:43:38 1997 Jason Merrill <jason@yorick.cygnus.com>
5389
5390 Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86.
5391
5392 * dwarf2.h: Add DW_CFA_GNU_args_size.
5393 * frame.c (execute_cfa_insn): Likewise.
5394 * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise.
5395 (dwarf2out_args_size, dwarf2out_stack_adjust): New fns.
5396 (dwarf2out_frame_debug): If this isn't a prologue or epilogue
5397 insn, hand it off to dwarf2out_stack_adjust.
5398 (dwarf2out_begin_prologue): Initialize args_size.
5399 * frame.h (struct frame_state): Add args_size.
5400 * libgcc2.c (__throw): Use args_size.
5401 * final.c (final_scan_insn): If we push args, hand off all insns
5402 to dwarf2out_frame_debug.
5403 * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS.
5404
5405 * dwarf2out.c dwarf2out_frame_debug): Fix typo.
5406 Handle epilogue restore of SP from FP.
5407 * emit-rtl.c (gen_sequence): Still generate a sequence if the
5408 lone insn has RTX_FRAME_RELATED_P set.
5409
5410 * frame.c (extract_cie_info): Handle "e" augmentation.
5411 * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the
5412 absence of UNALIGNED_*_ASM_OP.
5413 (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF.
5414 (output_call_frame_info): Use "e" instead of "z" for augmentation.
5415 Don't emit augmentation fields length.
5416 (dwarf2out_do_frame): Move outside of #ifdefs.
5417 * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data
5418 opcodes.
5419
5420 * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all.
5421 * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here.
5422 * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0.
5423 * sparc/sun4gas.h: New file.
5424 * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as.
5425
5426 * collect2.c (write_c_file_stat, write_c_file_glob): Declare
5427 __register_frame_table and __deregister_frame.
5428
5429 1997-09-15 Brendan Kehoe <brendan@cygnus.com>
5430
5431 * except.c (find_exception_handler_labels): Use xmalloc instead of
5432 alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
5433 in some cases.
5434
5435 Sun Sep 14 21:01:23 1997 Jeffrey A Law (law@cygnus.com)
5436
5437 * Makefile.in: Various changes to build info files
5438 in the object tree rather than the source tree.
5439
5440 Sun Sep 14 12:24:30 1997 Jeffrey A Law (law@cygnus.com)
5441
5442 * fixinc.math: New file to fix math.h on some systems.
5443 * configure.in (freebsd, netbsd): Use fixinc.math on these
5444 systems.
5445 * configure: Rebuilt.
5446
5447 Sun Sep 14 11:11:05 1997 Jeffrey A Law (law@cygnus.com)
5448
5449 * regmove.c (regmove_optimize): If we end up moving the
5450 original insn due to lifetime overlaps, make sure to move
5451 REG_NOTES too.
5452
5453 Sat Sep 13 15:51:11 1997 Manfred Hollstein <manfred@s-direktnet.de>
5454
5455 * Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure.
5456
5457 Sat Sep 13 12:57:26 1997 Jeffrey A Law (law@cygnus.com)
5458
5459 * haifa-sched.c (add_branch_dependences): Make each insn in
5460 a SCHED_GROUP_P block explicitly depend on the previous insn.
5461
5462 Fri Sep 12 13:49:58 1997 Jason Merrill <jason@yorick.cygnus.com>
5463
5464 * except.h: Prototype dwarf2 hooks.
5465 * expr.c: Adjust.
5466
5467 Thu Sep 11 17:43:55 1997 Jim Wilson <wilson@cygnus.com>
5468
5469 * configure.in (native_prefix): Delete.
5470 (mips-dec-netbsd): Don't set prefix.
5471 (*linux*): Don't set prefix.
5472
5473 Thu Sep 11 15:48:32 1997 Fred Fish <fnf@ninemoons.com>
5474
5475 * protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
5476 defined. If not defined, include <sys/varargs.h> if
5477 HAVE_SYS_VARARGS_H is defined.
5478 * configure.in: Test for varargs.h and sys/varargs.h.
5479 * configure: Regenerate with autoconf.
5480 * config.in: Regenerate with autoheader.
5481
5482 * cpplib.c (quote_string): Cast first arg of sprintf call
5483 from "unsigned char *" to "char *".
5484 (output_line_command): Ditto.
5485 (macroexpand): Ditto.
5486 (do_line): Cast atoi arg from "unsigned char *" to "char *".
5487
5488 Wed Sep 10 21:37:30 1997 Jeffrey A Law (law@cygnus.com)
5489
5490 * version.c: Bump for snapshot.
5491
5492 * Makefile.in (compare): Exit with nonzero status if there
5493 are comparison failures. Note which files failed the
5494 comparison test in .bad_compare.
5495
5496 Wed Sep 10 17:05:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5497
5498 * config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.
5499
5500 Wed Sep 10 16:37:28 1997 Fred Fish <fnf@ninemoons.com>
5501
5502 * Makefile.in (LN, LN_S): New macros, use where appropriate.
5503 * aclocal.m4 (GCC_PROG_LN_S, GCC_PROG_LN): New tests.
5504 * configure.in: Use GCC_PROG_LN_S and GCC_PROG_LN.
5505 * configure: Regenerated.
5506
5507 Thu Sep 11 11:09:43 1997 Jeffrey A Law (law@cygnus.com)
5508
5509 * loop.c (strength_reduce): Fix typo.
5510
5511 Wed Sep 10 16:01:15 1997 Jim Wilson <wilson@cygnus.com>
5512
5513 * m88k/m88k.c (struct option): Rename to struct options.
5514 * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
5515 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
5516 * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
5517 __DOLPHIN__ or sysV88.
5518
5519 Wed Sep 10 14:58:40 1997 Jim Wilson <wilson@cygnus.com>
5520
5521 * emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
5522 create new subreg.
5523
5524 Wed Sep 10 15:19:22 1997 Jeffrey A Law (law@cygnus.com)
5525
5526 * config.sub: Accept 'amigados' for backward compatability.
5527
5528 Wed Sep 10 14:05:08 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5529
5530 * Makefile.in (testsuite/site.exp): New target.
5531 (check-gcc, check-g++): Depend on testsuite/site.exp.
5532 Don't stop for failure.
5533
5534 Wed Sep 10 12:59:57 1997 Jason Merrill <jason@yorick.cygnus.com>
5535
5536 * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum()
5537 if DWARF2_UNWIND_INFO.
5538
5539 Wed Sep 10 11:49:20 1997 Jason Merrill <jason@yorick.cygnus.com>
5540
5541 Add support for exception handling using DWARF 2 frame unwind info.
5542 Currently works on SPARC and MIPS, and almost on x86.
5543
5544 * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr,
5545 next_stack_level, in_reg_window): Helper fns.
5546 (__throw): Implement for DWARF2_UNWIND_INFO.
5547
5548 * expr.c (expand_builtin): Handle builtins used by __throw.
5549 * tree.h (enum built_in_function): Add builtins used by __throw.
5550 * c-decl.c (init_decl_processing): Declare builtins used by __throw.
5551 * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw.
5552 * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw.
5553 (expand_builtin_extract_return_addr): Likewise.
5554 (expand_builtin_frob_return_addr): Likewise.
5555 (expand_builtin_set_return_addr_reg): Likewise.
5556 (expand_builtin_eh_stub): Likewise.
5557 (expand_builtin_set_eh_regs): Likewise.
5558 (eh_regs): Choose two call-clobbered registers for passing back values.
5559
5560 * frame.c, frame.h: New files for parsing dwarf 2 frame info.
5561 * Makefile.in (LIB2ADD): New variable. Add $(srcdir)/frame.c.
5562 (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS)
5563 (stmp-multilib): Likewise.
5564 ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions.
5565
5566 * except.c: #include "defaults.h".
5567 (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO.
5568 (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO.
5569 (register_exception_table_p): New fn.
5570 (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO.
5571 (end_eh_unwinder): Likewise.
5572
5573 * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP,
5574 call __register_frame and __deregister_frame as needed.
5575 * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP.
5576 * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro. Check
5577 EH_FRAME_SECTION_ASM_OP.
5578 * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define.
5579 * mips/iris6.h: (EH_FRAME_SECTION_ASM_OP): Define.
5580 (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols.
5581
5582 * dwarf2out.c (output_call_frame_info): If no support for
5583 EXCEPTION_SECTION, mark the start of the frame info with a
5584 collectable tag.
5585 * collect2.c (frame_tables): New list.
5586 (is_ctor_dtor): Recognise frame entries.
5587 (scan_prog_file): Likewise.
5588 (main): Pass -fno-exceptions to sub-compile. Also do collection
5589 if there are any frame entries.
5590 (write_c_file_stat): Call __register_frame_table and
5591 __deregister_frame as needed.
5592 (write_c_file_glob): Likewise.
5593
5594 * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported.
5595 Also require unaligned reloc support.
5596 * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
5597 UNALIGNED_DOUBLE_INT_ASM_OP): Define here.
5598 * sparc/sysv4.h: Not here.
5599
5600 * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}.
5601 * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init.
5602 (dwarf2out_finish): Don't call dwarf2out_frame_finish.
5603
5604 * libgcc2.c (L_eh): Reorganize, moving code shared by different
5605 EH implementations to the top.
5606 (find_exception_handler): Split out. Start from 0. Compare against
5607 end with >=.
5608 (__find_first_exception_table_match): Use it.
5609 * except.c (output_exception_table): Don't do anything if there's
5610 no table. Don't output a first entry of zeroes.
5611 (eh_outer_context): Adjust properly.
5612 (add_eh_table_entry): Use xrealloc.
5613 * toplev.c (compile_file): Just call output_exception_table.
5614
5615 Wed Sep 10 11:30:36 1997 Jason Merrill <jason@cygnus.com>
5616
5617 * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case.
5618
5619 Wed Sep 10 08:17:10 1997 Torbjorn Granlund <tege@pdc.kth..se>
5620
5621 * except.c (eh_outer_context): Do masking using expand_and.
5622
5623 Wed Sep 10 01:38:30 1997 Doug Evans <dje@cygnus.com>
5624
5625 Add port done awhile ago for the ARC cpu.
5626 * arc/arc.h: New file.
5627 * arc/arc.c: New file.
5628 * arc/arc.md: New file.
5629 * arc/initfini.c: New file.
5630 * arc/lib1funcs.asm: New file.
5631 * arc/t-arc: New file.
5632 * arc/xm-arc.h: New file.
5633 * ginclude/va-arc.h: New file.
5634 * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
5635 * ginclude/varargs.h: Likewise.
5636 * Makefile.in (USER_H): Add va-arc.h.
5637 * configure.in (arc-*-elf*): Recognize.
5638 * longlong.h: Add ARC support.
5639
5640 Wed Sep 10 01:32:54 1997 Jeffrey A Law (law@cygnus.com)
5641
5642 * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
5643 when clearing non-BLKmode data.
5644
5645 Wed Sep 10 00:29:29 1997 Manfred Hollstein <manfred@s-direktnet.de>
5646
5647 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
5648 * libgcc2.c (__enable_execute_stack): Provide for sysV88 too.
5649
5650 * xm-m88k.h (USG): Only define if it hasn't already been defined.
5651
5652 * Makefile.in (risky-stage1): Delete gratutious whitespace.
5653
5654 * Makefile.in (clean): Delete libgcc1-test.
5655
5656 * Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
5657
5658 Tue Sep 9 17:07:36 1997 Stan Cox <coxs@dg-rtp.dg.com>
5659
5660 * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
5661 template.
5662
5663 Tue Sep 9 09:50:02 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5664
5665 * dwarf2out.c (output_call_frame_info): Call named_section.
5666
5667 Tue Sep 9 09:12:17 1997 Jeffrey A Law (law@cygnus.com)
5668
5669 * haifa-sched.c (print_value): Fix last change.
5670
5671 Tue Sep 9 01:30:37 1997 Jason Merrill <jason@yorick.cygnus.com>
5672
5673 * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of
5674 write_symbols.
5675
5676 Mon Sep 8 16:32:43 1997 Jason Merrill <jason@yorick.cygnus.com>
5677
5678 * mips.c (function_prologue): Set up the CFA when ABI_32.
5679
5680 * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG
5681 for dwarf2 unwind info.
5682 (output_function_prologue, sparc_flat_output_function_prologue): Same.
5683
5684 * final.c (final_end_function): Check dwarf2out_do_frame instead
5685 of DWARF2_DEBUG for dwarf2 unwind info.
5686 (final_scan_insn): Likewise.
5687 (final_start_function): Likewise. Initialize dwarf2 frame debug here.
5688 (final): Not here.
5689
5690 * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if
5691 count > 0.
5692
5693 * varasm.c (exception_section): Check EXCEPTION_SECTION first.
5694
5695 Mon Sep 8 15:15:11 1997 Nick Clifton <nickc@cygnus.com>
5696
5697 * v850.h (ASM_SPEC): Pass on target processor.
5698 (CPP_PREDEFINES): Only define if not already specified.
5699 (TARGET_VERSION): Only define if not already specified.
5700 (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
5701 processor.
5702 (EXTRA_SWITCHES): Extra entries in the switches array.
5703 (TARGET_DEFAULT): Set default target processor.
5704
5705 Mon Sep 8 18:26:35 1997 Jim Wilson <wilson@cygnus.com>
5706
5707 * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
5708 cases, add %# and %/, and add : to make them into extended asms.
5709
5710 Sun Sep 7 23:57:50 1997 Weiwen Liu <liu@hepunix.physics.yale.edu>
5711
5712 * alias.c (init_alias_analysis): Clean up incompatible pointer
5713 type warning in bzero.
5714 * regmove.c (regmove_optimize): Ditto.
5715 * haifa-sched.c (find_rgns): Ditto.
5716
5717 * haifa-sched.c (print_value): Clean up ptr->int cast
5718 warnings.
5719
5720 Sun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com>
5721
5722 * INSTALL: Change 'amigados' to 'amigaos' to match current usage.
5723 * install.texi (Configurations): Ditto.
5724 * config.sub: Ditto.
5725
5726 Sun Sep 7 22:56:56 1997 Weiwen Liu (liu@hepvms.physics.yale.edu)
5727
5728 * Makefile.in (sdbout.o): Depend on insn-config.h.
5729
5730 Sun Sep 7 18:44:50 1997 Jim Wilson <wilson@cygnus.com>
5731
5732 * m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
5733 For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
5734
5735 Sun Sep 7 18:30:46 1997 Jason Merrill <jason@yorick.cygnus.com>
5736
5737 * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
5738 prologue insn, only the first elt is significant.
5739 (output_call_frame_info): For exception handling, always use 4-byte
5740 fields as specified by the dwarf2 spec.
5741 Don't skip trivial FDEs.
5742
5743 Sun Sep 7 14:19:39 1997 Jeffrey A Law (law@cygnus.com)
5744
5745 * version.c: Bump for snapshot.
5746
5747 Sun Sep 7 14:17:36 1997 Torbjorn Granlund (tege@pdc.kth.se)
5748
5749 * expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
5750 for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
5751 when op1_is_pow2.
5752
5753 Sun Sep 7 13:46:46 1997 Jeffrey A Law (law@cygnus.com)
5754
5755 * final.c (shorten_branches): During first pass, assume worst
5756 possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
5757
5758 * Makefile.in (distclean): Remove various things left around
5759 by running the testsuite.
5760
5761 Sun Sep 7 13:16:06 1997 Manfred Hollstein <manfred@s-direktnet.de>
5762
5763 * configure.in (out_file): Emit definition to config.status in order
5764 to have a defined value for configure.lang.
5765 * configure: Re-built.
5766
5767 Sun Sep 7 09:59:08 1997 Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl)
5768
5769 * configure.in: Make symlink to as-new rather than as.new. Similarly
5770 for ld-new.
5771 * configure: Rebuilt.
5772
5773 Fri Sep 5 16:54:55 1997 Jim Wilson <wilson@cygnus.com>
5774
5775 * profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
5776
5777 Fri Sep 5 16:16:44 1997 Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
5778
5779 * sparc/sparc.md: Add ultrasparc scheduling support.
5780 * sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
5781
5782 Fri Sep 5 14:04:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
5783
5784 * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
5785 as initial value for real_label_map.
5786 (copy_for_inline): Likewise.
5787
5788 Fri Sep 5 13:36:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5789
5790 * sched.c (update_flow_info) When looking if to set found_split_dest
5791 or found_orig_dest, look at all parts of a PARALLEL.
5792 * haifa-sched.c (update_flow_info): Likewise.
5793
5794 Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
5795
5796 * v850: New directory for v850 port.
5797 * v850/lib1funcs.asm: New file.
5798 * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
5799 * ginclude/va-v850.h: New file.
5800 * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
5801 * configure.in (mn10200-*-*): New target.
5802 * configure: Rebuilt.
5803 * config.sub: Handle v850-elf.
5804 * Makefile.in (USER_H): Add va-mn10200.h.
5805 * invoke.texi: Document v850 stuff.
5806
5807 Fri Sep 5 09:37:50 1997 Jim Wilson (wilson@cygnus.com)
5808
5809 * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
5810 has integer TYPE_{MAX,MIN}_VALUE before using them.
5811
5812 * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
5813 __HPUX_ASM__ versions.
5814
5815 Fri Sep 5 09:08:44 1997 Jeffrey A Law (law@cygnus.com)
5816
5817 * install.sh: Delete duplicate install script.
5818
5819 Thu Sep 4 23:14:27 1997 Stan Cox (coxs@dg-rtp.dg.com)
5820
5821 * reg-stack.c (subst_stack_regs): Pop the stack register for a
5822 computed goto which sets the same stack register.
5823
5824 * reg-stack.c (compare_for_stack_reg): Swap only if the source and
5825 destination are both on the regstack.
5826 (subst_stack_regs_pat): Put the destination at the top of the regstack.
5827
5828 Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
5829
5830 * mips.md (nonlocal_goto_receiver): Define.
5831
5832 * profile.c (output_arc_profiler): Check next_insert_after for non
5833 NULL before deferencing it.
5834
5835 * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
5836
5837 Thu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com)
5838
5839 * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
5840
5841 Thu Sep 4 15:01:49 1997 Michael Meissner <meissner@cygnus.com>
5842
5843 * toplev.c (rest_of_compilation): For passes starting with
5844 flow_analysis, use print_rtl_with_bb instead of print_rtl.
5845
5846 * print-rtl.c (print_rtl_single): Print a single rtl value to a
5847 file.
5848
5849 * flow.c (print_rtl_with_bb): Print which insns start and end
5850 basic blocks. For the start of a basic block, also print the live
5851 information.
5852
5853 Thu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com>
5854
5855 * toplev.c (main): Change #elif to #else/#ifdef
5856
5857 * tlink.c: Include ctype.h.
5858 * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
5859
5860 Thu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com)
5861
5862 * bitmap.c: Conditionally include stdlib.h.
5863 (free): Provide a declaration if NEED_DECLARATION_FREE.
5864
5865 Thu Sep 4 09:58:53 1997 Joel Sherrill (joel@OARcorp.com)
5866
5867 * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
5868
5869 Thu Sep 4 09:53:20 1997 Jim Wilson (wilson@cygnus.com)
5870
5871 * profile.c (output_arc_profiler): Verify next_insert_after is an
5872 INSN before and after skipping a stack pop.
5873
5874 Thu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5875
5876 * final.c (shorten_branches): Don't count the lengths of deleted
5877 instructions.
5878
5879 Thu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com)
5880
5881 * version.c: Bump for snapshot.
5882
5883 Thu Sep 4 11:04:21 1997 Michael Meissner <meissner@cygnus.com>
5884
5885 * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
5886 two bitmaps ANDed together.
5887 (bitmap_print): Declare.
5888
5889 * bitmap.c (function_obstack): Don't declare any more.
5890 (bitmap_obstack): Obstack for allocating links from.
5891 (bitmap_obstack_init): New static to say whether to initialize
5892 bitmap_obstack.
5893 (bitmap_element_allocate): Use bitmap_obstack to allocate from.
5894 (bitmap_release_memory): Free all memory allocated from
5895 bitmap_obstack.
5896
5897 * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
5898 EXECUTE_IF_AND_IN_BITMAP.
5899
5900 Wed Sep 3 10:39:42 1997 Jim Wilson <wilson@cygnus.com>
5901
5902 * alias.c (true_dependence): Address with AND can alias scalars.
5903 (anti_dependence, output_dependence): Likewise.
5904
5905 * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
5906
5907 Wed Sep 3 09:28:50 CDT 1997 Joel Sherrill (joel@OARcorp.com)
5908
5909 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
5910 mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
5911 sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
5912 definitions. Use -qrtems instead of -mrtems.
5913
5914 Wed Sep 3 09:05:41 1997 Robert Lipe (robert@dgii.com)
5915
5916 * xm-sco5.h (sys_siglist): Define.
5917 (SYS_SIGLIST_DECLARED): Likewise.
5918
5919 Tue Sep 2 23:33:33 1997 Jeffrey A Law (law@cygnus.com)
5920
5921 * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
5922
5923 Wed Sep 3 02:09:30 1997 Torbjorn Granlund <tege@pdc.kth..se>
5924
5925 * except.c (eh_outer_context): Expand masking operation using
5926 expand_binop.
5927
5928 Tue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com>
5929
5930 * alpha.md (floatdisf2-1): New pattern.
5931
5932 Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com)
5933
5934 * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
5935 * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
5936 * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
5937 * gcc.texi: Note that if you define sys_siglist that you should
5938 also define SYS_SIGLIST_DECLARED.
5939
5940 * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
5941 are relative to the next instruction, not the current instruction.
5942
5943 Tue Sep 2 14:22:43 1997 Jim Wilson <wilson@cygnus.com>
5944
5945 * local-alloc.c (contains_replace_regs): New function.
5946 (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
5947 verify that there is no existing REG_EQUIV note, and add a call to
5948 contains_place_regs.
5949
5950 Tue Sep 2 12:48:11 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5951
5952 * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
5953 (STARTFILE_SPEC): Always use crtbegin.o%s
5954 (ENDFILE_SPEC): Always use crtend.o%s.
5955
5956 Tue Sep 2 12:00:36 1997 Jim Wilson <wilson@cygnus.com>
5957
5958 * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
5959 is passed in.
5960 * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
5961 SFmode for 64 bit hosts.
5962
5963 Tue Sep 2 13:42:38 1997 Paul N. Hilfinger <hilfingr@CS.Berkeley.EDU>
5964
5965 * fixincludes: Permits spaces between # and define. Discard C++
5966 comments in sys/pci.h on HP/UX 10.20.
5967
5968 Mon Sep 1 22:13:18 1997 Jeffrey A Law (law@cygnus.com)
5969
5970 * version.c: Bump for snapshot.
5971
5972 * pa.c (restore_unscaled_index_insn_codes): New function.
5973 (record_unscaled_index_insn_codes): Likewise.
5974 (output_function_prologue): Call restore_unscaled_index_insn_codes.
5975 (output_function_epilogue): Free memory for unscaled_index_insn_codes.
5976 (pa_reorg): Call record_unscaled_index_insn_codes.
5977
5978 * haifa-sched.c (move_insn): Handle notes correctly for insns
5979 with SCHED_GROUP_P set.
5980
5981 Mon Sep 1 16:58:57 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5982
5983 * alpha/xm-linux.h (USE_BFD): Undef before define.
5984
5985 Mon Sep 1 16:25:34 1997 Jim Wilson <wilson@cygnus.com>
5986
5987 * cse.c (cse_insn): Don't record BLKmode values.
5988
5989 Mon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com)
5990
5991 * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
5992
5993 Mon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com)
5994
5995 * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
5996 * collect2.c (sys_errlist): Likewise.
5997 * cpplib.c (sys_errlist): Likewise.
5998 * gcc.c (sys_errlist): Likewise.
5999 * protoize (sys_errlist): Likewise.
6000 * configure.in: Check for strerror.
6001 * xm-freebsd.h (HAVE_STRERROR): Remove definition.
6002 * xm-gnu.h (HAVE_STRERROR): Likewise.
6003 * xm-linux.h (HAVE_STRERROR): Likewise.
6004 * xm-netbsd.h (HAVE_STRERROR): Likewise.
6005 * xm-bsd386.h (HAVE_STRERROR): Likewise.
6006 * xm-cygwin32.h (HAVE_STRERROR): Likewise.
6007 * xm-dos.h (HAVE_STRERROR): Likewise.
6008 * xm-mingw32.h (HAVE_STRERROR): Likewise.
6009 * xm-pa.h (HAVE_STRERROR): Likewise.
6010 * xm-papro.h (HAVE_STRERROR): Likewise.
6011 * xm-sysv4.h (HAVE_STRERROR): Likewise.
6012 * configure, config.in: Rebuilt.
6013
6014 * Makefile.in: Add several missing "else true" clauses.
6015
6016 * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
6017 * mips-tfile.c: Likewise.
6018 * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
6019 * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
6020 * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
6021 * configure.in: Check for sys_siglist declaration.
6022 * configure, config.in: Rebuilt.
6023
6024 Mon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com)
6025
6026 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
6027 m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
6028 sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
6029 * i960/i960.h: Added SUBTARGET_SWITCHES macro.
6030 * rs6000/sysv4.h (extra_subtarget_switches): Added new
6031 macro EXTRA_SUBTARGET_SWITCHES.
6032 * configure.in (sh*-*-rtems*): New target.
6033 * sh/rtems.h: New file.
6034 * sh/sh.h: Added SUBTARGET_SWITCHES macro.
6035 * configure: Rebuilt.
6036
6037 Sat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com>
6038
6039 * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
6040
6041 Sat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu>
6042
6043 * rs6000.md: Make DF fused-add operations pay attention to
6044 -mno-fused-add.
6045
6046 Fri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com>
6047
6048 * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
6049
6050 Fri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com)
6051
6052 * pa.md (reload_peepholes): Make sure operand is a REG before
6053 examining REGNO. Allow general registers too.
6054
6055 Fri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com>
6056
6057 * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
6058
6059 Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
6060
6061 * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
6062 to reallocate abbrev_die_table.
6063
6064 Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
6065
6066 * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
6067
6068 1997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6069
6070 * Makefile.in (config.status): Depend on version.c
6071
6072 * expr.h (insn_gen_function): Reenable prototype.
6073
6074 * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
6075 first parameter.
6076
6077 Thu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com>
6078
6079 * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
6080
6081 Thu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com)
6082
6083 * version.c: Bump for latest snapshot.
6084
6085 * bc-optab.c: Conditionally include stdlib.h.
6086 (free): Provide a declaration if NEED_DECLARATION_FREE.
6087 * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
6088 * rtl.h (free): Remove declaration.
6089 * tree.h (free): Remvoe declaration.
6090
6091 * configure: Rebuilt.
6092
6093 Wed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com)
6094
6095 * flags.h (flag_move_all_movables): Declare.
6096 (flag_reduce_all_givs): Likewise.
6097 * loop.c (move_movables): Handle flag_move_all_movables.
6098 (strength_reduce): Handle flag_reduce_all_givs.
6099 * toplev.c (flag_move_all_movables): Define.
6100 (flag_reduce_all_givs): Likewise.
6101 (f_options): Add -fmove-all-movables and -freduce-all-givs.
6102 * invoke.texi: Document new options, including alias stuff that
6103 wasn't included last time.
6104
6105 Wed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com)
6106
6107 * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
6108 * t-mn10200: Ditto.
6109 * t-vxsparc: Ditto.
6110 * t-vxworks68: Ditto.
6111 * t-vxworks960: Ditto.
6112 * t-vx29k: Ditto.
6113
6114 Wed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com>
6115
6116 * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
6117 if not already defined, and USE_C_ALLOCA not defined.
6118
6119 Wed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com>
6120
6121 * config.guess: Replace with script that uses ../config.guess.
6122
6123 * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
6124 if USE_GNULIBC_1 is not defined.
6125
6126 Wed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com>
6127
6128 * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
6129 * config.guess: Recognize alpha-linux-gnulibc1.
6130 * configure.in (alpha-*-linux-gnulibc1): New target.
6131 (alpha-*-linux-gnu*): Don't build crtbegin/end.
6132
6133 Wed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com>
6134
6135 * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
6136 last change.
6137
6138 Wed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com>
6139
6140 * loop.c (combine_movables): Earlier insns don't match later ones.
6141
6142 Wed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
6143
6144 * config/linux.h (CC1_SPEC): Define it only if not defined.
6145
6146 * config/m68k/linux.h (CC1_SPEC): Undefine it before include
6147 <linux.h>
6148
6149 * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
6150 USE_GNULIBC_1 is not defined.
6151
6152 * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1.
6153
6154 * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
6155 as 1 if USE_GNULIBC_1 is not defined.
6156
6157 Wed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com)
6158
6159 * reorg.c (dbr_schedule): Allow current_function_return_rtx
6160 to be something other than a REG.
6161 * function.c (expand_function_end): Fix current_function_return_rtx
6162 if it was a pseudo.
6163
6164 * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
6165 * x-netbsd: Likewise
6166 * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
6167 (INSTALL_HEADERS): Delete.
6168 * x-dguxbcs: Likewise.
6169 * x-hp3bsd44: Likewise
6170 * x-pa: Likewise.
6171
6172 Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
6173
6174 * i386.md (pop): pop increments the stack pointer.
6175 (prologue_set_stack_ptr): New pattern.
6176 * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
6177 instead of subsi3.
6178
6179 Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
6180
6181 * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
6182 address where an offsettable address is required.
6183
6184 Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
6185
6186 * loop.c (check_final_value): Don't miss a biv increment in a
6187 parallel.
6188
6189 Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
6190
6191 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
6192 TYPE_DECL_IS_STUB instead of DECL_NAME.
6193
6194 Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
6195
6196 * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
6197
6198 Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
6199
6200 * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
6201
6202 Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
6203
6204 * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
6205 (find_post_sched_live): Likewise.
6206
6207 * haifa-sched.c (schedule_block): Remove old code to get arguments
6208 from hard regs into pseudos early.
6209
6210 Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
6211
6212 * version.c: Bump for new snapshot.
6213
6214 * local-alloc.c (update_equiv_regs): All the target to reject
6215 promotion of some REG_EQUAL to REG_EQUIV notes.
6216 * pa.h (DONT_RECORD_EQUIVALENCE): Define.
6217
6218 * pa.c (secondary_reload_class): (mem (mem ... )) does not need
6219 secondary reloads.
6220
6221 * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
6222 store of the argument registers.
6223
6224 Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
6225
6226 * fold-const.c (multiple_of_p): New function.
6227 (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
6228
6229 Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
6230
6231 * expr.h (insn_gen_function): Temporarily remove prototype.
6232
6233 Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
6234
6235 * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
6236 filenames. Use sed to extract base filename for install.
6237
6238 Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
6239
6240 * unroll.c (find_splittable_givs): Only share if two givs have the
6241 same add and multiply values.
6242
6243 Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
6244
6245 * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
6246 * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
6247
6248 Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
6249
6250 * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
6251 around branch tables.
6252 * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
6253 and .end_brtab directives if TARGET_GAS.
6254
6255 Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
6256
6257 * alias.c (true_dependence): Pass x_addr not x to varies.
6258
6259 * acconfig.h (NEED_DECLARATION_CALLOC): Add.
6260 * configure.in: Add GCC_NEED_DECLARATION call for calloc.
6261 * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
6262 declarations.
6263 * config.in, configure: Regenerate.
6264
6265 Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
6266
6267 * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
6268 LO_SUM.
6269 (record_set): Handle LO_SUM like PLUS.
6270 (init_alias_analysis): When following chains of base addresses,
6271 do not stop on reaching a hard register.
6272
6273 Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
6274
6275 * version.c: Bump for new snapshot.
6276
6277 Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
6278
6279 * alpha.h (ARCH_ASM_FILE_START): Define.
6280 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
6281 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
6282
6283 Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
6284
6285 * Makefile.in (install-common): Put gcov comment at start of line.
6286
6287 Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
6288
6289 * alias.c (init_alias_analysis): When simplifying the reg_base_value
6290 array, simplify entries for hard registers too.
6291
6292 Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
6293
6294 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
6295 list.
6296
6297 Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
6298
6299 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
6300 block_stack before dereferencing it.
6301
6302 Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
6303
6304 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
6305
6306 Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
6307
6308 * cplus-dem.c: Add 'extern' to prepends_underscore.
6309
6310 Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
6311
6312 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
6313 (get_issue_rate): Delete.
6314 * pa.h (ISSUE_RATE): Define.
6315
6316 * configure.in: Turn on haifa by default for the PA.
6317 * configure: Rebuilt.
6318 * pa.c (override_options): Accept -mschedule=7200 option.
6319 (pa_adjust_cost): No longer need to scale costs for newer
6320 processors.
6321 * pa.h (enum processor_type): Add PROCESSOR_7200.
6322 * pa.md: Revamp scheduling parameters to work better with
6323 haifa. Add scheduling parameters for the 7200.
6324
6325 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
6326 insns too.
6327 (schedule_block): When adjusting basic_block_{head,end}, account
6328 for movement of SCHED_GROUP_P insns too.
6329
6330 * haifa-sched.c (debug_dependencies): Fix thinko.
6331
6332 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
6333 (site.exp, check, check-g++, check-gcc): New targets.
6334
6335 * haifa-sched.c: Make lots of variables static.
6336
6337 Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
6338
6339 * expr.h, real.h: Finish prototyping.
6340
6341 Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
6342
6343 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
6344 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
6345 * reload1.c: Undo bugfix from Aug 11.
6346
6347 Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
6348
6349 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
6350 quotes around the name.
6351 * configure: Regenerate.
6352
6353 Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
6354
6355 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
6356
6357 Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
6358
6359 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
6360 to sub-makes to avoid building more passes than the user might have
6361 requested on the command line.
6362
6363 Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
6364
6365 * configure.in: Expurgate `broken_install' (install is
6366 autoconfed).
6367
6368 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
6369 relevant).
6370
6371 Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
6372
6373 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
6374 functions and declarations.
6375 (analyze_loop_iterations): Use condjump_p.
6376 (insert_bct): Likewise. Use exact_log2.
6377
6378 Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
6379
6380 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
6381 (schedule_region): Likewise.
6382 (schedule_insns): Likewise.
6383
6384 * PROJECTS: Update with Haifa stuff.
6385
6386 Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
6387
6388 * version.c: Change the version string to look like:
6389 egcs-2.90.00 970814 (gcc2-970802 experimental).
6390
6391 * loop.c (is_conditional_branch): Make definition match declaration.
6392
6393 * gcc.c: Take out experimental snapshot warning message.
6394
6395 Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
6396
6397 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
6398 print out the names of the notes. Print out the name of the insn
6399 that is not a note, and not an {,CALL_,JUMP_}INSN.
6400
6401 Wed Aug 13 17:32:38 1997 Jason Merrill <jason@yorick.cygnus.com>
6402
6403 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
6404 again for the slot after we give it RTL.
6405
6406 Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
6407
6408 * configure.in (haifa configury): Fix typo.
6409 * configure: Regenerate.
6410
6411 Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
6412
6413 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
6414
6415 * gcc.info*: Rebuilt.
6416
6417 * COPYING.g77, README.g77: New files.
6418 * real.c (ereal_unto_float, ereal_unto_double): New functions.
6419 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
6420 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
6421
6422 Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
6423
6424 * Integrate Haifa instruction scheduler.
6425 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
6426 to sched with $(SCHED_CFLAGS.
6427 * configure.in: Handle --enable-haifa.
6428 * configure: Rebuilt.
6429 * flags.h: Add new flags for haifa instruction scheduler.
6430 * genattrtab.c (expand_units): For haifa, don't subtract one
6431 when computing blockage.
6432 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
6433 (flag_schedule_speculative): Ditto.
6434 (flag_schedule_speculative_load): Ditto.
6435 (flag_schedule_speculative_load_dangerous): Ditto.
6436 (flag_schedule_reverse_before_reload): Ditto.
6437 (flag_schedule_reverse_after_reload): Ditto.
6438 (flag_branch_on_count_reg): Ditto.
6439 (f_options): Add Haifa switches.
6440 (main): Turn off some Haifa options if appropriate macro is
6441 defined. Process Haifa switches.
6442 * unroll.c (iteration_info): No longer static, since Haifa
6443 scheduler uses it.
6444 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
6445 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
6446 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
6447 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
6448 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
6449 storage for the Haifa scheduler.
6450 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
6451 LABEL_NEXTREF.
6452 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
6453 are defined, call analyze_loop_iterations and insert_bct to use
6454 countdown loops.
6455 (record_giv): Refine test for jumps out of loops if HAIFA is
6456 defined.
6457 (analyze_loop_iterations): New function to identify if we can use
6458 a countdown loop.
6459 (insert_bct): Insert countdown loop.
6460 (instrument_loop_bct): Low level code to insert countdown loop.
6461 (loop_number): Calculate UID of loop.
6462 (indirect_jump_in_function_p): Return true if an indirect jump is
6463 in the function.
6464 (is_power_of_2): Return true if value is a power of 2.
6465 (is_conditional_branch): Return true if insn is a conditional
6466 jump.
6467 (fix_bct_param): Process -fbct-{min,max}-N switches.
6468 (check_bct_param): Return true if loop should be instrumented.
6469 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
6470 (loop_optimize): Initialize.
6471 (get_condition_for_loop): Ditto.
6472 * loop.c (strength_reduce): Inside of code that uses #ifdef
6473 HAVE_decrement_and_branch_on_count code, test it to make sure the
6474 condition is true.
6475 (instrument_loop_bct): Ditto.
6476 * haifa-sched.c: New file.
6477
6478
6479 * Integrate regmove pass.
6480 * Makefile.in (OBJS): Add regmove.o
6481 (regmove.o): Add dependencies.
6482 * flow.c (find_use_as_address): No longer static.
6483 * rtl.h (find_use_as_address): Declare.
6484 * toplev.c (regmove_dump, flag_regmove): Define.
6485 (f_options): Add -fregmove.
6486 (regmove_dump_file, regmove_time): Define.
6487 (fatal_insn): Close the regmove dump file.
6488 (compile_file): Initialize regmove_time; open/close the regmove dump
6489 file as needed. Print regmove time as needed.
6490 (rest_of_compilation): Run regmove pass if requested, dump
6491 RTL after regmove if requested.
6492 (main): If -O2 or more, turn on regmove. Handle dump switches.
6493 * regmove.c: New file.
6494
6495 Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
6496
6497 * Integrate tlink patch from jason@cygnus.com
6498 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
6499 (process_command): Increment n_switches for them. Don't discard
6500 their args. Validate them.
6501 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
6502 From Rohan Lenard.
6503 (process_command): Set include_prefixes from COMPILER_PATH.
6504 (main): Set COLLECT_GCC_OPTIONS sooner.
6505 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
6506 * tlink.c, hash.c, hash.h: New files.
6507 * Makefile.in (USE_COLLECT2): Always use collect2.
6508 (collect2): Depend on and link in hash.o and tlink.o.
6509 (tlink.o, hash.o): Add dependencies.
6510
6511 Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
6512
6513 * Integrate alias analysis changes from jfc@mit.edu
6514 * Makefile.in (OBJS): Add alias.o
6515 (alias.o): Add dependencies.
6516 * alias.c: New file.
6517 * sched.c: Remove alias analysis code. It lives in alias.c now.
6518 (sched_analyze_2): Add new arguments to true_dependence.
6519 (schedule_insns): Always call init_alias_analysis.
6520 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
6521 mark return value from such functions as a pointer and keep track of
6522 them for alias analysis. If a return value from a function is a
6523 pointer, mark it as such.
6524 * combine.c (distribute_notes): Handle REG_NOALIAS.
6525 * cse.c (struct write_data): Delete. No longer needed.
6526 (invalidate): Don't call set_nonvarying_address_components anymore.
6527 Use true_dependence to decide if an entry should be removed from
6528 the hash table.
6529 (invalidate_memory): Remove WRITES argument, simplify appropriately.
6530 Fix all callers.
6531 (note_mem_written): Similarly for WRITE_PTR argument.
6532 (invalidate_from_clobbers): Similarly for W argument.
6533 (invalidate_for_call): Remove memory elements from the hash table.
6534 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
6535 (cse_rtx_varies_p): New function. Derived from old
6536 cse_rtx_addr_varies_p.
6537 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
6538 Don't call note_mem_written anymore. Stack pushes invalidate the stack
6539 pointer if PUSH_ROUNDING is defined. No longer need to call
6540 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
6541 (skipped_writes_memory): Remove variable.
6542 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
6543 (invalidate_skipped_block): Simplify for new alias analysis code.
6544 (cse_set_around_loop): Likewise.
6545 (cse_main): Call init_alias_analysis.
6546 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
6547 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
6548 (f_options): Add new alias checking arguments.
6549 (main): Set flag_alias_check when optimizing.
6550 * local_alloc (validate_equiv_mem_from_store): Add new arguments
6551 to true_dependence.
6552 (memref_referenced_p): Likewise.
6553 * loop.c (NUM_STORES): Increase to 30.
6554 (prescan_loop): Only non-constant calls set unknown_address_altered.
6555 (invariant_p): Add new arguments to true_dependence.
6556 (record_giv): Initialize unrolled and shared fields.
6557 (emit_iv_add_mult): Call record_base_value as needed.
6558 * loop.h (struct induction): Add unrolled and shared fields.
6559 * unroll.c (unroll_loop): Call record_base_value as needed.
6560 (copy_loop_body): Likewise.
6561 (final_biv_value): Likewise.
6562 (final_giv_value): Likewise.
6563 (find_splittable_regs): Likewise. Only create one new pseudo
6564 if we have multiple address GIVs that were combined with the same
6565 dst_reg GIV. Note when a new register is created due to unrolling.
6566 * rtl.c (reg_note_name): Add REG_NOALIAS.
6567 * rtl.h (enum reg_note): Similarly.
6568 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
6569 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
6570 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
6571 (true_dependence, read_dependence, anti_dependence): Likewise.
6572 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
6573 (mark_user_reg, mark_reg_pointer): Likewise.
6574
6575
6576 * Integrate reload bugfix from Wilon which enables the PA port
6577 to bootstrap again.
6578 * reload1.c (reload): Sum needs for both OPADDR_ADDR and and
6579 OPERAND_ADDRESS when computing how many registers an insn needs.
6580 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
6581 conflict.
6582 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
6583 OPADDR_ADDR reload.
6584 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
6585 in reload_reg_use_in_op_addr do not reach the end.
6586 do not reach the end.
6587 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
6588 RELOAD_FOR_OPERAND_ADDRESS.
6589
6590 Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
6591
6592 * egcs project officially starts.
6593
This page took 0.313195 seconds and 6 git commands to generate.