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