oops - add missing return values
[gcc.git] / gcc / ChangeLog
1 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
2
3 * function.c (purge_addressof_1): Add missing return values.
4
5 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
6
7 * function.c (is_addressof): New function. Returns true if
8 the given piece of RTL is an ADDRESSOF.
9 (purge_addressof_1): Make boolean. Return false if the
10 ADDRESSOFs could not be purged.
11 (purge_addressof): If ADDRESSOFs could not be purged from the
12 notes attached to an insn, remove the offending note(s),
13 unless they are attached to a libcall.
14
15 1999-11-05 Andreas Jaeger <aj@suse.de>
16
17 * genoutput.c (null_operand =): Initialize all fields.
18
19 * errors.h: Add extern to prototypes.
20
21 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
22
23 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
24 * configure: Rebuilt.
25
26 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27
28 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
29 (mirror_conflicts): New function.
30 (global_alloc): Call it.
31 (expand_preferences): Remove redundant CONFLICTP test.
32 (find_reg, dump_conflicts): Likewise.
33 (prune_preferences): Process conflicts one word at a time.
34
35 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
36
37 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
38 instead of an explicit loop.
39
40 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
41
42 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
43 if REG_RETVAL check succeeds, then put classp in src_elt.
44
45 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
46
47 * function.c (pad_to_arg_alignment): Only update argument_pad
48 if the argument's alignment is greater than STACK_BOUNDARY.
49
50 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
51
52 * bitmap.h (BITMAP_XFREE): New.
53 * flow.c (life_analysis): Use it.
54 (life_analysis_1): Free blocks.
55
56 * combine.c (undo_commit): New.
57 (try_combine): Use it. Don't zap undobuf.undos.
58 (combine_instructions): Don't zap undobuf.undos; free the
59 undobuf.frees list.
60
61 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
62
63 * stmt.c (cost_table_): New.
64 (estimate_case_costs): Use it instead of xmalloc.
65
66 * toplev.c (compile_file): Reuse dumpname memory instead
67 of strdup'ing it.
68
69 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
70
71 * reg-stack.c (convert_regs_1): Initialize target_stack->top
72 after verifying an EH edge.
73
74 * haifa-sched.c (init_rgn_data_dependences): Correctly
75 size bb_pending_lists_length when zeroing.
76
77 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
78
79 * function.c (diddle_return_value): New.
80 (expand_function_end): Use it.
81 * stmt.c (expand_null_return): Likewise.
82 (expand_value_return): Likewise.
83
84 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
85
86 * reload1.c (reload): Don't remove return value clobbers.
87
88 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
89
90 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
91
92 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
93
94 * cse.c (cse_main): Use xmalloc, not alloca.
95 (cse_basic_block): Likewise.
96 * local-alloc.c (local_alloc): Likewise.
97
98 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
99 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
100
101 * rtl.c: Include toplev.h.
102 (fatal): Remove declaration.
103
104 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
105
106 * haifa-sched.c (schedule_block): Fix thinko.
107
108 1999-11-03 James McKelvey <mckelvey@fafnir.com>
109
110 * fixinc/fixincl.c(create_file): Allow for systems that do not have
111 S_IR* defined values
112
113 1999-11-03 Philippe De Muyter <phdm@macqel.be>
114
115 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
116 call `malloc' instead.
117
118 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
119
120 * flags.h (flag_renumber_insns): Declare.
121 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
122 renumbering table.
123 * rtl.h (renumber_insns): Change prototype.
124 * toplev.c (flag_renumber_insns): Define.
125 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
126
127 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
128
129 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
130 and fpsqrtd. Use them and create fdiv function unit to more
131 accurately represent fpu sqrt pipeline semantics on UltraSparc.
132 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
133
134 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
135
136 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
137 3 on UltraSparc.
138 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
139 insn into ready list, do not use just a raw swap.
140
141 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
142
143 * rtl.h (renumber_insns): New function.
144 (remove_unnecessary_notes): Likewise.
145 * emit-rtl.c (renumber_insns): Define.
146 (remove_unncessary_notes): Likewise.
147 * toplev.c (rest_of_compilation): Remove dead code.
148 Use renumber_insns and remove_unncessary_notes.
149
150 * gcse.c (struct null_pointer_info): New type.
151 (get_bitmap_width): New function.
152 (current_block): Remove.
153 (nonnull_local): Likewise.
154 (nonnull_killed): Likewise.
155 (invalidate_nonnull_info): Take a null_pointer_info as input.
156 (delete_null_pointer_checks_1): New function.
157 (delete_null_pointer_checks): Use it.
158
159 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
160 (split_edges): Likewise.
161 (schedule_block): Likewise.
162 (compute_block_backward_dependencies): Likewise.
163 (schedule_region): Likewise.
164 (schedule_insns): Likewise.
165
166 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
167
168 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
169 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
170 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
171 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
172 * jump.c (delete_unreferenced_labels): Don't delete if
173 LABEL_ALTERNATE_NAME is set.
174 * print-rtl.c (print_rtx): Dump alternate name.
175 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
176 * rtl.h (LABEL_ALTERNATE_NAME): Define.
177 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
178 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
179
180 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
181
182 * fix-header.c (recognized_extern, recognized_function): Constify
183 a char*.
184
185 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
186 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
187 (compute_available): Remove unused variable `last'.
188 (compute_nearerout): Remove unused variable `temp_bitmap'.
189 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
190 Remove unused variable `x'.
191
192 * scan.h (recognized_function, recognized_extern): Constify a
193 char*.
194
195 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
196
197 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
198
199 * varasm.c (decode_rtx_const): Use XSTR to access the string
200 of a SYMBOL_REF.
201
202 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
203
204 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
205
206 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
207
208 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
209
210 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
211
212 * pa.c (ireg_operand): New function.
213 * pa.h (PREDICATE_CODES): Handle ireg_operand.
214 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
215 Fix out of date comment.
216
217 * pa.md (negdi2): Turn into expander + anonymous pattern.
218
219 * reload.c (find_reloads): Fix typos in recent change.
220
221 * dwarf2out.c: Do not include ctype.h.
222
223 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
224
225 * regclass.c (record_reg_classes): Always use may_move_cost when
226 seeing how operand fits with various register classes.
227
228 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
229
230 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
231 * toplev.c: Revert Nov 1 13:22 change.
232
233 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
234
235 * config/pa/pa.md (height reduction patterns): Add checks for
236 overlapping operands to avoid semantic-destroying splits for
237 height reduction patterns.
238
239 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
240
241 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
242 have been an hyphen, fixed.
243 * configure: Rebuilt.
244
245 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
246
247 * config/arm/tpe.h: Add prototypes for exported functions.
248 * config/arm/pe.c: Fix compile time warnings.
249 * config/arm/semi.h: Fix compile time warnings.
250 * config/arm/arm.c: Fix compile time warnings.
251 * config/arm/arm.h: Fix compile time warnings.
252 * config/arm/arm.md: Fix compile time warnings.
253 * config/arm/thumb.c: Fix compile time warnings.
254 * config/arm/thumb.h: Fix compile time warnings.
255 * config/arm/thumb.md: Fix compile time warnings.
256
257 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
258
259 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
260 detection code
261
262 * unroll.c (unroll_loop): Remove LOOP notes when loop is
263 completely unrolled.
264
265 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
266
267 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
268
269 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
270
271 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
272 * rtl.h (rtx_equal_p): Move prototype.
273 * rtl.c (rtx_equal_function_value_matters): Move from
274 rtlanal.c
275 (rtx_equal_p): Likewise.
276 * rtlanal.c (rtx_equal_function_value_matters): Delete.
277 (rtx_equal_p): Likewise.
278
279 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
280
281 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
282 ! HAS_INIT_SECTION.
283
284 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
285
286 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
287
288 * pa.h (ADDR_VEC_ALIGN): Define.
289
290 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
291 notes when presented with "if (foo) break; end_of_loop" and
292 the break sequence gets moved out of the loop.
293
294 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
295 Remove explicit zero initializations of entries within MAP.
296
297 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
298
299 * reg-stack.c (convert_regs_1): Handle EH edges specially.
300
301 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
302
303 * bitmap.h (BITMAP_XMALLOC): New macro.
304 * flow.c (CLEAN_ALLOCA): Remove.
305 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
306 (life_analysis): Likewise.
307 (update_life_info): Don't use CLEAN_ALLOCA.
308 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
309 (calculate_global_regs_live): Likewise.
310 (print_rtl_with_bb): Likewise.
311 (verify_flow_info): Likewise.
312 * global.c (global_alloc): Likewise.
313 (global_conflicts): Likewise.
314 * integrate.c (save_for_inline_nocopy): Likewise.
315 (expand_inline_function): Likewise.
316 * jump.c (jump_optimize_1): Likewise.
317 (duplicate_loop_exit_test): Likewise.
318 (thread_jumps): Likewise.
319 * loop.c (loop_optimize): Likewise.
320 (combine_givs): Likewise.
321 (recombine_givs): Likewise.
322 * reorg.c (dbr_schedule): Likewise.
323 * unroll.c (unroll_loop): Likewise.
324
325 * combine.c (combine_instructions): Use xmalloc instead of alloca.
326
327 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
328
329 * toplev.c (rest_of_compilation): Don't optimize the CFG
330 when rebuilding, just before dbr.
331
332 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
333
334 * output.h (assemble_end_function, assemble_destructor,
335 assemble_constructor, assemble_gc_entry, assemble_global,
336 assemble_label, output_constant_pool) Constify a char*.
337
338 * varasm.c (assemble_destructor, assemble_constructor,
339 assemble_gc_entry, assemble_end_function, assemble_global,
340 assemble_label, output_constant_pool): Likewise.
341
342 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
343
344 * config/arm/thumb.c (thumb_expand_prologue): Add comments
345 explaining what is goin on in this function.
346
347 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
348
349 * regclass.c (record_reg_classes): In matching case, recompute
350 costs since the direction of movement is different.
351
352 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
353
354 * resource.c (mark_target_live_regs): For unconditional branches,
355 the resources found at the branch target should be added to the
356 resources found so far, not intersected.
357
358 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
359
360 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
361 old cpp's.
362 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
363 (sys/mman.h): Include this file only if #HAVE_MMAP.
364 (run_compiles): Initialize `esac_fmt' with one old KR string, not
365 with automatically concatenated ANSI strings.
366
367 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
368
369 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
370 (DIV_ROUND_UP): Robustify.
371 (ggc_recalculate_in_use_p): New function.
372 (release_pages): Don't inline it.
373 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
374 outer contexts.
375 (ggc_pop_context): Use ggc_recalculate_in_use_p.
376 (clear_marks): Always save in_use_p.
377 (sweep_pages): Use ggc_recalculate_in_use_p.
378 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
379 Release pages before counting statistics.
380
381 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
382
383 * toplev.c (rest_of_compilation): Fix thinko in this change:
384
385 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
386
387 (rest_of_compilation): If inside an inlined external function,
388 pretend we are just being declared.
389
390 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
391
392 * flow.c (calculate_global_regs_live): Fix thinko.
393
394 * integrate.c (expand_inline_function): Fix bugs in previous
395 change from Oct 28, 1999.
396
397 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
398
399 * stmt.c (expand_value_return): Fix typo in this change:
400
401 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
402 (expand_value_return): Correctly convert VAL when promoting function
403 return; support RETURN_REG being a PARALLEL.
404
405 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
406
407 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
408
409 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
410
411 * hard-reg-set.h (reg_names): Constify a char*.
412
413 * regclass.c (reg_names): Likewise.
414
415 * regs.h (reg_names): Likewise
416
417 * a29k/a29k.c (reg_names): Delete declaration.
418
419 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
420
421 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
422 arc_output_function_epilogue): Likewise.
423
424 * elxsi/elxsi.c (reg_names): Likewise.
425
426 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
427
428 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
429 Likewise.
430
431 * m88k/m88k.c (output_function_profiler): Likewise.
432
433 * sparc/sparc.c (sparc_flat_output_function_prologue,
434 sparc_flat_output_function_epilogue): Likewise.
435
436 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
437
438 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
439 warning from -Wuninitialized and put it under -W.
440 * function.c (uninitialized_vars_warning): Warn only when the
441 corresponding flag is set.
442
443 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
444
445 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
446 is nonzero and the single set does not have an elt, then assign
447 it an elt.
448
449 * simplify-rtx.c: New file.
450 * Makefile.in (OBJS): Add simplify-rtx.o
451 (simplify-rtx.o): Add dependencies.
452 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
453 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
454 (cse_gen_binary, simplify_unary_operation): Delete.
455 (simplify_binary_operation, simplify_plus_minus): Likewise.
456 (check_fold_consts, simplify_relation_operation): Likewise.
457 (simplify_ternary_operation): Likewise.
458 (delete_trivially_dead_insns): Simplify the contents of the
459 REG_EQUAL note before trying to substitute it into the source
460 of the reg-reg copy at the end of a libcall sequence.
461
462 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
463 references/callers changed.
464
465 * mn10200.c (mn10200_va_arg): Force the return value into a
466 register.
467
468 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
469
470 * cccp.c (macroexpand): Avoid out of range accesses for omitted
471 arguments.
472
473 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
474
475 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
476
477 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
478
479 * fold-const.c (fold): Fix thinko when optimizing comparisons
480 against -0.0.
481
482 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
483
484 * gcc.texi (Passes): Update front-end files to their current
485 location.
486
487 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
488
489 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
490 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
491 (PREDICATE_CODES): Add addition_operation.
492 * alpha-protos.h (addition_operation): Declare.
493 (secondary_reload_class): Likewise.
494 * alpha.c (addition_operation): New.
495 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
496 * alpha.md (adddi3): Turn into expander.
497 (*lda, *adddi_2): New.
498 (movsf, movdf patterns): Don't preference integer regs.
499 (movsi, movdi patterns): Don't preference fp regs.
500
501 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
502
503 * genrecog.c (write_switch): Check for duplicate CODE cases.
504
505 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
506
507 * ggc-common.c: Update pre-function commentary.
508 * ggc-page.c: Likewise.
509 (poison): Remove.
510 (poison_pages): Use memset directly.
511 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
512 (ggc_collect): Poison before sweeping.
513 * ggc-simple.c: Update pre-function commentary.
514 (ggc_alloc_obj): Poison non-zeroed memory.
515
516 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
517
518 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
519 match format string, even on 64-bit hosts.
520 * gcc-page.c (ggc_page_print_statistics): Likewise.
521
522 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
523
524 * config/i386/i386.c (ix86_cpu): Revert last patch.
525 * config/i386/i386.h (ix86_cpu): Ditto.
526
527 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
528
529 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
530 TYPE_SIZE, convert type of result to sizetype.
531
532 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
533
534 * flow.c (count_or_remove_death_notes): Equate NULL with the
535 universal set.
536
537 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
538 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
539 dbr_schedule.
540
541 * i386.c (pic_label_no): Delete.
542 (ix86_attr_length_default): Don't use single_set to peek
543 inside a parallel.
544
545 * recog.c (peephole2_optimize): Allow recog_next_insn to index
546 the first insn after bb->end.
547 * i386.md (push mem peeps): Scratch is live after evaluation
548 of the memory.
549 (cmp mem peep): Similarly.
550
551 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
552
553 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
554 * function.c (pad_to_arg_alignment): Add missing braces.
555
556 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
557
558 * alpha/alpha-protos.h (literal_section): Add prototype.
559 (alpha_need_linkage, alpha_start_function,alpha_end_function):
560 Constify a char*.
561
562 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
563 prototype.
564 (alpha_start_function, alpha_end_function, float_strings,
565 alpha_need_linkage): Constify a char*
566
567 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
568
569 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
570
571 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
572
573 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
574
575 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
576
577 * flow.c (debug_flow_info): Add prototype.
578
579 * gcc.c (main): Likewise.
580
581 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
582 Likewise.
583
584 * reload1.c (failed_reload, set_reload_reg): Likewise.
585
586 * mips-tfile.c (main): Likewise.
587 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
588 with ATTRIBUTE_NORETURN.
589
590 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
591
592 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
593 DECL is not a memory ref.
594
595 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
596
597 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
598 * config/i386/i386.c (ix86_cpu): Add extern attribute.
599
600 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
601
602 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
603 * config/mips/elf64.h: ditto.
604
605 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
606
607 * expr.c (emit_push_insn): New argument alignment_pad.
608 Update all callers. Adjust stack pointer based on alignment pad.
609 * function.c (pad_to_arg_alignment): New argument alignment_pad.
610 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
611 (locate_and_pad_parm): New argument alignment_pad. Update all
612 callers.
613 * expr.h (emit_push_insn): Update prototype.
614 (locate_and_pad_parm): Update prototype.
615 * calls.c (arg_data): Add new field alignment_pad.
616 (initialize_argument_information): Initialize alignment_pad.
617
618 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
619
620 * except.c (free_eh_nesting_info): Free the info itself.
621 * function.c (free_after_compilation): Don't free NULL.
622 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
623 (pre_edge_insert): Free inserted.
624 * stmt.c (free_stmt_status): Don't free NULL.
625
626 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
627
628 * gcov.c (DIR_SEPARATOR): Provide default.
629 (output_data): Add test for MS-DOS format absolute filename.
630 (fancy_abort): Correct program name.
631 (open_files): Open all files in binary mode.
632 * libgcc2.c (__bb_exit_func): Likewise.
633
634 * profile.c (init_branch_prob): Specify binary when opening files.
635
636 * flags.h (flag_unwind_tables): New decl.
637 * toplev.c (flag_unwind_table): New definition.
638 (f_options): Add -funwind-tables.
639 (decode_g_option): Clarify warning when unknown -g option is given.
640 (rest_of_compilation): If inside an inlined external function,
641 pretend we are just being declared.
642
643 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
644 (dwarf2out_frame_finish): Likewise.
645
646 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
647
648 * fold-const.c (merge_ranges): In not in0, but in1, handle
649 upper bounds equal like subset case.
650
651 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
652
653 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
654 passed in a register but moved to the stack.
655
656 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
657
658 * gcc.c (pass_exit_codes, greatest_status): New variables.
659 (struct option_map): Add entry for "--pass-exit-codes".
660 (execute): Update greatest_status if error.
661 (display_help): Add documentation for -pass-exit-codes.
662 (process_command): Handle -pass-exit-codes.
663 (main): Look at pass_exit_codes and greatest_status on call to exit.
664
665 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
666
667 * reload.c (find_reloads): Refine test for no input reload
668 case to not includes reloads emitted after insn.
669
670 * function.c (find_temp_slots_from_address): Handle sum involving
671 a register that points to a temp slot.
672 (update_temp_slot_address): Make recursive call if both old and
673 new are PLUS with a common operand.
674 * calls.c (expand_call): Mark temp slot for result as having
675 address taken.
676
677 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
678
679 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
680 component as well as "BINUTILS".
681
682 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
683 * integrate.c (copy_rtx_and_substitute): Likewise.
684 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
685 All callers changed.
686 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
687
688 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
689 gdb extensions, write size of type; also be more consistent
690 in using references when this is a subtype.
691
692 * pa.md (extv, extzv, insv): Use define_expand to reject constant
693 that is out of range.
694
695 * loop.c (unknown_constant_address_altered): New variable.
696 (prescan_loop): Initialize it.
697 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
698 (invariant_p, case MEM): Remove handling for volatile and readony;
699 check new variable if readonly.
700 (check_dbra_loop): Chdeck unknown_constant_address_altered.
701
702 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
703 (addr_affects_sp_p): Removed from note_mem_written and only
704 define #ifdef AUTO_INC_DEC.
705
706 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
707
708 * regclass.c (record_reg_classes): Properly handle register move
709 directions.
710
711 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
712 Don't think valid if both operands are invalid.
713 (struct constant_descriptor): New field RTL.
714 (mark_const_hash_entry): Mark it.
715 (record_constant{,_rtx}): Initialize it.
716 (output_constant_def): Allocate RTL in permanent obstack and
717 save in table.
718 ({record,compare}_constant_1): Modes must match for
719 CONSTRUCTOR of ARRAY_TYPE.
720
721 * c-common.h (initializer_constant_valid_p): Delete decl from here.
722 * output.h (initializer_constant_valid_p): Move decl to here.
723 * c-common.c (initializer_constant_valid_p): Delete function from here.
724 * varasm.c (initializer_constant_valid_p): Move function to here.
725
726 * tree.h (STRIP_SIGN_NOPS): New macro.
727 * fold-const.c (optimize_minmax_comparison): New function.
728 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
729 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
730 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
731 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
732 widening conversions.
733 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
734 to look at size of mode, not precision of type; also add missing cases.
735 (optimize_bit_field_compare, decode_field_reference): Don't try to
736 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
737
738 * dwarf2out.c (ctype.h): Include.
739 (dwarf2out_set_demangle_name_func): New function.
740 (size_of_line_info): Deleted.
741 (output_line_info): Compute size of line info table from difference
742 of labels.
743 (base_type_die, add_name_attribute): Call demangle function, if any.
744 (field_byte_offset): Use bits per word for variable length fields.
745 (gen_array_type_die): Add array name.
746 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
747 (dwarf2out_add_library_unit_info): New function.
748
749 * explow.c (set_stack_check_libfunc): New function.
750 (stack_check_libfunc): New static variable.
751 (probe_stack_range): Allow front-end to set up a libfunc to call.
752
753 * combine.c (simplify_comparison): When making comparison in wider
754 mode, check for having commuted an AND and a SUBREG.
755 (contains_muldiv): New function.
756 (try_combine): Call it when dividing a PARALLEL.
757 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
758 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
759 a PLUS.
760 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
761 use one of the CLOBBERs instead.
762 (if_then_else_cond): If comparing against zero, just return thing
763 being compared.
764
765 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
766 Don't generate shifts and subtract if have conditional arithmetic.
767
768 * rtl.h (delete_barrier): New declaration.
769 * jump.c (jump_optimize): Set up to handle conditional call.
770 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
771 (delete_barrier): New function.
772
773 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
774
775 * recog.c (nonmemory_operand): Accept ADDRESSOF.
776
777 * tree.c (build_type_attribute_variant): Push to obstack of
778 ttype around type_hash_canon call.
779
780 * expr.c (placeholder_list): Move decl to file scope.
781 (expand_expr): Don't force access to volatile just because its
782 address is taken.
783 If ignoring reference operations, just expand the operands.
784 (expand_expr, case COMPONENT_REF): Propagate
785 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
786 Refine test for using bitfield operations vs pointer punning.
787 (expand_expr, case CONVERT_EXPR): If converting to
788 BLKmode UNION_TYPE from BLKmode, just return inner object.
789 Use proper mode in store_field call.
790 Properly set sizes of object to store and total size in store_field
791 call for convert to union.
792 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
793 memory (like for ADDR_EXPR). Also, don't put constant in register if
794 we'll want it in memory.
795 (readonly_fields_p): New function.
796 (expand_expr, case INDIRECT_REF): Call it if LHS.
797 (expand_assignment): Handle a RESULT_DECL where
798 DECL_RTL is a PARALLEL.
799 (do_jump, case WITH_RECORD_EXPR): New case.
800 (get_inner_reference): Always go inside a CONVERT_EXPR
801 and NOP_EXPR if both modes are the same.
802 (store_field): Use bitfield operations if size of bitsize is not same
803 as size of RHS's type.
804 Check for bitpos not a multiple of alignment in BLKmode case.
805 Do block move in largest possible alignment.
806 (store_constructor): Set BITSIZE to -1 for variable size and properly
807 in case of array of BLKmode.
808 (expand_expr_unaligned): New function.
809 (do_compare_and_jump): Call it.
810
811 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
812 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
813 does not include 'o'.
814
815 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
816 both SET_DEST and SET_SRC reference a virtual register.
817 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
818
819 * integrate.c (expand_inline_function): Handle case of setting
820 virtual stack vars register (from built in setjmp); when parameter
821 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
822 (subst_constant): Add new parm, MEMONLY.
823 (expand_inline_function, integrate_parm_decls): Pass new parm.
824 (integrate_decl_tree): Likewise.
825 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
826 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
827 (copy_rtx_and_substitute, case SET): Add explicit calls to
828 copy_rtx_and_substitute for both sides.
829
830 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
831 constraints.
832 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
833 within INDEX_TYPE, instead of before.
834 (fixup_gotos): Use f->target_rtl, not the next insn,
835 since latter may be from a later fixup.
836 (expand_value_return): Correctly convert VAL when promoting function
837 return; support RETURN_REG being a PARALLEL.
838 (expand_return): When checking for result in regs and having
839 cleanup, consider PARALLEL in DECL_RTL as being in regs.
840
841 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
842
843 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
844 last_nominal_fname): Mark const.
845 (struct include_hash: name, nshort, control_macro): Mark
846 const.
847 (struct macrodef: symnam): Mark const.
848 (struct if_stack: fname): Mark const.
849 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
850 (IStable): New character-syntax array which encompasses all
851 the old is_foo arrays.
852 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
853 is_space): New macros for interrogating IStable.
854 (check_macro_name): Kill last argument. All callers changed.
855
856 * cppinit.c (initialize_char_syntax): Delete.
857 (is_idchar, is_idstart, is_hor_space, is_space,
858 trigraph_table): Delete.
859 (IStable): New. Initialize with clever macros to avoid
860 information duplication.
861 (builtin_array): Table of builtins to get rid of explicit list
862 in initialize_builtins.
863 (initialize_builtins): Use builtins_array.
864 (cpp_start_read): Call init_IStable, and set IStable['$'] if
865 opts->dollars_in_ident.
866
867 * cppexp.c: Change all refs to is_xyz[] arrays to use new
868 is_xyz() macros.
869 (cpp_parse_expr): Avoid 'format string is not constant'
870 warning. Use ISGRAPH to identify printable chars.
871 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
872 is_xyz() macros.
873 (read_and_prescan): Map trigraphs to chars with open-coded
874 if-else-if-... sequence, not a lookup table.
875 * cpphash.c: Change all refs to is_xyz[] arrays to use new
876 is_xyz() macros.
877 * cpplib.c: Change all refs to is_xyz[] arrays to use new
878 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
879 (check_macro_name): Remove ability to report an invalid
880 assertion name, which is never used.
881 (do_line): Constify a couple of char *'s.
882 * cppmain.c (main): Call cpp_cleanup before returning.
883
884 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
885
886 * ggc.h (struct ggc_statistics): New type.
887 (ggc_get_size): New function.
888 (ggc_print_statistics): Likewise.
889 * ggc-common.c (ggc_stats): New variable.
890 (ggc_mark_rtx_children): Keep statistics.
891 (ggc_mark_tree_children): Likewise.
892 (ggc_print_statistics): New function.
893 * ggc-page.c (struct globals): Add bytes_mapped field.
894 (alloc_anon): Update it.
895 (release_pages): Likewise.
896 (ggc_get_size): New function.
897 (ggc_page_print_statistics): New function.
898 * ggc-simple.c (ggc_get_size): New function.
899
900 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
901
902 * flow.c (propagate_block): When the last reference to a label
903 before an ADDR_VEC is deleted because the reference is a dead
904 store, delete the ADDR_VEC.
905
906 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
907
908 * resource.c (find_free_register): Don't use the frame pointer
909 if frame_pointer_needed.
910
911 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
912
913 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
914 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
915
916 * config/i960/i960.c (i960_va_start): New locals base, num.
917 Use INDIRECT_REF instead of ARRAY_REF on valist.
918 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
919
920 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
921
922 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
923
924 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
925
926 * tree.def (PLACEHOLDER_EXPR): Update comments.
927
928 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
929
930 * c-common.c (check_format_info): Avoid non-literal format string
931 warnings when `first_arg_num' is zero.
932
933 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
934
935 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
936
937 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
938
939 * arm.md (casesi_insn): Add a clobber of the condition code
940 register.
941
942 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
943
944 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
945 used by both cc1 and cc1plus.
946
947 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
948
949 * config/arm/arm.c: Initialise arm_structure_size_boundary to
950 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
951 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
952 to the value 32 if it has not already been defined.
953 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
954 Override definition in arm.h with a value of 8.
955
956 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
957
958 * c-pragma.c (push_alignment): Don't check the return value
959 of xmalloc.
960
961 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
962
963 * sparc.h (ADJUST_COST): Fix thinko.
964
965 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
966
967 * cccp.c (rescan): Fixed obp pointer handling around call to
968 check_expand subroutine.
969
970 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
971
972 * gcse.c (delete_null_pointer_checks): Only record non-null info
973 for pseudos when examining stores.
974
975 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
976 splitters for these patterns. Use "#" for output templates.
977 (addsi3_carryin_shift): New pattern.
978
979 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
980
981 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
982 of the function return register into a plain REG until
983 after function inlining is done.
984
985 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
986
987 * jump.c (jump_optimize_1): If we did cross-jumping, and
988 the data will matter, rebuild the CFG.
989 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
990 not optimizing. Don't run shorten_branches.
991 * toplev.c (rest_of_compilation): Run shorten_branches after
992 reg_to_stack.
993
994 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
995
996 * rtl.h (note_stores): Add additional paramter.
997 * rtlanal.c (reg_set_p_1): Take additional paramter.
998 (reg_set_last_1): Likewise.
999 (reg_set_p): Adjust call to note_stores.
1000 (reg_set_last): Likewise.
1001 (note_stores): Pass data parameter to worker function.
1002 * alias.c (record_set): Take additional parameter.
1003 (init_alias_analysis): Pass it.
1004 * caller-save.c (mark_set_regs): Take additional parameter.
1005 (save_call_clobbered_regs): Pass NULL to note_stores.
1006 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
1007 parameter.
1008 (record_dead_and_set_regs_1): Likewise.
1009 (reg_dead_at_p_1): Likewise.
1010 (combine_instructions): Adjust calls to note_stores.
1011 (try_combine): Likewise.
1012 (record_dead_insn): Remove.
1013 (record_dead_and_set_regs): Adjust calls to note_stores.
1014 (reg_dead_at_p): Likewise.
1015 * cse.c (invalidate_skipped_set): Take additional parameter.
1016 (cse_check_loop_start): Likewise.
1017 (cse_check_loop_start_value): Remove.
1018 (cse_set_around_loop): Adjust calls to note_stores.
1019 * flow.c (notice_stack_pointer_modification): Take additional
1020 parameter. Remove duplicate declaration.
1021 (record_volatile_insns): Adjust calls to note_stores.
1022 * gcse.c (record_set_info): Take additional parameter.
1023 (record_last_set_info): Likewise.
1024 (invalidate_nonnull_info): Likewise.
1025 (record_set_insn): Remove.
1026 (compute_sets): Adjust calls to note_stores.
1027 (last_set_insn): Remove.
1028 (compute_hash_table): Adjust calls to note_stores.
1029 (insert_insn_end_bb): Likewise.
1030 (delete_null_pointer_checks): Likewise.
1031 * global.c (mark_reg_store): Take additional parameter.
1032 (mark_reg_clobber): Likewise.
1033 (reg_becomes_live): Likewise.
1034 (global_conflicts): Adjust calls to note_stores.
1035 (build_insn_chain): Likewise.
1036 * integrate.c (note_modified_parmregs): Take additional parameter.
1037 (mark_stores): Likewise. Make it static.
1038 (save_for_inline_nocopy): Adjust calls to note_stores.
1039 (try_constants): Likewise.
1040 * integrate.h (mark_stores): Remove declaration.
1041 * jump.c (mark_modified_reg): Take additional parameter.
1042 (thread_jumps): Adjust calls to note_stores.
1043 * local-alloc.c (validate_equiv_mem_from_store): Take additional
1044 parameter.
1045 (no_equiv): Likewise.
1046 (reg_is_set): Likewise.
1047 (validate_equiv_mem): Adjust calls to note_stores.
1048 (update_equiv_regs): Likewise.
1049 (block_alloc): Likewise.
1050 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
1051 (note_addr_stored): Take additional parameter.
1052 (note_set_pseudo_multiple_uses): Likewise.
1053 (record_initial): Likewise.
1054 (prescan_loop): Adjust calls to note_stores.
1055 (strength_reduce): Likewise.
1056 (check_dbra_loop): Likewise.
1057 * regmove.c (flags_set_1): Take additional paramter.
1058 (mark_flags_life_zones): Adjust calls to note_stores.
1059 * reload1.c (mark_not_eliminable): Take additional parameter.
1060 (forget_old_reloads_1): Likewise.
1061 (reload_cse_invalidate_rtx): Likewise.
1062 (reload_cse_check_clobber): Likewise.
1063 (reload_combine_note_store): Likewise.
1064 (move2add_note_store): Likewise.
1065 (reload): Adjust calls to note_stores.
1066 (reload_as_needed): Likewise.
1067 (emit_reload_insns): Likewise.
1068 (reload_cse_regs_1): Likewise.
1069 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
1070 (reload_combine): Adjust calls to note_stores.
1071 * resource.c (update_live_status): Take additional paramter.
1072 (mark_target_live_regs): Adjust calls to note_stores.
1073 * stupid.c (find_clobbered_regs): Take additional parameter.
1074 (stupid_life_analysis): Adjust calls to note_stores.
1075
1076 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
1077
1078 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
1079 definition.
1080
1081 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
1082 definition.
1083
1084 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
1085 of the variable arm_structure_size_boundary.
1086
1087 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
1088
1089 * alias.c (init_alias_analysis): Allocate reg_known_value and
1090 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
1091 and reg_seen.
1092 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
1093 * cse.c (cse_main): Call end_alias_analysis.
1094 * haifa-sched.c (schedule_insns): Likewise.
1095 * local-alloc. (update_equiv_regs): Likewise.
1096 * reload1.c (reload_cse_regs): Likewise.
1097
1098 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1099
1100 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
1101 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
1102 mapping from MASK_FPU.
1103
1104 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
1105
1106 * sparc.md (call): Don't bound structure return size to 0xfff.
1107
1108 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
1109
1110 * resource.c (mark_target_live_regs): Check that the target
1111 insn wasn't created after compute_bb_for_insn.
1112
1113 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
1114
1115 * ggc-page.c (poison_pages): Don't be overzealous.
1116
1117 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
1118
1119 * alias.c: Update comments for ADDRESS.
1120 (nonlocal_reference_p): Look inside the ADDRESS to determine if
1121 it is a local memory reference.
1122
1123 * c-typeck.c (build_function_call): Check that the built-in
1124 function is of class BUILT_IN_NORMAL before trying to recongize
1125 it as BUILT_IN_ABS.
1126 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
1127 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
1128
1129 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
1130
1131 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
1132 of alloca.
1133 (pre_gcse): Likewise.
1134 (hoist_expr_reaches_here_p): Likewise.
1135 (hoist_code): Likewise.
1136 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
1137 code to ...
1138 (pre_expr_reaches_here_p_work): ... here.
1139 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
1140 code to ...
1141 (expr_reaches_here_p_work): ... here.
1142
1143 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
1144
1145 * resource.c (find_basic_block): Delete.
1146 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
1147 (init_resource_info): Call compute_bb_for_insn.
1148
1149 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
1150
1151 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
1152 with already adjacent blocks, but no fallthru.
1153 (merge_blocks_move_successor_nojumps): Simplify.
1154 (debug_flow_info): New.
1155
1156 * toplev.c (rest_of_compilation): Open jump1 dump file before
1157 jump and close after, as opposed to just using dump_rtl.
1158
1159 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1160
1161 * reload.h (earlyclobber_operand_p): Declare.
1162 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
1163 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
1164 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
1165 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
1166
1167 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
1168 Richard Henderson <rth@cygnus.com>
1169
1170 * emit-rtl.c (emit_block_insn_before): New.
1171 (emit_block_insn_after): New.
1172 * basic-block.h: Declare them.
1173
1174 * bitmap.h: Protect from multiple inclusion.
1175
1176 * recog.c (scratch_operand): Handle VOIDmode correctly.
1177
1178 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
1179
1180 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
1181 * function.c (assign_parms): Likewise.
1182 * global.c (global_conflicts): Clarify STACK_REGS commentary.
1183
1184 * reg-stack.c (max_uid): Remove.
1185 (blocks, block_begin, block_end, block_drops_in): Remove.
1186 (block_stack_in, block_out_reg_set, block_number): Remove.
1187 (struct block_info_def, BLOCK_INFO): New.
1188 (enum emit_where): New.
1189 (current_block): New.
1190 (BLOCK_NUM): Remove.
1191 (mark_regs_pat, record_label_references): Remove.
1192 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
1193 (nan): New.
1194 (goto_block_pat, print_blocks, dump_stack_info): Remove.
1195 (reg_to_stack): Simplified test for existance of fp code. Use
1196 flow.c code. Call shorten_branches after cross-jump opt.
1197 (check_asm_stack_operands): Renamed from record_asm_reg_life.
1198 Return false if the asm doesn't use stack regs. Don't do life
1199 analysis on the asm.
1200 (emit_pop_insn): Replace function pointer arg `when' with
1201 enum `where'. Update all callers.
1202 (change_stack): Likewise. Update basic block end.
1203 (emit_swap_insn): Use current_block->head to limit reverse search
1204 for start of block. Use emit_block_insn_after.
1205 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
1206 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
1207 structure assignment instead of bcopy.
1208 (print_stack): New.
1209 (convert_regs_entry, convert_regs_exit): New.
1210 (convert_regs_1, convert_regs_2): Split out from convert_regs.
1211 Work on basic blocks and the CFG.
1212 (convert_regs): Use them.
1213
1214 * i386.c (output_fix_trunc): Remove code for DImode input operand
1215 not at top-of-stack.
1216 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
1217 appropriate mode.
1218 (fix_truncdi_1): Allow any mode scratch.
1219
1220 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
1221
1222 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
1223 * linux.h, netbsd.h, vms.h: Not here.
1224
1225 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
1226
1227 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
1228 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
1229 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
1230 CONDITIONAL_REGISTER_USEAGE): Use them.
1231 * config/mips/mips.c (mips_move_1word,mips_move_2words,
1232 gen_conditional_branch,override_options) : Use them.
1233 * config/mips/mips.md : Use them.
1234
1235 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
1236
1237 * i386.md (zero_extendqihi2): Use SImode register name with andl.
1238
1239 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
1240
1241 * integrate.c (function_cannot_inline_p): Don't allow inlining
1242 if setjmp is used.
1243
1244 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1245
1246 * c-parse.in (cast_expr): Constify.
1247
1248 * cccp.c (special_symbol): Likewise.
1249
1250 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
1251
1252 * dwarf2out.c (base_type_die): Likewise.
1253
1254 * global.c (allocno_compare): Likewise.
1255
1256 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
1257
1258 * regclass.c (fix_register): Likewise.
1259
1260 * rtl.h (fix_register): Likewise.
1261
1262 * stupid.c (stupid_reg_compare): Likewise.
1263
1264 * toplev.c (decode_f_option): Likewise.
1265
1266 * tree.c (build_complex_type): Likewise.
1267
1268 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
1269
1270 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
1271
1272 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1273
1274 * reload.c (find_reloads): Compute mode and nregs fields of all
1275 reloads.
1276 * reload1.c (calculate_needs_all_insns): Simplify a bit.
1277 (calculate_needs): Use precomputed mode/nregs values.
1278 (allocate_reload_reg): Likewise.
1279 Break out two...
1280 (failed_reload, set_reload_reg): ... new functions.
1281 (choose_reload_regs_init): New function, mostly broken out from...
1282 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
1283 Also lose one #if 0 block.
1284
1285 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
1286
1287 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
1288 substitution.
1289
1290 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
1291
1292 * tree.h (BLOCK_TYPE_TAGS): Remove.
1293 (BLOCK_END_NOTE): Likewise.
1294 (BLOCK_LIVE_RANGE_FLAG): Likewise.
1295 (BLOCK_LIVE_RANGE_START): Likewise.
1296 (BLOCK_LIVE_RANGE_END): Likewise.
1297 (tree_block): Remove live_range_flag, live_range_var_flag, and
1298 type_tags. Remove end_note, live_range_start, and live_range_end.
1299 (remember_end_note): Remove prototype.
1300 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
1301 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
1302 remember_end_note.
1303 * ggc-common.c (ggc_mark_tree_children): Don't mark
1304 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
1305 * integrate.c (adjust_copied_decl_tree): Remove.
1306 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
1307 * stmt.c (last_block_end_note): Remove.
1308 (init_stmt): Don't add a GC root for it.
1309 (expand_fixup): Don't set it.
1310 (remember_end_note): Remove.
1311 (expand_end_bindings): Don't set last_block_end_note.
1312
1313 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1314
1315 * reload1.c (reload_reg_free_for_value_p): Show
1316 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
1317 reloads.
1318
1319 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
1320
1321 * expmed.c (extract_bit_field): Allow for the case of non-integer
1322 objects that are smaller than a word (like SFmode on a 64-bit
1323 machine).
1324
1325 * loop.c (basic_induction_var): A non-integer variable which is
1326 being set by a paradoxical subreg is probably not a biv.
1327
1328 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1329
1330 * prefix.c (translate_name) Check for empty prefix string.
1331
1332 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
1333
1334 * Makefile.in (CPP_CROSS_NAME): New variable.
1335 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
1336 xcpp.
1337 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
1338 names of the files to be uninstalled.
1339
1340 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
1341
1342 * collect2.c (IS_DIR_SEPARATOR): Define.
1343 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
1344
1345 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
1346 functions too.
1347
1348 * haifa-sched.c (add_dependence): Update the true dependency
1349 cache the first time we add a true dependence to the LOG_LINKS chain.
1350
1351 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
1352
1353 * fold-const.c (fold): Fix comment.
1354
1355 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1356
1357 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
1358 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
1359 dbxout_start_new_source_file, dbxout_source_file,
1360 dbxout_source_line, dbxout_finish, dbxout_type_fields,
1361 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
1362 Constify a char*.
1363 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
1364 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
1365 (dbxout_block): Initialize variable `blocknum'.
1366
1367 * dbxout.h (dbxout_init, dbxout_finish,
1368 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
1369 dbxout_args, dbxout_source_line): Constify a char*.
1370
1371 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
1372 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
1373 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
1374 low_pc_attribute, high_pc_attribute, body_begin_attribute,
1375 body_end_attribute, comp_dir_attribute, sf_names_attribute,
1376 src_info_attribute, mac_info_attribute, producer_attribute,
1377 lookup_filename, generate_macinfo_entry, fundamental_type_code,
1378 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
1379 dwarfout_undef): Constify a char*.
1380 (add_incomplete_type, retry_incomplete_types): Add prototypes.
1381
1382 * dwarfout.h (dwarfout_define, dwarfout_undef,
1383 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
1384
1385 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
1386
1387 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
1388 (MULTILIB_ISA_DEFAULT): New.
1389 (MULTILIB_DEFAULTS): Use it.
1390 * config/mips/mips.c (): Remove the now unnecessary definition
1391 of MIPS_ISA_DEFAULT.
1392 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
1393 unnecessary definition.
1394
1395 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
1396
1397 * arm.md (pic_load_addr): Add constraints to operand 1.
1398
1399 1999-10-25 Bruce Korb <autogen@linuxbox.com>
1400
1401 * fixinc/genfixes: Provide a means for specifying -D options to
1402 AutoGen
1403
1404 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
1405
1406 * arm.c (arm_override_options): Correct initialization of
1407 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
1408 arm_is_strong, and arm_is_6_or_7.
1409
1410 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
1411 (note_set_pseudo_multiple_uses): New function.
1412 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
1413 if a pseudo set in the loop exit is used elsewhere.
1414
1415 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
1416
1417 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
1418
1419 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
1420
1421 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
1422 a single load-address pattern.
1423
1424 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
1425
1426 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
1427 depending on whether or not line-number notes are present.
1428
1429 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1430
1431 * cccp.c (progname, file_buf, default_include, include_file,
1432 macrodef, definition, hashval, wchar_type, user_label_prefix,
1433 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
1434 expand_to_temp_buffer, is_system_include, base_name,
1435 absolute_filename, read_name_map, open_include_file,
1436 record_control_macro, check_precompiled, check_preconditions,
1437 pcfinclude, pass_thru_directive, create_definition,
1438 check_macro_name, comp_def_part, collect_expansion,
1439 check_assertion, read_token_list, assertion_install,
1440 assertion_lookup, eval_if_expression, conditional_skip,
1441 validate_else, skip_quoted_string, quote_string, macarg1,
1442 error_from_errno, install, lookup, hashf, dump_defn_1,
1443 perror_with_name, pfatal_with_name, main, trigraph_pcp,
1444 check_white_space, rescan, handle_directive, monthnames,
1445 special_symbol, do_include, remap_include_file, write_output,
1446 arglist, do_assert, do_unassert, do_line, do_error, do_once,
1447 do_ident, do_sccs, do_xifdef, skip_if_group,
1448 output_line_directive, macroexpand, macarg, change_newlines,
1449 initialize_builtins, make_definition): Constify a char*.
1450
1451 * pcp.h (stringdef): Likewise.
1452
1453 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
1454
1455 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
1456 not of pattern.
1457
1458 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
1459 Richard Henderson <rth@cygnus.com>
1460
1461 * alias.c: Include ggc.h.
1462 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
1463 (record_set): Verify enough room in reg_base_value.
1464 (init_alias_analysis): Allocate reg_base_value with xcalloc.
1465 Register it as a GC root.
1466 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
1467 * Makefile.in (alias.o): Depend on ggc.h.
1468
1469 * unroll.c (unroll_loop): Verify the insn before a barrier
1470 is a JUMP_INSN before checking JUMP_LABEL.
1471
1472 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1473
1474 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
1475 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
1476 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
1477 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
1478 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
1479 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
1480
1481 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1482
1483 * output.h (ctors_section, dtors_section, bss_section): Prototype.
1484
1485 * alpha/alpha-interix.h (text_section): Delete prototype.
1486 * alpha/elf.h (text_section): Likewise.
1487 * arm/linux-elf.h (text_section): Likewise.
1488 * arm/linux-telf.h (text_section): Likewise.
1489 * c4x/c4x.h (text_section): Likewise.
1490 * dsp16xx/dsp16xx.h (bss_section): Likewise.
1491 * elfos.h (text_section): Likewise.
1492 * i386/aix386ng.h (text_section): Likewise.
1493 * i386/i386-interix.h (text_section): Likewise.
1494 * i386/sco5.h (text_section): Likewise.
1495 * i386/svr3gas.h (text_section): Likewise.
1496 * nextstep.h (text_section): Likewise.
1497 * psos.h (text_section): Likewise.
1498 * ptx4.h (text_section): Likewise.
1499 * svr3.h (text_section): Likewise.
1500 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
1501
1502 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1503
1504 * final.c (peephole): Delete prototype.
1505
1506 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
1507 (pre_insert_copies): Remove unused variable `bb'.
1508
1509 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
1510 prototypes.
1511
1512 * output.h (peephole): Add prototype.
1513
1514 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
1515
1516 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
1517 -O0.
1518
1519 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
1520
1521 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
1522 for inlined declarations.
1523
1524 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
1525
1526 * arm.c (logical_binary_operator): New fucntion.
1527 * arm.h (logical_binary_operator): Declare it.
1528 (PREDICATE_CODES): Handle logical_binary_operator.
1529 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
1530 output constraints. Add appropriate splitters.
1531 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
1532 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
1533 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
1534
1535 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1536
1537 * genoutput.c (struct operand_data): New elt eliminable.
1538 (output_operand_data): Write it.
1539 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
1540 (compare_operands): Take it into account.
1541 * recog.h (struct insn_operand_data): New elt eliminable.
1542 * reload1.c (check_eliminable_occurrences, elimination_effects): New
1543 functions.
1544 (old_asm_operands_vec, new_asm_operands_vec): Delete.
1545 (eliminate_regs): Move code that detects changes to elimination
1546 target regs into new function elimination_effects.
1547 Delete one #if 0 block.
1548 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
1549 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
1550 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
1551 Only call eliminate_regs for real operands of the insn, not for parts
1552 of its structure or parts matched by things like match_operator.
1553 Use elimination_effects and check_eliminable_occurrences. Use
1554 copy_insn to duplicate the pattern when not in the final pass.
1555
1556 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
1557
1558 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
1559 and fld.
1560
1561 1999-10-22 Bruce Korb <autogen@linuxbox.com>
1562
1563 * fixinc/README: document the "mach" machine matching test
1564 * fixinc/fixfixes.c: Implement the #else/#endif label fix
1565 * fixinc/fixtests.c: Implement the #else/#endif label test
1566 * fixinc/inclhack.def: utilize these tests and fixes
1567 * fixinc/inclhack.sh: regen
1568 * fixinc/fixincl.x: regen
1569 * fixinc/fixincl.sh: regen
1570
1571 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
1572
1573 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
1574 depend on ggc.h.
1575
1576 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
1577
1578 * gcc.1: Document exit codes.
1579
1580 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1581
1582 * calls.c: Include tm_p.h later, so everything we need is defined.
1583 * expr.c: Likewise.
1584 * function.c: Likewise.
1585
1586 * except.c: Include tm_p.h.
1587
1588 * sparc.c: Likewise.
1589 (dwarf2out_cfi_label): Don't prototype.
1590 (check_return_regs, epilogue_renumber,
1591 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
1592 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
1593 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
1594 ultra_schedule_insn): Add static prototype.
1595 (data_segment_operand, text_segment_operand): Call itself with the
1596 proper number of arguments.
1597 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
1598
1599 * sparc.h: Move all declarations to sparc-protos.h.
1600 (SELECT_RTX_SECTION): Pass a missing MODE argument to
1601 symbolic_operand.
1602
1603 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
1604
1605 * config/svr4.h (text_section, ctors_section, dtors_section): Add
1606 Prototypes.
1607 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
1608 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
1609 ASM_OUTPUT_ASCII): Constify a char*.
1610
1611 * sparc-protos.h: New file for sparc prototypes.
1612
1613 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1614
1615 * function.c (record_insns, contains): Always declare and define.
1616 (record_insns): Mark with ATTRIBUTE_UNUSED.
1617
1618 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
1619
1620 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
1621 to .section when outputting a .bss section to deal with multiple
1622 .bss input sections (as happens with -fdata-sections)
1623 Also output %progbits, not @progbits so the assembler doesn't treat as
1624 a comment.
1625 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
1626
1627 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
1628 thumb parts even when building with non-thumb CPUs, by forcing
1629 thumb mode.
1630
1631 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
1632
1633 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
1634 (movdf_const_intreg_sp64): Similarly.
1635
1636 * local-alloc.c (update_equiv_regs): Check the correct insn
1637 for pre-existing REG_EQUIV notes.
1638
1639 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
1640
1641 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
1642 block reached by a branch if we're not going to actually process
1643 this block.
1644
1645 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
1646
1647 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
1648 a local extern function declaration.
1649
1650 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
1651
1652 * i386.c (ix86_expand_prologue): Properly wrap USE around
1653 reg for CALL_INSN_FUNCTION_USAGE.
1654
1655 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
1656
1657 * config/mips/mips.md (movdf_internal1a): Allow floating-point
1658 move between GP_REGs.
1659
1660 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
1661
1662 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
1663 the mode size when finding out if an offset is legal.
1664
1665 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
1666
1667 * basic-block.h (PROP_*): Move constants from ...
1668 * flow.c: ... here.
1669 (compute_bb_for_insn): Free the array before reallocating.
1670 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
1671 (allocate_reg_life_data): Reset all reg variables collected by
1672 propagate_block.
1673 (get_block_head_tail): Don't convert from bb to block.
1674 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
1675 (find_insn_reg_weight): Take block not bb.
1676 (schedule_block): Don't set block num for moved insns.
1677 (schedule_region): Don't update_life_info or find_insn_reg_weight.
1678 (schedule_insns): Do it here instead.
1679 * combine.c (combine_instructions): Invoke compute_bb_for_insn
1680 before update_life_info.
1681 * recog.c (split_all_insns, peephole2_optimize): Update for
1682 new arg to update_life_info.
1683 * rtlanal.c (remove_note): Cope with NULL note.
1684 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
1685 if we did sched1.
1686
1687 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
1688
1689 * jump.c (jump_optimize_1): More accurately detect casesi insns.
1690
1691 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
1692 block records so that merge_blocks_nomove will clean up correctly.
1693 (split_edge): Handle casesi insns.
1694
1695 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
1696
1697 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
1698
1699 * pa.md (call, call_value): Do not emit a blockage after restoring
1700 the PIC register.
1701
1702 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
1703
1704 * c-typeck.c (c_expand_asm_operands): Fix typo.
1705
1706 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1707
1708 * arm.c (fpu_rhs_operand): Verify modes.
1709 (fpu_add_operand): Likewise.
1710 (di_operand): Likewise.
1711 (soft_df_operand): Likewise.
1712
1713 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
1714
1715 * arm.c (arm_return_in_memory): APCS rules state that the elements
1716 of a structure returned in a register must be 'integer-like'.
1717
1718 1999-10-19 Bruce Korb <autogen@linuxbox.com>
1719
1720 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
1721 in the source tree when the generated targets are out of date
1722 * fixinc/genfixes: Alter it to run individual fixes for make.
1723 * fixinc/README: rewrite
1724 * fixinc/inclhack.def: moved initial comments to README
1725
1726 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
1727
1728 * toplev.c (main): Do not generate an error message if an
1729 unrecognised command line switch is recognisable by another
1730 language. If extra_warnings are enabled, then generate a
1731 warning message instead.
1732
1733 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
1734
1735 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
1736 (insert_pack_attributes): Delete prototype.
1737
1738 * c-pragma.c (default_alignment): New static variable.
1739 (push_alignment): Initialize to current effective alignment.
1740 (pop_alignment): Use to set new alignment.
1741 (insert_pack_attributes): Delete function.
1742 (handle_pragma_token): Set default_alignment as well each time
1743 a #pragma pack(<n>) is encountered.
1744
1745 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
1746
1747 * reg-stack.c (stack_result): Aggregates are not returned in
1748 stack registers.
1749
1750 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
1751
1752 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
1753
1754 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
1755
1756 * basic-block.h (set_block_num): Declare.
1757 * flow.c (update_life_info): Don't call compute_bb_for_insn
1758 or free_basic_block_vars.
1759 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
1760 (insn_orig_block): Remove.
1761 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
1762 (schedule_block): Keep BLOCK_NUM up-to-date.
1763 (schedule_insns): Use compute_bb_for_insn.
1764 * recog.c (split_all_insns): Likewise.
1765 (peephole2_optimize): Likewise.
1766
1767 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
1768
1769 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
1770 if the pic register is used.
1771
1772 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1773
1774 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
1775 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
1776 if that tests TREE_PERMANENT.
1777
1778 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
1779
1780 * cse.c (invalidate_for_call): Do not remove memory references from
1781 the table here. It's handled elsewhere.
1782
1783 * haifa-sched.c (add_dependence): Protect references to the
1784 true dependency cache with #ifdef INSN_SCHEDULING.
1785 (remove_dependence): Similarly.
1786
1787 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
1788 to the cfg code that this is a return instruction.
1789 * mn10300.md (return_internal): Similarly.
1790
1791 * combine.c (get_last_value): If the last set of a register
1792 is after subst_low_cuid, then we can not use it to determine
1793 the register's last value.
1794
1795 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
1796
1797 * Makefile.in: Back out previous change.
1798
1799 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
1800
1801 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
1802
1803 * haifa-sched.c (add_dependence): Only check/update the cache
1804 if it exists.
1805 (remove_dependence): Likewise.
1806 (schedule_insns): Only create the true_dependency_cache if the
1807 average number of instructions in a basic block is very large.
1808
1809 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
1810
1811 * Makefile.in (ggc-common.o): Depend on genrtl.h.
1812 (ggc-simple.o): Likewise.
1813 (ggc-page.o): Likewise.
1814
1815 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
1816
1817 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
1818 Prototype for exported functions.
1819 (pre_lcm, pre_rev_lcm): Remove prototypes.
1820 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
1821 (compute_available): Move to lcm.c, and change parameter order.
1822 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
1823 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
1824 (gcse_main): No longer call compute_preds_succs. Rebuild the
1825 set table after reach pre pass.
1826 (pre_insert_map, pre_delete_map, edge_list): New.
1827 (alloc_pre_mem): Allocate edge vectors.
1828 (free_pre_mem): Delete edge vectors.
1829 (compute_pre_data): Call new edge based lcm routines.
1830 (process_insert_insn): New function.
1831 (insert_insn_end_bb): Use it.
1832 (pre_edge_insert): New function.
1833 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
1834 needed.
1835 (pre_insert_copies): Revamp using new edge based lcm outputs.
1836 (pre_delete): Likewise.
1837 (one_pre_gcse_pass): Insert & remove fake edges to the exit
1838 block.
1839 (compute_code_hoist_vbeinout): New new edge based routines.
1840 * lcm.c: Remove all the old LCM functions. Replace with new ones
1841 that work with the new cfg datastructures and work with edges
1842 instead of blocks.
1843
1844 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1845
1846 * reload.h (struct reload): Add new fields "mode" and "nregs".
1847 * reload1.c: Change all occurrences of reload_mode and reload_nregs
1848 to reference the "mode" and "nregs" field within struct reload.
1849
1850 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
1851
1852 * haifa-sched.c (true_dependency_cache): New.
1853 (add_dependence): Use the true dependency cache to avoid expensive
1854 walks down the LOG_LINKS dependency list. Add entries to the
1855 cache as necessary.
1856 (remove_dependence): Remove entries from the true dependency cache
1857 as needed.
1858 (schedule_insns): Allocate and initialize and free the true
1859 dependency cache.
1860
1861 * haifa-sched.c (schedule_insns): Do not remove inter-block
1862 dependencies anymore.
1863
1864 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
1865
1866 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
1867 * i386/t-winnt: Likewise.
1868
1869 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
1870
1871 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
1872
1873 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
1874
1875 * Makefile.in (LANGUAGES): Omit "proto".
1876 (clean): Remove stale comment about removing unprotoize.c.
1877
1878 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1879
1880 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
1881 using arithmetic on void pointers.
1882
1883 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
1884
1885 * haifa-sched.c (compute_block_forward_dependencies): Only check
1886 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
1887
1888 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
1889
1890 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
1891 (expr_equiv_p): Reject memories with different alias sets.
1892
1893 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
1894
1895 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
1896 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
1897 (f_options): Add "bounded-pointers" and "bounds-check" entries.
1898 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
1899 (lang_init): Set default for flag_bounds_check if still "unspecified".
1900
1901 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1902
1903 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
1904
1905 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1906
1907 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
1908 instructions.
1909
1910 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1911
1912 * config/c4x/c4x.md (*db_noclobber,
1913 *decrement_and_branch_until_zero_noclobber): New patterns and
1914 associated splitters.
1915
1916 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1917
1918 * config/c4x/c4x.md (parallel instruction patterns): Rework
1919 constraints to keep reload happy.
1920
1921 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1922
1923 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
1924 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
1925 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
1926 Add new patterns and associated post-reload splitters.
1927
1928 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1929
1930 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
1931
1932 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1933
1934 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
1935 if appropriate.
1936 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
1937
1938 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1939
1940 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
1941 memory mode.
1942
1943 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
1944
1945 * pa.c (move_operand): Rely on memory_address_p to determine the
1946 validity of non-indexed memory addresses.
1947 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
1948 operand in DFmode and SFmode when generating PA2.0 code.
1949
1950 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
1951
1952 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
1953
1954 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
1955
1956 * mips.c (function_prologue): Fix argument types.
1957 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
1958 (casesi_internal): Write to the scratch register.
1959
1960 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
1961
1962 * cppexp.c (cpp_parse_escape): Make static. Change second arg
1963 to U_CHAR **.
1964 (parse_charconst): Delete unnecessary cast when calling
1965 cpp_parse_escape.
1966 (cpplib.h): Kill prototype of cpp_parse_escape.
1967
1968 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
1969
1970 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
1971 * unroll.c (unroll_loop): Cast return value of alloca.
1972 * i370/i370.c: Include function.h and toplev.h.
1973 (i370_label_scan): Remove c++ commented abort.
1974 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
1975 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
1976 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
1977 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
1978
1979 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
1980
1981 * config/t-freebsd: Do not override USER_H.
1982 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
1983
1984 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
1985 Mumit Khan <khan@xraylith.wisc.edu>
1986
1987 * c-parse.in (component_decl): Support anonymous struct/union.
1988 (%expect): Update.
1989 * c-parse.y: Regenerate.
1990 * c-parse.c: Likewise.
1991 * objc/objc-parse.y: Likewise.
1992 * objc/objc-parse.c: Likewise.
1993 * c-decl.c (finish_struct): Don't sort the fields.
1994 (field_decl_cmp): Delete unused function.
1995
1996 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
1997
1998 * sparc.md (movsf_const_intreg): Revert last constraint change.
1999 (movdf_const_intreg_sp32): Likewise.
2000
2001 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
2002
2003 * cse.c: Include hashtab.h instead of splay-tree.h
2004 (struct cse_reg_info): No longer use variant union. Add new
2005 field "regno". All references changed to avoid union.
2006 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
2007 (free_cse_reg_info): Remove.
2008 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
2009 (get_cse_reg_info): Revamp to use expandable hash tables instead
2010 of splay trees. Initialize new fields in cse_reg_info structure.
2011 (new_basic_block): Similarly.
2012
2013 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
2014
2015 * genrecog.c (message_with_line): Prototype.
2016 (validate_pattern): Pass along the set for the dest, not a flag.
2017 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
2018 Check for PC/CC0 as sources.
2019 (nodes_identical): Check for children position match before
2020 allowing the combination.
2021
2022 * rtl.c (read_rtx): Track line number across \\\n.
2023
2024 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
2025
2026 * mips.h (SPECIAL_MODE_PREDICATES): New.
2027 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
2028 (movdi+1, movsi+1): Add output reload constraint.
2029 (casesi_internal): Likewise. Fix commentary.
2030 (return_internal): Use pmode_register_operand.
2031
2032 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
2033
2034 * 1750a.md (movstrqi): Add missing output reload constraint.
2035 (call_value): Likewise.
2036 * a29k.md (cpxxx patterns): Add missing match_operator mode.
2037 (jmpfdec): Add missing inout reload constraint.
2038 * elxsi.md (addsi patterns): Add missing output reload constraint.
2039 (move from sp): Use @ alternates.
2040 (call_value): No constraint on output.
2041 * fr30.md (movsi_pop): Add missing output reload constraint.
2042 (movsf_constant_store): Likewise.
2043 (splits): Remove constraints.
2044 (subsi3): Add missing mode.
2045 * i370.md (cmpstrsi+1): Add missing output reload constraint.
2046 (call_value): Likewise.
2047 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
2048 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
2049 * m32r.md (movsicc_internal): Add output reload constraint.
2050 (movstrsi_internal): Add inout reload constraints.
2051 * m88k.h (reg_names): Don't declare.
2052 (SPECIAL_MODE_PREDICATES): New.
2053 * m88k.md (*): Use register_operand not reg_or_0_operand
2054 on destinations.
2055 * mn10200.h (PREDICATE_CODES): New.
2056 * ns32k.md (ffs pattern): Add output reload constraint.
2057 * pdp11.md (sob pattern): Add inout reload constraint.
2058 * sh.md (splits): Remove constraints.
2059 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
2060 * v850.md (pattern_is_ok_for_epilogue): Likewise.
2061 * vax.md (jgequ pattern): Add inout reload constraint.
2062
2063 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
2064
2065 * configure.in (djgpp): Revert previous patch.
2066 * configure: Rebuit.
2067 * config/i386/djgpp.h: Revert previous patch.
2068
2069 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
2070
2071 * fixinc/inclhack.def: Restore patch lost during last merge of
2072 "no_bogosity" branch.
2073 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
2074
2075 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
2076
2077 * fixincludes: Add a HPUX 11 fix for inttypes.h.
2078 * fixinc/inclhack.def: Same.
2079 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
2080
2081 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
2082
2083 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
2084 as the base of a PLUS.
2085
2086 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2087
2088 * config/c4x/c4x.md: Define mode for remaining unspec operators.
2089 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
2090
2091 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
2092
2093 * pa.md (post_stw+1): Use pmode_register_operand.
2094 (dcacheflush, icacheflush): Likewise.
2095
2096 * i386.md (movstricthi_1): Allow r/r.
2097
2098 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
2099
2100 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
2101 to (not (and (arg0) (arg1))). Similary for and.
2102
2103 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
2104 falltrought to assocate code.
2105 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
2106 bits in common.
2107
2108 * combine.c (simplify_logical): Convert XOR to IOR if operands have
2109 no bits in common; remove XOR to ROTATE conversion.
2110
2111 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2112
2113 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
2114
2115 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2116
2117 * config/c4x/c4x.c (dst_operand): New.
2118 (PREDICATE_CODES): Update.
2119 * config/c4x/c4x.h (dst_operand): Declare it.
2120 * config/c4x/c4x.md: Define mode for each unspec usage.
2121 (move patterns): Use dst_operand predicate instead of src_operand.
2122 (movqi_update, movqf_update): Delete.
2123
2124 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
2125
2126 * recog.c (pmode_register_operand): New.
2127 * recog.h: Declare it.
2128 * genrecog.c (pred_codes): Likewise.
2129 (special_mode_pred_table): Likewise.
2130 (validate_pattern): Don't warn no mode for address_operand.
2131
2132 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
2133 if the operand is not insn-like.
2134
2135 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
2136 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
2137
2138 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
2139
2140 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
2141
2142 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
2143 instead of general_operand in a SET_DEST. Use const_double_operand
2144 instead of an explicit test against CONST_DOUBLE.
2145 (movsf_const_lo): Add missing register mode.
2146 (goto_handler_and_restore): Add auxiliary test for Pmode.
2147 (flush): Adjust to use address_operand.
2148 (return_sf_no_fpu): Add missing output constraint.
2149
2150 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
2151
2152 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
2153 for call return value.
2154 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
2155
2156 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
2157
2158 * toplev.c (main): Only warn about options for other languages.
2159 * collect2.c (main): Pass -w to sub-gcc.
2160
2161 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
2162
2163 * flow.c (propagate_block): Add call-clobbered registers to
2164 significant too.
2165
2166 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
2167 zapping mem_set_list.
2168 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
2169 (mark_set_1, mark_used_regs): Likewise.
2170
2171 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
2172
2173 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
2174
2175 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2176
2177 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
2178 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
2179 options. Also add a new item "C-only Warning Options" to the
2180 option summary.
2181
2182 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
2183
2184 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
2185 from multiple calls.
2186
2187 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
2188
2189 * i386.md (call value patterns): Move to the end of the file.
2190 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
2191
2192 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
2193
2194 * configure.in (djgpp configuration): Define extra_objects..
2195 * configure: Rebuilt.
2196 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
2197 (DTORS_SECTION_ASM_OP): Define.
2198 (INIT_SECTION_ASM_OP): Define.
2199 (FINI_SECTION_ASM_OP): Define.
2200 (DATA_SECTION_ASM_OP): Define.
2201 (TEXT_SECTION_ASM_OP): Define.
2202 (EH_FRAME_SECTION_ASM_OP): Define.
2203 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
2204 (STARTFILE_SPEC): Add crtbegin.o.
2205 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
2206 to here from LINK_COMMAND_SPEC.
2207 (DO_GLOBAL_CTORS_BODY): Define.
2208 (CRTSTUFF_USE_FINI_SECTION): Define
2209 (HAS_INIT_SECTION): Delete.
2210
2211 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
2212
2213 * Makefile.in (all.cross): Depend on xcpp$(exeext).
2214
2215 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
2216
2217 * pa.h (PREDICATE_CODES): New.
2218
2219 * genrecog.c (validate_pattern): Condense the destination
2220 non-lvalue message.
2221
2222 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
2223
2224 * alpha.md (call-1): Supply missing mode for operator.
2225 (*): Add missing output reload constraints. Remove constraints
2226 from define_splits.
2227
2228 * i386.h (SPECIAL_MODE_PREDICATES): New.
2229 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
2230 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
2231 (addsi_lea_3): Add missing mode for op 3.
2232 (prologue_set_got, prologue_get_pc): Add missing modes.
2233 (*) Add missing output reload constraints.
2234
2235 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
2236
2237 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
2238 check for member bit-size overflow and use var_size if it occurs.
2239 (layout_record): Use bitsize_int() to define the type size in bits.
2240 Likewise for computation and assignment to DECL_FIELD_BITPOS.
2241 (layout_decl): Likewise when assigning to DECL_SIZE.
2242
2243 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
2244
2245 * genrecog.c (validate_pattern): Typo last change. Verify
2246 that output operands have output reloads.
2247
2248 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
2249
2250 * genrecog.c (special_mode_pred_table): New.
2251 (NUM_SPECIAL_MODE_PREDS): New.
2252 (find_operand): New.
2253 (validate_pattern): New argument `insn'. Warn for assignment to
2254 any predicate accepting non-lvalues. Conditionaly warn for
2255 match_operand without a mode. Try much harder to match source
2256 and destination modes on a set.
2257 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
2258
2259 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
2260
2261 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
2262
2263 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
2264
2265 * combine.c (simplify_logical): Recognize xor pattern that encodes
2266 rotation.
2267
2268 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2269
2270 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
2271 alignment.
2272
2273 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
2274
2275 * ggc-page.c (MAP_FAILED): Provide default.
2276
2277 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
2278
2279 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
2280 * sparc.h (PREDICATE_CODES): Update.
2281
2282 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
2283
2284 * alpha.c (some_ni_operand): New.
2285 * alpha-protos.h: Declare it.
2286 * alpha.h (PREDICATE_CODES): Update.
2287 * alpha.md (sXaddq reload insns): Use some_ni_operand
2288 for SET_DEST instead of some_operand.
2289
2290 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
2291 Jim Wilson <wilson@cygnus.com>
2292
2293 * genrecog.c (maybe_both_true_2): Don't compare modes of
2294 two DT_pred tests.
2295 (process_tree): Elide peephole2_insns. Invoke simplify_tests
2296 after find_afterward.
2297 (debug_decision_1): Dump next and afterward codes.
2298
2299 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
2300
2301 * rtl.c (dump_and_abort): Remove.
2302 (fatal_with_file_and_line): New.
2303 (fatal_expected_char): New.
2304 (read_rtx_lineno, read_rtx_filename): New.
2305 (read_skip_spaces): Track line number.
2306 (read_name): Use fatal_with_file_and_line.
2307 (read_rtx): Use fatal_expected_char. Track line number.
2308 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
2309
2310 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
2311 if it isn't a CODE_LABEL.
2312
2313 * genattr.c (main): Set read_rtx_filename.
2314 * genattrtab.c (main): Likewise.
2315 * gencodes.c (main): Likewise.
2316 * genconfig.c (main): Likewise.
2317 * genemit.c (main): Likewise.
2318 * genextract.c (main): Likewise.
2319 * genflags.c (main): Likewise.
2320 * genopinit.c (main): Likewise.
2321 * genoutput.c (main): Likewise.
2322 * genpeep.c (main): Likewise.
2323
2324 * genrecog.c (decision_test.u.insn): Add `lineno'.
2325 (pattern_lineno, error_count): New variables.
2326 (message_with_line): New.
2327 (add_to_sequence): Break out checking code to ...
2328 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
2329 (merge_insn): Use message_with_line.
2330 (make_insn_sequence): Use validate_pattern. Record insn lineno.
2331 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
2332
2333 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2334
2335 * expr.c (store_constructor): Clear union if constructor is empty.
2336
2337 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
2338
2339 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
2340 Add !endian checks. Change %{...} to %(...).
2341
2342 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
2343
2344 * i386.md (*addsi3_cc): Renamed from addcsi3.
2345 (*addsi3_carry): Renamed from addxsi3.
2346 (*subsi3_cc): Renamed from subcsi3.
2347 (*subsi3_carry): Renamed from subxsi3.
2348 (*xorqi_cc_1): Renamed from xorcqi_1.
2349 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
2350 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
2351
2352 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
2353
2354 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
2355 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
2356
2357 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
2358
2359 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
2360 climb up the chain of insns.
2361
2362 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
2363
2364 * genrecog.c (write_subroutine): Careful for null trees.
2365 (process_tree): Don't elide empty functions.
2366
2367 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
2368
2369 * Makefile.in (genrtl.o): Depend on ggc.h.
2370 * configure.in (valloc): Probe for it.
2371 (with-gc): Use ggc-page if valloc present.
2372 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
2373 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
2374 (ggc_alloc_string): Moved from ggc-page.c.
2375 * ggc-none.c (ggc_alloc_obj): New.
2376 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
2377 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
2378 (struct globals): Likewise for dev_zero_fd.
2379 (init_ggc): Likewise for it's initialization.
2380 (ggc_allocated_p): Move careful dereference from ...
2381 (ggc_lookup_page_table): ... here. Delete.
2382 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
2383 (alloc_anon): Use valloc if no mmap.
2384 (release_pages): Use free if using valloc.
2385 (ggc_alloc_obj): Renamed from alloc_obj.
2386 (ggc_set_mark): Renamed from mark_obj.
2387 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
2388 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
2389 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
2390 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
2391 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
2392 (ggc_collect): Use fp printing instead of our own rounding.
2393 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
2394 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
2395 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
2396 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
2397 (struct ggc_string, struct ggc_any): Delete.
2398 (offsetof): Provide default definition.
2399 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
2400 (PTR_KEY): New.
2401 (struct ggc_mem): New, from corpse of ggc_any.
2402 (struct ggc_status): Delete.
2403 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
2404 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
2405 (n_strings_collected, n_anys_collected): Delete.
2406 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
2407 (ggc_alloc_string, ggc_alloc): Delete.
2408 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
2409 (ggc_free_string, ggc_free_any): Delete.
2410 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
2411 (ggc_compare_addresses, ggc_mark_string): Delete.
2412 (ggc_mark_string_if_gcable, ggc_mark): Delete.
2413 (search_data): Delete.
2414 (struct globals): New.
2415 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
2416 (tree_insert, tree_lookup): New.
2417 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
2418 (clear_marks, sweep_objs): New.
2419 (ggc_collect): Gut. Use clear_marks, sweep_objs.
2420 (init_ggc): Set allocated_last_gc.
2421 (ggc_push_context): Gut. Use G.context.
2422 (ggc_pop_context): Likewise.
2423 (ggc_pop_context_1): New.
2424 (debug_ggc_tree): New.
2425 (debug_ggc_balance, tally_leaves): New.
2426 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
2427 (ggc_mark_string_if_gcable): Remove decl.
2428 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
2429 (ggc_mark_rtvec_children): New.
2430 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
2431 (ggc_mark_if_gcable): New decl.
2432 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
2433 (ggc_alloc_tree, ggc_alloc): Likewise.
2434 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
2435 (ggc_alloc_obj): New decl.
2436 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
2437 (ggc_alloc_tree, ggc_alloc): Likewise.
2438 (ggc_set_mark): New decl.
2439 * rtl.h (struct rtx_def): Remove gc_mark.
2440 (struct rtvec_def): Likewise.
2441 * tree.h (struct tree_common): Likewise.
2442
2443 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
2444
2445 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
2446 float_format and thread_file definitions.
2447 * configure: Rebuilt.
2448
2449 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
2450
2451 * extend.texi (Function Names): Document types of function names.
2452
2453 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2454
2455 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
2456 an earlyclobbered output conflict with RELOAD_INPUT reloads.
2457
2458 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2459
2460 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
2461
2462 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2463
2464 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
2465
2466 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
2467
2468 * collect2.c (main): Do prelimnary link on AIX if rflag.
2469
2470 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
2471
2472 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
2473 __CTOR_LIST__ in opposite order, which is the correct order for sorted
2474 constructors.
2475 (__do_global_dtors): similarly for __DTOR_LIST__.
2476
2477 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2478 Diego Novillo <dnovillo@cygnus.com>
2479
2480 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
2481 FPUL_REGS.
2482
2483 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
2484
2485 * fixincl/*: Merged "no_bogosity" branch
2486 * fixincl/fixlib.h: protect against doubly defining t_bool
2487 * fixincl/server.h: protect against doubly defining t_bool
2488
2489 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
2490
2491 * genoutput.c: Include toplev.h.
2492
2493 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
2494
2495 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
2496 Undef.
2497 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
2498 * configure: Regenerate.
2499
2500 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
2501
2502 * gcse.c (delete_null_pointer_checks): Returns void.
2503
2504 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2505
2506 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
2507 * emit-rtl.c (copy_insn_1): Likewise.
2508
2509 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
2510
2511 * config/mips/mips.c (mips_build_va_list): Correct
2512 TREE_CHAIN setting when hard-float.
2513 (mips_va_start): Use corrected setting.
2514 (mips_va_arg): Likewise. Also pass a tree to build of
2515 POSTINCREMENT_EXPR rather than a naked 'int'.
2516
2517 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
2518
2519 * ggc.h (ggc_push_context): Fix comment.
2520 (ggc_pop_context): Likewise.
2521 (mark_string_if_gcable): Likewise.
2522 * ggc-common.c (ggc_mark_rtx_children): Use
2523 ggc_mark_string_if_gcable.
2524 * ggc-page.c (ggc_lookup_page_table): New function.
2525 (ggc_allocated_p): Likewise.
2526 (mark_obj): Fix formatting.
2527 (ggc_mark_string_if_gcable): New function.
2528 * ggc-simple.c (ggc_allocated_strings): New variable.
2529 (ggc_strings_used): Likewise.
2530 (ggc_compare_addresses): New function.
2531 (ggc_pop_context): Pop the `any' memory too.
2532 (ggc_mark_string_if_gcable): New function.
2533 (ggc_collect): Initialize and tear down ggc_allocated_strings.
2534
2535 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
2536
2537 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
2538 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
2539 * rs6000.c (expand_block_move): Match movstrsi_?reg register
2540 changes.
2541
2542 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
2543
2544 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
2545 (sched_reg_live_length, sched_reg_basic_block): Delete.
2546 (current_block_num, bb_live_regs, old_live_regs): Delete.
2547 (dead_notes, struct sometimes): Delete.
2548 (sched_note_set, birthing_insn_p): Delete.
2549 (adjust_priority): Gut useless reg lifetime code.
2550 (create_reg_dead_note, attach_deaths): Delete.
2551 (attach_deaths_insn, new_sometimes_live): Delete.
2552 (finish_sometimes_live): Delete.
2553 (find_pre_sched_live, find_post_sched_live): Delete.
2554 (update_reg_usage): Delete.
2555 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
2556 (schedule_insns): Delete reg lifetime code.
2557 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
2558 (unlink_other_notes): Adjust REG_NOTE commentary.
2559 (reemit_notes): Use REG_SAVE_NOTE.
2560 (schedule_block): Likewise.
2561 (schedule_region): Allocate bitmap of blocks in region. Use
2562 count_or_remove_death_notes. Use update_life_info.
2563
2564 * rtl.h (REG_SAVE_NOTE): New.
2565 * rtl.c (reg_note_name): Update.
2566
2567 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
2568
2569 * combine.c (refresh_blocks, need_refresh): New.
2570 (combine_instructions): Allocate refresh_blocks. Invoke
2571 update_life_info if needed.
2572 (distribute_notes): Mark refresh_blocks instead of installing
2573 USE insns.
2574 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
2575 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
2576
2577 * Makefile.in (recog.o): Depend on basic-block.h.
2578
2579 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
2580
2581 * genrecog.c (add_to_sequence): Thinko last change: delete
2582 shadowing allow_const_int variable.
2583
2584 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2585
2586 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
2587 __GNUC__ and __GNUC_MINOR__.
2588
2589 * gansidecl.h: Likewise.
2590
2591 * rtl.c: Likewise.
2592
2593 * rtl.h: Likewise.
2594
2595 * toplev.h: Likewise.
2596
2597 * tree.c: Likewise.
2598
2599 * tree.h: Likewise.
2600
2601 * varray.c: Likewise.
2602
2603 * varray.h: Likewise.
2604
2605 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2606
2607 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
2608 use one before a jump table.
2609
2610 * rtl.def (ADDRESS): Change documentation to match reality.
2611 * md.texi: Don't document it.
2612 * gmicro.md (load address pattern): Use 'p' constraint, delete use
2613 of ADDRESS rtx.
2614
2615 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
2616
2617 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
2618
2619 * genrecog.c (add_to_sequence): Move allow_const_int test outside
2620 known predicate block; default allow_const_int true.
2621 (debug_decision_list): New.
2622
2623 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
2624
2625 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
2626
2627 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
2628
2629 * gcse.c (gcse_main): Avoid global optimizations if we have a
2630 large number of basic blocks and the ratio of edges to blocks
2631 is high.
2632 (delete_null_pointer_checks): Likewise.
2633
2634 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
2635
2636 * c-common.c (check_format_info): Warn if format string isn't a
2637 string literal.
2638
2639 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
2640
2641 * configure.in (arm*-*-*): Don't let autoconf remove brackets
2642 * configure: regenerate
2643
2644 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
2645
2646 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
2647 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
2648 (peepholes): Re-enable.
2649
2650 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
2651
2652 * Makefile.in (flow.o): Depend on TREE_H.
2653 * basic-block.h (REG_SET_EQUAL_P): New.
2654 (XOR_REG_SET): New.
2655 (n_edges): Declare.
2656 (free_regset_vector): Remove declaration.
2657 (flow_delete_insn_chain): Declare.
2658 (enum update_life_extent): New.
2659 (update_life_info, count_or_remove_death_notes): Declare.
2660 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
2661 Verify register live at bb->global_live_at_start before adding USE.
2662 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
2663 (CLEAN_ALLOCA): New.
2664 (n_edges): New.
2665 (PROP_*): New flags.
2666 (find_basic_blocks_1): Use alloc_EXPR_LIST.
2667 (clear_edges): Zero n_edges.
2668 (make_edge): Increment n_edges.
2669 (split_edge): Don't allocate bb->local_set. Increment n_edges.
2670 (flow_delete_insn_chain): Export.
2671 (delete_block): Decrement n_edges.
2672 (merge_blocks_nomove): Likewise.
2673 (life_analysis): Give life_analysis_1 PROP flags.
2674 (verify_wide_reg_1, verify_wide_reg): New.
2675 (verify_local_live_at_start): New.
2676 (update_life_info): Rewrite to call into propogate_block.
2677 (mark_reg): New.
2678 (mark_regs_live_at_end): After reload, if epilogue as rtl,
2679 always mark stack pointer. Conditionally mark PIC register.
2680 After reload, mark call-saved registers, return regsiters.
2681 (life_analysis_1): Accept PROP flags not remove_dead_code.
2682 Call mark_regs_live_at_end before zeroing regs_ever_live.
2683 Use calculate_global_regs_live. Copy global_live_at_end before
2684 calling final propagate_block. Zero reg_next_use on exit.
2685 (calculate_global_regs_live): New.
2686 (allocate_bb_life_data): Don't allocate bb->local_set.
2687 (init_regset_vector, free_regset_vector): Remove.
2688 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
2689 Test flags before every operation. Warn if prologue/epilogue insn
2690 would have been deleted.
2691 (mark_set_regs, mark_set_1): Accept and use FLAGS.
2692 Use alloc_EXPR_LIST.
2693 (mark_used_regs): Accept and use FLAGS, not FINAL.
2694 Remove special handling for RETURN.
2695 (try_pre_increment): Use alloc_EXPR_LIST.
2696 (dump_flow_info): Dump n_edges.
2697 (unlink_insn_chain, split_hard_reg_notes): Remove.
2698 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
2699 (find_insn_with_note, new_insn_dead_notes): Remove.
2700 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
2701 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
2702 (replace_insns): Remove.
2703 (count_or_remove_death_notes): New.
2704 (verify_flow_info): Abort on error after all checks.
2705 (remove_edge): Decrement n_edges.
2706 (remove_fake_edges): Tweek format.
2707 * haifa-sched.c (schedule_insns): Use split_all_insns.
2708 * output.h (update_life_info): Remove declaration.
2709 * recog.c (split_all_insns): From the corpse of split_block_insns,
2710 do the whole function block by block. Use update_life_info.
2711 (recog_last_allowed_insn): New.
2712 (recog_next_insn): Mind it.
2713 (peephole2_optimize): Set it. Walk backwards through blocks.
2714 Use update_life_info.
2715 * rtl.h (update_flow_info, replace_insns): Remove declarations.
2716 (split_all_insns): Declare.
2717 * toplev.c (rest_of_compilation): Thread prologue before flow2.
2718 Use split_all_insns.
2719
2720 * i386.md (or -1 peep2s): Disable.
2721
2722 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
2723
2724 * config/mips/mips.md (movstrsi+[123]) : Combine these into
2725 a single pattern. Scrap the 'd' versions as unnecessary.
2726
2727 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
2728 tablejump_mips162,tablejump_internal4): The operands to a
2729 label_ref must be VOIDmode.
2730
2731 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2732
2733 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
2734
2735 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
2736
2737 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
2738
2739 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
2740
2741 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
2742 cache every function if ggc_p.
2743
2744 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2745
2746 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
2747 instead of copy_rtx. Accept sequences that contain asm statements.
2748 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
2749 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
2750 orig_asm_operands_vector, copy_asm_operands_vector,
2751 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
2752 variables.
2753 * rtl.h (copy_insn, copy_insn_1): Declare.
2754
2755 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2756
2757 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
2758
2759 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
2760 arguments to `current_file_function_operand'.
2761
2762 * genrecog.c: Include hard-reg-set.h and resource.h in the
2763 generated output file.
2764
2765 * real.c: Include tm_p.h.
2766
2767 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2768
2769 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
2770 output operand.
2771
2772 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
2773
2774 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
2775 before the fctiwz insn.
2776
2777 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2778 Mark Mitchell <mark@codesourcery.com>
2779
2780 * tree.c (make_lang_type_fn): New funtion pointer.
2781 (make_lang_type): Call it.
2782 * tree.h (make_lang_type): Declare.
2783 (make_lang_type_fn): Likewise.
2784 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
2785
2786 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
2787
2788 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
2789 make sure that HIGH instructions are copied into BASE_REGS.
2790
2791 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
2792
2793 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
2794
2795 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
2796
2797 * c-decl.c (finish_struct): Use simpler method of
2798 removing elements of a singly-linked list.
2799
2800 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
2801
2802 * alpha.md (peephole2's): Comment out peephole2's that generate
2803 buggy code.
2804
2805 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
2806
2807 * genrecog.c (add_to_sequence): Disable mode check for
2808 wildcard matches.
2809
2810 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2811
2812 * ggc-simple.c (init_ggc): Set empty_string.
2813
2814 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
2815
2816 * configure.in: Detect mmap. Add --with-gc=foo to select
2817 garbage collector; default to page if mmap available.
2818 * Makefile.in (GGC): Substitute.
2819
2820 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
2821
2822 * c-decl.c (ggc_p): Enable.
2823
2824 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2825
2826 * flow.c (verify_flow_info): Make it extern & unconditionally define.
2827
2828 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
2829
2830 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
2831 string for little-endian-data.
2832
2833 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
2834
2835 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
2836 case somebody tries to compile --enable-checking code with gcc
2837 1.34 or such.
2838
2839 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
2840
2841 * genrecog.c (add_to_sequence): Verify operand to label_ref is
2842 VOIDmode.
2843
2844 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
2845
2846 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
2847 * jump.c (jump_optimize_1): Document why.
2848
2849 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2850
2851 * collect2.c (scan_prog_file, scan_libraries): Prototype function
2852 pointers and casts for `int_handler' and `quit_handler'.
2853
2854 * flow.c (verify_flow_info, split_hard_reg_notes,
2855 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
2856 remove_edge, remove_fake_successors): Add static prototypes.
2857 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
2858 (mark_set_1): Initialize variable `regno'.
2859 (unlink_insn_chain): Likewise for variable `curr'.
2860 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
2861
2862 * loop.c (strength_reduce): Initialize variable
2863 `unrolled_insn_copies'.
2864 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
2865 prototypes. Change these functions to take const PTR parameters
2866 to avoid prototype conflict when used as the comparson argument
2867 for qsort.
2868 (check_dbra_loop): Initialize variable `comparison_val'.
2869
2870 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
2871 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
2872 (find_valid_class): Initialize variable `best_class'.
2873 (find_reloads): Call memcpy, not bcopy.
2874
2875 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
2876 (hard_reg_use_compare): Don't needlessly cast away const.
2877 (reload_reg_class_lower): Likewise.
2878 (choose_reload_regs): Initialize variable `regno'.
2879
2880 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
2881
2882 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
2883
2884 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
2885
2886 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
2887 ({,d}discard): Add forward declarations. Declare parameter as
2888 unused.
2889 (main_without_main): Explicitly declare return type to be int.
2890 (memcpy): Properly declare.
2891
2892 * libgcc2.c (toplevel): If inhibit_libc is defined and not
2893 building the trampoline support, declare malloc, free, and
2894 atexit.
2895 (__clear_cache): Mark arguments as potentially unused.
2896
2897 * frame.c (toplevel): If inhibit_libc is defined, declare
2898 malloc and free.
2899
2900 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
2901
2902 * flow.c (make_edge): Accept an optional 2D bitmap in which
2903 to cache edge existence. Update all callers.
2904 (make_label_edge, make_eh_edge): Pass through the edge cache.
2905 (make_edges): Provide the cache.
2906
2907 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2908
2909 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
2910 a char*.
2911 (local_mbtowc): Change the type of variable `i' from int to size_t.
2912
2913 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
2914 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
2915
2916 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
2917
2918 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
2919 after other includes that define the appropriate types. Include
2920 tm_p.h for getting user prototypes.
2921 * ggc-callbacks.c (toplevel): Ditto.
2922 * ggc-none.c (toplevel): Ditto.
2923 * gcc-page.c (toplevel): Ditto.
2924 * ggc-simple.c (toplevel): Ditto.
2925
2926 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
2927 Jonathan Larmour <jlarmour@cygnus.co.uk>
2928
2929 * config/mips/mips.c (mips_move_2words): Split doubles if
2930 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
2931
2932 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
2933
2934 * genrecog.c (struct decision_test): New.
2935 (struct decision): Remove test-related members, sort the rest by size.
2936 (IS_SPLIT): Simplify.
2937 (new_decision, new_decision_test): New.
2938 (add_to_sequence): Use them. No special handling for args of
2939 non-MATCH codes.
2940 (maybe_both_true): Renamed from not_both_true; return sense changed.
2941 (maybe_both_true_1, maybe_both_true_2): New. Broken out
2942 of maybe_both_true and adjusted for decision_test.
2943 (position_merit): Remove.
2944 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
2945 (merge_accept_insn): New, broken out of merge_trees.
2946 (merge_trees): Use them. No special case for c_test; no node
2947 splitting; use test type instead of position_merit.
2948 (factor_tests): New.
2949 (simplify_tests): New.
2950 (break_out_subroutines): Don't write code now.
2951 (find_afterward): New.
2952 (write_afterward, write_switch, write_cond): New.
2953 (write_action, is_unconditional): New.
2954 (write_node): New. Use them.
2955 (write_tree_1): Rewrite. Use the new functions above.
2956 (write_tree): Remove afterward processing.
2957 (write_subroutine): Simplify function variant emission.
2958 (write_subroutines): New.
2959 (same_codes, clear_codes): Remove.
2960 (same_modes, clear_modes): Remove.
2961 (write_header): New, broken out of main.
2962 (make_insn_sequence): Use new_decision and new_decision_test.
2963 (process_tree): New, broken out of main.
2964 (main): Adjust for merge_trees interface change.
2965 Don't #define operands in the output file.
2966 (record_insn_name): New, broken out of make_insn_sequence.
2967 (debug_decision_2, debug_decision_1, debug_decision_0): New.
2968 (debug_decision): New.
2969
2970 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
2971
2972 * resource.c (find_free_register): Mark class_str argument const.
2973 * resource.h: Update prototype to match.
2974
2975 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
2976 * i386.md: Give all anonymous insns names.
2977
2978 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
2979
2980 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
2981 blocks.
2982
2983 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
2984
2985 * toplev.c (dbr_sched_time): Unconditional.
2986 (peephole2_time): New.
2987 (compile_file): Add pass numbers to all of the dump file suffixes.
2988 Dump peephole2_time. Don't dump times for non-applicable passes.
2989 (rest_of_compilation): Add pass numbers to dump file suffixes.
2990 Conditionalize calls to the scheduler.
2991 * invoke.texi: Update.
2992
2993 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
2994
2995 * flow.c (make_edges): Fix insn iteration.
2996 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
2997 (find_basic_blocks_1): Fix spelling mistake.
2998
2999 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
3000
3001 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
3002 always have side-effects. Use memset not bzero.
3003 (make_node): Likewise.
3004
3005 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
3006
3007 * stmt.c (expand_anon_union_decl): When any of the elements of the
3008 union is addressable, so is the entire union.
3009
3010 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
3011
3012 * sbitmap.c (sbitmap_ones): Don't set too many bits.
3013
3014 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
3015 * bitmap.c (bitmap_operation): Return true iff TO changed.
3016 (bitmap_equal_p): New.
3017 (bitmap_bit_p): Tidy arithmetic.
3018 (debug_bitmap_file): Likewise.
3019
3020 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
3021
3022 * toplev.c (rest_of_compilation): Turn on cse_not_expected
3023 before cse2 instead of after.
3024
3025 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
3026
3027 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
3028 register offsets.
3029
3030 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3031
3032 * cppinit.c (is_idchar initializer): Loosen tests to accept
3033 gcc 2.>6 and >2.
3034
3035 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
3036
3037 * mips.md: Define conditional move patterns for floating point
3038 operands and DI mode conditions.
3039
3040 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
3041
3042 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
3043 always have side-effects.
3044
3045 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
3046
3047 * mn10200.c (asm_file_start): Fix typo.
3048
3049 * cppinit.c (is_idchar initializer): Tighten tests for when
3050 to put the table into initialized memory.
3051
3052 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
3053 not an array of rtunion.
3054 * gcc-page.c (ggc_alloc_rtvec): Similarly.
3055 * gcc-simple (ggc_free_rtvec): Similarly.
3056
3057 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
3058 of rtunions.
3059
3060 * mbchar.h: Add missing #endif.
3061
3062 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
3063 (FPBIT, DPBIT): Define.
3064
3065 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3066
3067 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
3068
3069 * profile.c (instrument_arcs, output_gcov_string,
3070 tablejump_entry_p): Add static prototypes.
3071 (output_gcov_string): Constify a char*.
3072
3073 * regmove.c (replacement_quality, fixup_match_2): Add static
3074 prototypes.
3075
3076 * resource.h (reg_dead_p): Add extern prototype.
3077
3078 * rtl.c (trim_filename): Add static prototype.
3079
3080 * scan-decls.c (skip_to_closing_brace): Likewise.
3081
3082 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
3083 (expand_end_case): Initialize variable `range'.
3084 (emit_case_nodes): Remove unused prototype `rtx_fn'.
3085
3086 * varasm.c (asm_emit_uninitialised): Add static prototype.
3087 (asm_emit_uninitialised, assemble_variable): Mark parameter with
3088 ATTRIBUTE_UNUSED.
3089
3090 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3091
3092 * cpplib.c (if_directive_nameo): Add static prototype.
3093
3094 * cse.c (cse_insn): Remove unused variable `p'.
3095
3096 * except.c (create_rethrow_ref, push_entry,
3097 receive_exception_label, new_eh_region_entry, find_func_region,
3098 clear_function_eh_region, process_nestinfo): Add static prototypes.
3099 (get_reg_for_handler): Hide definition.
3100 (process_nestinfo): Initialize variable `extra_handlers'.
3101
3102 * expr.h (expand_builtin_longjmp): Add extern prototype.
3103
3104 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
3105
3106 * function.c (prepare_function_start): Likewise.
3107 (pop_function_context_from): Mark parameter `context' with
3108 ATTRIBUTE_UNUSED.
3109 (push_temp_slots_for_block, flush_addressof): Hide definition.
3110
3111 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
3112 solve_program_flow_graph, calculate_branch_probs,
3113 function_summary, main, fancy_abort): Add prototypes.
3114
3115 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
3116 (add_hash): Constify a char*.
3117
3118 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
3119 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
3120 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
3121
3122 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
3123
3124 * lists.c (free_list, zap_lists): Likewise.
3125
3126 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3127
3128 * alias.c (nonlocal_reference_p): Add static prototype.
3129
3130 * bitmap.c (bitmap_element_allocate): Prototype args in function
3131 pointer cast.
3132
3133 * builtins.c (stabilize_va_list): Add static prototype.
3134 (expand_builtin_va_arg): Constify a char*.
3135
3136 * c-lex.c (getch, put_back, extend_token_buffer_to,
3137 read_line_number, token_getch, token_put_back): Add static
3138 prototypes.
3139
3140 * c-parse.gperf (hash, is_reserved_word): Likewise.
3141
3142 * cccp.c (is_dir_separator): Likewise.
3143
3144 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3145
3146 * graph.h: New file to prototype functions exported by graph.c.
3147
3148 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
3149
3150 * graph.c: Include graph.h.
3151
3152 * toplev.c: Likewise. Remove redundant prototypes.
3153
3154 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
3155
3156 * invoke.texi: Removed duplicated description for -Q.
3157
3158 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
3159
3160 * extend.texi: Grammar fix in __extension__ text.
3161
3162 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
3163
3164 * md.texi (define_peephole2): New section.
3165
3166 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
3167
3168 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
3169 (mov $-1 to or peepholer): Enable for pentium when optimizing for
3170 speed.
3171
3172 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
3173
3174 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
3175
3176 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
3177
3178 * i386.md (ffs expander): Emit Pentium friendly code for
3179 TARGET_PENTIUM.
3180
3181 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
3182
3183 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
3184 for non-trees.
3185 (build1): Likewise.
3186
3187 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3188
3189 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
3190
3191 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
3192
3193 * config/m68k/m68k.c (use_return_insn): Return false if the pic
3194 register is in use.
3195
3196 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3197
3198 * md.texi (No Constraints): Delete section.
3199 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
3200 * final.c (final_scan_insn): We always have register constraints.
3201 * genattrtab.c: Don't include "insn-config.h".
3202 (write_attr_case): We always have register constraints.
3203 * genconfig.c (register_constraint_flag): Delete.
3204 (walk_insn_part): Don't check whether we have register constraints.
3205 (main): Don't write out "#define REGISTER_CONSTRAINTS".
3206 * genoutput.c (have_constraints): Delete.
3207 (main): Don't set it.
3208 (output_operand_data): We always have constraints.
3209 (scan_operands): Likewise.
3210 (compare_operands): Likewise.
3211 * local-alloc.c (block_alloc): We always have constraints.
3212 (requires_inout): Always compile this function.
3213 * recog.c (extract_insn): We always have constraints.
3214 (constrain_operands, reg_fits_class_p): Always compile these
3215 functions.
3216 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
3217 fields.
3218 (struct insn_operand_data): Likewise.
3219 * regclass.c (regclass): We always have constraints.
3220 (record_reg_classes, copy_cost, record_address_regs,
3221 auto_inc_dec_reg_p): Always compile these functions.
3222 * regmove.c (regmove_optimize): We always have constraints.
3223 * reload.c (find_reloads): Likewise.
3224 * reload1.c (reload): Likewise.
3225 (reload_cse_simplify_operands): Likewise.
3226 * i860.c (output_delay_insn): Likewise.
3227
3228 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
3229
3230 * iris6.h (BUILD_VA_LIST_TYPE): Define.
3231
3232 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3233
3234 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
3235 for the va_list record.
3236
3237 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
3238
3239 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
3240 prologues.
3241
3242 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
3243
3244 * alias.c: Include insn-flags.h.
3245 * Makefile.in (alias.o): Update.
3246
3247 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
3248
3249 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
3250 to LTU and GEU. Handle more cases using sbb.
3251
3252 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
3253
3254 * i386.md (truncatexfdf splitters): Do not use subreg.
3255 (fop XFmode patterns): Fix mode in operand testing.
3256
3257 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
3258
3259 * jump.c (jump_optimize_1): Amend last change to test only the
3260 form of the operand, not the insn.
3261
3262 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
3263 not register_operand to determine when B may need preloading.
3264
3265 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
3266
3267 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
3268 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
3269 (call-value patterns): Move to end of file.
3270 (*): Remove mode from label_ref in (pc) context.
3271 (movstrqi): Use memory not general_operand for BLKmode operands.
3272 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
3273 to register_operand operands.
3274 (peep2 patterns): Convert from commented-out peephole patterns.
3275
3276 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3277
3278 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
3279 to BUILT_IN_INIT_DWARF_REG_SIZES.
3280 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
3281 Renamed from BUILT_IN_DWARF_REG_SIZE; call
3282 expand_builtin_init_dwarf_reg_sizes.
3283 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
3284 with __builtin_init_dwarf_reg_size_table.
3285 * dwarf2out.c (struct reg_size_range): Delete.
3286 (expand_builtin_init_dwarf_reg_sizes): New function.
3287 (expand_builtin_dwarf_reg_size): Delete.
3288 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
3289 (expand_builtin_dwarf_reg_size): Don't declare.
3290 * libgcc2.c (dwarf_reg_size_table_initialized): New.
3291 (dwarf_reg_size_table): New.
3292 (init_reg_size_table): New function.
3293 (copy_reg): Use dwarf_reg_size_table.
3294 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
3295 before use.
3296
3297 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
3298
3299 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
3300 Correctly build argument list to constructor and destructor functions.
3301
3302 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
3303
3304 * c-tree.h (warn_float_equal): Declare.
3305 * c-decl.c (warn_float_equal): Define.
3306 (c_decode_option): Recognize -W[no-]float-equal.
3307 * c-typeck.c (build_binary_op): Conditionally warn
3308 about equality tests of floating point types.
3309 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
3310 * invoke.texi: Add docs for -Wfloat-equal warning.
3311
3312 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
3313
3314 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
3315 generating RTL directly.
3316 * mips.h (INIT_TARGET_OPTABS): Likewise.
3317 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
3318
3319 * expr.h (init_mov_optab): Delete declaration
3320
3321 * h8300.c (WORD_REG_USED): Update to avoid useless register
3322 saves in interrupt functions and functions which never return.
3323
3324 * cse.c (struct set): Delete inner_dest_loc field.
3325 (cse_insn): Remove assignments to inner_dest_loc field.
3326
3327 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
3328
3329 * ggc-page.c: Don't include <unistd.h> etc taken care of
3330 by "system.h". Include <sys/mman.h> afterward.
3331
3332 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
3333
3334 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
3335 ggc_alloc_string.
3336
3337 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
3338
3339 * xcoffout.c (xcoffout_declare_function): Add documentation.
3340 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
3341 TARGET_64BIT. Compare constant to -1, not bit pattern.
3342 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
3343 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
3344 gen_movsi typos.
3345
3346 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
3347
3348 * dwarf2out.c (add_abstract_origin_attribute): Abort if
3349 origin_die is NULL.
3350 (gen_inlined_enumeration_type_die): Do not abort if the type has
3351 not been writeen out.
3352 (gen_inlined_structure_type_die): Do not abort if the type has
3353 not been writeen out.
3354 (gen_inlined_union_type_die): Do not abort if the type has
3355 not been writeen out.
3356 (gen_tagged_type_instantiation_die): Do not abort if the type
3357 has not been written out.
3358
3359 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3360
3361 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
3362 call it.
3363 * reg-stack.c (straighten_stack): Copy hard reg set with
3364 COPY_HARD_REG_SET.
3365
3366 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
3367
3368 * builtins.c (stabilize_va_list): Stabilize array type va_list
3369 to a pointer type, not the base record type.
3370 (expand_builtin_va_copy): Dereference the pointers explicitly;
3371 use the correct size for the copy.
3372
3373 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
3374 (rs6000_va_arg): Likewise.
3375
3376 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
3377
3378 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
3379
3380 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
3381
3382 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
3383 field.
3384 (DECL_BUILT_IN_CLASS): Adjust accordingly.
3385
3386 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
3387
3388 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
3389 (init_ggc): Use it instead of a constant.
3390 (ggc_collect): Bound allocated_last_gc by it.
3391
3392 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
3393
3394 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
3395 with va_list.
3396
3397 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
3398
3399 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
3400 (mips*-*-openbsd*): Let big endian configuration be a fragment.
3401 * configure: Regen.
3402 * config/mips/openbsd.h: New, OpenBSD little endian target.
3403 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
3404 * config/mips/xm-openbsd.h: New, OpenBSD host.
3405
3406 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
3407
3408 * config/m68k/m68k.c (output_function_prologue,
3409 output_function_epilogue): Use
3410 current_function_uses_pic_offset_table instead of regs_ever_live
3411 to decide whether to save/restore pic register.
3412 (legitimize_pic_address): Don't modify regs_ever_live any more.
3413
3414 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
3415
3416 * function.h (struct function): Add x_dont_save_pending_sizes_p.
3417 * stor-layout.c (variable_size): Don't add sizes to the pending
3418 sizes list if x_dont_save_pending_sizes_p is set.
3419
3420 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
3421
3422 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
3423 for symbolic_operand().
3424 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
3425
3426 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3427
3428 * combine.c (gen_rtx_combine): Add missing call to va_end().
3429
3430 * final.c (asm_fprintf): Likewise.
3431
3432 * genattrtab.c (attr_rtx): Likewise.
3433
3434 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
3435
3436 * cse.c: Update comments.
3437 (cse_insn): When converting a conditional/computed jump into
3438 an unconditional jump, always make sure a BARRIER immediately
3439 follows the converted jump. Do not delete unreachable code.
3440 (cse_basic_block): Do not delete unreachable code.
3441 * toplev.c (rest_of_compilation): Move call to
3442 delete_trivially_dead_insns after the conditional call to
3443 jump_optimize.
3444
3445 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3446
3447 * collect2.c (make_temp_file): Don't prototype.
3448
3449 * gcc.c (make_temp_file): Likewise.
3450
3451 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
3452
3453 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
3454
3455 * varasm.c (asm_emit_uninitialised): New function: Generate
3456 the assembler statements necessary to declare an uninitialised
3457 variable.
3458 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
3459 variable.
3460 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
3461 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
3462 section.
3463 (assemble_variable): Use asm_emit_uninitialised to emit an
3464 uninitialised variable.
3465
3466 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
3467
3468 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
3469 constant on a 64 bit host. Patch supplied by Geoffrey Keating
3470 <geoffk@cygnus.com>.
3471
3472 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3473
3474 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
3475 * c-common.h (builtin_function): Don't declare.
3476
3477 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
3478 DECL_BUILT_IN.
3479 (pushdecl): Likewise.
3480 (finish_decl): Likewise.
3481 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
3482 int. All callers changed.
3483 Set the builtin's DECL_BUILT_IN_CLASS.
3484 * tree.h (enum built_in_class): New.
3485 (enum built_in_function): Delete NOT_BUILT_IN.
3486 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
3487 in a union.
3488 (DECL_SET_FUNCTION_CODE): Likewise.
3489 (DECL_BUILT_IN_CLASS): New macro.
3490 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
3491 (struct tree_decl): Split builtin function code field into a
3492 struct.
3493 (builtin_function): Declare.
3494
3495 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
3496
3497 * optabs.c (init_traps): Fix typo in last change.
3498
3499 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
3500
3501 * toplev.c (rest_of_decl_compilation): Update comment.
3502
3503 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
3504
3505 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
3506 in .sbss if appropriate.
3507 (EXTRA_SECTION_FUNCTIONS): Add sbss.
3508 (SBSS_SECTION_ASM_OP): New macro.
3509 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
3510 (EXTRA_SECTIONS): Add in_sbss.
3511 * config/mips/mips.h: Prototype sbss_section.
3512
3513 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
3514
3515 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
3516 to disappear.
3517
3518 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
3519
3520 * optabs.c (init_traps): Register trap_rtx as a GC root.
3521
3522 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3523
3524 * config/mips/mips.c (function_arg_pass_by_reference): Define
3525 unconditionally, since it's called unconditionally.
3526
3527 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
3528
3529 * toplev.c (documented_lang_options): Add -fshort-wchar.
3530 * c-decl.c (c_decode_option): Likewise.
3531 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
3532 for wchar_t.
3533 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
3534 * gcc.c (default_compilers): If -fshort-wchar,
3535 override __WCHAR_TYPE__.
3536 * tm.texi (C Dialect Options): Add -fshort-wchar.
3537
3538 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
3539 symbol for a variable.
3540
3541 * cpplib.h (CPP_PREPROCESSED): New macro.
3542 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
3543 we're seeing this input for a second time.
3544
3545 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
3546
3547 * emit-rtl.c (init_emit_once): Initialize modes first.
3548
3549 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
3550
3551 * config/i386/i386.c (pic_label_name): Change to char pointer.
3552 (global_offset_table): New variable.
3553 (load_pic_register): Fill global_offset_table if it hasn't
3554 already been done. Allocate pic_label_name dynamically.
3555 * ggc.h (empty_string): New variable.
3556 * ggc-simple.c (empty_string): Likewise.
3557 (init_ggc): Allocate empty_string and add as root.
3558 * stmt.c (digit_strings): New variable.
3559 (init_stmt): Add last_block_end_note as root. Allocate and
3560 initialize digit_strings.
3561 (expand_asm_operands): Use empty_string instead of string
3562 constant. Use digit_strings instead of string constants.
3563 * profile.c (init_arc_profiler): Allocate string with
3564 ggc_alloc_string instead of xmalloc.
3565 (output_func_start_profiler): Likewise.
3566 * c-typeck.c (digest_init): Check if init is error_mark_node.
3567
3568 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
3569 Richard Henderson <rth@cygnus.com>
3570
3571 * ggc-page.c: New file.
3572 * Makefile.in (ggc-page.o): New.
3573
3574 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
3575
3576 * invoke.texi: Document -fdelete-null-pointer-checks
3577 * toplev.c (flag_delete_null_pointer_checks): New.
3578 (f_options): Add entry for -fdelete-null-pointer-checks.
3579 (rest_of_compilation): Conditionalize null pointer check
3580 elimination on flag_delete_null_pointer_checks.
3581 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
3582
3583 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
3584
3585 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
3586 copyright notice and special exception to GPL.
3587
3588 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3589
3590 * abi64.h (mips_function_value): Add prototype arguments.
3591
3592 * mips-protos.h: New file with mips prototypes.
3593
3594 * mips.c: Include "tm_p.h".
3595 (mktemp, lookup_name): Add prototype arguments.
3596 (extern_list, string_constant, mips_fill_delay_slot,
3597 mips_output_external, mips_output_external_libcall,
3598 mips_output_filename, mips_declare_object, function_prologue,
3599 mips_expand_prologue, function_epilogue, mips16_constant,
3600 build_mips16_function_stub, mips_output_conditional_branch):
3601 Constify a char*.
3602 (mips_va_start): Remove unused variable `u'.
3603 (mips_va_arg): Cast value to unsigned when comparing against one.
3604 (trace): Delete.
3605 (save_restore_insns, mips_expand_prologue): Add missing arg in
3606 call to `large_int'.
3607
3608 * mips.h: Move prototypes to mips-protos.h.
3609 (data_section, memory_address_p, rdata_section,
3610 readonly_data_section, simple_epilogue_p, text_section): Delete
3611 prototypes delcared elsewhere.
3612 (mips_epilogue_delay_slots, print_options): Delete unused decls.
3613 (trace): Delete.
3614 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
3615
3616 * mips.md: Delete extra args in call to `mips_move_2words'.
3617
3618 * xm-iris6.h (alloca): Add prototype argument.
3619
3620 * genpeep.c: Include "tm_p.h" in generated output file.
3621
3622 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
3623
3624 * basic-block.h (find_edge_index): Change parameters.
3625 * flow.c (verify_edge_list): Pass basic_block parameters to
3626 find_edge_index instead of integers.
3627
3628 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
3629
3630 * combine.c (simplify_comparison): Use an unsigned shift to adjust
3631 the constant.
3632
3633 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
3634
3635 * gcc.1: Fix a formatting error.
3636
3637 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3638
3639 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
3640 i786, mn10200, mn10300, pdp11, v850.
3641
3642 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
3643
3644 * libgcc2.c (num_digits): Add prototype with
3645 __attribute__((const)).
3646 (__terminate): Add prototype.
3647
3648 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
3649
3650 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
3651
3652 * alpha/alpha.c (print_operand): Fix type of `code'.
3653 (alpha_output_filename): Constify.
3654 * alpha/alpha.h: Move all function declarations ...
3655 * alpha/alpha-protos.h: ... here. New file.
3656 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
3657 (SECTION_FUNCTION_TEMPLATE): Likewise.
3658
3659 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3660
3661 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
3662 * expr.c (expand_expr): Likewise.
3663 (do_jump): Likewise.
3664 (do_store_flag): Pass ccp_store_flag to can_compare_p.
3665 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
3666 accessor macros.
3667 (enum can_compare_purpose): New.
3668 (can_compare_p): Adjust prototype.
3669 (prepare_cmp_insn, prepare_operand): Declare.
3670 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
3671 * optabs.c (cmp_available_p): Deleted.
3672 (expand_abs): Pass ccp_jump to can_compare_p.
3673 (can_compare_p): New arg PURPOSE. Check for combined optabs.
3674 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
3675 Call can_compare_p rather than cmp_available_p.
3676 (prepare_operand): No longer static.
3677 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
3678 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
3679 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
3680 sequence to use emit_cmp_and_jump_insns.
3681 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
3682
3683 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
3684
3685 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
3686 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
3687 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
3688 (plus (reg) (const_int 0))
3689 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
3690
3691 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
3692
3693 * rs6000.c (expand_block_move): DImode loads and stores require
3694 word-aligned displacements. Increment address registers with
3695 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
3696
3697 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
3698
3699 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
3700 is no name for the base type, rather than segfault. If we are
3701 writing out a complex integer type, use DW_ATE_lo_user.
3702
3703 * expr.c (emit_move_insn_1): If we are copying a complex that fits
3704 in one word or less (complex char, complex short, or on 64 bit
3705 systems complex float) to/from a hard register, copy it through
3706 memory instead of dying in gen_{real,imag}part. If we have a
3707 short complex type, prevent inlining since it allocates stack
3708 memory.
3709
3710 * tree.c (build_complex_type): If we are writing dwarf2 output,
3711 generate a name for complex integer types.
3712
3713 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
3714
3715 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
3716 * flow.c (remove_edge): Remove extra whitespace.
3717 (remove_fake_edges): Fix comment.
3718 (add_noreturn_fake_exit_edges): Use the correct name.
3719
3720 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
3721
3722 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
3723 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
3724 (clean): Depend on INTL_CLEAN.
3725 (maintainer-clean): Adjust.
3726
3727 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3728
3729 * configure.in (AC_PREREQ): Bump to 2.13.
3730 (AC_C_STRINGIZE): Call this instead of using a custom macro.
3731
3732 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
3733
3734 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
3735
3736 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
3737
3738 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
3739 (HAVE_STRINGIZE): Define.
3740
3741 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
3742
3743 * c-parse.in: save and restore warn_pointer_arith on __extension__
3744 along with pedantic.
3745 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
3746 Set the type of extension to itype rather than $<itype>1 kludge.
3747 * extend.texi (Alternate Keywords): Adjust documentation.
3748 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
3749
3750 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
3751
3752 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
3753 most assembler templates.
3754
3755 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
3756 FP loads and stores.
3757 (following_call): Always return zero for the PA8000.
3758 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
3759 FP loads and stores.
3760 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
3761
3762 * pa.h (BRANCH_COST): Define.
3763
3764 * pa.md (return, return_internal): Use bve for PA2.0.
3765
3766 * pa.md (fused multiply): Add variants which reduce height for the
3767 fused multiply, but which still generate 2 insns.
3768 (fnegabs): Similarly.
3769
3770 * pa.md (subsi3): Turn into an expander. Create two anonymous
3771 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
3772 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
3773
3774 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
3775 for TARGET_PA_20.
3776 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
3777 code generation.
3778 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
3779 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
3780
3781 * regclass.c (init_regs): Add "top_of_stack" as a garbage
3782 collection root.
3783
3784 * flow.c (record_active_eh_regions): Terminate loop after finding
3785 the last insn in the last basic block.
3786
3787 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3788
3789 * config/c4x/c4x.md: Delete parallel instruction peepholes.
3790
3791 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3792
3793 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
3794
3795 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3796
3797 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
3798 splitting to not use output template.
3799
3800 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3801
3802 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
3803 * config/c4x/c4x.c (c4x_va_start): New function.
3804
3805 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
3806
3807 * genrecog.c (not_both_true): Handle correctly cases when called for
3808 tests with different positions in the insn.
3809
3810 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3811
3812 * machmode.h (HOST_PTR_PRINTF): Move from here ...
3813
3814 * system.h (HOST_PTR_PRINTF): ... to here.
3815
3816 * mips-tfile.c: Don't include machmode.h.
3817
3818 * Makefile.in (MACHMODE_H): New variable. Update to use it.
3819 (mips-tfile.o): Don't depend on machmode.h.
3820
3821 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3822
3823 * haifa-sched.c (sched_analyze): Rename local variable `region' to
3824 avoid conflicts with typedef struct `region' at the top level scope.
3825
3826 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
3827
3828 * basic-block.h (basic_block): Add eh_beg, eh_end.
3829 * flow.c (entry_exit_blocks): Update.
3830 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
3831 Call new functions.
3832 (find_basic_blocks_1): Don't record eh_list at each bb. Use
3833 lists.c functions to allocate insn lists.
3834 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
3835 edge creation ...
3836 (make_eh_edge): ... here. New.
3837 (move_stray_eh_region_notes): New.
3838 (record_active_eh_regions): New.
3839 (delete_unreachable_blocks): Split out block merging ...
3840 (try_merge_blocks): ... here. New.
3841 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
3842 Dump debugging data.
3843 (merge_blocks_move_successor_nojumps): Likewise.
3844 (merge_blocks): Use eh_beg+eh_end to validate block movement.
3845
3846 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3847
3848 * extend.texi (Bound member functions): Document unbound pmf
3849 conversion.
3850
3851 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
3852
3853 * flow.c (split_edge): Handle insertion on a fallthrough edge which
3854 has the EXIT_BLOCK as a dest.
3855
3856 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
3857
3858 * flow.c (remove_edge): New function to remove an edge from the
3859 flow graph.
3860 (remove_fake_successors): New function to remove fake successor edges.
3861 (remove_fake_edges): New function to remove all fake edges from the
3862 flow graph.
3863 (add_fake_exit_edges): New function to add fake edges from all blocks
3864 with no successors to the exit block.
3865 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
3866 prototypes for new functions.
3867
3868 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
3869
3870 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
3871 Use Pmode to determine whether to output .dword or .word.
3872
3873 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
3874
3875 * tree.c (built_in_filename): New variable.
3876 (BUILT_IN_FILENAME): New macro.
3877 (init_tree_codes): Allocate built_in_filename.
3878 (make_node): Use built_in_filename instead of string constant.
3879
3880 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
3881
3882 * configure.in: Add fr30 target.
3883 * configure: Regenerate.
3884 * config/fr30: New directory.
3885 * config/fr30/crti.asm: New file.
3886 * config/fr30/fr30.c: New file.
3887 * config/fr30/crtn.asm: New file.
3888 * config/fr30/fr30.h: New file.
3889 * config/fr30/fr30.md: New file.
3890 * config/fr30/lib1funcs.asm: New file.
3891 * config/fr30/t-fr30: New file.
3892 * config/fr30/xm-fr30.h: New file.
3893
3894 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
3895
3896 * flow.c (merge_blocks_move_successor_nojumps): Delete the
3897 BARRIER at the end of the successor, not the BARRIER before
3898 the successor.
3899
3900 * pa.c (pa_add_gc_roots): Fix thinko in last change.
3901
3902 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
3903
3904 * stmt.c (any_pending_cleanups): Don't crash when
3905 current_function->stmt is unset.
3906
3907 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3908
3909 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
3910 other initializations that may use it for relative offsets.
3911
3912 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3913
3914 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
3915 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
3916 * config/i386/sol2dbg.h: Removed.
3917 * config/i386/sol2gas.h: New file, to enable gas work-around.
3918 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
3919 Don't use sol2dbg.h.
3920 * configure: Rebuilt.
3921
3922 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
3923
3924 * invoke.texi (-fthis-is-variable): Remove documentation.
3925
3926 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
3927
3928 * basic-block.h (compute_bb_for_insn): Declare.
3929 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
3930 to use; set size of basic_block_for_insn directly.
3931 (find_basic_blocks): Update.
3932
3933 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3934
3935 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
3936
3937 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3938
3939 * crtstuff.c (ON_EXIT): Delete empty macro definition.
3940 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
3941
3942 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
3943
3944 * c-decl.c (c_decode_option): Extend comment.
3945
3946 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
3947
3948 * toplev.c (progname): Make 'const char *'
3949 (flag_print_mem): Move out of main.
3950 (version_flag): Move out of main.
3951 (filename): Move out of main.
3952 (debug_args): Remove g prefix from options.
3953 (documented_lang_options): Remove cpplib specific options.
3954 (display_help): Add g prefix to debug options.
3955 (check_lang_option): Delete this function.
3956 (decode_d_option): New function: Decode -d... option.
3957 (decode_f_option): New function: Decode -f... option.
3958 (decode_W_option): New function: Decode -W... option.
3959 (decode_g_option): New function: Decode -g... option.
3960 (independent_decode_option): New function: Decode a language
3961 independent command line option.
3962 (main): Invoke lang_decode_option and then
3963 independent_decode_option on each command line option in
3964 turn.
3965
3966 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
3967
3968 Revert this change. Gavin's patch to operand_equal_p is a better fix.
3969 * fold-const.c (fold_range_test): Do not try to fold the range
3970 test if the rhs or lhs has side effects.
3971
3972 * basic-block.h (compute_flow_dominators): Declare.
3973
3974 * gcse.c (alloc_code_hoist_mem): New function.
3975 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
3976 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
3977 (hoist_code, one_code_hoisting_pass): Likewise.
3978 (gcse_main): If optimizing for size, then hoist expressions
3979 computed in multiple dominated basic blocks.
3980
3981 * gcse.c (invalid_nonnull_info): New function.
3982 (delete_null_pointer_checks): Likewise.
3983 * rtl.h (delete_null_pointer_checks): Declare.
3984 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
3985
3986 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
3987 (merge-blocks_move_successor_nojumps): Likewise.
3988 (merge_blocks): Allow merging of some blocks, even if it requires
3989 physical movement of the blocks, but not if it requires new jumps.
3990
3991 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
3992 Callers and prototype changed.
3993 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
3994
3995 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3996
3997 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
3998 -YP when both -p and -pg are present. From i386/sol2.h.
3999
4000 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4001
4002 * Makefile.in (distclean): Delete tm_p.h.
4003 * configure.in: Create a new file, "tm_p.h", from a list in
4004 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
4005 "i386/i386-protos.h".
4006
4007 * alias.c: Include "tm_p.h".
4008 * c-typeck.c: Likewise.
4009 * calls.c: Likewise.
4010 * cse.c: Likewise.
4011 * emit-rtl.c: Likewise.
4012 * explow.c: Likewise.
4013 * expmed.c: Likewise.
4014 * expr.c: Likewise.
4015 * final.c: Likewise.
4016 * flow.c: Likewise.
4017 * fold-const.c: Likewise.
4018 * function.c: Likewise.
4019 * gcse.c: Likewise.
4020 * global.c: Likewise.
4021 * haifa-sched.c: Likewise.
4022 * integrate.c: Likewise.
4023 * jump.c: Likewise.
4024 * local-alloc.c: Likewise.
4025 * loop.c: Likewise.
4026 * optabs.c: Likewise.
4027 * recog.c: Likewise.
4028 * reg-stack.c: Likewise.
4029 * regclass.c: Likewise.
4030 * regmove.c: Likewise.
4031 * reload.c: Likewise.
4032 * reload1.c: Likewise.
4033 * reorg.c: Likewise.
4034 * resource.c: Likewise.
4035 * stmt.c: Likewise.
4036 * stor-layout.c: Likewise.
4037 * toplev.c: Likewise.
4038 * tree.c: Likewise.
4039 * unroll.c: Likewise.
4040 * genattrtab.c (main): Make generated file include "tm_p.h".
4041 * genemit.c (main): Likewise.
4042 * genoutput.c (main): Likewise.
4043 * genrecog.c (main): Likewise.
4044
4045 * i386.h: Delete all prototypes.
4046 * i386.c: Include "tm_p.h".
4047 (ix86_attr_length_default): Call constant_call_address_operand
4048 with correct number of arguments.
4049 * i386-protos.h: New file.
4050 * i386.md (unnamed patterns): Call constant_call_address_operand
4051 with correct number of arguments.
4052 (exception_receiver): Call load_pic_register with correct number
4053 of arguments.
4054
4055 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
4056
4057 * c-pragma.c (mark_align_stack): Dereference the void* properly.
4058
4059 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
4060
4061 * rtl.h (insns_safe_to_move_p): New function.
4062 * loop.c (find_and_verify_loops): Use it.
4063 * rtlanal.c (insns_safe_to_move_p): Define it.
4064
4065 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
4066
4067 * c-pragma.c: Include ggc.h.
4068 * Makefile.in (c-pragma.o): Update.
4069
4070 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4071
4072 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
4073 (LIB_SPEC): Likewise.
4074 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
4075 Reindent -YP/-p/-pg.
4076 Copied from config/sparc/sol2.h.
4077
4078 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
4079
4080 * c-pragma.c (mark_align_stack): New.
4081 (init_pragma): New.
4082 * c-pragma.h (init_pragma): Declare it.
4083 * c-lex.c (init_parse): Call it.
4084
4085 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4086
4087 * configure.in: Pick up thread library on Solaris/x86 just
4088 like on Solaris/sparc.
4089 * configure: Rebuilt.
4090
4091 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
4092
4093 * rtl.h (global_rtx_index): New enum.
4094 (global_rtl): Change to array of rtx.
4095 (pc_rtx, cc0_rtx): Redefine accordingly.
4096 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
4097 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
4098 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
4099 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
4100 (const_int_rtx): Change to array of rtx.
4101 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
4102 accordingly.
4103 * emit-rtl.c (global_rtl): Change to array of rtx.
4104 (const_int_rtx): Change to aray of rtx.
4105 (gen_rtx_CONST_INT): Redefine accordingly.
4106 (init_emit_once): Allocate and initialize global_rtl. Likewise
4107 for const_int_rtx. Add both as GC roots.
4108 * genattrtab.c (global_rtl): Update declaration.
4109
4110 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
4111
4112 * Makefile (USER_H): Add iso646.h back.
4113
4114 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
4115
4116 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
4117 zapping the LOG_LINKS of sched_before_next_call.
4118
4119 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
4120 * pa.c (insn_refs_are_delayed): Renamed from
4121 insn_sets_and_refs_are_delayed.
4122
4123 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
4124
4125 * functiion.h (struct function): Add x_whole_function_mode_p.
4126 (retrofit_block): Declare.
4127 * function.c (retrofit_block): New function.
4128 (identify_blocks): Add assertions. Allow an incomplete set of
4129 block notes if we're still generating code for the function.
4130 * integrate.c: Include loop.h.
4131 (expand_inline_function): Call find_loop_tree_blocks to map block
4132 notes to blocks when in whole-function mode. Use retrofit_block
4133 to insert new BLOCKs for the inlined function, rather than
4134 insert_block.
4135 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
4136 * Makefile.in (integrate.o): Depend on loop.h.
4137
4138 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
4139
4140 * tree.h (warn_about_unused_variables): Declare.
4141 * stmt.c (warn_about_unused_variables): New function, split out
4142 from ...
4143 (expand_end_bindings): Here.
4144
4145 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
4146
4147 * stmt.c (preserve_subexpressions_p): Don't crash when
4148 current_function->stmt is unset.
4149
4150 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
4151
4152 * stmt.c (expand_start_bindings): Allow callers to pass a flag
4153 indicating that no NOTE_INSN_BLOCK_BEG note is required.
4154 (expand_start_target_temps): Use it.
4155 * except.c (expand_eh_region_start_for_decl): Likewise.
4156 * expr.c (expand_expr): Likewise.
4157
4158 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
4159
4160 * fold-const.c (operand_equal_p): Pay attention to side effects.
4161
4162 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
4163
4164 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
4165 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
4166
4167 * tlink.c (scan_linker_output): Look for keywords before accepting
4168 a mangled name in quotes.
4169
4170 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
4171
4172 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
4173 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
4174
4175 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
4176
4177 * alpha.md: Revert Thu Nov 26 change that came in through the
4178 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
4179 Avoid earlyclobber when possible.
4180
4181 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4182
4183 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
4184
4185 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
4186 Define HAVE_ON_EXIT.
4187
4188 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4189
4190 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
4191 CTYPE_CONV in all ctype macros.
4192
4193 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
4194 from system.h.
4195
4196 * cexp.y (initialize_random_junk): Likewise.
4197
4198 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
4199
4200 * i370.c (handle_pragma): Likewise.
4201
4202 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
4203
4204 * v850.c (override_options): Likewise.
4205
4206 * doprint.c (_doprnt): Likewise.
4207
4208 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
4209 Likewise.
4210
4211 * fixinc/server.c (load_data): Likewise.
4212
4213 * fold-const.c (real_hex_to_f): Likewise.
4214
4215 * genattr.c (write_upcase, gen_attr): Likewise.
4216
4217 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
4218 write_upcase): Likewise.
4219
4220 * genemit.c (print_code): Likewise.
4221
4222 * genopinit.c (gen_insn): Likewise.
4223
4224 * genpeep.c (print_code): Likewise.
4225
4226 * genrecog.c (print_code): Likewise.
4227
4228 * optabs.c (init_libfuncs): Likewise.
4229
4230 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
4231
4232 * haifa-sched.c (sched_analyze): Keep the list of notes organized
4233 in pairs.
4234 (reemit_notes): Likewise.
4235
4236 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
4237
4238 * ggc.h (ggc_root): Move to ggc-common.c.
4239 (roots): Remove.
4240 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
4241 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
4242 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
4243 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
4244 * ggc-common.c (ggc_root): Move from ggc.h.
4245 (roots): Declare, static.
4246 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
4247 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
4248 null or check/set mark bit.
4249 (ggc_mark_roots): New.
4250 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
4251
4252 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
4253
4254 * m32r.c: Include toplev.h.
4255 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
4256 (gen_compare): Rename swap_p to must_swap to match uses.
4257 Add default abort case.
4258 (m32r_output_function_epilogue): Remove unused variables.
4259 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
4260 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
4261 define to empty parameter list. Update all uses.
4262 (predicate decls): Use enum machine_mode not int.
4263 * m32r.md (movsi): Call abort, not fatal_insn.
4264 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
4265
4266 1999-09-14 Andrew Haley <aph@cygnus.com>
4267
4268 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
4269 use $0 instead of 0.
4270
4271 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4272
4273 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
4274 computation out of loop over hard regs.
4275
4276 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
4277
4278 * function.c (identify_blocks): Don't shadow a variable in an
4279 outer scope.
4280 * integrate.c (integrate_decl_tree): Don't use pushlevel,
4281 pushdecl, or poplevel to build up the new BLOCK tree.
4282 (expand_inline_function): Likewise.
4283 (integrate_parm_decls): Likewise.
4284
4285 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
4286
4287 * c-typeck.c (qualify_type): Merge qualifiers from both types.
4288
4289 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
4290
4291 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
4292 * invoke.texi: Document this change.
4293
4294 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
4295
4296 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
4297 Free the struct.
4298 (mark_emit_status): Renamed from mark_emit_state.
4299 * except.c (mark_eh_status): Renamed from mark_eh_state.
4300 Check not null before marking.
4301 (free_eh_status): New.
4302 * expr.c (mark_expr_status, free_expr_status): New.
4303 * function.c (free_machine_status): New.
4304 (free_after_parsing): New.
4305 (free_after_compilation): Move bits to free_after_parsing; call
4306 free_eh_status, free_expr_status; zero the marked members of the
4307 function state.
4308 (prepare_function_start): No can_garbage_collect.
4309 Call init_eh_for_function.
4310 (expand_dummy_function_end): Free up current_function state.
4311 (mark_function_status): Renamed from mark_function_state.
4312 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
4313 * function.h (struct function): No can_garbage_collect.
4314 (free_machine_status, free_after_parsing): Declare.
4315 (free_eh_status, free_expr_status): Declare.
4316 * ggc.h (mark_expr_status): Declare.
4317 * stmt.c (free_stmt_status): Free the struct.
4318 (mark_stmt_status): Renamed from mark_stmt_state.
4319 (init_stmt): Don't call init_eh.
4320 (init_stmt_for_function): Don't call init_eh_for_function.
4321 * toplev.c (compile_file): Call init_eh.
4322 (rest_of_compilation): Free basic block info before ggc_collect.
4323 Call free_after_parsing; conditionally call free_after_compilation.
4324 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
4325 Check not null before marking.
4326 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
4327
4328 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
4329
4330 * c-lex.c (yylex): Initialize warn.
4331
4332 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
4333
4334 * pa.c (emit_move_sequence): Properly set the mode of the scratch
4335 register when performing secondary reloads for the SAR register.
4336
4337 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
4338
4339 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
4340 (NOTE_BLOCK): New macro.
4341 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
4342 * function.h (identify_blocks): Change prototype.
4343 * function.c (identify_blocks): Simplify.
4344 (reorder_blocks): Likewise.
4345 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
4346 NOTE_INSN_BLOCK_{BEG,END}.
4347 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
4348 the list of saved notes if the note isn't a
4349 NOTE_INSN_BLOCK_{BEG,END}.
4350 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
4351 NOTE_BLOCK_NUMBER.
4352 (reemit_notes): Adjust recreation of notes to reflect new saved
4353 note structure.
4354 * print-rtl.c (print_rtx): Print the address of the BLOCK when
4355 printing a block note.
4356 * stmt.c (block_vector): Remove.
4357 (find_loop_tree_blocks): Simplify.
4358 (unroll_block_trees): Likewise.
4359 * tree.h (reorder_block): Change prototype.
4360
4361 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
4362
4363 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
4364 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
4365 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
4366 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
4367 (atexit, exit): Simplify.
4368 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
4369 * config/lots: Remove defns of HAVE_ATEXIT.
4370
4371 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
4372
4373 * calls.c (precompute_arguments): Fix typo in comment.
4374 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
4375 TARGET_EXPR.
4376
4377 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
4378
4379 * dsp16xx.c (override_options): Fix typos in GC root registration.
4380
4381 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
4382
4383 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
4384 from config/svr4.h.
4385 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
4386 (FUNCTION_PROFILER): Redefine appropriately for Linux.
4387 (CC1_SPEC): Likewise.
4388
4389 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4390
4391 * genattr.c (main): Add extern prototype. Call return, not exit.
4392 * genattrtab.c (main): Likewise.
4393 * gencheck.c (main): Likewise.
4394 * gencodes.c (main): Likewise.
4395 * genconfig.c (main): Likewise.
4396 * genemit.c (main): Likewise.
4397 * genextract.c (main): Likewise.
4398 * genflags.c (main): Likewise.
4399 * gengenrtl.c (main): Likewise.
4400 * genopinit.c (main): Likewise.
4401 * genoutput.c (main): Likewise.
4402 * genpeep.c (main): Likewise.
4403 * genrecog.c (main): Likewise.
4404
4405 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
4406 * genattrtab.c (get_insn_name): Likewise.
4407 * gencodes.c (get_insn_name): Likewise.
4408 * genconfig.c (get_insn_name): Likewise.
4409 * genemit.c (get_insn_name): Likewise.
4410 * genextract.c (get_insn_name): Likewise.
4411 * genflags.c (get_insn_name): Likewise.
4412 * genopinit.c (get_insn_name): Likewise.
4413 * genpeep.c (get_insn_name): Likewise.
4414
4415 * gencheck.c (usage): Add static prototype.
4416 * genextract.c (print_path): Constify a char*.
4417 * genopinit.c (optabs): Likewise.
4418 * genoutput.c (operand_data, data, output_predicate_decls,
4419 compare_operands): Likewise.
4420 * genrecog.c (write_tree): Add default case in switch.
4421
4422 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4423
4424 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
4425
4426 * print-rtl.c (get_insn_name): Remove prototype.
4427
4428 * toplev.h (progname): Declare const.
4429
4430 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
4431 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
4432 dump_sched_info, dump_local_alloc, regset_release_memory,
4433 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
4434 error_with_file_and_line, error_with_decl, error_for_asm, error,
4435 fatal, warning_with_file_and_line, warning_with_decl, warning,
4436 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
4437 Remove redundant prototypes.
4438
4439 (notice, check_lang_option, report_file_and_line, vnotice,
4440 mark_file_stack): Add static prototype.
4441 (set_fatal_function): Add prototype.
4442 (vnotice, report_file_and_line, set_fatal_function,
4443 check_lang_option): Constify a char*.
4444 (main): Prototype. Call return, not exit.
4445
4446 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4447
4448 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
4449
4450 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
4451
4452 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
4453
4454 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
4455
4456 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4457
4458 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
4459 behave as if it's zero in all cases.
4460 (expand_function_start): Adjust call to assign_parms.
4461 * tree.h (assign_parms): Adjust prototype.
4462 * objc/objc-act.c (hack_method_prototype): Adjust call to
4463 assign_parms.
4464
4465 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
4466
4467 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
4468 arg_pointer_rtx fixed if the argument pointer register is
4469 not fixed.
4470 (NONZERO_BASE_PLUS_P): Likewise.
4471
4472 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
4473
4474 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
4475 match_insn2 to match_insn.
4476 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
4477
4478 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
4479
4480 * Makefile.in (USER_H): Remove va-foo.h.
4481
4482 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
4483 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
4484 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
4485 va-spur.h,va-v850.h}: Remove.
4486
4487 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
4488
4489 * sparc/sparc.md (eligible_for_return_delay): New attribute.
4490 (in_return_delay): Use it instead of match_insn.
4491
4492 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4493
4494 * config/alpha/va_list.h (va-alpha.h): Do not include.
4495 (__gnuc_va_list): Typedef as in varargs.h.
4496
4497 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
4498
4499 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
4500 DECL_LIVE_RANGE_RTL.
4501
4502 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
4503
4504 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
4505 not NOTE_BLOCK_NUMBER.
4506 (expand_eh_region_end): Likewise.
4507 (find_exception_handler_labels): Likewise.
4508 (scan_region): Likewise.
4509 (exception_optimize): Likewise.
4510 (update_rethrow_references): Likewise.
4511 (set_insn_eh_region): Likewise.
4512 * final.c (final_scan_insn): Likewise.
4513 * flow.c (make_edges): Likewise.
4514 * integrate.c (expand_inline_function): Likewise.
4515 * print-rtl.c (print_rtx): Likewise.
4516
4517 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
4518
4519 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
4520 terms of builtin functions and types.
4521
4522 * mips.c (mips_build_va_list): New.
4523 (mips_va_start, mips_va_arg): New.
4524 * mips.h (BUILD_VA_LIST_TYPE): New.
4525 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
4526
4527 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
4528 (sh_build_va_list, sh_va_start, sh_va_arg): New.
4529 * sh.h (BUILD_VA_LIST_TYPE): New.
4530 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
4531
4532 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
4533
4534 * recog.h (struct recog_data): Make dup_num, operand_address_p,
4535 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
4536 (struct insn_data): Likewise with n_operands, n_dups,
4537 n_alternatives, output_format.
4538 * regclass.c (scan_one_insn): Cast n_operands to int before
4539 arithmetic inside comparison.
4540
4541 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
4542
4543 * toplev.c (compile_function): Unconditionally emit nop.
4544
4545 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4546
4547 * haifa-sched.c (actual_hazard): Move declaration of variable
4548 `this_cost' into the scope where it is used.
4549
4550 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4551
4552 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
4553 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
4554 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
4555
4556 * genrecog.c (make_insn_sequence): Call memset, not bzero.
4557
4558 * jump.c (find_insert_position): Don't declare or define unless
4559 !HAVE_conditional_arithmetic.
4560 (returnjump_p_1, delete_prior_computation): Add static prototypes.
4561
4562 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
4563
4564 * recog.c (offsettable_address_p): Prototype function pointer.
4565 (preprocess_constraints): Call memset, not bzero.
4566
4567 * tree.c (tree_node_kind_names): Constify a char*. Make static.
4568 (gcc_obstack_init): Don't declare.
4569 (fix_sizetype): Add static prototype.
4570 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
4571 (tree_cons): Call memset, not bzero.
4572
4573 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
4574 definition in macro ASM_WEAKEN_LABEL.
4575 (mark_const_hash_entry): Add static prototype.
4576
4577 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4578
4579 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
4580
4581 * unroll.c (find_common_reg_term, subtract_reg_term,
4582 loop_find_equiv_value): Add static prototypes.
4583 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
4584 (copy_loop_body): Remove unreachable break statement.
4585
4586 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
4587
4588 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
4589
4590 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4591
4592 Undo some changes from the gcc2 merge:
4593 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
4594 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
4595 pointers.
4596
4597 Undo this change:
4598 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
4599 * emit-rtl.c (gen_lowpart_common): Disable optimization of
4600 initialized float-int union if the value is a NaN.
4601
4602 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
4603
4604 * gthr-win32.h: New file.
4605
4606 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
4607 shared as a valid attribute.
4608 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
4609 * extend.texi: Document `shared' variable attribute.
4610
4611 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
4612
4613 * configure.in: Handle --enable-threads on FreeBSD.
4614 * configure: Rebuit.
4615
4616 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4617
4618 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
4619 thread support.
4620 * configure: Rebuilt.
4621
4622 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
4623 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
4624 Rosimildo DaSilva <rdasilva@connecttel.com>
4625
4626 * configure.in (m68k-*-rtemscoff*): Added.
4627 * configure.in (mips64orion-*-rtems*): Converted to ELF.
4628 * configure.in (sparc-*-rtemsaout*): Added as alias for old
4629 sparc-rtems configuration.
4630 * configure.in (sparc-*-rtemself*): Added.
4631 * configure.in (sparc-*-rtems*): Now ELF not a.out.
4632 * config/i386/rtems.h: Added comment.
4633 * config/sparc/rtemself.h: New file.
4634
4635 * configure.in (m68k-rtemself): Added.
4636 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
4637 and DWARF_DEBUGGING_INFO.
4638 * config/m68k/crti.s: New file.
4639 * config/m68k/crtn.s: New file.
4640 * config/m68k/t-crtstuff: New file.
4641 * config/m68k/rtemself.h: New file.
4642
4643 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
4644 global ctor/dtor and C++ exception handling.
4645 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
4646 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
4647 ENDFILE_SPEC.
4648 * config/i386/t-rtems-i386: New File.
4649
4650 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
4651
4652 * stmt.c (expand_end_case): Return right away if the case stack is
4653 empty.
4654
4655 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
4656
4657 * Makefile.in (version.c): Remove rule incorrectly brought in from
4658 the gcc2 merge.
4659
4660 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
4661
4662 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
4663 * msdos/top.sed: Take into account a prepended $(SHELL) to
4664 move-if-change.
4665 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
4666
4667 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
4668
4669 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4670
4671 * regmove.c (fixup_match_1): Don't change an unchanging register.
4672 (stable_but_for_p): Renamed to:
4673 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
4674 Changed all callers.
4675
4676 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
4677
4678 * loop.c (strength_reduce): Don't call reg_used_between_p if the
4679 insn from BL2 is after the insn from BL.
4680
4681 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
4682
4683 * recog.h (INSN_OUTPUT_FORMAT_*): New.
4684 (struct insn_data): Merge `template' and `outfun' into `output'.
4685 Add `output_format'.
4686 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
4687 (struct data): Remove `outfun'; add `output_format'.
4688 (name_for_index): Remove declaration.
4689 (output_insn_data): Handle output formats.
4690 (process_template): Emit the bare array for @.
4691 (gen_expand, gen_split): Set output_format to NONE.
4692 * output.h (get_insn_template): Declare.
4693 * final.c (get_insn_template): New.
4694 (final_scan_insn): Use it.
4695 * toplev.c (compile_file): Likewise.
4696
4697 * c4x/c4x.c (c4x_process_after_reload): Likewise.
4698 * i860/i860.c (output_delayed_branch): Likewise.
4699 (output_delay_insn): Likewise.
4700
4701 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4702
4703 * rtl.c (obstack_alloc_rtx): Removed.
4704
4705 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
4706
4707 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
4708
4709 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
4710
4711 * i386.c (call_insn_operand): Reject const_int.
4712 (expander_call_insn_operand): Use call_insn_operand.
4713
4714 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4715
4716 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
4717
4718 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
4719
4720 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
4721 Use DImode operation.
4722
4723 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
4724
4725 * gcc.c: Include sys/resource.h.
4726 (report_times): New flag.
4727 (execute): If report_times is set, calculate and report the
4728 CPU time consumed by each subprocess.
4729
4730 (rus, prus): New globals.
4731 (option_map): Add --time.
4732 (display_help): Document -time.
4733 (process_command): Set report_times if -time is given.
4734 Turn off -pipe if -time is given.
4735
4736 * invoke.texi: Document new option -time.
4737
4738 * configure.in: Check for getrusage. Check if we have to
4739 prototype getrusage.
4740 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
4741 * configure: Regenerate.
4742 * config.in: Regenerate.
4743
4744 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
4745
4746 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
4747 fields.
4748
4749 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
4750
4751 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
4752 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
4753 (nan): Return _thenan_sf or _thenan_df as appropriate.
4754 (L_thenan_sf): Define _thenan_sf.
4755 (L_thenan_df): Define _thenan_df.
4756
4757 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
4758 (DPBIT_FUNCS): Add _thenan_df.
4759
4760 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
4761
4762 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
4763 TYPE_SIZE_UNIT.
4764
4765 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4766
4767 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
4768
4769 * gcc.h: New file.
4770 (lang_specific_driver): Don't take a function pointer parameter.
4771 All callers changed.
4772
4773 * gcc.c: Include gcc.h.
4774 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
4775 lang_specific_extra_outfiles, fatal): Don't declare.
4776 (multilib_defaults_raw): Constify.
4777 (read_specs): Call memset, rather than bzero.
4778 (main): Call return, not exit.
4779 (lookup_compiler): Call memcpy, not bcopy.
4780 (fatal): Make extern.
4781
4782 * cppspec.c: Include gcc.h.
4783 (lang_specific_driver): Initialize variable `quote'. Constify a
4784 char*. All calls to the function pointer parameter now
4785 explicitly call `fatal'.
4786
4787 * gccspec.c (lang_specific_driver): Include gcc.h.
4788
4789 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
4790
4791 * arm.c (note_invalid_constants): Use recog_data.operand_type
4792 for recog_op_type.
4793
4794 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4795
4796 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
4797 Declare.
4798
4799 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
4800 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
4801 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
4802 reload_secondary_in_reload, reload_secondary_out_reload,
4803 reload_secondary_in_icode, reload_secondary_out_icode,
4804 reload_reg_rtx, reload_when_needed): Delete declarations.
4805 (struct reload): New structure.
4806 (rld): Declare new array.
4807 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
4808 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
4809 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
4810 reload_secondary_in_reload, reload_secondary_out_reload,
4811 reload_secondary_in_icode, reload_secondary_out_icode,
4812 reload_reg_rtx, reload_when_needed): Delete definitions.
4813 (rld): New array.
4814 (whole file): Replace uses of the deleted arrays with uses of rld.
4815 * reload1.c (whole file): Replace uses of the deleted arrays with
4816 uses of rld.
4817 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
4818 explicit loops, not with bcopy.
4819
4820 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
4821
4822 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
4823 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
4824 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
4825 insn_name): Delete and consolidate into new structures.
4826 (insn_operand_predicate_fn): New.
4827 (insn_output_fn): New.
4828 (insn_gen_fn): New.
4829 (struct insn_operand_data): New.
4830 (struct insn_data): New.
4831 (insn_data): New.
4832 (OUT_FCN): Update for insn_data change.
4833 * builtins.c (expand_builtin_strlen): Likewise.
4834 (expand_builtin_memcmp): Likewise.
4835 * combine.c (make_extraction, simplify_comparison): Likewise.
4836 * cse.c (canon_reg, cse_insn): Likewise.
4837 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
4838 * expmed.c (store_bit_field, extract_bit_field): Likewise.
4839 (emit_store_flag): Likewise.
4840 * expr.c (convert_move, emit_block_move): Likewise.
4841 (clear_storage, emit_push_insn, expand_increment): Likewise.
4842 (do_store_flag): Likewise.
4843 * expr.h (GEN_FCN): Likewise.
4844 (insn_gen_function): Die.
4845 * final.c (final_scan_insn): Update for insn_data change.
4846 (output_asm_name): Likewise.
4847 * function.c (fixup_var_refs_1): Likewise.
4848 * loop.c (check_dbra_loop): Likewise.
4849 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
4850 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
4851 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
4852 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
4853 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
4854 * regmove.c (gen_add3_insn): Likewise.
4855 * reload.c (push_secondary_reload, combine_reloads): Likewise.
4856 (find_reloads, find_reloads_address_1): Likewise.
4857 (debug_reload_to_stream): Likewise.
4858 * reload1.c (emit_reload_insns, gen_reload): Likewise.
4859 * stmt.c (expand_end_case): Likewise.
4860 * toplev.c (compile_file): Likewise.
4861
4862 * c4x/c4x.c (c4x_process_after_reload): Likewise.
4863 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
4864
4865 * print-rtl.c (insn_name_ptr): Remove declaration.
4866 (get_insn_name): Declare.
4867 (print_rtx): Use it.
4868 * genoutput.c (insn_name_ptr): Remove.
4869 (next_operand_number): New.
4870 (struct operand_data): New.
4871 (null_operand, odata, odata_end): New.
4872 (struct data): Use struct operand_data.
4873 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
4874 (get_insn_name): Renamed from name_for_index.
4875 (output_prologue): Define NO_MD_PROTOTYPES.
4876 (output_predicate_decls): Break out from output_epilogue.
4877 Iterate over the operands list.
4878 (output_operand_data): Break out from output_epilogue. Emit
4879 just the operands list.
4880 (output_insn_data): Break out from output_epilogue. Emit just
4881 the insn data.
4882 (output_epilogue): Remove.
4883 (output_get_insn_name): New.
4884 (constraints, op_n_alternatives, predicates, address_p): Die.
4885 (modes, strict_low, seen): Die.
4886 (scan_operands): Take new param `d' instead of writing to
4887 seven global variables.
4888 (compare_operands): New.
4889 (place_operands): New.
4890 (validate_insn_alternatives): Update for struct data change.
4891 (gen_insn): Don't zero or copy 7 global arrays. Update for
4892 scan_operands; call place_operands.
4893 (gen_peephole, gen_expand, gen_split): Likewise.
4894 (main): Update for new output routines.
4895
4896 * genattr.c (insn_name_ptr): Remove.
4897 (get_insn_name): New function.
4898 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
4899 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
4900 * genrecog.c: Likewise.
4901
4902 * alpha.md (adddi3): Make `pattern' array static.
4903
4904 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4905
4906 * config/c4x/c4x.h (c4x_rpts_cycles_string,
4907 c4x_cpu_version_string): Constify char *.
4908 * config/c4x/c4x.c (c4x_rpts_cycles_string,
4909 c4x_cpu_version_string): Likewise.
4910
4911 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
4912
4913 * tree.c (save_tree_status): Revert 10 Sep change.
4914 (restore_tree_status): Likewise. Call obstack_free with NULL
4915 before freeing the obstack proper.
4916
4917 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
4918
4919 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
4920
4921 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
4922 surrounding context.
4923
4924 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
4925
4926 * tree.c (type_hash_canon): Put all types in the hash-table, when
4927 GC'ing.
4928
4929 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
4930
4931 * recog.h (struct recog_data, recog_data): New.
4932 (recog_foo variables): Kill.
4933 * recog.c (recog_operand, recog_operand_loc): Kill.
4934 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
4935 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
4936 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
4937 (recog_data): Define.
4938 (extract_insn): Update all recog_foo references to use recog_data.
4939 (preprocess_constraints, constrain_operands): Likewise.
4940 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
4941 * genattrtab.c (main): Likewise.
4942 * genextract.c (main): Likewise.
4943 * genoutput.c: Likewise.
4944 * genrecog.c (write_subroutine, main): Likewise.
4945 * local-alloc.c (block_alloc): Likewise.
4946 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
4947 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
4948 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
4949 * reload.c (find_reloads, find_reloads_toplev): Likewise.
4950 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
4951 (reload_cse_simplify_operands): Likewise.
4952
4953 * arc/arc.c (arc_final_prescan_insn): Likewise.
4954 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
4955 * h8300/h8300.c (notice_update_cc): Likewise.
4956 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
4957 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
4958 * mn10200/mn10200.c (notice_update_cc): Likewise.
4959 * mn10300/mn10300.c (notice_update_cc): Likewise.
4960 * romp/romp.c (update_cc): Likewise.
4961 * sparc/sparc.c (check_pic): Likewise.
4962 * v850/v850.c (notice_update_cc): Likewise.
4963
4964 * genemit.c (main): Don't declare recog_operand.
4965
4966 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
4967
4968 * ggc.h (rtvec_def): Forward declare.
4969 (tree_node): Likewise.
4970 (ggc_root): Define.
4971 (roots): Declare.
4972 (ggc_set_mark_rtx): Add prototype.
4973 (ggc_set_mark_rtvec): Likewise.
4974 (ggc_set_mark_tree): Likewise.
4975 * ggc-simple.c (ggc_root): Don't define.
4976 (roots): Don't declare.
4977 (ggc_mark_rtx): Remove.
4978 (ggc_mark_rtvec): Likewise.
4979 (ggc_mark_tree): Likewise.
4980 (ggc_mark_varray): Likewise.
4981 (ggc_mark_tree_hash_table_entry): Likewise.
4982 (ggc_mark_tree_hash_table): Likewise.
4983 (ggc_set_mart_rtx): New function.
4984 (ggc_set_mark_rtvec): Likewise.
4985 (ggc_set_mark_tree): Likewise.
4986 (ggc_add_root): Remove.
4987 (ggc_add_rtx_root): Likewise.
4988 (ggc_remove_tree_root): Likewise.
4989 (ggc_add_string_root): Likewise.
4990 (ggc_add_tree_varray_root): Likewise.
4991 (ggc_add_tree_hash_table_root): Likewise.
4992 (ggc_del_root): Likewise.
4993 (ggc_mark_rtx_ptr): Likewise.
4994 (ggc_mark_tree_ptr): Likewise.
4995 (ggc_mark_string_ptr): Likewise.
4996 (ggc_mark_tree_varray_ptr): Likewise.
4997 (ggc_mark_tree_hash_table_ptr): Likewise.
4998 * ggc-common.c: New file.
4999 * Makefile.in (OBJS): Add ggc-common.o.
5000 (ggc-common.o): List dependencies.
5001
5002 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
5003
5004 * cppalloc.c (xstrdup): Use memcpy.
5005 * cpperror.c (cpp_print_containing_files): Don't use
5006 cpp_notice.
5007 * cpplib.c (conditional_skip): Set temp->lineno.
5008 (do_endif): Make error message less obscure.
5009 (if_directive_name): New function.
5010 (cpp_get_token [case EOF]): Unwind the if stack and generate
5011 error messages for each unterminated conditional in this file.
5012 (parse_string): Do not behave differently if -traditional.
5013
5014 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
5015
5016 * builtins.c (expand_builtin_va_arg): Cope with an array-type
5017 va_list decomposing to pointer-type.
5018 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
5019 (rs6000_va_arg): Likewise.
5020
5021 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
5022
5023 * except.c (start_dynamic_handler): Compute size using
5024 STACK_SAVEAREA_MODE.
5025
5026 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5027
5028 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
5029 include directory headers. Don't define strrchr. Don't provide
5030 my_* replacement functions. Prefer PTR over `pointer_type'.
5031 Don't prototype system functions. Don't redefine getopt.
5032
5033 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
5034 safe_read, safe_write, save_pointers, restore_pointers,
5035 is_id_char, in_system_include_dir, directory_specified_p,
5036 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
5037 find_corresponding_lparen, referenced_file_is_newer,
5038 save_def_or_dec, munge_compile_params, gen_aux_info_file,
5039 process_aux_info_file, identify_lineno, check_source,
5040 seek_to_line, forward_to_next_token_char, output_bytes,
5041 output_string, output_up_to, other_variable_style_function,
5042 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
5043 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
5044 find_static_definition, connect_defs_and_decs, add_local_decl,
5045 add_global_decls, needs_to_be_converted, visit_each_hash_node,
5046 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
5047 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
5048 scan_for_missed_items, edit_file, string_list_cons): Add static
5049 prototypes.
5050 (standard_exec_prefix, target_machine, target_version,
5051 default_syscalls_dir, string_list, string_list_cons, find_file,
5052 do_cleaning): Constify a char*.
5053 (safe_read, safe_write): Use PTR, not a char*.
5054 (is_id_char): Take an int, not a char.
5055 (main): Add prototype. Call return, not exit.
5056
5057 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
5058
5059 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
5060 when comparing types.
5061
5062 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
5063
5064 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
5065 (strength_reduce): Release the varrays from the no-bivs early exit.
5066
5067 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
5068 the loop over the registers.
5069
5070 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
5071 for a new obstack.
5072 (restore_tree_status): Check that instead when freeing the obstack.
5073
5074 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
5075
5076 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
5077 as pointers.
5078
5079 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5080
5081 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
5082 operand size modifiers.
5083
5084 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5085
5086 * c-common.c (c_common_nodes_and_builtins): Don't build
5087 va_list_type_node.
5088 * c-common.h (enum c_tree_index and related accesor macros): Remove
5089 everything now declared in tree.h.
5090 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
5091 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
5092 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
5093 (error_mark_node, void_type_node, char_type_node, integer_type_node,
5094 unsigned_type_node, ptr_type_node, va_list_type_node,
5095 integer_zero_node, null_pointer_node, integer_one_node): Delete.
5096 (init_decl_processing): Call build_common_tree_nodes and
5097 build_common_tree_nodes_2 instead of building their nodes here.
5098 Don't add roots for these nodes.
5099 * stor-layout.c (size_zero_node, size_one_node): Delete.
5100 (set_sizetype): Make a new node for bitsizetype each time.
5101 * tree.c (global_trees): New variable.
5102 (init_obstacks): Add a gc root for it.
5103 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
5104 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
5105 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
5106 (build_common_tree_nodes): New function.
5107 (fix_sizetype): New function.
5108 (build_common_tree_nodes_2): New function.
5109 * tree.h (enum tree_index): New.
5110 (global_trees): Declare.
5111 Add accessor macros for all nodes now moved to global_trees.
5112 Delete their declarations.
5113
5114 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
5115
5116 * c-decl.c (finish_function): When processing a nested function,
5117 push and pop GC context around rest_of_compilation.
5118
5119 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
5120
5121 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
5122 Default ix86_arch to PROCESSOR_I386.
5123 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
5124 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
5125 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
5126 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
5127 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
5128 (EXTRA_SPECS): Remove deleted specs.
5129
5130 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
5131
5132 * function.c (assign_stack_local_1): Allocate from
5133 function->x_frame_offset, not frame_offset.
5134
5135 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
5136
5137 * ggc.h (lang_cleanup_tree): Remove.
5138 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
5139 * ggc-callbacks.c (lang_cleanup_tree): Remove.
5140
5141 * c-decl.c (finish_struct): Use ggc_alloc to allocate
5142 TYPE_LANG_SPECIFIC when garbage collecting.
5143 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
5144 (lang_cleanup_tree): Remove.
5145
5146 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
5147
5148 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
5149 * crtstuff.c: Not here.
5150 * dwarf2out.c: Or here.
5151 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
5152 info.
5153
5154 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
5155
5156 * function.h (free_after_compilation): Remove decl parameter.
5157 (free_varasm_status0: Likewise.
5158 (free_emit_status): Likewise.
5159 (free_stmt_status): Likewise.
5160 (free_after_compilation): Likewise.
5161 (init_lang_status): New variable.
5162 (free_lang_status): Likewise.
5163 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
5164 * function.c (init_lang_status): New variable.
5165 (free_lang_status): Likewise.
5166 (push_function_context_to): Don't set function::decl here.
5167 (free_after_copmilation): Make decl parameter implicit. Call
5168 free_lang_status if defined.
5169 (prepare_function_start): Call init_lang_status if defined.
5170 (init_function_start): Set function::decl here.
5171 * profile.c (output_func_start_profiler): Don't call pushdecl
5172 until we've actually started the function.
5173 * stmt.c (free_stmt_status): Make decl parameter implicit.
5174 * toplev.c (rest_of_compilation): Don't pass decl to
5175 free_after_compilation.
5176 * varasm.c (free_varasm_status): Likewise.
5177
5178 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5179
5180 * except.c (call_get_eh_context): Add root when allocating static
5181 tree variable.
5182
5183 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
5184
5185 * arm.c: Include "ggc.h".
5186 (arm_add_gc_roots): New function.
5187 (arm_override_options): Call it.
5188 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
5189
5190 * arm.md (define_asm_attributes): Add a pool_range attribute.
5191
5192 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
5193
5194 * extend.texi (Volatiles): New node.
5195
5196 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
5197
5198 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
5199 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
5200 (struct ggc_any): Replace `mark' with `magic_mark'.
5201 (ggc_alloc_string): Use memcpy, not bcopy.
5202 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
5203 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
5204 (ggc_free_any): New.
5205 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
5206 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
5207 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
5208 Use IS_MARKED. Use ggc_free_any.
5209
5210 1999-09-09 Scott Bambrough <scottb@netwinder.org>
5211
5212 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
5213
5214 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
5215
5216 * toplev.c (main): Always init_ggc.
5217
5218 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
5219
5220 * except.c (find_all_handler_type_matches): Free the list if
5221 we found no matches.
5222
5223 * combine.c (SUBST): Break out to a real function do_SUBST.
5224 (SUBST_INT): Likewise.
5225 * gcse.c (free_pre_mem): Free `temp_bitmap'.
5226 (pre_insert): Free `inserted'.
5227 * loop.c (basic_induction_var): Always set `location'.
5228
5229 * function.c (expand_function_end): Add initial_trampoline as a root.
5230 * rtl.h (init_varasm_once): Declare.
5231 * toplev.c (compile_file): Call it.
5232 * ggc-simple.c (ggc_mark_string_ptr): New.
5233 (ggc_add_string_root): New.
5234 (ggc_collect): Disable collection avoidance temporarily.
5235 * ggc.h (ggc_add_string_root): Declare.
5236 * except.c (create_rethrow_ref): Use ggc_alloc_string.
5237 * optabs.c (init_libfuncs): Likewise.
5238 * varasm.c (named_section): Use ggc_alloc_string.
5239 (make_function_rtl): Likewise.
5240 (make_decl_rtl): Likewise.
5241 (assemble_static_space): Likewise.
5242 (assemble_trampoline_template): Likewise.
5243 (output_constant_def): Likewise.
5244 (force_const_mem): Likewise.
5245 (mark_const_hash_entry): New.
5246 (mark_pool_sym_hash_table): New.
5247 (mark_varasm_state): Use it.
5248 (init_varasm_once): New.
5249
5250 * expr.h (init_one_libfunc): Declare.
5251 * optabs.c (init_one_libfunc): New.
5252 (init_optabs): Use it.
5253 * config/gofast.h: Likewise.
5254 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
5255 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
5256
5257 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
5258
5259 * Makefile.in (cppexp.o): Depend on cpphash.h.
5260 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
5261 Include cpphash.h.
5262 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
5263 * cpplib.c (do_define): Generalise to handle poisoned definitions,
5264 redefining poisoned identifiers, etc.
5265 (do_undef): Don't allow poisoned identifiers to be undefined.
5266 (do_pragma): Add #pragma poison.
5267 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
5268
5269 * cccp.c: Add T_POISON node type.
5270 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
5271 poisoned xxx.
5272 (do_define): Generalise to handle poisoned definitions,
5273 redefining poisoned identifiers, etc.
5274 (do_undef): Don't allow poisoned identifiers to be undefined.
5275 (do_pragma): Add #pragma poison.
5276 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
5277
5278 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
5279 * c-pragma.h: Add ps_poison state. We now always have generic
5280 pragmas.
5281
5282 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
5283
5284 * ggc.h (ggc_alloc): New function.
5285 (ggc_mark): Likewise.
5286 * ggc-simple.c (ggc_any): New structure.
5287 (ggc_status): Add anys.
5288 (n_anys_collected): New variable.
5289 (ggc_alloc): Define.
5290 (ggc_mark): Likewise.
5291 (ggc_collect): Collect the anys.
5292
5293 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5294
5295 * c-decl.c (mark_binding_level): Make static to match prototype.
5296
5297 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
5298
5299 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
5300
5301 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
5302
5303 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
5304 will use into account. Expand the max width to 5.
5305 * rtl.c: Likewise.
5306
5307 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
5308
5309 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
5310 for the rtx length.
5311
5312 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
5313
5314 * alpha.md (call value patterns): Remove the result predicates.
5315
5316 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
5317
5318 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
5319 last change.
5320
5321 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5322
5323 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
5324 changed from extern char *, to extern PTR. Also fix typo in
5325 NEED_DECLARATION_REALLOC test.
5326
5327 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
5328
5329 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5330
5331 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
5332 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
5333 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
5334 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
5335
5336 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
5337
5338 * cccp.c (pcfinclude): Likewise.
5339
5340 * global.c (allocno_compare): Likewise.
5341
5342 * haifa-sched.c (rank_for_schedule): Likewise.
5343
5344 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
5345
5346 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
5347
5348 * stupid.c (stupid_reg_compare): Likewise.
5349
5350 * tree.c (_obstack_allocated_p): Likewise.
5351
5352 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
5353
5354 1999-09-08 Bruce Korb autogen@linuxbox.com
5355
5356 * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
5357 why "gperf -F" fails.
5358 * gcc/cp/Makefile.in: ditto
5359 * gcc/Makefile.in: ditto
5360 * gcc/java/Makefile.in: ditto
5361
5362 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
5363
5364 * lists.c: Include ggc.h.
5365 (zap_lists): New.
5366 (init_EXPR_INSN_LIST_cache): Install it.
5367
5368 * ggc-simple.c (init_ggc): Absorb the old init.
5369 (ggc_push_context): Use xcalloc.
5370 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
5371 (ggc_collect): Add [rvts] tags to the collection stats.
5372
5373 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
5374
5375 * cccp.c (main): Fix handling of -include and -imacros options.
5376
5377 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
5378
5379 * cpplib.c (cpp_push_buffer): Fix order of arguments.
5380
5381 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
5382
5383 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
5384 genrtl.c.
5385
5386 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
5387
5388 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
5389 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
5390 and SET_DEST. Update comment.
5391
5392 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5393
5394 * config/c4x/c4x.c: Include ggc.h.
5395 (c4x_add_gc_roots): New function.
5396 (c4x_override_options): Call c4x_add_gc_roots.
5397
5398 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
5399
5400 * defaults.h (TARGET_ESC): Move ...
5401 * system.h: ... here, where Linas had it in the first place. Silly me.
5402
5403 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
5404
5405 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
5406 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
5407 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
5408 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
5409 * defaults.h (TARGET_ESC): Add default.
5410
5411 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
5412
5413 * configure.in: add i370-*-openedition, i370-*-mvs and
5414 i370-*-linux targets
5415
5416 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
5417
5418 * dsp16xxx.c: Include ggc.h
5419 (override_options): Mark GC roots.
5420 * mn10200.c: Include ggc.h.
5421 (asm_file_start): Mark GC roots.
5422 * tahoe.c: Include ggc.h.
5423 (extensible_operand): Mark GC roots.
5424
5425 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
5426
5427 * README: Add section discussing status of ELF ABI.
5428 * i370.c: Fix misc spelling mistakes.
5429 (i370_label_scan): Updated notes, exception handling.
5430 (i370_function_prolog): Simplify ELF stack handling.
5431 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
5432 (STACK_GROWS_DOWNWARD): ELF stack grows down.
5433 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
5434 * i370.md: (movdi): Add notes.
5435 (floatsidf2): Use stack not rtca for scratch float area.
5436 (iorsi3): Correct operand constraints.
5437 * x-oe: Restore TAROUTOPTS which are used by pax.
5438
5439 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
5440
5441 * rs6000.c: Include ggc.h.
5442 (rs6000_add_gc_roots): New function.
5443 (override_options): Call it.
5444
5445 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
5446
5447 * alpha.h (alpha_compare): New.
5448 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
5449 * alpha.c: Likewise for the definitions.
5450 (alpha_emit_conditional_branch): Update for alpha_compare.
5451 (alpha_emit_conditional_move): Likewise.
5452 * alpha.md (cmpdf, cmpdi): Likewise.
5453 (setcc patterns): Likewise. Zero alpha_compare after use.
5454 (sne): Optimize (x != 0) into (0U < x).
5455
5456 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
5457
5458 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
5459 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
5460 (INIT_EXPANDERS): Remove.
5461 * alpha.c: Include ggc.h.
5462 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
5463 (alpha_init_machine_status, alpha_mark_machine_status): New.
5464 (override_options): Install them.
5465 (struct machine_function): Moved to alpha.h.
5466 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
5467 (alpha_init_expanders): Remove.
5468 (alpha_return_addr): Adjust to use current_function->machine.
5469 (alpha_ra_ever_killed): Likewise.
5470 (alpha_expand_epilogue): Likewise.
5471 * alpha.md (eh_epilogue): Likewise.
5472
5473 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
5474 Melissa O'Neill <oneill@cs.sfu.ca>
5475 Geoffrey Keating <geoffk@cygnus.com>
5476
5477 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
5478 call-used registers (call-saved registers must still be contiguous
5479 and end with r31, of course).
5480
5481 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
5482
5483 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
5484 (self_promoting_type_p): Delete.
5485 (self_promoting_args_p): Move ...
5486 * c-common.c: ... here.
5487 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
5488 (simple_type_promotes_to): New.
5489 * builtins.c (lang_type_promotes_to): New.
5490 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
5491 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
5492 * c-common.h: ... here.
5493 (self_promoting_args_p, simple_type_promotes_to): Declare.
5494 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
5495 (grokdeclarator): Likewise.
5496 * tree.h (lang_type_promotes_to): Declare.
5497
5498 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
5499
5500 Add some machine-dependent GC roots.
5501 * sparc.c: Include ggc.h.
5502 (sparc_add_gc_roots): New function.
5503 (mark_ultrasparc_pipeline_state): Likewise.
5504 (override_options): Call sparc_add_gc_roots.
5505 * pa.c: Include ggc.h.
5506 (pa_add_gc_roots): New function.
5507 (mark_deferred_plabels): Likewise.
5508 (override_options): Call pa_add_gc_roots.
5509 * mips.c: Include ggc.h.
5510 (mips_add_gc_roots): New function.
5511 (override_options): Use it.
5512
5513 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5514
5515 * cpperror.c (cpp_file_line_for_message): Constify a char*.
5516
5517 * cppexp.c (parse_number, parse_charconst, cpp_lex,
5518 cpp_parse_expr): Add static prototypes.
5519 (parse_charconst): Don't cast away const-ness.
5520 (token): Constify a char*.
5521
5522 * cppfiles.c (file_name_list, include_hash, find_include_file,
5523 finclude, initialize_input_buffer): Constify a char*.
5524 (file_cleanup, find_position): Add static prototypes.
5525
5526 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
5527 collect_expansion): Add static prototypes.
5528 (cpp_install, create_definition, monthnames): Constify a char*.
5529
5530 * cpphash.h (cpp_install): Likewise.
5531
5532 * cppinit.c (known_suffixes, default_include,
5533 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
5534 (base_name, dump_special_to_buffer, initialize_dependency_output):
5535 Add static prototypes.
5536
5537 * cpplib.c (my_strerror): Constify a char*.
5538 (null_underflow, null_cleanup, skip_comment, copy_comment,
5539 copy_rest_of_line, handle_directive, pass_thru_directive,
5540 get_directive_token, read_line_number, cpp_print_file_and_line,
5541 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
5542 v_cpp_warning_with_line, detect_if_not_defined,
5543 consider_directive_while_skipping): Add static prototypes.
5544 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
5545 cpp_pedwarn_with_file_and_line): Constify a char*.
5546
5547 * cpplib.h (cpp_options, include_hash, progname, definition,
5548 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
5549 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
5550 find_include_file, deps_output, include_hash): Constify a char*.
5551
5552 * cppmain.c (progname): Constify.
5553 (main): Add prototype. Use return, not exit.
5554
5555 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
5556 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
5557 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
5558 check_protection): Add static prototype.
5559 (xfree): Remove.
5560 (progname, recognized_macrom, recognized_extern): Constify a char*.
5561 (main): Add prototype.
5562
5563 * gen-protos.c (progname): Constify a char*.
5564
5565 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
5566
5567 * emit-rtl.c (free_emit_status): Take decl as a parameter.
5568 (init_emit_once): Add more GC roots.
5569 * except.c (mark_func_eh_entry): New function.
5570 (mark_eh_node): Mark false_label and rethrow_label.
5571 (init_eh): Add more GC roots.
5572 * function.c (free_after_compilation): Take decl as a paramter.
5573 Call free_stmt_status.
5574 (mark_function_state): Don't assume x_parm_reg_stack_loc is
5575 non-NULL.
5576 * function.h (free_after_compilation): Change prototype.
5577 (free_varasm_status): Likewise.
5578 (free_emit_status): Likewise.
5579 (free_stmt_status): New function.
5580 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
5581 Remove, replacing with ...
5582 (ggc_status): New structure.
5583 (ggc_chain): New variable.
5584 (init_gcc): Define.
5585 (ggc_push_context): New function.
5586 (ggc_pop_context): Likewise.
5587 (ggc_alloc_rtx): Adjust for use of ggc_chain.
5588 (ggc_alloc_rtvec): Likewise.
5589 (ggc_alloc_tree): Likewise.
5590 (ggc_alloc_string): Likewise.
5591 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
5592 (ggc_mark_tree): Give language-dependent code a chance to mark
5593 `x' nodes.
5594 (ggc_mark_tree_varray): Handle empty arrays.
5595 (ggc_collect): Adjust for use of ggc_chain. Clear
5596 bytes_alloced_since_last_gc.
5597 * ggc.h (ggc_pop_context): New function.
5598 (ggc_push_context): Likewise.
5599 * print-tree.c (print_node): Don't print obstacks when GC'ing.
5600 * stmt.c (free_stmt_status): New function.
5601 (init_stmt_for_function): Clear last_expr_value.
5602 * toplev.c (rest_of_compilation): Always call free_after_compilation.
5603 Conditionalize call to ggc_collect.
5604 (main): Call init_ggc.
5605 * tree.c (push_obstacks): Do the push, even when GC'ing.
5606 (push_obstacks_nochange): Likewise.
5607 (pop_obstacks): Liekwise.
5608 * varasm.c (free_varasm_status): Take decl as a parameter.
5609
5610 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
5611
5612 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
5613 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
5614 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
5615 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
5616
5617 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
5618
5619 * pa/x-pa-mpeix: New file for the MPE port.
5620
5621 * pa/quadlib.asm: New file for long double support.
5622
5623 * configure.in: Add hppa1.0-*-mpeix for MPE port.
5624 * configure: Rebuilt.
5625
5626 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
5627
5628 * final.c (shorten_branches): Fix last change.
5629
5630 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
5631
5632 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
5633
5634 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
5635
5636 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
5637 details.
5638
5639 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5640
5641 * c-aux-info.c (concat): Don't define.
5642
5643 * cccp.c (my_strerror): Likewise. All callers changed to use
5644 xstrerror instead.
5645 (do_include): Call xstrdup, not xmalloc/strcpy.
5646 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
5647 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
5648
5649 * collect2.c (my_strsignal): Likewise. All callers changed to use
5650 strsignal instead.
5651 (locatelib): Call xstrdup, not xmalloc/strcpy.
5652
5653 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
5654
5655 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
5656
5657 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
5658
5659 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
5660
5661 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
5662
5663 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
5664
5665 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
5666 malloc/realloc.
5667 (find_all_handler_type_matches): Likewise. Don't check return
5668 value.
5669 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
5670 xmalloc, not malloc.
5671 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
5672
5673 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
5674 (init_spec): Call xcalloc, not xmalloc/bzero.
5675 (set_spec): Call xstrdup, not save_string.
5676 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
5677 (find_a_file): Call xstrdup, not xmalloc/strcpy.
5678 (process_command): Call xstrdup, not save_string.
5679 (main): Call xcalloc, not xmalloc/bzero.
5680
5681 * gcov.c (xmalloc): Don't define.
5682 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
5683 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
5684 (output_data): Call xcalloc, not xmalloc/bzero.
5685
5686 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
5687
5688 * mips-tdump.c (xmalloc): Don't define.
5689 (print_symbol): Call xmalloc, not malloc.
5690 (read_tfile): Call xcalloc, not calloc.
5691
5692 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
5693 Don't define. All callers of xfree/my_strsignal changed to use
5694 free/strsignal instead.
5695 (allocate_cluster): Call xcalloc, not calloc.
5696
5697 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
5698 Fix memory leak, free allocated memory.
5699
5700 * prefix.c (translate_name): Call xstrdup, not save_string.
5701 (update_path): Likewise.
5702
5703 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
5704
5705 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
5706 Don't define. Callers of xfree/savestring2 changed to use
5707 free/concat instead.
5708
5709 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
5710 (init_elim_table): Likewise.
5711
5712 * resource.c (init_resource_info): Likewise.
5713
5714 * stupid.c (stupid_life_analysis): Likewise.
5715
5716 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
5717 (open_dump_file): Call concat, not xmalloc/strcpy/...
5718 (clean_dump_file): Likewise.
5719 (compile_file): Call xstrdup, not xmalloc/strcpy.
5720
5721 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
5722
5723 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
5724 * v850.c (v850_va_arg): New.
5725
5726 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5727
5728 * haifa-sched.c: Tidy comments.
5729
5730 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5731
5732 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
5733 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
5734 $(out_object_file)): Depend on ggc.h.
5735 * c-common.c: Include "ggc.h".
5736 (combine_strings): If doing GC, use ggc_alloc_string.
5737 * c-decl.c: Include "ggc.h".
5738 (ggc_p): Define with value 0.
5739 (mark_binding_level): New function.
5740 (init_decl_processing): Add GC roots.
5741 (mark_c_function_context): New function.
5742 (lang_mark_false_label_stack): New function.
5743 (lang_mark_tree): New function.
5744 (lang_cleanup_tree): New function.
5745 * c-lang.c: Include "ggc.h".
5746 (lang_init): Call c_parse_init.
5747 * c-lex.c: Include "ggc.h".
5748 (check_linenum): If doing GC, don't copy filenames to permanent
5749 obstack.
5750 * c-parse.in: Include "ggc.h".
5751 (c_parse_init): New function.
5752 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
5753 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
5754
5755 * except.c (mark_eh_state): Mark more state.
5756 * function.c (mark_function_state): Likewise.
5757 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
5758 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
5759 * toplev.c (mark_file_stack): New function.
5760 (compile_file): If doing GC, use ggc_alloc_string on input filename.
5761 (main): Add root for input_file_stack.
5762
5763 * i386.c: Include "ggc.h".
5764 (ix86_mark_machine_status): New function.
5765 (override_options): Set mark_machine_status.
5766
5767 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5768
5769 * tree.c (copy_node): Copy node contents also if doing GC.
5770
5771 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
5772
5773 * collect2.c (scan_libraries): Fix double-thinko :-).
5774
5775 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
5776
5777 * collect2.c (scan_libraries): Fix thinko.
5778
5779 * cse.c (delete_trivially_dead_insns): Do not skip the last
5780 insn if it is a real insn.
5781
5782 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
5783
5784 * Makefile.in (ggc-simple.o): Depend on hash.h.
5785 * ggc.h (ggc_add_tree_hash_table_root): Declare.
5786 (ggc_mark_tree_varray): Likewise.
5787 (ggc_mark_tree_hash_table): Likewise.
5788 * ggc-simple.c: Include hash.h.
5789 (ggc_mark_tree_hash_table_ptr): New function.
5790 (ggc_mark_tree_hash_table_entry): Likewise.
5791 (ggc_mark_tree_hash_table): Likewise.
5792 (ggc_add_tree_hash_table_root): Likewise.
5793 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
5794 rtx, when defining fields.
5795
5796 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
5797
5798 * profile.c (output_func_start_profiler): Remove apparently
5799 nonsensical call to start_sequence.
5800
5801 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
5802
5803 * clipper/clipper.c (clipper_va_start): Fix typos.
5804
5805 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
5806 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
5807 (spur_va_arg): New stub.
5808
5809 * configure.in: Comment out pyramid.
5810
5811 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
5812
5813 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
5814 don't conflict with the bits that win32, cygwin, and dgux
5815 defines.
5816
5817 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
5818 Bernd Schmidt <bernds@cygnus.co.uk>
5819
5820 * integrate.c (function_cannot_inline_p): Do not inline
5821 functions with forced labels.
5822
5823 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
5824 Bernd Schmidt <bernds@cygnus.co.uk>
5825 Mark Mitchell <mark@codesourcery.com>
5826
5827 * Makefile.in (ggc-simple.o): Depend on varray.h.
5828 (rtl.o): Depend on ggc.h.
5829 (genattrtab.o): Depend on ggc.h.
5830 (print-tree.o): Likewise.
5831 (fold-const.o): Likewise.
5832 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
5833 (make_insn_raw): Don't cache insns when GC'ing.
5834 (emit_insn_before): Likewise.
5835 (emit_insn_after): Likewise.
5836 (emit_insn): Likewise.
5837 (start_sequence): Use xmalloc to allocate the sequence_stack.
5838 (end_sequence): Add free to free it.
5839 (gen_sequence): Don't cache insns when GC'ing.
5840 (clear_emit_caches): Don't use sequence_element_free_list.
5841 (init_emit): Use xcalloc, not xmalloc+bzero.
5842 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
5843 * function.c (pop_function_context_from): Use free to free the
5844 fixup_var_refs_queue.
5845 (put_reg_into_stack): Allocate it with xmalloc.
5846 * genattrtab.c: Include ggc.h.
5847 (operate_exp): Don't use obstack_free when GC'ing.
5848 (simplify_cond): Likewise.
5849 (simplify_text_exp): Likewise.
5850 (optimize_attrs): Likewise.
5851 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
5852 GC'ing.
5853 (gencode): Generate a #include for ggc.h.
5854 * ggc-callbacks.c (ggc_p): Define it to zero.
5855 * ggc-none.c (ggc_p): Likewise.
5856 * ggc-simple.c: Include varray.h.
5857 (ggc_mark_tree_varray): New function.
5858 (ggc_add_tree_varray_root): Likewise.
5859 (ggc_mark_tree_varray_ptr): Likewise.
5860 * ggc.h (ggc_p): Declare.
5861 (varray_head_tag): Likewise.
5862 (ggc_add_tree_varray_root): Declare.
5863 * print-tree.c (print_node): Don't check for TREE_PERMANENT
5864 inconsistencies when GC'ing.
5865 * rtl.c: Include ggc.h.
5866 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
5867 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
5868 (rtx_free): Don't call obstack_free when GC'ing.
5869 * toplev.c (rest_of_compilation): Call ggc_collect after every
5870 pass, if GC'ing.
5871 * tree.c (push_obstacks): Do nothing, if GC'ing.
5872 (pop_obstacks_nochange): Likewise.
5873 (pop_obstacks): Likewise.
5874 (make_node): Use ggc_alloc_tree when GC'ing.
5875 (copy_node): Likewise.
5876 (get_identifier): Use ggc_alloc_string when GC'ing.
5877 (build_string): Likewise.
5878 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
5879 (tree_cons): Likewise.
5880 (build1): Likewise.
5881 (type_hash_canon): Don't call obstack_free when GC'ing.
5882
5883 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
5884
5885 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
5886 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
5887
5888 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
5889 Bernd Schmidt <bernds@cygnus.co.uk>
5890 Mark Mitchell <mark@codesourcery.com>
5891
5892 * Makefile.in (stor-layout.o): Depend on ggc.h.
5893 (expr.o): Depend on ggc.h.
5894 (profile.o): Depend on ggc.h.
5895 (stor-layout.o): Depend on ggc.h.
5896 * emit-rtl.c (init_emit_once): Add gc roots.
5897 * expr.c: Include ggc.h.
5898 (emit_block_move): Add gc roots.
5899 (clear_storage): Likewise.
5900 * expr.h (init_stor_layout_once): New function.
5901 * profile.c: Include ggc.h.
5902 (init_arc_profiler): profiler_label is a root.
5903 * scan.c (make_sstring_space): Trust xrealloc to function
5904 correctly with first parameter NULL.
5905 * stor-layout.c: Include ggc.h.
5906 (set_sizetype): Add gc root.
5907 (init_stor_layout_once): New function.
5908 * toplev.c (compile_file): Call it.
5909
5910 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
5911 Bernd Schmidt <bernds@cygnus.co.uk>
5912 Mark Mitchell <mark@codesourcery.com>
5913
5914 * Makefile.in (tree.o): Depend on ggc.h.
5915 (varasm.o): Likewise.
5916 (function.o): Likewise.
5917 (stmt.o): Likewise.
5918 (except.o): Likewise.
5919 (optabs.o): Likewise.
5920 (emit-rtl.o): Likewise.
5921 * emit-rtl.c: Include ggc.h.
5922 (sequence_element_free_list): Remove, and all references.
5923 (mark_sequence): New functions.
5924 (mark_emit_state): New function.
5925 * except.c: Include ggc.h.
5926 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
5927 (mark_tree_label_node): New functions.
5928 (mark_eh_state): New function.
5929 * function.c: Include ggc.h.
5930 (mark_temp_slot, mark_function_chain): New functions.
5931 (mark_function_state): New function.
5932 (init_function_once): New function.
5933 * function.h (init_function_once): New function.
5934 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
5935 * ggc.h (label_node): Declare.
5936 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
5937 (lang_mark_false_label_stack): New function.
5938 (mark_temp_slot): Remove declaration.
5939 (mark_function_chain): Likewise.
5940 (mark_eh_state): Adjust prototype.
5941 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
5942 Likewise.
5943 * optabs.c: Include ggc.h.
5944 (mark_optab): New function.
5945 (init_optabs): Add gc roots.
5946 * stmt.c: Include ggc.h.
5947 (mark_cond_nesting, mark_loop_nesting): New functions.
5948 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
5949 (mark_stmt_state): New function.
5950 * toplev.c (compile_file): Call init_function_once.
5951 * tree.c: Include ggc.h.
5952 (type_hash): Move declaration earlier in file.
5953 (TYPE_HASH_SIZE, type_hash_table): Likewise.
5954 (init_obstacks): Add gc roots.
5955 (mark_type_hash): New function.
5956 * varasm.c: Include ggc.h.
5957 (mark_pool_constant): New function.
5958 (mark_varasm_state): New function.
5959
5960 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5961
5962 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
5963
5964 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5965
5966 * c-decl.c (struct language_function): Renamed from struct c_function.
5967 Delete elt NEXT.
5968 (c_function_chain): Delete.
5969 (push_c_function_context): New arg F. Don't warn about nested
5970 functions here. Fill LANGUAGE elt of F. Delete code to update
5971 c_function_chain. Don't call push_function_context.
5972 (pop_c_function_context): New arg F. Restore from there instead of
5973 from c_function_chain. Don't call pop_function_context. Clear out
5974 LANGUAGE field of F when done.
5975 * c-lang.c: Include "function.h"
5976 (lang_init): Initialize save_lang_status and restore_lang_status.
5977 * c-parse.in (nested_function, nested_function_notype): Warn about
5978 nested functions. Call push_function_context/pop_function_context
5979 instead of the _c_ variants.
5980 * c-tree.h (push_c_function_context, pop_c_function_context): Update
5981 prototype.
5982 * Makefile.in (c-lang.o): Update dependencies.
5983
5984 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
5985 regno_pointer_flag, regno_pointer_align.
5986 (gen_reg_rtx): Use xrealloc to enlarge them.
5987 (free_emit_status): New function.
5988 * function.c (mark_machine_status, mark_lang_status): New variables.
5989 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
5990 in some bits from assign_stack_local. All callers changed to use new
5991 name.
5992 (assign_stack_local): Just call assign_stack_local_1.
5993 (free_after_compilation): New function.
5994 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
5995 (trampoline_address): Likewise.
5996 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
5997 (prepare_function_start): Explicitly clear some more variables.
5998 * function.h (struct function): New elt can_garbage_collect.
5999 (mark_machine_status, mark_lang_status): Declare variables.
6000 (free_after_compilation, free_emit_status, free_varasm_status,
6001 init_varasm_status): Declare functions.
6002 * toplev.c (rest_of_compilation): Call free_after_compilation when
6003 done with the current function.
6004 * varasm.c (free_varasm_status): New function.
6005
6006 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
6007
6008 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
6009 (EXPAND_BUILTIN_VA_ARG): Define.
6010 * sparc.c (sparc_va_start): New.
6011 (sparc_va_arg): New.
6012
6013 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6014
6015 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
6016
6017 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6018
6019 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
6020
6021 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
6022
6023 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
6024 (OBJS): Add $(GGC).
6025 (ggc-callbacks.o): New target.
6026 * ggc-callbacks.c: New file.
6027
6028 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6029
6030 * expr.h: Collapse individual optab and libfunc vars to arrays.
6031 (optab_index, libfunc_index): New enumerations.
6032 (optab_table, libfunc_table): New arrays.
6033 Add accessor macros for both.
6034
6035 * optabs.c (optab_table, libfunc_table): New.
6036 Delete declarations for individual optab and libfunc vars.
6037
6038 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
6039
6040 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
6041
6042 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
6043
6044 * Makefile.in (GGC, GGC_LIB): New.
6045 (HOST_RTL): Include ggc-none.o.
6046 (ggc-simple.o): New target.
6047 (ggc-none.o): Likewise.
6048 * tree.h (tree_common): Add gc_mark.
6049 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
6050 (struct rtvec_def): Add gc_mark.
6051 * emit-rtl.c (global_rtl): Update static initializers to contain
6052 enough initializers.
6053 * ggc.h, ggc-none.c, ggc-simple.c: New files.
6054 * toplev.c (gc_time): New variable.
6055 (all_time): New variable.
6056 (compile_file): Print gc time.
6057 (print_time): Calculate percentage of the whole.
6058
6059 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6060
6061 Change obstack memory management and varasm constant pool handling so
6062 that nested functions are treated like any other functions.
6063 * function.c (init_machine_status): New variable.
6064 (push_function_context_to): Set contains_functions for the outer
6065 function. Don't call save_varasm_status.
6066 (pop_function_context_from): Don't call restore_varasm_status. Don't
6067 set current_function_contains_functions.
6068 (prepare_function_start): Call init_varasm_status rather than
6069 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
6070 is non-null.
6071 * function.h (struct function) Add field varasm. Delete fields
6072 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
6073 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
6074 (init_machine_status): Declare.
6075 (save_varasm_status, restore_varasm_status): Delete declarations.
6076 (save_tree_status, restore_tree_status): Delete last argument.
6077 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
6078 code. All callers changed.
6079 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
6080 save_constants_in_decl_trees, restore_constants, save_constants,
6081 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
6082 functions.
6083 (inlining): New variable.
6084 (reg_map, label_map, insn_map, orig_asm_operands_vector,
6085 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
6086 variables.
6087 (save_for_inline_nocopy): Don't save constants.
6088 Don't set inl_emit field in current_function.
6089 (expand_inline_function): Use emit field, not inl_emit, of the inlined
6090 function. Set new variable inlining before
6091 calling copy_rtx_and_substitute.
6092 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
6093 constant pool references if inlining is nonzero.
6094 Delete ADDRESS and (most of the) CONST cases.
6095 (output_inline_function): Save and restore current_function/
6096 current_function_decl. Delete restore_constants code. Don't call
6097 init_const_rtx_hash_table.
6098 * output.h (init_const_rtx_hash_table): Don't declare.
6099 * rtl.h (struct function): Declare.
6100 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
6101 * toplev.c (rest_of_compilation): Don't treat nested functions or
6102 functions containing them specially. Delete all code to deal with
6103 save_for_inline_copying.
6104 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
6105 inline_obstacks): Delete variables.
6106 (save_tree_status): Lose arg CONTEXT. All callers changed.
6107 Simply allocate a new function_maybepermanent_obstack for the new
6108 function, delete all the special cases.
6109 Don't save inline_obstacks.
6110 (restore_tree_status): Lose arg CONTEXT. All callers changed.
6111 Delete special handling for function_maybepermanent_obstack; simply
6112 free it if empty.
6113 Don't restore inline_obstacks.
6114 (permanent_allocation): Delete code that frees inline_obstacks.
6115 (print_inline_obstack_statistics): Delete function.
6116 (dump_tree_statistics): Don't call it.
6117 * varasm.c (struct varasm_status): New.
6118 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
6119 last_pool, pool_offset, const_double_chain): Delete global
6120 variables, replace with accessor macros.
6121 (immed_double_const): Don't walk const_double_chain outside a
6122 function, but don't treat nested functions specially anymore.
6123 (immed_real_const_1): Likewise.
6124 (clear_const_double_mem): Don't treat nested functions specially.
6125 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
6126 (save_varasm_status, restore_varasm_status): Delete functions.
6127 (init_varasm_status): New function.
6128 (force_const_mem): Don't treat nested functions specially.
6129 (find_pool_constant): Accept new arg F, search for constants in
6130 that function's pool rather than the current one. All callers
6131 changed.
6132 (get_pool_constant_for_function, get_pool_mode_for_function): New
6133 functions.
6134
6135 * i386.c (init_386_machine_status): New function, mostly from
6136 clear_386_stack_locals.
6137 (struct machine_functions): Rename element names to avoid name
6138 clashes.
6139 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
6140 macros, replacing global variables.
6141 (clear_386_stack_locals, save_386_machine_status,
6142 restore_386_machine_status): Delete functions.
6143 (override_options): Initialize init_machine_status.
6144 * i386.h (INIT_EXPANDERS): Delete macro.
6145 (save_386_machine_status, restore_386_machine_status,
6146 clear_386_stack_locals): Delete declarations.
6147
6148 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6149
6150 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
6151 (doloop_begin): Simplify pattern and use emit_jump_insn.
6152 (doloop_end): Simplify pattern, switch operand order,
6153 and use emit_jump_insn.
6154
6155 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
6156
6157 * function.h (struct function): Add new element LANGUAGE.
6158 (save_lang_status): Declare new variable.
6159 (restore_lang_status): Likewise.
6160 * function.c (save_lang_status): Define.
6161 (restore_lang_status): Likewise.
6162 (push_function_context_to): Call language-specific save function.
6163 (pop_function_context_from): Call language-specific restore function.
6164
6165 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
6166
6167 * i386.md (movsf_1): Check REG_P before use of REGNO.
6168 (movdf_1): Likewise.
6169 (movxf_1): Likewise.
6170 (extendsfdf2): Likewise.
6171 (extendsfxf2): Likewise.
6172 (extenddfxf2): Likewise.
6173
6174 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6175
6176 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
6177 constants into memory.
6178 (c4x_shiftable_constant): New function.
6179 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
6180 (c4x_shiftable_constant): Declare.
6181 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
6182 ashlqi3_noclobber): Add new patterns and associated splitters.
6183
6184 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
6185
6186 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
6187 * dwarf2out.c (dwarf2out_frame_init): Likewise.
6188 * final.c (shorten_branches): Likewise.
6189 * global.c (global_alloc): Likewise.
6190 * haifa-sched.c (build_control_flow): Likewise.
6191 * stmt.c (check_for_full_enumeration_handling): Likewise.
6192 (estimate_case_costs): Likewise.
6193
6194 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
6195
6196 * rtl.h (RTL_CHECKC2): Fix typo in last change.
6197
6198 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
6199
6200 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
6201 (recompute_reg_usage): Likewise.
6202 * rtlanal.c (find_regno_fusage): Likewise.
6203
6204 * rtl.c (rtl_check_failed_code1): New function.
6205 (rtl_check_failed_code2): New.
6206 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
6207 (RTL_CHECKC1, RTL_CHECKC2): New.
6208 (XC*): New accessor macros.
6209 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
6210 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
6211 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
6212 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
6213 (TRAP_*, RANGE_INFO_*): Likewise.
6214
6215 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6216
6217 * Makefile.in (tlink.o): Don't depend on toplev.h.
6218
6219 * collect2.c (c_file, o_file, export_file, import_file, ldout,
6220 output_file, nm_file_name, ldd_file_name, strip_file_name,
6221 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
6222 add_prefix, prefix_from_env, prefix_from_string, do_wait,
6223 fork_execute, maybe_unlink, add_to_list,
6224 extract_init_priority, write_list, dump_list,
6225 dump_prefix_list, write_list_with_asm, write_c_file,
6226 write_c_file_stat, write_c_file_glob, scan_prog_file,
6227 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
6228 ignore_library, extract_string, notice, dump_file, target_machine,
6229 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
6230 read_file, print_load_command): Constify a char*.
6231 (fdopen, error, fatal, fatal_perror): Don't prototype.
6232 (my_strerror): Remove. All callers use xstrerror instead.
6233 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
6234 (main): Add prototype. Constify lots of char* ptrs. Change calls
6235 to xcalloc/strcpy/strcat/... to one call to concat.
6236 (main, scan_prog_file, scan_libraries): Use an intermediate
6237 `const char **' to build an argv array.
6238 (mapfile, libselect, libcompare, locatelib): Add prototypes.
6239
6240 * collect2.h (collect_execute, collect_wait, dump_file,
6241 file_exists): Constify a char*.
6242 (ldout, c_file_name, temporary_obstack, permanent_obstack,
6243 temporary_firstobj, vflag, debug): Add extern declarations.
6244 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
6245
6246 * tlink.c: Don't include toplev.h.
6247 (vflag, debug, ldout, c_file_name, temporary_obstack,
6248 permanent_obstack, temporary_firstobj): Don't declare.
6249 (tlink_execute, frob_extension, symbol_hash_lookup,
6250 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
6251 recompile_files, read_repo_files, demangle_new_symbols,
6252 scan_linker_output): Constify a char*.
6253 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
6254 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
6255
6256 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
6257
6258 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
6259 (relative) rather than jsr (absolute) subroutine call insns.
6260 * config/m68k/m68k-coff.h: Ditto.
6261
6262 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
6263
6264 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
6265 now rework these too.
6266 (arm_reorg): If an insn can't reach the end of the current pool,
6267 ensure that we emit that pool before the insn.
6268
6269 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
6270
6271 * tlink.c (scan_linker_output): Skip the initial underscore in
6272 a mangled name if appropriate.
6273
6274 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6275
6276 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
6277 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
6278 error_with_ivar, gen_declarator, create_builtin_decl,
6279 my_build_string, generate_descriptor_table, generate_ivars_list,
6280 generate_dispatch_table, check_protocols, TAG_GETCLASS,
6281 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
6282 dump_base_name, lang_decode_option, build_encode_expr,
6283 start_class, finish_class, encode_pointer, really_start_method,
6284 gen_declaration, dump_interface, handle_class_ref, handle_impent):
6285 Constify.
6286 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
6287 Add static prototypes.
6288 (build_objc_string_decl, build_selector_reference_decl,
6289 encode_bitfield, build_class_reference_decl): Remove unused
6290 parameter, all callers changed.
6291 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
6292 (objc_printable_name): Likewise. Change second parameter to type int.
6293 (init_objc): Use memcpy, not bcopy, to avoid casts.
6294
6295 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
6296
6297 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
6298 reg notes on a deleted insn.
6299 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
6300
6301 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
6302
6303 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
6304
6305 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6306
6307 * stmt.c (expand_asm_operands): Fix index into inout_mode when
6308 reading it.
6309
6310 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
6311
6312 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
6313 * tm.texi (MD_ASM_CLOBBERS): Document it.
6314
6315 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
6316
6317 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
6318 * except.c (expand_rethrow): Remove unused variable.
6319 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
6320 * flow.c (replace_insns): Likewise.
6321 (create_edge_list, verify_edge_list): Likewise.
6322 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
6323
6324 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
6325 is special code to run.
6326 (main): Don't define operands to emit_operand.
6327 * genrecog.c (main): Don't emit an empty peephole2_insn function.
6328
6329 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
6330
6331 * alpha/alpha.h (normal_memory_operand): Declare.
6332 (reg_no_subreg_operand): Declare.
6333 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
6334
6335 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
6336
6337 * c-parse.in (compstmt_primary_start): New, broken out of first
6338 part of compstmt handling in primary.
6339 (primary): Use it. Add an error clause.
6340 (compstmt_nostart): Renamed from compstmt; remove all
6341 initial invocations of compstmt_start.
6342 (compstmt): New.
6343
6344 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
6345
6346 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
6347 needed.
6348
6349 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
6350
6351 * combine.c (simplify_shift_const): Remove extra semicolon.
6352 * dwarf2out.c (remove_AT): Likewise.
6353 * expmed.c (expand_mult): Likewise.
6354 * gcov.c (create_program_flow_graph): Likewise.
6355 * reorg.c (mostly_true_jump): Likewise.
6356
6357 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
6358
6359 * fold-const.c (fold_range_test): Do not try to fold the range
6360 test if the rhs or lhs has side effects.
6361
6362 * combine.c (simplify_rtx): Recognize another case of a synthesized
6363 sign extension.
6364
6365 * varasm.c (mark_constant_pool): When marking indirect references,
6366 only look at SYMBOL_REFs.
6367
6368 * except.c (expand_fixup_region_end): Do not peek at
6369 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
6370
6371 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
6372
6373 * flags.h: New variables align_loops, align_loops_log,
6374 align_jumps, align_jumps_log, align_labels, align_labels_log,
6375 align_functions, align_functions_log.
6376 * toplev.c: Define them.
6377 (f_options): Handle -falign-* when they have no argument.
6378 (main): Add logic to set variables for -falign-functions,
6379 -falign-jumps, -falign-labels, -falign-loops.
6380 Make it -fsched-verbose=<n> and -finline-limit=<n>.
6381 (display_help): Change help to match options.
6382 * final.c (LABEL_ALIGN): Default to align_labels_log.
6383 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
6384 (LOOP_ALIGN): Default to align_loops_log.
6385 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
6386 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
6387 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
6388 * varasm.c (assemble_start_function): Handle align_functions.
6389
6390 * config/sparc/sparc.h: Don't declare sparc_align_*.
6391 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
6392 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
6393 sparc.c.
6394 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
6395 it's a promise.
6396 * config/sparc/sparc.c: Delete sparc_align_loops,
6397 sparc_align_jumps, sparc_align_funcs and the corresponding string
6398 variables.
6399 (sparc_override_options): Default align_functions on ultrasparc.
6400 Delete -malign-* handling.
6401
6402 * config/mips/mips.c (override_options): On 64-bit targets,
6403 try to align code to 64-bit boundaries.
6404 (print_operand): New substitution, %~,
6405 which aligns labels to align_labels_log.
6406 * config/mips/mips.md (div_trap_normal): Use %~.
6407 (div_trap_mips16): Likewise.
6408 (abssi): Likewise.
6409 (absdi2): Likewise.
6410 (ffssi2): Likewise.
6411 (ffsdi2): Likewise.
6412 (ashldi3_internal): Likewise.
6413 (ashrdi3_internal): Likewise.
6414 (lshrdi3_internal): Likewise.
6415 (casesi_internal): Likewise.
6416
6417 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
6418
6419 Merge new ia32 backend from the branch!
6420
6421 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
6422 See ChangeLog.P2 on new_ia32_branch for details.
6423
6424 * rtl.h (stack_regs_mentioned_p): Delete prototype.
6425 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
6426 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
6427 * i386/gas.h (ASM_FILE_START): Define.
6428 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
6429 for name change of ix86_valid_decl_attribute_p.
6430 (i386_pe_valid_type_attribute_p): Similarly.
6431
6432 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
6433
6434 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
6435 to step through CC modes.
6436
6437 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6438
6439 * regmove.c (fixup_match_1): Don't move INSN in front of P if
6440 it would end up in the shadow of a live flags regsiter.
6441
6442 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6443
6444 * reload1.c: Fix many indentation problems.
6445 * reload.c: Likewise.
6446
6447 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
6448
6449 * alias.c (non_local_reference_p): Constify fmt.
6450
6451 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
6452
6453 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
6454
6455 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
6456
6457 * cse.c (delete_trivially_dead_insns): Do not delete stores to
6458 the internal_arg_pointer.
6459
6460 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
6461
6462 Merge peephole2 from new_ia32_branch:
6463 * Makefile.in (STAGESTUFF): Add *.peephole2.
6464 (mostlyclean): Likewise.
6465 (recog.o): Depend on resource.h.
6466
6467 * final.c (peephole): Conditionalize decl on HAVE_peephole.
6468 (final_scan_insn): Likewise for the invocation of peephole.
6469 * genconfig.c (main): Look for peephole and peephole2 patterns.
6470 Emit HAVE_peephole* accordingly.
6471 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
6472 * flags.h (flag_peephole2): Declare.
6473 * toplev.c: New pass peephole2. New flag -fpeephole2.
6474
6475 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
6476 * gencodes.c (main): Likewise.
6477 * genextract.c (main): Likewise.
6478 * genoutput.c (main): Likewise.
6479 * genemit.c (max_operand_1): Look for the max scratch operand.
6480 (gen_rtx_scratch): New.
6481 (gen_exp): Use it, and pass on new arg subroutine_type.
6482 (gen_expand): Take max scratch into account.
6483 (gen_split): Emit peephole2 functions.
6484 (output_peephole2_scratch): New.
6485 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
6486 * genrecog.c (routine_type): Add PEEPHOLE2.
6487 (IS_SPLIT): New.
6488 (make_insn_sequence): Match outer parallel for peep2. Discard
6489 top level scratches and dups.
6490 (add_to_sequence): New args insn_type and top. Update all callers.
6491 Handle toplevel peep2 matching insns.
6492 (write_subroutine): Handle peep2.
6493 (write_tree_1): Likewise.
6494 (write_tree): Likewise.
6495 (main): Likewise.
6496 (change_state): New arg afterward. Update all callers.
6497 Handle matching separate insns.
6498 * recog.c (recog_next_insn): New.
6499 (peephole2_optimize): New.
6500 * rtl.def (DEFINE_PEEPHOLE2): New.
6501 * resource.c (find_free_register): New argument last_insn. Use it
6502 to find a register available through the entire span.
6503 * resource.h (find_free_register): Update prototype.
6504
6505 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
6506
6507 * i386.c (output_strlen_unroll): Don't write xops[7]
6508 label if it wasn't set.
6509
6510 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
6511
6512 * cpplib.c (struct directive): Const-ify name pointer and
6513 function pointer prototype.
6514 (validate_else, do_define, do_line, do_include, do_undef,
6515 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
6516 do_elif, do_endif, do_sccs, do_assert, do_unassert,
6517 do_warning): Const-ify second arg.
6518 (directive_table): Mark const. Reorder entries by frequency
6519 of usage, record statistics.
6520
6521 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
6522
6523 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
6524 bounds- check RTL accesses if --enable-checking.
6525 (RTVEC_ELT): Bounds check if --enable-checking.
6526 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
6527 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
6528 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
6529 GET_NUM_ELEM.
6530 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
6531 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
6532
6533 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
6534 (NOTE_SOURCE_FILE): Use X0STR.
6535 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
6536 MEM_ALIAS_SET): Use X0INT.
6537 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
6538 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
6539 Use X0EXP.
6540 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
6541 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
6542 (rtl_check_failed_bounds, rtl_check_failed_type1,
6543 rtl_check_failed_type2, rtvec_check_failed_bounds): New
6544 functions.
6545 (fancy_abort): Fix comment.
6546
6547 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
6548 (cse_insn): Decrement LABEL_NUSES for jump target before
6549 deleting jump insn.
6550 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
6551 * final.c (alter_subreg): Compute regno before changing x to
6552 REG; set REGNO(x) after changing it.
6553 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
6554 notes containing CONST_INTs.
6555 (delete_eh_regions): Use NOTE_EH_HANDLER.
6556 * function.c (put_reg_into_stack): Make reg a MEM before
6557 initializing it.
6558 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
6559 delete insn.
6560 (gen_mem_addressof): Make reg a MEM before initializing it.
6561 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
6562 X0WINT.
6563 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
6564 deleting an insn, not after.
6565 (block_alloc): Only look at PATTERN(insn) if we have to, and
6566 only if it's format class 'i'.
6567 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
6568 CONST_INT before using its INTVAL.
6569 * print-rtl.c (print_rtx): Use X0STR.
6570 * regmove.c (fixup_match_1): Don't look at PATTERN of
6571 non-class-'i' insn chain elements.
6572 * reload.c (loc_mentioned_in_p): Take address of
6573 in->fld[1].rtx directly.
6574 * reload1.c (reload): Change reg to a MEM before initializing
6575 it.
6576 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
6577 have no names.
6578 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
6579
6580 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
6581
6582 * config/mips/mips.c (machine_dependent_reorg): Force a
6583 barrier to output the local constant pool if a barrier hasn't
6584 been found at a natural point in the instruction stream.
6585
6586 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6587
6588 * c-parse.in (language_string): Constify.
6589
6590 * dwarf2out.c (language_string): Remove declaration.
6591
6592 * dwarfout.c (language_string): Likewise.
6593
6594 * toplev.c (language_string, init_parse, finish_parse): Likewise.
6595
6596 * tree.h (language_string, init_parse, finish_parse): Declare.
6597
6598 * i386/sun386.h (language_string): Remove declaration.
6599
6600 * mips.h (language_string): Likewise.
6601
6602 * nextstep.h (language_string): Likewise.
6603
6604 * nextstep21.h (language_string): Likewise.
6605
6606 * rs6000.c (language_string): Likewise.
6607
6608 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6609
6610 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
6611 (getpwd.o): Remove target.
6612
6613 * getpwd.c: Delete file. Its in libiberty now.
6614
6615 * dbxout.c (getpwd): Don't prototype.
6616 * dwarf2out.c (getpwd): Likewise
6617 * dwarfout.c (getpwd): Likewise
6618 * final.c (getpwd): Likewise.
6619 * protoize.c (getpwd): Likewise.
6620
6621 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6622
6623 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
6624
6625 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
6626
6627 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
6628 mark_set_resources.
6629
6630 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
6631
6632 * fixinc/Makefile.in (subdir): New.
6633 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
6634 (Makefile): New.
6635
6636 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
6637
6638 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
6639 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
6640 be shared.
6641
6642 * invoke.texi: Fix typo.
6643
6644 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
6645 changed. Handle autoincrement addressing modes.
6646
6647 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
6648 just like we would the virtual incoming args register when
6649 integrating.
6650
6651 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
6652
6653 * rs6000.h (ASM_FILE_START): Specify complete filename, including
6654 path, in .file directive.
6655
6656 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
6657
6658 * gcc.texi (External Bugs): Remove obsolete note about Perl on
6659 SunOS.
6660
6661 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
6662
6663 * stdbool.h: Make the typedef name _Bool, with bool a #defined
6664 alias.
6665
6666 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6667
6668 * tree.c (tree_code_name): Constify a char*.
6669
6670 * tree.h (tree_code_name, decl_printable_name): Likewise.
6671
6672 * function.h (struct function): Likewise.
6673
6674 * toplev.c (decl_name, decl_printable_name): Likewise.
6675
6676 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
6677
6678 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
6679 (init_objc): Remove function pointer cast.
6680
6681 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
6682
6683 * pa.md (interspace_jump): New pattern.
6684 (builtin_longjmp): New expander.
6685
6686 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
6687
6688 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
6689 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
6690 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
6691
6692 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
6693
6694 * jump.c (delete_prior_computation): Also check calls
6695 to constant functions. Don't bother checking for a
6696 REG_UNUSED note before adding it.
6697 (delete_computation): Handle multi-word hard registers
6698 when synthesizing missing REG_DEAD notes for a register
6699 which is both set and used by an insn.
6700
6701 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6702
6703 * loop.c (this_loop_info): New variable.
6704 (loop_has_call, loop_has_volatile, loop_has_tablejump,
6705 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
6706 All uses updated.
6707 (prescan_loop, strength_reduce): New argument loop_info. All callers
6708 updated.
6709 (scan_loop): New variable loop_info, initialise to address of
6710 this_loop_info.
6711 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
6712 Delete variable loop_has_multiple_exit targets and replace with
6713 field in this_loop_info.
6714 (find_and_verify_loops): Rename this_loop to this_loop_num.
6715 (strength_reduce): Delete loop_iteration_info. Replace variable
6716 loop_info with function argument of same name.
6717 (insert_bct): Rework test for loop being completely unrolled.
6718
6719 * loop.h (struct loop_info): New fields num, loops_enclosed,
6720 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
6721 has_indirect_jump, and cont. Redefine use of unroll_number.
6722 (loop_unroll_number): Delete.
6723
6724 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
6725 field of loop_info.
6726 (loop_iterations): Delete variable vtop and instead use
6727 loop_info->vtop computed in prescan_loop.
6728
6729 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
6730
6731 * fix-header.c (main): Do not pass a null pointer to strcmp.
6732
6733 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
6734
6735 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
6736 filenames.
6737 * configure: Rebuilt.
6738
6739 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
6740
6741 * jump.c (jump_optimize_1): Do not delete assignments to
6742 internal_arg_pointer.
6743 * cse.c (delete_trivially_dead_insns): Always consider a set of
6744 the internal_arg_pointer live.
6745
6746 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
6747
6748 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
6749 (update_life_info) [REG_WAS_0]: Search the original insns rather
6750 than the new insns for the note. Fix typos finding note_dest.
6751 If no dest found, discard the note rather than abort.
6752 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
6753 (replace_insns): Remove the old insn list after update_life_info
6754 not before.
6755
6756 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
6757
6758 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
6759 sched_analyze_insn.
6760 (sched_analyze_1): Let add_dependence care for not adding dups.
6761 (sched_analyze_2): Likewise.
6762 (add_branch_dependences): Likewise.
6763
6764 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
6765
6766 * i386/winnt.c (export_list): New type.
6767 (exports_head): Rename to
6768 (export_head): this.
6769 (i386_pe_record_exported_symbol): Add is_data flag.
6770 (i386_pe_asm_file_end): Emit directive for exported variables.
6771 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
6772 prototype.
6773 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
6774 (ASM_DECLARE_OBJECT_NAME): Likewise.
6775 (ASM_DECLARE_FUNCTION_NAME): Likewise.
6776 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
6777
6778 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
6779
6780 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
6781
6782 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
6783 operand.
6784
6785 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
6786
6787 * config/openbsd.h: Define SET_ASM_OP.
6788 * tm.texi: cross-reference SET_ASM_OP in the index.
6789
6790 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
6791
6792 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
6793 for a CONST_DOUBLE, at compile time. Initialize rtx_length
6794 and class_narrowest_mode at compile time. Kill init_rtl.
6795 Mark rtx_length, mode_class, mode_size, mode_unit_size,
6796 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
6797 rtx_format as const. Kill all references to EXTRA_CC_MODES or
6798 EXTRA_CC_NAMES.
6799 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
6800 format.
6801 * rtl.h: Declare rtx_length and rtx_format as const.
6802 * machmode.def: Define CC(). Use CC() to define CCmode. If
6803 EXTRA_CC_MODES is defined, expand it here.
6804 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
6805 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
6806 const. Kill all references to EXTRA_CC_MODES.
6807
6808 * toplev.c: Don't prototype or call init_rtl.
6809 * optabs.c: Don't call init_mov_optab.
6810 * genemit.c: Don't generate init_mov_optab. Don't call
6811 init_rtl.
6812 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
6813 here.
6814 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
6815 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
6816 genrecog.c: Don't call init_rtl.
6817
6818 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
6819 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
6820 definition of EXTRA_CC_MODES.
6821
6822 * md.texi: Kill ref to EXTRA_CC_NAMES.
6823 * tm.texi: Document new way to define EXTRA_CC_MODES.
6824
6825 * genrecog.c: Do not look up the name of a define_split.
6826 (Unrelated bugfix.)
6827
6828 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
6829
6830 * config/v850/v850.md: Fix typo introduced by previous delta.
6831
6832 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6833
6834 * gcc.c (fatal): Make definition static to match prototype.
6835
6836 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6837
6838 * combine.c (get_last_value): Don't look for earlier sets if the last
6839 known set is somewhere in between the insns being combined.
6840
6841 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
6842
6843 * configure.in: Don't use shell ! to negate exit codes
6844 * configure: Regenerate
6845
6846 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
6847
6848 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
6849 the fact that ALIGN is measured in bits, not bytes.
6850
6851 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
6852
6853 * errors.c: New file; defines functions error, warning, and
6854 fatal, variables have_error and progname.
6855 * errors.h: New file; prototypes and decls for stuff in errors.c.
6856
6857 * Makefile: Add rules to build errors.o and
6858 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
6859 genopinit, genrecog, genextract, genpeep, genattr, and
6860 genoutput with errors.o. Add errors.h to deps of genconfig.o,
6861 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
6862 genpeep.o, genattr.o, and genoutput.o.
6863
6864 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
6865 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
6866 define or prototype fatal. Set progname at beginning of main.
6867 * genoutput.c: Likewise, and don't define or prototype error
6868 either.
6869
6870 * c-typeck.c (c_expand_start_case): Return immediately if exp
6871 is an ERROR_MARK.
6872 * fold-const.c (operand_equal_p): Return immediately if arg1
6873 or arg0 are ERROR_MARKs.
6874 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
6875 fields of type ERROR_MARK when calculating if the record can
6876 go in a register.
6877
6878 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
6879 with much help from Jeffrey A Law and Richard Henderson
6880
6881 * i386.md: In the 6 insns which call output_fix_trunc,
6882 earlyclobber operands[0].
6883
6884 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
6885
6886 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
6887 creating new registers.
6888
6889 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
6890
6891 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
6892 i386_reg_alloc_order, i386_regparm_string,
6893 i386_align_loops_string, i386_align_jumps_string,
6894 i386_align_funcs_string, i386_preferred_stack_boundary_string,
6895 and i386_branch_cost_string as type "const char *".
6896 * i386.c: Define all above strings as type "const char *".
6897
6898 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
6899
6900 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
6901 when emitting alignment padding. Emit padding byte of 0 instead of 4.
6902
6903 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
6904
6905 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
6906 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
6907
6908 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
6909
6910 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
6911 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
6912 (dwarf2out_line, dwarf2out_finish): Likewise.
6913 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
6914
6915 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
6916
6917 * tree.c (lang_unsave_expr_now) : Correct return type.
6918 * tree.h (lang_unsave_expr_now) : Same.
6919
6920 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
6921
6922 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
6923 instead of duplicating code.
6924
6925 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6926
6927 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
6928
6929 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
6930
6931 * tree.h: fancy_abort always takes three args.
6932 * resource.c: Move include of system.h before toplev.h.
6933
6934 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
6935
6936 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
6937 as SYMBOL_REFs.
6938
6939 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
6940
6941 * system.h: Don't redefine abort or trim_filename.
6942 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
6943 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
6944 whether or not __FUNCTION__ is available.
6945 * tree.h: Duplicate rtl.h's definition of abort, for files
6946 that don't include rtl.h. Delete all code to perform type
6947 checking with a compiler other than GCC.
6948 * varray.h: Delete all code to perform type checking with a
6949 compiler other than GCC. Make VARRAY_CHECK() always evaluate
6950 its arguments exactly once, using a statement expression.
6951 Adjust the VARRAY_<type> accessor macros to match.
6952 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
6953 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
6954 caller's location. Define fatal_insn and fatal_insn_not_found
6955 as macros that use _fatal_insn and _fatal_insn_not_found.
6956 (fancy_abort, trim_filename): Kill prototypes.
6957
6958 * rtl.c (trim_filename): Move here from toplev.c.
6959 (fancy_abort): New function.
6960 (DIR_SEPARATOR): Provide default definition.
6961 * tree.c (tree_check_failed, tree_class_check_failed): Go
6962 through fancy_abort.
6963 (tree_check, tree_class_check, cst_or_constructor_check,
6964 expr_check): Delete.
6965 * varray.c (varray_check_failed): New function.
6966 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
6967 _fatal_insn and _fatal_insn_not_found. Go through
6968 fancy_abort.
6969 (trim_filename, fancy_abort): Delete.
6970
6971 * builtins.c (expand_builtin_args_info): Report ICE with abort.
6972 * except.c (start_catch_handler): Report ICE with error/abort
6973 combo.
6974 * final.c (output_operand_lossage): Likewise.
6975 * flow.c (verify_flow_info): Likewise.
6976
6977 * gcc.c: Prototype fatal.
6978 * gengenrtl.c: Undef abort after including rtl.h not system.h.
6979 * genattr.c, genattrtab.c, genemit.c, genextract.c,
6980 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
6981 Don't define fancy_abort.
6982
6983 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
6984
6985 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
6986 canonization.
6987
6988 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
6989
6990 * m88k.h (VERSION_INFO2): Kill.
6991 (VERSION_STRING): Kill.
6992 (TM_RCS_ID): Kill.
6993 (VERSION_INFO1): Tidy.
6994 (TARGET_VERSION): Update.
6995 * m88k/dgux.h (VERSION_INFO2): Kill.
6996 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
6997 * m88k/luna.h (VERSION_INFO1): Tidy.
6998 * m88k/sysv4.h (VERSION_INFO1): Likewise.
6999 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
7000 (output_file_start): Adjust for death of VERSION_STRING.
7001
7002 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
7003
7004 * cpplib.c (detect_if_not_defined): New function.
7005 (do_if): Use it to detect potential once-only headers.
7006
7007 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
7008
7009 * c-common.c (combine_strings): Always set TREE_CONSTANT.
7010
7011 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
7012
7013 * combine.c (nonzero_bits) : Allow single-ly set registers to be
7014 anywere in the function only if they are pseudos and set before
7015 being used (not live at the start of the function).
7016 (num_sign_bit_copies) : Same.
7017 (get_last_value_validate) : Same.
7018 (get_last_value) : Same.
7019
7020 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
7021
7022 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
7023 where N and M are constant and N is an integer multiple of M.
7024
7025 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
7026
7027 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
7028 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
7029 sbitmap_union_of_preds): Add prototypes.
7030 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
7031 the intersection of successors with the new flow graph structures.
7032 (sbitmap_intersection_of_preds): New function to compute the
7033 intersection of predecessors with the new flow graph structures.
7034 (sbitmap_union_of_succs): New function to compute the union of
7035 successors with the new flow graph structures.
7036 (sbitmap_union_of_preds): New function to compute the union of
7037 predecessors with the new flow graph structures.
7038 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
7039 (expr_reaches_here_p): Use edge and basic_block structures instead
7040 of s_preds and s_succs.
7041 (compute_cprop_avinout): Use new sbitmap routines.
7042 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
7043 of s_preds and s_succs.
7044 * flow.c (compute_flow_dominators): Compute dominators using
7045 edges and basic blocks instead of s_preds and s_succs.
7046
7047 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
7048
7049 * lists.c (unused_insn_list, unused_expr_list): New file for
7050 maintaining various types of lists. New statics for maintaining a
7051 cache of available INSN_LIST and EXPR_LIST nodes.
7052 (free_list): Static function for freeing a list of INSN/EXPR nodes.
7053 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
7054 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
7055 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
7056 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
7057 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
7058 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
7059 (free_INSN_LIST_node): Free an individual INSN_LIST node.
7060 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
7061 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
7062 (remove_dependence, free_pending_lists): Use new global routines.
7063 (flush_pending_lists, sched_analyze_insn): Use new global routines.
7064 (sched_analyze, compute_block_backward_dependences): Use new routines.
7065 (sched_analyze_1, sched_analyze_2): Use new routines.
7066 (schedule_insns): Use new global routines.
7067 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
7068 prototypes.
7069 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
7070 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
7071 prototypes.
7072 * toplev.c (rest_of_compilation): Initialize node cache.
7073 * Makefile.in (OBJS): Add lists.o to list of object files.
7074 (lists.o): Add dependancies.
7075
7076 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
7077
7078 * config/v850/v850.md: Fix compile time warning messages.
7079 * config/v850/v850.c: Fix compile time warning messages.
7080 * config/v850/v850.h: Fix compile time warning messages.
7081
7082 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7083
7084 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
7085 Remove unused prototype for `init_lengths'.
7086
7087 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7088
7089 * calls.c (emit_call_1): Mark parameter `stack_size' with
7090 ATTRIBUTE_UNUSED.
7091 (expand_call): Initialize variable `insn'.
7092 (emit_library_call): Likewise for variable `high_to_save'.
7093 (emit_library_call_value): Likewise.
7094 (store_one_arg): Likewise for variables `lower_bound' and
7095 `upper_bound'.
7096
7097 * combine.c (try_combine): Likewise for variables `i2_code_number'
7098 and `other_code_number'.
7099 (find_split_point): Likewise for variables `pos', `unsignedp' and
7100 `inner'.
7101 (simplify_if_then_else): Likewise for variables `op' and `c1'.
7102 (simplify_and_const_int): Remove unused variable `width'.
7103 (merge_outer_ops): Likewise.
7104
7105 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
7106 HOST_WIDE_INT' when comparing against one.
7107 (simplify_relational_operation): Likewise.
7108 (cse_insn): Initialize variables `src_eqv_volatile',
7109 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
7110
7111 * final.c (init_final): Constify parameter `filename'.
7112 (final_start_function): Mark parameter `optimize' with
7113 ATTRIBUTE_UNUSED.
7114 (profile_function): Likewise for parameters `first' and `optimize'.
7115 (output_source_line): Likewise for parameter `file'.
7116
7117 * integrate.c (subst_constants): Cast a value to `size_t' when
7118 comparing against one.
7119 (mark_stores): Initialize variable `mode'. Cast a value to
7120 `size_t' when comparing against one.
7121
7122 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
7123
7124 * loop.c (move_movables): Initialize variable `first'.
7125 (strength_reduce): Likewise for variable `increment'.
7126 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
7127 value to `size_t' when comparing against one.
7128 (load_mems): Initialize variable `end_label'.
7129
7130 * output.h (init_final): Constify parameter.
7131
7132 * reload.c (decompose): Initialize variable `base'.
7133
7134 * reload1.c (reload): Likewise for variable `is_scalar'.
7135 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
7136 (choose_reload_regs): Initialize variable `mode'.
7137 (emit_reload_insns): Likewise for variable `store_insn'.
7138 (reload_cse_noop_set_p): Mark parameter `insn' with
7139 ATTRIBUTE_UNUSED.
7140 (reload_combine): Initialize variable `set'.
7141
7142 * unroll.c (unroll_loop): Likewise for variable `local_label'.
7143 (copy_loop_body): Cast a value to `size_t' when comparing against
7144 one.
7145
7146 * varasm.c (assemble_variable): Initialize variable `size_tree'.
7147 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
7148 (remove_from_pending_weak_list): Mark parameter `name' with
7149 ATTRIBUTE_UNUSED.
7150
7151 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7152
7153 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
7154 gcse dump file.
7155
7156 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
7157
7158 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
7159 (ASM_DECLARE_FUNCTION_NAME): Define.
7160 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
7161 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
7162 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
7163 not already defined.
7164
7165 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
7166
7167 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
7168 of n_popped when call/call_value are not defined.
7169
7170 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
7171
7172 * tm.texi: GNU CC -> GCC conversion.
7173 (CC1_SPEC): Indicate it is used for all language front ends.
7174
7175 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
7176
7177 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
7178 NOTE_INSN_EH_REGION_END correctly.
7179
7180 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
7181 Jeff Law <law@cygnus.com>
7182
7183 * loop.c (strength_reduce): Automatically unroll loops if the
7184 unrolled loop size is smaller than the rolled loop size.
7185
7186 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
7187 and delete comment that code should be rewritten.
7188
7189 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
7190
7191 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
7192 as reachable.
7193
7194 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
7195
7196 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
7197
7198 * fixinc/mkfixinc.sh: Don't fix uwin headers.
7199 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
7200 (LINK_SPEC): Add -u _main when building executables.
7201 (ASM_DECLARE_FUNCTION): Update from Cygwin.
7202 (ASM_FILE_END): Use the default for ix86-pe.
7203 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
7204
7205 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
7206
7207 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
7208 and ASM_CLOSE_PAREN are empty strings.
7209
7210 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
7211 Geoffrey Keating <geoffk@cygnus.com>
7212
7213 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
7214 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
7215 (unprotoize.o): Ditto.
7216 (test-protoize-simple): Don't define STD_PROTO_DIR.
7217 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
7218 changes to make 'test-protoize-simple' pass.
7219 (STD_PROTO_DIR): Remove define.
7220 (STANDARD_EXEC_PREFIX): Supply default define.
7221 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
7222 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
7223 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
7224 (GET_ENV_PATH_LIST): New macro.
7225 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
7226 (do_processing): Initialize default_syscalls_dir using new
7227 macros. Use it to initialize syscalls_absolute_filename.
7228
7229 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
7230
7231 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
7232 B into a register before emit_conditional_move.
7233
7234 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
7235
7236 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
7237 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
7238 multiplicand out of (+ (* a b) (* c d)).
7239
7240 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
7241 Richard Henderson <rth@cygnus.com>
7242
7243 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
7244 (new_insn_dead_notes): Likewise.
7245 (update_n_sets): Likewise.
7246 (update_flow_info): Move to flow.c, renamed to update_life_info;
7247 extend to handle multiple source insns.
7248 * flow.c: Include resource.h
7249 (unlink_insn_chain): New.
7250 (split_hard_reg_notes): New.
7251 (maybe_add_dead_note): New.
7252 (maybe_add_dead_note_use): New.
7253 (find_insn_with_note): New.
7254 (new_insn_dead_notes): New.
7255 (update_n_sets): New.
7256 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
7257 (maybe_remove_dead_notes): New.
7258 (update_life_info): New.
7259 (prepend_reg_notes): New.
7260 (replace_insns): New.
7261 * output.h (update_life_info): Declare.
7262 * recog.c (split_block_insns): Use update_life_info.
7263 * resource.c (find_free_register): Use reg_alloc_order, don't use
7264 fixed regs, make sure the mode is supported, don't use new regs.
7265 (reg_dead_p): New.
7266 * rtl.h (replace_insns): Declare.
7267
7268 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
7269
7270 * expr.c (expand_expr): Cope with COND_EXPRs with one
7271 non-returning branch.
7272
7273 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
7274
7275 * expr.c (store_expr): Always pass down the target, even when not
7276 doing CSE.
7277
7278 1999-08-24 Nick Clifton <nickc@cygnus.com>
7279
7280 * configure.in: Define target_cpu_default for v850 targets.
7281 * configure: Regenerate
7282
7283 * config/v850/v850.h (TARGET_CPU_generic): Define.
7284 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
7285 addresses are 4 byte aligned.
7286
7287 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
7288 addresses.
7289
7290 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7291
7292 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
7293 (main): Add prototypes.
7294
7295 * genattrtab.c (substitute_address, write_const_num_delay_slots,
7296 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
7297 (write_attr_get): Emit prototypes along with function definition.
7298 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
7299 (write_complex_function): Emit static prototype along with
7300 function definition.
7301
7302 * genemit.c (gen_split): Emit prototypes along with function
7303 definition.
7304
7305 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
7306 Likewise for predicates and `insn_operand_predicate'.
7307 (process_template): Emit static prototype along with function
7308 definition.
7309
7310 * genrecog.c (make_insn_sequence): Constify a char*. Add
7311 prototypes for get_split_*().
7312 (write_subroutine): Emit prototypes along with function
7313 definition.
7314
7315 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7316
7317 * gcse.c (find_avail_set): Follow chains of register-register copies.
7318 Use oprs_not_set_p to guarantee that the returned value can be
7319 substituted.
7320 (cprop_insn): Don't verify the return value of find_avail_set with
7321 oprs_not_set_p.
7322
7323 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
7324 (cprop_cc0_jump): New function.
7325 (cprop_insn): Break out new function cprop_jump and use it.
7326 Also use cprop_cc0_jump for machines with CC0.
7327 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
7328
7329 * tree.h (current_function_calls_setjmp,
7330 current_function_calls_longjmp): Delete declarations.
7331 * dsp16xx.c: Include "function.h".
7332 * elxsi.c: Likewise.
7333 * gmicro.c: Likewise.
7334 * h8300.c: Likewise.
7335 * i370.c: Likewise.
7336 * m32r.c: Likewise.
7337 * mn10200.c: Likewise.
7338 * mn10300.c: Likewise.
7339 * ns32k.c: Likewise.
7340 * spur.c: Likewise.
7341 * v850.c: Likewise.
7342
7343 * rtl.h (rtx_equal_function_value_matters): Declare.
7344 * toplev.c (rtx_equal_function_value_matters): Don't declare.
7345 * cse.c: Likewise.
7346 * function.c: Likewise.
7347 * emit-rtl.c: Likewise.
7348
7349 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
7350
7351 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
7352 call.
7353
7354 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7355
7356 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
7357 exactly.
7358
7359 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
7360
7361 * cpp.texi: Add a node documenting macro varargs (copied
7362 from extend.texi).
7363
7364 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
7365
7366 * cppspec.c: Put a null pointer at the end of the new argv.
7367
7368 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
7369
7370 * configure.in: Remove code to select/de-select the haifa
7371 scheduler. Every scheduled port gets haifa now.
7372 * configure: Rebuilt.
7373 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
7374 * sched.c Deleted.
7375 * Makefile.in: Corresponding changes.
7376
7377 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7378
7379 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
7380 All callers changed.
7381 (prepare_float_lib_cmp): Likewise.
7382 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
7383 * expr.h (emit_float_lib_cmp): Delete declaration.
7384 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
7385 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
7386 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
7387 specially.
7388 (cmptf): Now conditional on TARGET_HARD_QUAD.
7389
7390 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
7391
7392 * resource.c (mark_target_live_regs): Use
7393 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
7394
7395 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7396
7397 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
7398
7399 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
7400
7401 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
7402
7403 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7404
7405 * rtl.h (rtx_format): Constify a char*.
7406
7407 * rtl.c (rtx_format): Likewise.
7408 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
7409 (init_rtl): Use accessor macro, not `rtx_format'.
7410
7411 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
7412 char*.
7413
7414 * caller-save.c (mark_referenced_regs): Likewise.
7415
7416 * combine.c (subst, make_compound_operation, known_cond,
7417 gen_rtx_combine, update_table_tick, get_last_value_validate,
7418 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
7419
7420 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
7421 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
7422 count_reg_usage): Likewise.
7423
7424 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
7425 Likewise.
7426
7427 * final.c (leaf_renumber_regs_insn): Likewise.
7428
7429 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
7430 dump_edge_info, count_reg_references): Likewise.
7431
7432 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
7433 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
7434 Likewise.
7435
7436 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
7437 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
7438 add_label_notes): Likewise.
7439
7440 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
7441 clear_struct_flag, count_sub_rtxs, count_alternatives,
7442 compares_alternatives_p, contained_in_p, walk_attr_value,
7443 write_expr_attr_cache): Likewise.
7444
7445 * genconfig.c (walk_insn_part): Likewise.
7446
7447 * genemit.c (max_operand_1, gen_exp): Likewise.
7448
7449 * genextract.c (walk_rtx): Likewise.
7450
7451 * genflags.c (num_operands): Likewise.
7452
7453 * genoutput.c (scan_operands): Likewise.
7454
7455 * genpeep.c (match_rtx): Likewise.
7456
7457 * genrecog.c (add_to_sequence): Likewise.
7458
7459 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
7460 Likewise.
7461
7462 * integrate.c (save_constants, copy_for_inline,
7463 copy_rtx_and_substitute, subst_constants, restore_constants):
7464 Likewise.
7465
7466 * jump.c (mark_jump_label, invert_exp, redirect_exp,
7467 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
7468
7469 * local-alloc.c (contains_replace_regs, memref_referenced_p):
7470 Likewise.
7471
7472 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
7473 add_label_notes, replace_call_address, count_nonfixed_reads,
7474 invariant_p, find_single_use_in_loop, find_mem_givs,
7475 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
7476 Likewise.
7477
7478 * print-rtl.c (reg_names, print_rtx): Likewise.
7479
7480 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
7481
7482 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
7483 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
7484 print_blocks): Likewise.
7485
7486 * regclass.c (fix_register, record_address_regs,
7487 reg_scan_mark_refs): Likewise.
7488
7489 * regmove.c (stable_but_for_p): Likewise.
7490
7491 * reload.c (loc_mentioned_in_p, operands_match_p,
7492 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
7493 copy_replacements, refers_to_regno_for_reload_p,
7494 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
7495 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
7496 Likewise.
7497
7498 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
7499 delete_address_reloads_1, count_occurrences,
7500 reload_cse_mem_conflict_p, reload_combine_note_use,
7501 add_auto_inc_notes): Likewise.
7502
7503 * resource.c (mark_referenced_resources, mark_set_resources):
7504 Likewise.
7505
7506 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
7507 reg_mentioned_p, regs_set_between_p, modified_between_p,
7508 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
7509 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
7510 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
7511 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
7512
7513 * sched.c (sched_analyze_2, attach_deaths): Likewise.
7514
7515 * stupid.c (stupid_mark_refs): Likewise.
7516
7517 * unroll.c (remap_split_bivs): Likewise.
7518
7519 * varasm.c (mark_constants): Likewise.
7520
7521 * a29k/a29k.c (uses_local_reg_p): Likewise.
7522
7523 * alpha/alpha.c (summarize_insn): Likewise.
7524
7525 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
7526 eliminate_lr2ip): Likewise.
7527
7528 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
7529
7530 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
7531 reg_mentioned_in_mem): Likewise.
7532
7533 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
7534 symbolic_reference_mentioned_p): Likewise.
7535
7536 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
7537
7538 * sh/sh.c (regs_used, mark_use): Likewise.
7539
7540 * vax/vax.c (vax_rtx_cost): Likewise.
7541
7542 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7543
7544 * machmode.h (mode_name): Constify a char*.
7545
7546 * rtl.c (mode_name): Likewise.
7547
7548 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
7549
7550 * optabs.c (init_libfuncs): Constify a char*.
7551
7552 * print-tree.c (mode_name): Remove redundant declaration.
7553 (print_node): Use accessor macro, not `mode_name'.
7554
7555 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
7556 not `mode_name'.
7557 (new_spill_reg): Constify a char*.
7558
7559 * tree.c (mode_name): Remove redundant declaration.
7560
7561 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7562
7563 * rtl.c (rtx_name): Constify a char*.
7564
7565 * rtl.h (rtx_name, fix_sched_param): Likewise.
7566
7567 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
7568 (mypr): Use accessor macro, not `rtx_name'.
7569
7570 * genemit.c (print_code): Constify a char*.
7571
7572 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
7573
7574 * genpeep.c (print_code): Constify a char*.
7575
7576 * genrecog.c (print_code): Likewise.
7577
7578 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
7579 end_bb): Add static prototype.
7580 (draw_edge): Constify a char*.
7581 (end_bb): Remove unused parameter.
7582
7583 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
7584 print_block_visualization): Constify a char*.
7585
7586 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
7587
7588 * c-common.c (c_get_alias_set): Update comment.
7589
7590 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7591
7592 * linux.h (LIB_SPEC): Added.
7593
7594 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7595
7596 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
7597
7598 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
7599
7600 * tree.c (expr_check): Fix typo in last change.
7601
7602 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
7603
7604 * rtl.def (NOTE): Change format to "iuu0n".
7605 (ADDR_DIFF_VEC): Change format to "eEee0".
7606 (ADDRESSOF): Change format to "eit".
7607
7608 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
7609 (RTVEC_ELT): Change to match.
7610 (XVECEXP): Use XVEC and RTVEC_ELT.
7611 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
7612 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
7613 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
7614 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
7615 TRAP_CONDITION, TRAP_CODE): Use XEXP.
7616 (INTVAL): Use XWINT.
7617 (ADDRESSOF_DECL): Use XTREE.
7618 (SET_ADDRESSOF_DECL): Delete.
7619 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
7620 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
7621 ifdefed out since 2.6 at least.
7622 (gen_rtvec_vv): Delete prototype.
7623
7624 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
7625 not rtunion.
7626 (copy_most_rtx): Handle 't' format letter.
7627 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
7628 (gen_rtvec_vv): Delete function. All callers changed to use
7629 gen_rtvec_v instead.
7630 * print-rtl.c (print_rtx): Move special casing of NOTEs to
7631 the '0' format letter.
7632
7633 * function.c (gen_mem_addressof): Don't use
7634 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
7635 instead.
7636 * integrate.c (copy_rtx_and_substitute): Likewise.
7637 Copy 't' slots with XTREE.
7638 (subst_constants): Treat 't' slots like '[swi]' slots.
7639 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
7640 * jump.c (rtx_equal_for_thread_p): Likewise.
7641 * rtlanal.c (rtx_equal_p): Likewise.
7642 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
7643 only four arguments.
7644 * gengenrtl.c (type_from_format): Provide correct types for
7645 'b' and 't' slots.
7646
7647
7648 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
7649 If a recent gcc is in use (always in stage2 and beyond), use
7650 statement expressions, so we don't make a function call unless
7651 the check fails. Evaluate arguments exactly once.
7652 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
7653 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
7654 Delete.
7655 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
7656 they evaluate their arguments exactly once, irrespective of
7657 the compiler in use.
7658
7659 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
7660 is used by the currently-enabled check macros. This is:
7661 (tree_check_failed, tree_class_check_failed): For gcc.
7662 (tree_check, tree_class_check, cst_or_constructor_check,
7663 expr_check): For other compilers.
7664
7665 * gencheck.c: Do not define any *_CHECK1 macros.
7666
7667 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
7668 Mark Mitchell <mark@codesourcery.com>
7669
7670 * c-common.c (c_get_alias_set): Fix support for poitners and
7671 references.
7672
7673 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
7674
7675 * alias.c: Include tree.h.
7676 (nonlocal_reference_p, mark_constant_function): New functions.
7677 * flow.c (life_analysis): Call mark_constant_function.
7678 * rtl.h (mark_constant_function): Declare it.
7679
7680 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
7681
7682 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
7683 unrecognisable switches.
7684
7685 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7686
7687 * loop.c (recombine_givs): Set ix field after sorting.
7688 (recombine_givs): Remove bogus index / giv lockstep looping.
7689
7690 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7691
7692 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
7693 on CODE.
7694 (emit_store_flag_force): Use do_compare_rtx_and_jump.
7695 (do_cmp_and_jump): Formatting fixes.
7696 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
7697 do_compare_rtx_and_jump instead of compare_from_rtx.
7698 (do_compare_rtx_and_jump): New function; mostly copied from
7699 compare_from_rtx.
7700 (do_jump_for_compare): Delete.
7701 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
7702 MIN_EXPR.
7703 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
7704 of compare/do_jump_for_compare pairs.
7705 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
7706 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
7707 compare_from_rtx/do_jump_for_compare pairs.
7708 (do_jump_by_parts_equality): Likewise.
7709 (do_jump_by_parts_equality_rtx): Likewise.
7710 * expr.h (do_compare_rtx_and_jump): Declare.
7711 * optabs.c (prepare_cmp_insn): New function, contains most of the code
7712 that used to be in emit_cmp_insn.
7713 (cmp_available_p): New function.
7714 (prepare_operand): New function.
7715 (emit_cmp_and_jump_insn_1): New function, contains some code that used
7716 to be in emit_cmp_insn.
7717 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
7718 parameters to be pointers; don't emit final compare but modify some of
7719 the values pointed to by the args so the caller can perform the
7720 correct comparison.
7721 (expand_binop): Call emit_store_flag_force with signed forms of
7722 comparison code.
7723 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
7724 emit_jump_insn pair.
7725 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
7726 emit_cmp_and_jump_insn_1. Call emit_queue.
7727 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
7728 arg.
7729 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
7730 jump sets cc0 before deleting it.
7731 * integrate.c (expand_inline_function): Likewise.
7732 * unroll.c (unroll_loop): Similar changes in several places.
7733 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
7734 before deleting it.
7735
7736 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7737
7738 * Makefile.in (insn-recog.o): Update dependencies.
7739 * genrecog.c (main): Make generated file include "function.h".
7740
7741 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
7742
7743 * cse.c (cse_insn): Call never_reached_warning when a jump is
7744 changed to be unconditional.
7745 * flags.h: Declare warn_notreached.
7746 * flow.c (delete_block): Call never_reached_warning when
7747 a block is deleted.
7748 * jump.c (delete_barrier_successors): Call never_reached_warning
7749 when we delete everything after a BARRIER.
7750 (never_reached_warning): New function.
7751 * rtl.h: Declare never_reached_warning.
7752 * toplev.c (warn_notreached): New variable.
7753 (lang_independent_options): Set warn_notreached
7754 when -Wunreachable-code.
7755 (compile_file): We need line numbers for -Wunreachable-code.
7756
7757 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
7758
7759 * haifa-sched.c (insn_unit): Fix typo on out of range test.
7760 * sched.c (insn_unit): Likewise.
7761
7762 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
7763
7764 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
7765
7766 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
7767
7768 * flow.c (create_edge_list): Use xmalloc, not malloc.
7769
7770 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
7771
7772 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
7773 C-style comments. Do not lose the character before double slash.
7774
7775 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
7776
7777 * basic-block.h (struct edge_list): Stucture to maintain a vector
7778 of edges.
7779 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
7780 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
7781 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
7782 New function prototypes.
7783 * flow.c (create_edge_list): Function to create an edge list.
7784 (free_edge_list): Discards memory used by an edge list.
7785 (print_edge_list): Debug output showing an edge list.
7786 (verify_edge_list): Internal consistency check for an edge list.
7787 (find_edge_index): Function to find an edge index for a pred and succ.
7788
7789 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
7790
7791 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
7792 hashtable.
7793
7794 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
7795
7796 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
7797
7798 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7799
7800 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
7801
7802 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
7803
7804 * toplev.c (rest_of_compilation): Allow machine dependent
7805 reorganisation pass to place information into the RTL dump
7806 file if it so wishes.
7807
7808 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
7809
7810 * explow.c (hard_function_value): Use VOIDmode instead of
7811 MAX_MACHINE_MODE.
7812 * stmt.c (expand_return): Likewise.
7813 * stor-layout.c (get_best_mode): Likewise.
7814
7815 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
7816 emit call instead of emit_insn call.
7817
7818 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
7819
7820 * configure.in: Handle --disable/enable-win32-registry.
7821 * install.texi: Document --disable/enable-win32-registry.
7822 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
7823 (WIN32_REGISTRY_KEY): New macro.
7824 * prefix.c: Use to enable/disable win32-specific code.
7825 (lookup_key): Use versioned key.
7826 * configure: Regenerate.
7827 * config.in: Likewise.
7828
7829 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
7830
7831 * cpplib.c (read_line_number): New fn, split out of...
7832 (do_line): Here.
7833
7834 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
7835
7836 tree.c (lang_unsave_expr_now) : New.
7837 (unsave_expr_now): Call lang_unsave_expr_now.
7838 tree.h (lang_unsave_expr_now) : New.
7839
7840 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
7841
7842 * toplev.c (flag_new_exceptions): On by default.
7843
7844 1999-08-13 Michael Meissner <meissner@cygnus.com>
7845
7846 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
7847
7848 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
7849
7850 * dwarfout.c (fundamental_type_code): Return FT_boolean for
7851 INTEGER_TYPE with precision==1, it's __java_boolean.
7852
7853 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7854
7855 * global.c (prune_preferences): Move some invariants out of the
7856 inner loop.
7857
7858 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
7859
7860 * configure.in (alpha*-dec-osf*): Add osf5.
7861
7862 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
7863
7864 * configure.in: Rework handling of ARM GNU/Linux slightly.
7865 (arm*-*-linux-gnuoldld): New target.
7866 * configure: Regenerate.
7867 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
7868 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
7869 * config/arm/linux-oldld.h: New file.
7870 * config/arm/linux-elf26.h: Don't include linux-elf.h.
7871 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
7872 Don't define.
7873 * config/arm/linux-elf.h (ASM_SPEC): Define.
7874 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
7875 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
7876 for 26-bit APCS and old linker.
7877 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
7878 `arm_elf'.
7879 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
7880 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
7881 don't define `arm' or `arm_elf'.
7882 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
7883 MULTILIB_DIRNAMES): Define. Fix typo in comment.
7884
7885 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
7886
7887 * rtl.texi: Fix typo.
7888
7889 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
7890
7891 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
7892
7893 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
7894
7895 * extend.texi (C++ Signatures): Remove node.
7896 * invoke.texi: Remove discussion of -fhandle-signatures,
7897 signature, sigof, __signature__, and __sigof__.
7898
7899 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
7900
7901 * Makefile.in (JAVAGC): Removed.
7902
7903 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
7904
7905 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
7906
7907 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
7908
7909 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
7910
7911 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
7912
7913 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
7914 a register that is already known to be a pointer.
7915
7916 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
7917
7918 * fixinc/inclhack.tpl: Only install assert.h conditionally.
7919 * fixinc/inclhack.sh: Regenerated.
7920 * fixinc/fixincl.sh: Regenerated.
7921
7922 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
7923
7924 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
7925 Fix documentation of -ansi flag to describe its C++ behavior.
7926 Remove bogus reference to GCC 2.9.
7927
7928 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
7929
7930 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
7931 note if it is non-NULL.
7932
7933 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
7934
7935 * except.h (eh_nesting_info): Add new structure defintion.
7936 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
7937 (reachable_handlers, update_rethrow_references): Add function
7938 prototypes.
7939 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
7940 a rethrow symbol instead of an integer exception region number.
7941 * flow.c (Make_edges): Use new exception nesting routines to determine
7942 which handlers are reachable from a CALL or asynchronous insn.
7943 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
7944 goto receivers.
7945 (delete_eh_regions): Update rethrow labels, and don't delete
7946 regions which are the target of a rethrow.
7947 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
7948 avoid overloading the SYMBOL_REF_USED flag.
7949 (rethrow_symbol_map): Use new rethrow_ref field.
7950 (rethrow_used): Use new rethrow_ref field.
7951 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
7952 of an integer. Fix formatting.
7953 (output_exception_table_entry): Use new rethrow_ref field.
7954 (can_throw): Check for EH_REGION_NOTE before deciding
7955 whether a CALL can throw or not.
7956 (scan_region): Call rethrow_used() instead of accessing data structure.
7957 (update_rethrow_references): New function to make sure only regions
7958 which are still targets of a rethrow are flagged as such.
7959 (process_nestinfo): New static function to initialize a handler
7960 list for a specific region.
7961 (init_eh_nesting_info): New function to allocate and initialize
7962 the list of all EH handlers reachable from all regions.
7963 (reachable_handlers): New function to retrieve the list of handlers
7964 reachable from a specific region and insn.
7965 (free_eh_nesting_info): New function to dispose of a list of
7966 reachable handlers.
7967
7968 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
7969
7970 * flow.c (split_edge): Set JUMP_LABEL field.
7971 (commit_one_edge_insertion): Set head correctly for insert_before.
7972 When inserting insns, update insn block numbers if allocated.
7973
7974 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7975
7976 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
7977 retry_incomplete_types): Add static prototype.
7978 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
7979 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
7980 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
7981 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
7982 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
7983 Constify a char*.
7984
7985 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
7986 dwarf2out_start_source_file, dwarf2out_line): Likewise.
7987
7988 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7989
7990 * output.h (assemble_name): Constify a char*.
7991
7992 * varasm.c (UNIQUE_SECTION, assemble_start_function,
7993 assemble_variable, assemble_name): Likewise.
7994
7995 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
7996
7997 * arm/pe.c (arm_pe_unique_section): Likewise.
7998
7999 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
8000
8001 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
8002
8003 * i386/interix.c (i386_pe_unique_section): Likewise.
8004
8005 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
8006
8007 * i386/winnt.c (i386_pe_unique_section): Likewise.
8008
8009 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
8010
8011 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
8012
8013 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
8014
8015 * pa/pa.c (output_call): Likewise.
8016
8017 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
8018
8019 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
8020
8021 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
8022 Likewise.
8023
8024 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
8025 Likewise.
8026
8027 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
8028
8029 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
8030 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
8031
8032 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
8033
8034 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8035
8036 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
8037
8038 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8039
8040 * tree.h (lang_identify): Constify a char*.
8041 (print_error_function): Add extern prototype. Constify a char*.
8042
8043 * c-lang.c (lang_identify): Constify a char*.
8044
8045 * objc/objc-act.c (lang_identify): Constify a char*.
8046
8047 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8048
8049 * genpeep.c (main): Make generated file include "function.h".
8050 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
8051
8052 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8053
8054 * Makefile.in: Update dependencies.
8055 * alias.c: Include "function.h"
8056 * c-decl.c: Likewise.
8057 * caller-save.c: Likewise.
8058 * calls.c: Likewise.
8059 * combine.c: Likewise.
8060 * cse.c: Likewise.
8061 * explow.c: Likewise.
8062 * final.c: Likewise.
8063 * global.c: Likewise.
8064 * graph.c: Likewise.
8065 * local-alloc.c: Likewise.
8066 * loop.c: Likewise.
8067 * optabs.c: Likewise.
8068 * profile.c: Likewise.
8069 * recog.c: Likewise.
8070 * regclass.c: Likewise.
8071 * regmove.c: Likewise.
8072 * reload.c: Likewise.
8073 * reorg.c: Likewise.
8074 * resource.c: Likewise.
8075 * sched.c: Likewise.
8076 * stupid.c: Likewise.
8077 * config/1750a/1750a.c: Likewise.
8078 * config/a29k/a29k.c: Likewise.
8079 * config/arc/arc.c: Likewise.
8080 * config/arm/arm.c: Likewise.
8081 * config/arm/thumb.c: Likewise.
8082 * config/c4x/c4x.c: Likewise.
8083 * config/clipper/clipper.c: Likewise.
8084 * config/convex/convex.c: Likewise.
8085 * config/fx80/fx80.c: Likewise.
8086 * config/i860/i860.c: Likewise.
8087 * config/m68k/m68k.c: Likewise.
8088 * config/m88k/m88k.c: Likewise.
8089 * config/mips/mips.c: Likewise.
8090 * config/pdp11/pdp11.c: Likewise.
8091 * config/pyr/pyr.c: Likewise.
8092 * config/romp/romp.c: Likewise.
8093 * config/sh/sh.c: Likewise.
8094 * config/tahoe/tahoe.c: Likewise.
8095 * config/vax/vax.c: Likewise.
8096 * config/we32k/we32k.c: Likewise.
8097 * config/sparc/sparc.c: Include "function.h".
8098 (mem_min_alignment): Test current_function rather than
8099 regno_pointer_align.
8100 * config/pa/pa.c: Likewise.
8101 (compute_frame_size): Delete declaration of
8102 current_function_outgoing_args_size.
8103 * config/arc/arc.h (current_function_varargs): Delete declaration.
8104 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
8105 declaration.
8106 * config/i370/i370.h (current_function_outgoing_args_size): Delete
8107 declaration.
8108 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
8109 current_function_uses_pic_offset_table.
8110 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
8111 of current_function_returns_pointer.
8112 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
8113 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
8114 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
8115 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
8116 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
8117 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
8118 * config/m88k/m88k.c: Include "function.h"
8119 (call_used_regs, current_function_pretend_args_size,
8120 current_function_outgoing_args_size, frame_pointer_needed): Delete
8121 declarations.
8122 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
8123 declaration.
8124 * config/mips/mips.h (current_function_calls_alloca): Delete
8125 declaration.
8126 * config/mn10200/mn10200.h (current_function_needs_context,
8127 rtx_equal_function_value_matters): Delete declarations.
8128 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
8129 flag_pic): Delete declarations.
8130 * config/pa/pa.h (current_function_pretend_args_size,
8131 current_function_decl): Delete declarations.
8132 * config/pa/som.h (current_function_varargs): Delete declaration.
8133 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
8134 declaration.
8135 * config/pyr/pyr.h (current_function_pretend_args_size,
8136 current_function_args_size, current_function_calls_alloca): Delete
8137 declarations.
8138 * config/sh/sh.h (current_function_varargs): Delete declaration.
8139 * config/sparc/sparc.h (current_function_outgoing_args_size,
8140 current_function_calls_alloca, current_function_decl): Delete
8141 declarations.
8142 * config/spur/spur.h (current_function_pretend_args_size,
8143 current_function_calls_alloca): Delete declarations.
8144 * config/v850/v850.c (current_function_outgoing_args_size): Delete
8145 declaration.
8146 * config/vax/vms.h (current_function_name): Delete declaration.
8147 * gcse.c: Include "function.h".
8148 (current_function_name, current_function_calls_setjmp): Delete
8149 declarations.
8150 * haifa-sched.c: Include "function.h".
8151 (forced_labels): Delete declaration.
8152 * jump.c: Likewise.
8153 * reg-stack.c: Likewise.
8154 * reload1.c: Likewise.
8155 * genemit.c (main): Make generated file include function.h.
8156 * genoutput.c (output_prologue): Likewise.
8157
8158 * builtins.c (saveregs_value, apply_args_value): Delete variables.
8159 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
8160 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
8161 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
8162 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
8163 macros for some of them.
8164 (emit_filename, emit_lineno): Delete declarations.
8165 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
8166 regno_pointer_* variables through current_function.
8167 (gen_inline_header_rtx): Delete function.
8168 (save_emit_status): Delete function.
8169 (set_new_last_label_num): New function.
8170 (clear_emit_caches): New function.
8171 (restore_emit_status): Just clear last_labelnum and call
8172 clear_emit_caches.
8173 (get_last_insn_anywhere): Variable sequence_stack is now accessed
8174 through macro seq_stack.
8175 (add_insn_after): Likewise.
8176 (add_insn_before): Likewise.
8177 (remove_insn): Likewise.
8178 (pop_topmost_sequence): Likewise.
8179 (in_sequence_p): Likewise.
8180 (start_sequence_for_rtl_expr): Likewise.
8181 (start_sequence): Likewise, and likewise for
8182 sequence_rtl_expr/seq_rtl_expr.
8183 (push_topmost_sequence): Likewise.
8184 (end_sequence): Likewise.
8185 (init_virtual_regs): Now takes a "struct emit_status *" argument.
8186 All callers changed. Store into that pointer instead of globals.
8187 (init_emit): Allocate emit elt of current_function.
8188 Changes for sequence_rtl_expr/sequence_stack renaming.
8189 Call clear_emit_caches instead of doing it in-line.
8190 Access regno_pointer_* variables through current_function.
8191 (init_emit_once) Don't clear sequence_stack.
8192
8193 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
8194 Delete variables.
8195 (arg_pointer_save_area): Delete declaration.
8196 (finish_expr_for_function): Renamed from init_queue; no longer static.
8197 (init_expr): Don't call init_queue.
8198 (save_expr_status, restore_expr_status): Delete functions.
8199 (expand_expr): Changes to reflect new layout of struct function.
8200 Don't access current_function_check_memory_usage when current_function
8201 is 0.
8202 * expr.h (forced_labels, save_expr_regs, saveregs_value,
8203 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
8204 current_function_outgoing_args_size, current_function_arg_offset_rtx,
8205 current_function_uses_const_pool, function_call_count,
8206 current_function_uses_pic_offset_table, nonlocal_labels,
8207 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
8208 current_function_check_memory_usage, nonlocal_goto_handler_slots,
8209 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
8210 declarations.
8211 (finish_expr_for_function): Declare.
8212 * flags.h (current_function_has_nonlocal_label,
8213 current_function_has_nonlocal_goto, current_function_is_thunk,
8214 current_function_has_computed_jump): Delete declarations.
8215 * flow.c (forced_labels): Delete declaration.
8216 * function.c (current_function_pops_args,
8217 current_function_returns_struct, current_function_returns_pcc_struct,
8218 current_function_needs_context, current_function_calls_setjmp,
8219 current_function_calls_longjmp, current_function_has_nonlocal_label,
8220 current_function_has_nonlocal_goto, current_function_is_thunk,
8221 current_function_has_computed_jump, current_function_calls_alloca,
8222 current_function_contains_functions, current_function_returns_pointer,
8223 current_function_epilogue_delay_list, current_function_args_size,
8224 current_function_pretend_args_size, current_function_arg_offset_rtx,
8225 current_function_outgoing_args_size, current_function_varargs,
8226 current_function_stdarg, current_function_args_info, cleanup_label,
8227 current_function_name, current_function_uses_const_pool,
8228 current_function_instrument_entry_exit, current_function_return_rtx,
8229 current_function_uses_pic_offset_table, nonlocal_labels,
8230 current_function_internal_arg_pointer, current_function_cannot_inline,
8231 current_function_check_memory_usage, function_call_count,
8232 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
8233 nonlocal_goto_stack_level, return_label, save_expr_regs,
8234 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
8235 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
8236 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
8237 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
8238 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
8239 Delete variables.
8240 (push_function_context_to): Don't save them. Don't call
8241 save_storage_status, save_emit_status or save_expr_status.
8242 (pop_function_context_from): Don't restore them. Don't call
8243 restore_storage_status or restore_expr_status.
8244 (get_func_frame_size): New function.
8245 (get_frame_size): Use it.
8246 (assign_outer_stack_local): Reflect some member name changes in struct
8247 function.
8248 (put_reg_into_stack): Likewise.
8249 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
8250 seq_rtl_expr.
8251 (fixup_var_refs): Likewise.
8252 (fix_lexical_addr): Likewise.
8253 (trampoline_address): Likewise.
8254 (prepare_function_start): Clear field inlinable of current_function.
8255 (init_function_for_compilation): New function.
8256 (expand_dummy_function_end): New function.
8257 (expand_function_end): Call finish_expr_for_function.
8258 * function.h (struct emit_status): New; fields moved here from struct
8259 function and from global variables. Add accessor macros for some of
8260 the fields.
8261 (struct expr_status): Likewise.
8262 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
8263 (struct function): Add fields expr and emit, inlinable, inl_emit,
8264 original_arg_vector, original_decl_initial, inl_last_parm_insn,
8265 inl_max_label_num. Add many comments.
8266 Add accessor macros for all elts of struct function that no longer
8267 have a global variable.
8268 (cleanup_label, return_label, frame_offset, tail_recursion_label,
8269 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
8270 stack_slot_list): Delete declarations.
8271 (get_func_frame_size): Declare.
8272 (save_expr_status, restore_expr_status, save_emit_status,
8273 save_storage_status, restore_storage_status): Delete declarations.
8274 (init_virtual_regs): Declare.
8275 * output.h (current_function_pops_args,
8276 current_function_returns_struct, current_function_returns_pcc_struct,
8277 current_function_needs_context, current_function_calls_setjmp,
8278 current_function_calls_longjmp, current_function_calls_alloca,
8279 current_function_has_nonlocal_label, current_function_varargs,
8280 current_function_has_computed_jump, current_function_returns_pointer,
8281 current_function_contains_functions, current_function_args_size,
8282 current_function_pretend_args_size, current_function_stdarg,
8283 current_function_outgoing_args_size, current_function_args_info,
8284 current_function_name, current_function_return_rtx,
8285 current_function_epilogue_delay_list,
8286 current_function_uses_const_pool, current_function_cannot_inline):
8287 Delete declarations.
8288 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
8289 regno_reg_rtx): Delete declaration.
8290 (REGNO_POINTER_FLAG): Delete macro.
8291 * stmt.c (expand_goto): Changes to reflect that some fields in struct
8292 function were renamed.
8293 * stor-layout.c (save_storage_status, restore_storage_status): Delete
8294 functions.
8295 * toplev.c: Include "function.h".
8296 (current_function_decl): Delete declaration.
8297 (compile_file): Call init_dummy_function_start and
8298 expand_dummy_function_end around some initializations that need to
8299 emit rtl.
8300 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
8301 Call init_function_for_compilation.
8302 * unroll.c: Include "function.h"
8303 (unroll_loop): Access regno_pointer_* variables through
8304 current_function.
8305
8306 * tree.h (struct tree_decl): Add elt f to saved_insns member.
8307 (DECL_SAVED_INSNS): use it.
8308 (expand_dummy_function_end): Declare.
8309 (init_function_for_compilation): Declare.
8310 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
8311 that it's no longer an INLINE_HEADER.
8312 (expand_call): Likewise.
8313 * integrate.c (finish_inline): Delete function.
8314 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
8315 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
8316 args. Don't generate an INLINE_HEADER rtx, just return the arg
8317 vector. All callers changed.
8318 (save_for_inline_copying): Create a duplicate struct emit_status to
8319 hold the emit state for compiling the current function. Use this and
8320 the other new fields in struct function that are for integration
8321 instead of an INLINE_HEADER.
8322 Use memcpy instead of bcopy.
8323 Store the current struct function in DECL_SAVED_INSNS of fndecl.
8324 (save_for_inline_nocopy): Similar changes, except no new emit_status
8325 is needed here.
8326 (expand_inline_function): Get information from function structure,
8327 not from an inline header rtx.
8328 (output_inline_function): Lose code to extract the necessary
8329 information from an inline header; simply put back the function
8330 structure into current_function. Clear its inlinable elt.
8331 * rtl.def (INLINE_HEADER): Delete.
8332 * rtl.h: Delete all accessors for an INLINE_HEADER.
8333 (gen_inline_header_rtx): Delete declaration.
8334 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
8335 Delete declarations.
8336 (REGNO_POINTER_ALIGN): Delete.
8337 (clear_emit_caches): Declare.
8338 (set_new_last_label_num): Declare.
8339
8340 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
8341
8342 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
8343
8344 * except.c (expand_eh_region_start_for_decl): Always start a new block.
8345 * stmt.c (is_eh_region): Make sure current_function is present, too.
8346
8347 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
8348
8349 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
8350 for 64bit PA targets.
8351
8352 * pa.h (SELECT_SECTION): Define.
8353 * som.h (SELECT_SECTION): Delete.
8354
8355 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8356
8357 * alias.c (init_alias_analysis): Wrap call to
8358 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
8359
8360 1999-08-07 Bruce Korb <autogen@linuxbox.com>
8361
8362 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
8363 <sys/asm.h> contains an asm comment with an apostrophe
8364 * fixinc/inclhack.sh: regen
8365 * fixinc/fixincl.x: regen
8366
8367 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
8368
8369 * function.c (init_function_start): Clear prologue & epilogue.
8370 (prologue_epilogue_contains): New function.
8371 * alias.c (init_alias_analysis): Use it.
8372 * rtl.h (prologue_epilogue_contains): Declare it.
8373
8374 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
8375
8376 * jump.c (onlyjump_p): New function.
8377 * rtl.h: Declare it.
8378 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
8379 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
8380
8381 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
8382
8383 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
8384 to invert loops. Simplify block scanning.
8385
8386 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8387
8388 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
8389 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
8390
8391 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
8392
8393 * config/sparc/liteelf.h: New file to support sparclite-elf target
8394 * config/sparc/t-sp86x: New file to support sparc86x targets
8395 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
8396 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
8397 * configure.in: Support above target triplets
8398 * configure: Regenerated
8399
8400 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
8401
8402 * fixinc/server.c (server_setup): Do not prefix function used as
8403 parameter with `&'.
8404
8405 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
8406
8407 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
8408 Remove fp reg alternatives.
8409
8410 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
8411
8412 * Makefile.in (TAROUTOPTS): Kill.
8413 (install-headers-tar): Use "xpf" for tar headerfile extraction
8414 * i370/x-oe (TAROUTOPTS): Delete.
8415 * m68k/x-apollo68 (TAROUTOPTS): Delete.
8416 * m68k/x-hp320 (TAROUTOPTS): Delete.
8417 * m68k/x-hp320g (TAROUTOPTS): Delete.
8418 * gcc.texi: Update bug reporting text.
8419
8420 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8421
8422 * reg-stack.c (change_stack) Fixed problem with negative array index.
8423
8424 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
8425
8426 * extend.texi, install.texi: Fix spelling mistakes.
8427
8428 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
8429 (s-attrtab); No longer try to use pre-made insn-attrtab file.
8430 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
8431 PREMADE_ATTRTAB_MD.
8432 * mips/t-ecoff: Likewise.
8433 * mips/t-elf: Likewise.
8434 * mips/t-mips: Likewise.
8435 * mips/t-osfrose: Likewise.
8436 * mips/t-r3900: Likewise.
8437 * mips/t-svr3: Likewise.
8438 * mips/t-svr4: Likewise.
8439 * mips/t-ultrix: Likewise.
8440
8441 * gcc.texi: Document recommend means to provide software floating
8442 point libraries in libgcc.a
8443
8444 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
8445
8446 * c-lex.c (yylex): We can have a number with no digits.
8447
8448 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
8449
8450 * jump.c (delete_prior_computation): New function, broken
8451 out of delete_computation. Check for side effects with
8452 side_effects_p instead of FIND_REG_INC_NOTE. Handle
8453 multi-word hard registers.
8454 (delete_computation): Use it. Check for side effects with
8455 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
8456 missing REG_DEAD note for a register which is both set and
8457 used by an insn.
8458
8459 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
8460
8461 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
8462 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
8463 (ASM_FILE_START): Import _mcount with the right type.
8464 (ASM_DECLARE_FUNCTION_NAME): Define.
8465 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
8466 * pa.c (output_function_prologue): Always emit the function's label
8467 here.
8468 * pa.h (TEXT_SPACE_P): Define.
8469 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
8470 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
8471 * som.h (TEXT_SPACE_P): Delete.
8472 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
8473 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
8474
8475 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
8476
8477 * expr.c (emit_group_load): Allow src to be a CONCAT.
8478
8479 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8480
8481 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
8482 (___mulsi3): Use '!' comment character.
8483
8484 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8485
8486 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
8487
8488 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
8489
8490 * gcc.c: Update URLs and mail addresses.
8491 * gcc.texi: Likewise.
8492
8493 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
8494
8495 * rs6000.c (current_file_function_operand): Return zero for
8496 weak functions.
8497 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
8498 weak symbols.
8499 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
8500 for weak symbols.
8501
8502 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
8503
8504 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
8505 allocate space in the stack frame for the PIC register.
8506
8507 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
8508
8509 * m68k.md (xordi3, anddi3): These patterns are not available on
8510 the coldfire.
8511
8512 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
8513
8514 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
8515 (PUT_REAL): Likewise.
8516
8517 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8518
8519 * final.c (shorten_branches): Don't add an alignment for loops
8520 that have no label inside.
8521
8522 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8523
8524 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
8525 prototypes in macro HAVE_cmpstrsi.
8526
8527 * cpplib.c (cpp_get_token): Remove unused label `op3'.
8528
8529 * emit-rtl.c (operand_subword): Remove unused variable
8530 `bits_per_word'.
8531
8532 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
8533
8534 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
8535
8536 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
8537
8538 * cpphash.c (macroexpand): Delete leading whitespace when arg
8539 is concatenated before.
8540 (unsafe_chars): Correct test for whether + and - can extend a
8541 token.
8542
8543 * cppinit.c (cpp_start_read): Do dependencies for
8544 -include/-imacros files also.
8545
8546 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
8547 tokenizing non-directive lines.
8548 (cpp_expand_to_buffer): Temporarily disable no-output mode.
8549 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
8550 the input file.
8551
8552 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
8553
8554 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
8555
8556 * c-lex.c: Sync with C++ frontend.
8557 (linemode): New variable.
8558 (parse_float): imag, conversion_errno, and type are output only.
8559 (yylex): Adjust. Move initial '.' case into main switch.
8560 Use linemode.
8561 (handle_generic_pragma): Just deal with tokens.
8562 (readescape): Use ISXDIGIT and ISGRAPH.
8563 * c-parse.in: Add END_OF_LINE token.
8564
8565 * c-lex.c (lang_init): Generalize.
8566 (nextchar): Remove. Replace uses with UNGETC.
8567 (skip_white_space): Handle linemode here. Optimize for cpplib.
8568 (skip_white_space_on_line): Remove.
8569 (extend_token_buffer_to): New fn.
8570 (extend_token_buffer): Use it.
8571 (read_line_number, check_newline): Just deal with tokens.
8572 (token_getch, token_put_back): New fns.
8573 (yylex): Use them. More cpplib optimizations. Simplify.
8574
8575 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
8576 Jason Merrill <jason@yorick.cygnus.com>
8577
8578 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
8579 (consume_string): Make this smart about USE_CPPLIB.
8580 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
8581 (yylex): Rewrite to be intelligent about USE_CPPLIB.
8582 Also, clean up cases where we redundantly set token_buffer[0].
8583 (read_line_number): New fn.
8584 (ignore_escape_flag): New variable.
8585
8586 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
8587
8588 * a29k/t-a29kbare: Fix some comments.
8589 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
8590 (FPBIT, DPBIT): Define.
8591 * a29k/t-vx29k: Likewise.
8592 * arc/t-arc: Likewise.
8593 * arm/t-arm-elf: Likewise.
8594 * arm/t-bare: Likewise.
8595 * arm/t-pe: Likewise.
8596 * arm/t-pe-thumb: Likewise.
8597 * arm/t-semi: Likewise.
8598 * arm/t-thumb: Likewise.
8599 * arm/t-thumb-elf: Likewise.
8600 * arm/t-thumb-linux: Likewise.
8601 * h8300/t-h8300: Likewise.
8602 * i960/t-i960: Likewise.
8603 * i960/t-vxworks960: Likewise.
8604 * m32r/t-m32r: Likewise.
8605 * mips/t-ecoff: Likewise.
8606 * mips/t-elf: Likewise.
8607 * mips/t-r3900: Likewise.
8608 * pa/t-pro: Likewise.
8609 * rs6000/t-aix43: Likewise.
8610 * rs6000/t-beos: Likewise.
8611 * rs6000/t-newas: Likewise.
8612 * rs6000/t-ppccomm: Likewise.
8613 * rs6000/t-rs6000: Likewise.
8614 * rs6000/t-winnt: Likewise.
8615 * rs6000/t-xnewas: Likewise.
8616 * rs6000/t-xrs6000: Likewise.
8617 * sh/t-sh: Likewise.
8618 * sparc/t-elf: Likewise.
8619 * sparc/t-sparcbare: Likewise.
8620 * sparc/t-sparclite: Likewise.
8621 * sparc/t-splet: Likewise.
8622 * v850/t-v850: Likewise.
8623 * mn10200/t-mn10200: Fix comments.
8624 * mn10300/t-mn10300: Likewise.
8625
8626 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
8627 dummy operand. Allocate a new pseudo for the dummy operand.
8628 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
8629
8630 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
8631
8632 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
8633
8634 * configure: Rebuilt.
8635 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
8636
8637 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
8638
8639 * recog.c (preproces_constraints): Zero recog_op_alt before
8640 processing the constraints.
8641
8642 * arm.c (typedef minipool_node): Renamed from pool_node.
8643 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
8644 (add_minipool_constant): New function.
8645 (dump_minipool): New function.
8646 (find_barrier): Remove special case for getting the insn size of
8647 an insn that references the constant pool.
8648 (minipool_fixup): New structure.
8649 (push_minipool_barrier): New function.
8650 (push_minipool_fix): New function.
8651 (note_invalid_constants): New function.
8652 (add_pool_constant, dump_table, fixit, broken_move): Delete.
8653 (arm_reorg): Rewrite code to fix up the constant pool into a
8654 series of mini-pools embedded in the insn stream.
8655 (arm_output_epilogue): New function, made mainly from the body
8656 of output_func_epilogue.
8657 (output_func_epilogue): Move insn generation part of epilogue code
8658 to arm_output_epilogue.
8659 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
8660 * arm.md (pool_range): New attribute.
8661 (zero_extendqidi2): Add attribute pool_range.
8662 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
8663 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
8664 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
8665 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
8666 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
8667 (epilogue): New expand.
8668 (epilogue_insn): New insn. Call arm_output_epilogue.
8669
8670 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
8671 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
8672
8673 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
8674
8675 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
8676
8677 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
8678
8679 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
8680
8681 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
8682
8683 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
8684
8685 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
8686
8687 * global.c: Fix comment.
8688
8689 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
8690
8691 * gcc.c (access_check): New static function.
8692 (find_a_file): Use it when searching a directory list.
8693 * collect2.c (find_a_file): Don't accept directories found when
8694 searching a directory list.
8695
8696 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
8697
8698 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
8699 function parameters with `&'.
8700 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
8701
8702 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
8703
8704 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
8705 or tidy_fallthru_edge if the last insn in the block is not
8706 an unconditional jump or a simple conditional jump.
8707
8708 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8709
8710 * Makefile.in (c-decl.o): Depends on defaults.h.
8711
8712 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
8713
8714 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
8715 PA1.1 and above.
8716 (CLASS_MAX_NREGS): Likewise.
8717
8718 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
8719
8720 * cse.c (cse_insn): Fix dumb thinko in last change.
8721
8722 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8723
8724 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
8725 "const char *".
8726
8727 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
8728
8729 * dwarf2out.c (add_location_or_const_value_attribute): Correct
8730 test for sizes of passed and declared parameter types.
8731
8732 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8733
8734 * fixincludes: Fix the return type of bsearch, char* -> void*.
8735
8736 * fixinc/inclhack.def: Likewise.
8737
8738 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
8739
8740 * invoke.texi (-fdump-translation-unit): New option.
8741
8742 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
8743
8744 * expr.h (PROMOTE_PROTOTYPES): Move ...
8745 * defaults.h: ... to here.
8746 * c-decl.c: Include defaults.h instead of expr.h.
8747 * c-typeck.c: Include defaults.h.
8748
8749 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
8750
8751 * toplev.h (errorcount): Declare.
8752 (warningcount): Likewise.
8753 (sorrycount): Likewise.
8754 * c-lex.c (errorcount): Don't declare.
8755 * dwarf2out.c (errorcount): Don't declare.
8756
8757 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
8758
8759 * config/libgloss.h: Add a note discouraging use with ELF.
8760 * configure.in: Don't use libgloss.h for ELF targets.
8761 Always use_collect2 on a.out targets.
8762
8763 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
8764
8765 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
8766 (force_to_mode, case ASHIFTRT): Add shiftrt label.
8767
8768 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8769
8770 * loop.c (strength_reduce): When doing biv->giv conversion, update
8771 reg note of NEXT->insn.
8772
8773 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
8774
8775 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
8776
8777 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
8778
8779 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
8780 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
8781 Ensure expr.h is included.
8782 * c-typecheck.c (convert_arguments): Ditto.
8783
8784 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
8785
8786 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
8787 * config/convex/convex.h: Ditto.
8788 * config/dsp16xx/dsp16xx.h: Ditto.
8789 * config/fx80/fx80.h: Ditto.
8790 * config/gmicro/gmicro.h: Ditto.
8791 * config/i370/i370.h: Ditto.
8792 * config/i386/i386.h: Ditto.
8793 * config/m32r/m32r.h: Ditto.
8794 * config/m68k/m68k.h: Ditto.
8795 * config/m88k/m88k.h: Ditto.
8796 * config/mips/mips.h: Ditto.
8797 * config/pa/pa.h: Ditto.
8798 * config/pyr/pyr.h: Ditto.
8799 * config/tahoe/tahoe.h: Ditto.
8800 * config/we32k/we32k.h: Ditto.
8801
8802 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
8803 based on arch size.
8804
8805 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
8806
8807 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
8808 from comment.
8809
8810 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
8811
8812 1999-08-02 Richard Henderson <rth@cygnus.com>
8813
8814 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
8815 for the register spill block.
8816 (m32r_va_arg): New.
8817 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
8818 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
8819
8820 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
8821 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
8822 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
8823
8824 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
8825
8826 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
8827 MAX_WCHAR_TYPE defined in sparc.h.
8828 * config/sparc/linuxaout.h: Likewise.
8829 * config/sparc/linux64.h: Likewise.
8830 Also default to -mvis if CPU is UltraSPARC.
8831
8832 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
8833
8834 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
8835 (RTX_OK_FOR_OLO10): Likewise.
8836 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
8837 %lo(), allow it in addresses...
8838 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
8839 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
8840 does not make sense.
8841 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
8842 (sparc_output_scratch_registers): New function.
8843 (output_function_prologue, sparc_flat_output_function_prologue): Use
8844 it.
8845 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
8846 defined.
8847 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
8848 * configure.in: Add check for .register pseudo-op support in as and
8849 check for offsetable %lo().
8850 * acconfig.h: Add templates for the above checks.
8851 * configure: Regenerate.
8852
8853 1999-08-02 Richard Henderson <rth@cygnus.com>
8854
8855 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
8856 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
8857 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
8858
8859 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8860
8861 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
8862 reg_biv_class.
8863
8864 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
8865
8866 * config/float-sparc.h: New file.
8867 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
8868 sparc-*-linux-gnu and sparc64-*-linux*.
8869
8870 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8871
8872 * rs6000.c (rs6000_va_list): Type is an array.
8873 (rs6000_va_start): Don't doubly adjust for varargs.
8874 (rs6000_va_arg): Evaluate long long GPR adjustment.
8875
8876 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
8877
8878 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
8879 -maix64 and -maix32.
8880 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
8881 LINK_SPEC): Change appropriately.
8882 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
8883 (u_short_cint_operand): Likewise.
8884 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
8885 for 64-bit hosts.
8886 * rs6000/t-aix43 (MULTILIB): Change to -m64.
8887
8888 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
8889
8890 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
8891
8892 * rs6000/rs6000.c (num_insns_constant_wide): Correct
8893 for type promotion.
8894 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
8895 (non_add_cint_operand): Likewise.
8896 (logical_operand): Likewise.
8897 (non_logical_cint_operand): Likewise.
8898 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
8899 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
8900 (rs6000_select_rtx_section): Suppress warning.
8901 (small_data_operand): Suppress warning.
8902 (rs6000_got_register): Suppress warning.
8903 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
8904 type, so `J' is generally the wrong constraint for a SImode value;
8905 use `L' instead.
8906 (andsi3_internal2): Likewise.
8907 (andsi3_internal3): Likewise.
8908 (iorsi3_internal1): Likewise.
8909 (xorsi3_internal1): Likewise.
8910 (movsi): Likewise.
8911 (movsf_softfloat): Likewise.
8912 (scc insns): Likewise.
8913 (movsi+2): Preserve sign bits of SImode constant.
8914 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
8915 (movdf+1): Sign-extend properly.
8916 (movdi_32+1): Sign-extend properly.
8917 (scc insns): Sign-extend properly.
8918
8919 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
8920 K, L, and T.
8921
8922 1999-08-02 Richard Henderson <rth@cygnus.com>
8923
8924 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
8925 -mcpu parsing code.
8926 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
8927 * alpha.md (all fp insns): Likewise.
8928
8929 1999-08-02 Nick Clifton <nickc@cygnus.com>
8930
8931 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
8932 already defined.
8933
8934 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
8935
8936 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
8937 pic_load_label generator directly.
8938 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
8939 No longer a named pattern.
8940
8941 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
8942
8943 * explow.c (force_reg): Call force_operand if X does not
8944 satisfy general_operand.
8945
8946 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
8947
8948 * fix-header.c (main): When testing for CONTINUED, use string
8949 equality, not pointer equality.
8950
8951 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
8952
8953 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
8954
8955 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
8956
8957 * cse.c (cse_insn): Fix loop which deletes insns after a jump
8958 that has become an unconditional jump.
8959
8960 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
8961 (output_function_epilogue): Similarly.
8962
8963 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8964
8965 * tree.h (init_dummy_function_start): Declare.
8966
8967 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8968
8969 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
8970 last_expr_type, last_expr_value, block_start_count, block_stack,
8971 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
8972 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
8973 dynamically in stmt elt of struct function for each function.
8974 (struct nesting): Rename function_call_count elt to n_function_calls,
8975 target_temp_slot_level to block_target_temp_slot_level. All users
8976 changed.
8977 (struct stmt_status): New structure definition.
8978 Add many accessor macros for stmt_status elements which previously
8979 were global variables.
8980 (init_stmt_for_function): Allocate stmt elt for current_function.
8981 Reflect that block_start_count was renamed to
8982 current_block_start_count.
8983 (save_stmt_status, restore_stmt_status): Delete functions.
8984 (preserve_subexpressions_p): Don't access loop_stack when outside
8985 a function.
8986 (expand_start_bindings): Reflect that block_start_count was renamed to
8987 current_block_start_count.
8988 (expand_fixup): Likewise.
8989 (expand_decl): Don't access block_stack when outside a function.
8990 (expand_decl_cleanup): Likewise.
8991 (expand_dcc_cleanup): Likewise.
8992 (expand_dhc_cleanup): Likewise.
8993 (expand_anon_union_decl): Likewise.
8994 (set_file_and_line_for_stmt): New function.
8995 (in_control_zone_p): New function.
8996
8997 * function.h (struct function): Add new elt stmt.
8998 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
8999 case_stack, nesting_stack, nesting_depth, block_start_count,
9000 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
9001 emit_lineno, goto_fixup_chain.
9002 (save_eh_status, restore_eh_status, save_stmt_status,
9003 restore_stmt_status): Delete declarations.
9004 * function.c (push_function_context_to): Don't call save_stmt_status.
9005 (pop_function_context_to): Don't call restore_stmt_status.
9006 * tree.h (in_control_zone_p): Declare.
9007 * rtl.h (set_file_and_line_for_stmt): Declare.
9008
9009 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
9010 call set_file_and_line_for_stmt.
9011
9012 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
9013
9014 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
9015 Also update copyright.
9016
9017 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9018
9019 * c-pragma.c: Don't include "except.h".
9020 * emit-rtl.c: Likewise.
9021 * stor-layout.c: Likewise.
9022 * tree.c: Likewise.
9023 * varasm.c: Likewise.
9024
9025 * flow.c: Include "function.h".
9026 * tree.h (init_dummy_function_start): Declare new function.
9027
9028 * except.h (struct eh_status): New structure.
9029 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
9030 been included.
9031 (eh_return_stub_label, ehstack, catchstack, ehqueue,
9032 catch_clauses, false_label_stack, caught_return_label_stack,
9033 protect_list, current_function_ehc): Add accessor macros for the
9034 corresponding fields in current_function->eh; delete declarations
9035 for all items that used to be declared here.
9036 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
9037 catch_clauses, false_label_stack, caught_return_label_stack,
9038 protect_list, current_function_ehc): Delete variables.
9039 (init_eh_for_function): Allocate current_function->eh.
9040 (save_eh_status, restore_eh_status): Delete functions.
9041
9042 * function.h (struct function): Add fields next_global and eh.
9043 Delete all exception handling related fields.
9044 * function.c (current_function): New variable.
9045 (all_functions): New variable.
9046 (push_function_context_to): Don't allocate a struct function,
9047 use current_function instead. Call init_dummy_function_start when
9048 outside a function. Clear current_function before returning.
9049 (pop_function_context_from): Restore current_function.
9050 Don't free the restored struct function.
9051 (prepare_function_start): New function.
9052 (init_dummy_function_start): New function.
9053 (init_function_start): Break out some code into prepare_function_start
9054 and call it here.
9055
9056 * stmt.c (save_stmt_status): Don't call save_eh_status.
9057 (restore_stmt_status): Don't call restore_eh_status.
9058
9059 * Makefile.in: Update dependencies.
9060
9061 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
9062
9063 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
9064 of depending on a magic constant value. Update comments.
9065 (hppa_expand_prologue): Similarly.
9066
9067 * pa.md (reload_indi, reload_outdi): Allow any register for the
9068 original reload register.
9069
9070 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
9071
9072 * cccp.c (print_help): Change marcos to macros.
9073
9074 1999-07-30 Richard Henderson <rth@cygnus.com>
9075
9076 * c-typeck.c (initializer_constant_valid_p): Move ...
9077 * c-common.c (initializer_constant_valid_p): ... here. Use
9078 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
9079 of label addresses.
9080 * c-common.h (initializer_constant_valid_p): Declare.
9081 * c-tree.h (initializer_constant_valid_p): Remove.
9082
9083 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
9084
9085 * config/i386/sol2-c1.asm: Align the stack.
9086 * config/i386/sol2-gc1.asm: Likewise.
9087
9088 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
9089
9090 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
9091 -Asparclite for sparc86x.
9092 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
9093 sparc86x.
9094 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
9095
9096 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
9097
9098 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
9099 the user if using the non-default arch size in BI_ARCH configuration.
9100 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
9101
9102 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
9103 Fix patterns so that they actually match.
9104 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
9105 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
9106 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
9107 TARGET_HARD_MUL32.
9108 (mulsidi3): Reflect this in the expand.
9109 (smulsi3_highpart): Only on TARGET_ARCH32.
9110 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
9111 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
9112 (umulsidi3): Reflect this in the expand.
9113 (umulsi3_highpart): Only on TARGET_ARCH32.
9114 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
9115 don't require g0 to be zero.
9116 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
9117 ({,u}divsi3): New expands.
9118 ({,u}divsi3_sp64): New patterns.
9119 (after lshrdi3_v8plus): Four new patterns to help combiner
9120 optimizing nested mixed mode shifts.
9121
9122 * config/sparc/sparc.c (sparc_override_options): Use deprecated
9123 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
9124 speed things up. Don't use them by default on plain v9 in 64bit
9125 mode, according to what SPAMv9 sais.
9126
9127 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
9128 top 32 bits of %[og][0-7] in signal handlers.
9129 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
9130
9131 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
9132
9133 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
9134 (ashlsi3): Corresponding changes.
9135
9136 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
9137
9138 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
9139
9140 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
9141
9142 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9143
9144 * arm.h (Hint): Delete macro.
9145 Substitute HOST_WIDE_INT for Hint in some prototypes.
9146 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
9147
9148 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
9149
9150 * builtins.c (expand_builtin_setjmp): Use force_operand to
9151 make sure that the buffer address is in a suitable form to be
9152 passed to force_reg.
9153
9154 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
9155
9156 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
9157 them here.
9158
9159 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
9160
9161 * pa.md (indirect_jump): Remove mode from match_operand. Verify
9162 proper mode in the condition string.
9163 (icacheflush, dcacheflush): Remove modes from match_operands.
9164
9165 * pa.c (emit_move_sequence): Always convert scratch_reg to the
9166 proper mode before using it.
9167
9168 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
9169 pair.
9170
9171 * pa.c (store_reg): Do not call add_high_const generator directly.
9172 (load_reg, set_reg_plus_d): Likewise.
9173 * pa.md (add_high_const): No longer a named pattern.
9174
9175 * pa.c (legitimize_address): Consistently use Pmode rather than
9176 SImode. Do not call gen_pic2_highpart directly anymore.
9177 * pa.md (pic2_highpart): No longer a named pattern.
9178 (pic2_lo_sum): Similarly. Reformat to make more readable.
9179
9180 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
9181 needed.
9182
9183 * README: Update.
9184
9185 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9186
9187 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
9188
9189 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
9190
9191 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
9192 and tag the spill mems.
9193 (hppa_va_start): New.
9194 (hppa_va_arg): New.
9195 * pa.h (EXPAND_BUILTIN_VA_START): New.
9196 (EXPAND_BUILTIN_VA_ARG): New.
9197
9198 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
9199
9200 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
9201 and tag the spill mems.
9202 (mn10300_va_start): New.
9203 (mn10300_va_arg): New.
9204 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
9205 (EXPAND_BUILTIN_VA_ARG): New.
9206
9207 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
9208
9209 * mn10200.c (mn10200_va_arg): New.
9210 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
9211
9212 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
9213
9214 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
9215 rather than play with TREE_INT_CST_LOW.
9216
9217 1999-07-27 Philip Blundell <pb@nexus.co.uk>
9218
9219 * config/arm/telf.h: Include dbxelf.h.
9220 (CPP_PREDEFINES): Only define if not already defined.
9221 (ASM_IDENTIFY_GCC): Likewise.
9222 (SUBTARGET_EXTRA_SECTIONS): Likewise.
9223 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
9224 * config/arm/thumb.h (LINK_SPEC): Only define if not already
9225 defined.
9226 (DBX_DEBUGGING_INFO): Don't define.
9227 * config/arm/linux-telf.h: New file.
9228 * config/arm/linux-tgas.h: New file.
9229 * config/arm/t-thumb-linux: New file.
9230 * config/arm/uclinux-elf.h: New file.
9231 * config/arm/uclinux-telf.h: New file.
9232 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
9233 thumb-*-uclinux): New targets.
9234 * configure: Regenerate.
9235
9236 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
9237
9238 * pa.md (post_store, pre_load): New expanders.
9239 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
9240 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
9241 need to directly generate RTL for them.
9242 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
9243 changes.
9244
9245 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
9246
9247 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
9248 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
9249 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
9250 (secndary_reload_class): Make TARGET_ELF conditional compile.
9251 (print_operand_address): Similar.
9252 (output_toc): Print all values as hex.
9253 (get_issue_rate): Rearrange and add RS64A and PPC630.
9254 * rs6000.h (processor_type): Add RS64A and PPC630.
9255 (PROCESSOR_POWERPC64): New.
9256 (PROMOTE_MODE): Use word_mode.
9257 (RTX_COSTS): Add RS64A and PPC630.
9258 * rs6000.md (scheduling information): Add lmul and ldiv
9259 representing 64-bit integer multiply and divide. Add rs64a and
9260 PPC630 information.
9261 (ashldi3): Add support for "rldic" instruction.
9262 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
9263
9264 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
9265
9266 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
9267 instead of V8 for sparclite86x in cpu_table.
9268
9269 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9270
9271 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
9272 output_file_directive.
9273
9274 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
9275
9276 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
9277 tree for op1, not the rtl.
9278
9279 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
9280
9281 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
9282 to m88k_va_start, leaving only the register spill.
9283 (m88k_build_va_list): New.
9284 (m88k_va_start): New.
9285 (m88k_va_arg): New.
9286 * m88k.h (BUILD_VA_LIST_TYPE): New.
9287 (EXPAND_BUILTIN_VA_START): New.
9288 (EXPAND_BUILTIN_VA_ARG): New.
9289
9290 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
9291
9292 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
9293 Rename from expand_builtin_saveregs.
9294 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
9295
9296 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
9297
9298 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
9299 for the register spill block.
9300 (i960_build_va_list): New.
9301 (i960_va_start): New.
9302 (i960_va_arg): New.
9303 * i960.h (BUILD_VA_LIST_TYPE): New.
9304 (EXPAND_BUILTIN_VA_START): New.
9305 (EXPAND_BUILTIN_VA_ARG): New.
9306 * i960.md (store_multiple): Use change_address on individul mems.
9307
9308 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
9309
9310 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
9311 an ARRAY_TYPE.
9312 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
9313 (expand_builtin_va_end): Evaluate arg for side effects.
9314 * c-common.c (c_common_nodes_and_builtins): Construct a
9315 va_list_arg_type_node to handle array decomposition to pointer.
9316
9317 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
9318
9319 * except.c (start_dynamic_cleanup): Use force_operand on the
9320 buffer's address.
9321
9322 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
9323
9324 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
9325 * c4x.c (c4x_va_arg): New.
9326
9327 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
9328
9329 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
9330 has manual_pop set.
9331
9332 1999-07-26 Nathan Sidwell <nathan@acm.org>
9333
9334 * eh-common.h (__eh_matcher): Prototype correctly.
9335
9336 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
9337
9338 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
9339 (TARGET_SINGLE_PIC_BASE): Likewise.
9340 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
9341 definitions.
9342 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
9343 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
9344 (TARGET_OPTIONS): Add -mpic-register=N.
9345 (OUTPUT_INT_ADDR_CONST): New macro.
9346 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
9347 LEGITIMATE_PIC_OPERAND_P): Likewise.
9348 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
9349 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
9350 output_addr_const directly.
9351 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
9352 ARM port.
9353 (thumb_pic_register, thumb_pic_register_string): Declare.
9354
9355 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
9356 from arm.c.
9357 (label_mentioned_p): New function: Imported from arm.c.
9358 (legitimize_pic_address): New function: Imported from arm.c.
9359 (is_pic):New function: Imported from arm.c.
9360 (thumb_finalize_pic):New function: Imported from arm.c.
9361 (add_constant): Cope with PIC constants.
9362 (fixit): Cope with PIC constants.
9363 (output_return): Do not treat the PIC register as live if
9364 TARGET_SINGLE_PIC_BASE is true.
9365 (thumb_function_prologue): Do not treat the PIC register as live if
9366 TARGET_SINGLE_PIC_BASE is true.
9367 (thumb_expand_prologue): Do not treat the PIC register as live if
9368 TARGET_SINGLE_PIC_BASE is true.
9369 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
9370 TARGET_SINGLE_PIC_BASE is true.
9371 (thumb_print_operand): Accept '|'.
9372 (thumb_override_options): Process PIC options.
9373
9374 * config/arm/thumb.md (movsi): Support PIC.
9375 (call_insn): Change "i" constraint to "X".
9376 (call_value_insn): Likewise.
9377 (consttable_4, consttable_8, consttable_end): Set and clear
9378 "making_const_table" as appropriate.
9379 (pic_load_addr, pic_add_dot_plus_four): New insns.
9380
9381 * invoke.texi (Thumb Options): Fix spelling. Document new
9382 options -msingle-pic-base and -mpic-register=.
9383
9384 1999-07-26 Andrew Haley <aph@cygnus.com>
9385
9386 * config/m32r/initfini.c (__init): Use a full word immediate for
9387 __fini: this allows it to be placed in any memory region.
9388
9389 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
9390 -mmodel=medium. This is OK for all memory models.
9391
9392 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
9393
9394 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
9395 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
9396
9397 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
9398
9399 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
9400 defined.
9401
9402 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
9403
9404 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
9405
9406 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
9407 (BUILD_VA_LIST_TYPE): New.
9408 (EXPAND_BUILTIN_VA_START): New.
9409 (EXPAND_BUILTIN_VA_ARG): New.
9410 * i860.c (output_delayed_branch): Disable.
9411 (output_delay_insn): Likewise.
9412 (i860_saveregs): New.
9413 (i860_build_va_list): New.
9414 (i860_va_start): New.
9415 (i860_va_arg): New.
9416 * i860.md: Disable all peepholes using output_delayed_branch.
9417 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
9418
9419 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
9420
9421 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
9422 (BUILD_VA_LIST_TYPE): New.
9423 (EXPAND_BUILTIN_VA_START): New.
9424 (EXPAND_BUILTIN_VA_ARG): New.
9425 * clipper.c (clipper_builtin_saveregs): Only dump registers.
9426 Return the address of the save area.
9427 (clipper_build_va_list): New.
9428 (clipper_va_start): New.
9429 (clipper_va_arg): New.
9430
9431 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
9432
9433 * arc.h (EXPAND_BUILTIN_VA_START): New.
9434 (EXPAND_BUILTIN_VA_ARG): New.
9435 * arc.c (arc_setup_incoming_varargs): Set alias set of
9436 varargs save area.
9437 (arc_va_start): New.
9438 (arc_va_arg): New.
9439
9440 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
9441
9442 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
9443 (BUILD_VA_LIST_TYPE): New.
9444 (EXPAND_BUILTIN_VA_START): New.
9445 (EXPAND_BUILTIN_VA_ARG): New.
9446 * alpha.c (alpha_builtin_saveregs): Delete.
9447 (alpha_build_va_list): New.
9448 (alpha_va_start): New.
9449 (alpha_va_arg): New.
9450
9451 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
9452
9453 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
9454 column zero.
9455 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
9456 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
9457
9458 * gcc.texi: More changes related to list conversion.
9459 * invoke.texi: Likewise.
9460
9461 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
9462
9463 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
9464 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
9465 (expand_builtin_next_arg): Accept ARGLIST not EXP.
9466 (stabilize_va_list): New function.
9467 (std_expand_builtin_va_start): New function.
9468 (expand_builtin_va_start): New function.
9469 (get_varargs_alias_set): New function.
9470 (std_expand_builtin_va_arg): New function.
9471 (expand_builtin_va_arg): New function.
9472 (expand_builtin_va_end): New function.
9473 (expand_builtin_va_copy): New function.
9474 (expand_builtin): Call them.
9475 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
9476 __builtin_{varargs_start,stdarg_start,end,copy}.
9477 (build_va_arg): New function.
9478 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
9479 (build_va_arg): Declare.
9480 * c-decl.c (ptr_type_node, va_list_type_node): New.
9481 * c-parse.gperf (__builtin_va_arg): New.
9482 * c-parse.in (VA_ARG): New token.
9483 (unary_expr): Recognize it.
9484 * expr.c (expand_expr): Expand VA_ARG_EXPR.
9485 * expr.h (std_expand_builtin_va_start): Declare.
9486 (std_expand_builtin_va_arg): Declare.
9487 (expand_builtin_va_arg): Declare.
9488 (get_varargs_alias_set): Declare.
9489 * tree.def (VA_ARG_EXPR): New.
9490 * tree.h (BUILT_IN_VARARGS_START): New.
9491 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
9492 (ptr_type_node, va_list_type_node): Declare.
9493 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
9494 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
9495 * m88k.h, m88k.c: Likewise.
9496 * mn10300.h, mn10300.c: Likewise.
9497 * pa.h, pa.c: Likewise.
9498 * rs6000.h, rs6000.c: Likewise.
9499 * sh.h, sh.c: Likewise.
9500 * sparc.h, sparc.c: Likewise.
9501
9502 * emit-rtl.c (operand_subword): Copy alias set.
9503 (change_address): Likewise.
9504
9505 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
9506
9507 * pa.c (compute_frame_size): Scan all the used callee saved registers,
9508 not just the first one.
9509
9510 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
9511
9512 * config/arm/arm.h (TARGET_SWITCHES): Add
9513 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
9514 (TARGET_OPTIONS): Add -mpic-register=.
9515 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
9516 (arm_pic_register_string): Declare.
9517 (NEED_PLT_GOT): Delete, replace with ...
9518 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
9519 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
9520 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
9521 * config/arm/arm.c (arm_override_options): Add new option
9522 -mpic-register=N.
9523 (arm_pic_register_string): New variable.
9524 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
9525 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
9526 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
9527 (output_return_instruction): Likewise.
9528 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
9529 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
9530 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
9531
9532 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
9533 mention of -msched-prolog. Document new options -msingle-pic-base
9534 and -mpic-register=.
9535
9536 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
9537
9538 * haifa-sched.c (reemit_notes): Tidy.
9539 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
9540 haifa's routine.
9541
9542 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
9543
9544 * explow.c (trunc_int_for_mode): New function.
9545 (plus_constant_wide): Use it.
9546 * combine.c (simplify_and_const_int): Likewise.
9547 (merge_outer_ops): Likewise.
9548 (simplify_shift_const): Likewise.
9549 * cse.c (simplify_unary_operation): Likewise.
9550 (simplify_binary_operation): Likewise.
9551 * emit-rtl.c (operand_subword): Likewise.
9552 * rtl.h: Declare it.
9553
9554 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9555
9556 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
9557 (use NUM_REGS instead of NUM_INTS).
9558
9559 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9560
9561 * builtins.c: New file.
9562 * expr.c (saveregs_value, apply_args_value): Delete definition,
9563 moved into builtins.c.
9564 (string_constant): No longer static.
9565 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
9566 apply_args_size, apply_result_size, result_vector,
9567 expand_builtin_apply_args, expand_builtin_apply,
9568 expand_builtin_return): Delete functions, moved into builtins.c.
9569 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
9570 * expr.h (saveregs_value, apply_args_value): Declare variables.
9571 (expand_builtin, string_constant): Declare functions.
9572 * Makefile.in: Update to build builtin.o.
9573
9574 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
9575
9576 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
9577 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
9578 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
9579 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
9580 false.
9581 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
9582 Define to zero.
9583
9584 1999-07-21 Michael Meissner <meissner@cygnus.com>
9585
9586 * print-rtl.c (print_rtx): Print the names of the virtual
9587 registers.
9588
9589 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
9590
9591 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
9592 introduced in previous delta.
9593
9594 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9595
9596 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
9597 to avoid name clash.
9598
9599 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
9600
9601 * c-lex.c (yylex) : Correct the test for overflow when lexing
9602 integer literals.
9603
9604 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
9605
9606 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
9607 (adjust_priority): Always call ADJUST_PRIORITY.
9608 (schedule_insn): Only put insns into the ready at cost 0.
9609 (schedule_block): Remove redundant initial sort. Give clock_var
9610 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
9611 is not 0.
9612 * tm.texi (MD_SCHED_REORDER): Update docs.
9613
9614 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
9615 * sparc.c (ultra_reorder_called_this_block): Delete.
9616 (ultrasparc_sched_init): Don't set it.
9617 (ultrasparc_sched_reorder): Don't check it.
9618
9619 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
9620
9621 * rs6000.h (struct rs6000_args): Add sysv_gregno.
9622 * rs6000.c (init_cumulative_args): Init sysv_gregno.
9623 (function_arg_boundary): Align DFmode.
9624 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
9625 to get fp reg and stack overflow correct.
9626 (function_arg): Likewise.
9627 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
9628 (setup_incoming_varargs): Restructure for ABI_V4; use
9629 function_arg_advance to skip final named argument.
9630 (expand_builtin_saveregs): Properly unskip the last integer arg
9631 when doing varargs. Adjust overflow location calculation.
9632
9633 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
9634 explicitly unsigned.
9635 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
9636 (__VA_GP_REGSAVE): Similarly.
9637 (__va_longlong_p): Delete.
9638 (__va_arg_type_violation): New declaration.
9639 (va_arg): Restructure. Flag promotion errors. Align double.
9640 TFmode passed by reference.
9641
9642 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
9643 in the HOST_BITS_PER_WIDE_INT > 32 case.
9644
9645 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
9646
9647 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
9648
9649 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
9650
9651 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
9652 * toplev.c (documented_lang_options): Add -fpreprocessed.
9653 * cpplib.h (struct cpp_buffer): Add preprocessed.
9654 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
9655 (cpp_start_read): Don't expand macros or emit an initial #line
9656 directive if -fpreprocessed.
9657
9658 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
9659
9660 * cpplib.h (struct cpp_buffer): Added manual_pop for
9661 better C++ tokenization.
9662 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
9663 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
9664 * c-common.c (cpp_token): Make non-static.
9665
9666 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9667
9668 * c-common.h: New file.
9669 * c-common.c (permanent_obstack): Delete unused declaration.
9670 (c_global_trees): New array.
9671 (c_common_nodes_and_builtins): New function; split off common code
9672 from init_decl_processing in both c-decl.c and cp/decl.c.
9673 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
9674 c_global_trees and accessor macros defined in c-common.h.
9675 Include c-common.h.
9676 * c-decl.c: Delete definitions for tree nodes that were replaced by
9677 c_global_trees.
9678 (init_decl_processing): Build void_list_node.
9679 Call c_common_nodes_and_builtins; delete code to generate the common
9680 builtins here.
9681 * objc/objc-act.c (build_module_descriptor): Rename variable
9682 void_list_node to avoid clash with c-common.h.
9683
9684 * Makefile.in: Update dependencies.
9685 * objc/Make-lang.in: Likewise.
9686
9687 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
9688
9689 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
9690 (UNIQUE_SECTION_P): Likewise.
9691 (UNIQUE_SECTION): Likewise.
9692
9693 1999-07-19 Linas Vepstas <linas@linas.org>
9694
9695 * config/i370/README: New file.
9696 * config/i370/linux.h: New file.
9697 * config/i370/mvs.h: New file.
9698 * config/i370/oe.h: New file.
9699 * config/i370/t-linux: New file.
9700 * config/i370/t-mvs: New file.
9701 * config/i370/t-oe: New file.
9702 * config/i370/x-oe: New file.
9703 * config/i370/xm-linux.h: New file.
9704 * config/i370/xm-mvs.h: New file.
9705 * config/i370/xm-oe.h: New file.
9706
9707 * i370.c (label_node_t): Add first_ref_page, label_addr,
9708 label_first_ref, label_last_ref members.
9709 (mvs_need_base_reload): Renamed from mvs_label_emitted.
9710 (MAX_MVS_LABEL_SIZE): Define.
9711 (MAX_LONG_LABEL_SIZE): Define.
9712 (alias_node_t, alias_anchor, alias_number): New.
9713 (mvs_function_table): Reorder for EBCDIC.
9714 (ascebc, ebcasc): Unconditionally define.
9715 (i370_branch_dest, i370_branch_length): New functions.
9716 (i370_short_branch, i370_label_scan): New functions.
9717 (mvs_get_label): Renamed from mvs_add_label. Search for
9718 an existing label before creating a new one.
9719 (mvs_add_label): New function.
9720 (mvs_get_label_page): New function.
9721 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
9722 over the entire list.
9723 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
9724 (mvs_check_page) [TARGET_ELF_ABI]: New function.
9725 (mvs_add_alias, mvs_need_alias): New functions.
9726 (mvs_get_alias, mvs_check_alias): New functions.
9727 (handle_pragma): New function.
9728 (mvs_function_check): New function.
9729 (unsigned_jump_follows_p): Search harder.
9730 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
9731 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
9732 * i370.h (TARGET_VERSION): Delete.
9733 (CPP_SPEC, CPP_PREDEFINES): Delete.
9734 (mvs_label_emitted): Delete.
9735 (TARGET_EBCDIC): Delete.
9736 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
9737 (HANDLE_PRAGMA): Define.
9738 (HARD_REGNO_NREGS): Handle complex modes.
9739 (HARD_REGNO_MODE_OK): Likewise.
9740 (CLASS_MAX_NREGS): Likewise.
9741 (RET_REG): Likewise.
9742 (EXTRA_CONSTRAINT): Define.
9743 (RETURN_IN_MEMORY): True for DImode.
9744 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
9745 (FUNCTION_PROFILER): Delete.
9746 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
9747 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
9748 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
9749 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
9750 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
9751 (ASM_FILE_START): Add "RMODE ANY".
9752 (ASM_OUTPUT_EXTERNAL): Check for aliases.
9753 (ASM_GLOBALIZE_LABEL): Likewise.
9754 (ASM_OUTPUT_LABELREF): Likewise.
9755 (ASM_OUTPUT_COMMON): Likewise.
9756 (PRINT_OPERAND): Handle 'K', 'W', default.
9757 (PRINT_OPERAND_ADDRESS): New.
9758 (Lots of defines): Add support for TARGET_ELF_ABI.
9759 * i370.md (attr length): New. Define for all patterns.
9760 (*): Lots of tweeks to assembly output and constraints.
9761
9762 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
9763
9764 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
9765 Disable patterns performing SImode comparisons with SImode values
9766 if TARGET_POWERPC64 and instruction does not sign-extend or does
9767 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
9768 differ for signed quantities.
9769 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
9770 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
9771 (decrement_and_branch_on_count): Add 64-bit variant.
9772
9773 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9774
9775 * final.c (output_asm_insn): When searching for the matching string
9776 for a given dialect, don't run past the end of the list of
9777 alternatives if there are fewer alternatives in the template than
9778 dialects.
9779
9780 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
9781
9782 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
9783 Removed paragraph about compression of files and size limitation,
9784 duplicated in the FAQ. Use gcc-patches for posting patches.
9785 * gcc.c (main): Updated URL with bug reporting instructions to
9786 gcc.gnu.org. Removed e-mail address.
9787 * system.h (abort): Likewise.
9788
9789 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9790
9791 * Makefile.in (stmp-multilib-sub): Make the files extracted
9792 from $(LIBGCC1) writable.
9793
9794 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
9795
9796 * config/arm/aout.h: Reformat for improved readability.
9797
9798 * config/arm/arm.h: Reformat for improved readability.
9799 Replace uses of fprintf with asm_fprintf where appropriate.
9800 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
9801 function declaration assembler actions.
9802 (NUM_INTS): New macro: Convert from bytes to words.
9803 (NUM_REGS): New macro: Compute number of registers required to
9804 hold a quanitity of tyep MODE.
9805 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
9806 types.
9807 (NUM_ARG_REGS): New macro: The number of argument registers
9808 available.
9809 (ARG_REGISTER): New macro: Compute the register number of the Nth
9810 argument register.
9811 (LAST_ARG_REGNUM): New macro: The number of the last argument
9812 register.
9813 (SP_REGNUM): New macro: Register number of the stack pointer.
9814 (FP_REGNUM): New macro: Register number of the frame pointer.
9815 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
9816 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
9817 CUMULATIVE_ARGS so that it counts registers not bytes.
9818
9819 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
9820 TARGET_INTERWORK.
9821 Replace uses of fprintf with asm_fprintf where appropriate.
9822 (output_ascii_pseudo_op): Replace with version from thumb.c
9823
9824 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
9825
9826 * config/arm/elf.h (CPP_PREDEFINES): Replace with
9827 SUBTARGET_CPP_SPEC.
9828 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
9829 (ASM_FILE_START): Emit ASM_APP_OFF.
9830
9831 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
9832
9833 * pa.c (compute_frame_size): Round frame according to
9834 STACK_BOUNDARY rather than a hardwired value.
9835
9836 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
9837
9838 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
9839 of "1".
9840 * configure: Rebuilt.
9841
9842 * configure.in (hppa*-*-linux*): New configuration.
9843 * configure: Rebuilt.
9844 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
9845 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
9846 * pa/pa-linux.h: New file.
9847 * pa/t-linux: New file.
9848 * pa/xm-linux.h: New file.
9849
9850 * pa.c (hppa_legitimize_address): Change references from SImode to
9851 either Pmode or word_mode as appropriate.
9852 (emit_move_sequence, store_reg, load_reg): Likewise.
9853 (set_reg_plus_d, hppa_expand_prologue): Likewise.
9854 (output_mul_insn): Likewise.
9855 * pa.h (PROMOTE_MODE): Likewise.
9856 (INITIALZE_TRAMPOLINE): Likewise.
9857 (Pmode): Define to word_mode.
9858
9859 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
9860 value of 4. Allocate 8 bytes for each FP register save.
9861 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
9862 value of 4.
9863 (hppa_expand_prologue): Likewise.
9864 * pa.h (PROMOTE_MODE): Likewise.
9865 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
9866 (FUNCTION_ARG_BOUNDARY): Likewise.
9867
9868 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
9869
9870 * pa.c (out_of_line_prologue_epilogue): Delete.
9871 (override_options): Remove -mspace related code.
9872 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
9873 (compute_frame_size): Only allocate space for register that
9874 actually need to be saved.
9875 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
9876 (TARGET_SWITCHES): Remove -mspace, -mno-space
9877 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
9878 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
9879 * pa/ee.asm, pa/ee_fp.asm: Delete.
9880
9881 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
9882
9883 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
9884 directive in column zero.
9885
9886 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
9887
9888 * m68k.c (output_function_prologue): Fix computation of save mask
9889 when generating PIC code.
9890
9891 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
9892
9893 * tree.c (build_type_attribute_variant): Move current_obstack restore
9894 after build_qualified_type call.
9895
9896 1999-07-15 Mark Mitchell <mark@codesourcery.com>
9897
9898 * configure.in: Use t-iris6, even with GNU LD.
9899 * config/mips/iris6gld.h: Fix typo in linker spec.
9900 * config/mips/t-iris6gld: Remove.
9901
9902 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
9903
9904 * rs6000.md (insv, extzv): Remove SImode dependence in named
9905 patterns. Explicitly generate DImode RTL if PowerPC64 and
9906 operand is DImode.
9907 (insvdi): Reverse start and size in instruction template.
9908
9909 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
9910
9911 * invoke.texi: Typo fixes.
9912
9913 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
9914
9915 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
9916 handle at this time instead of silently generating incorrect code.
9917 (gen_imagpart): Likewise.
9918
9919 * reload.c (find_reloads): Emit a USE for a pseudo register without
9920 a hard register if we could not create an optional reload for the
9921 pseudo.
9922
9923 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9924
9925 * c-typeck.c (output_init_element, process_init_element):
9926 When advancing constructor_unfilled_fields for a RECORD_TYPE,
9927 check for nameless bit fields.
9928
9929 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
9930
9931 * regclass.c (scan_one_insn): Notice subregs that change the
9932 size of their operand.
9933 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
9934
9935 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
9936
9937 * configure.in (alpha*-*-*): Include alpha/t-ieee.
9938 * configure: Rebuilt.
9939 * alpha/t-ieee: New file.
9940
9941 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
9942
9943 * rs6000.c (find_addr_reg): Do not select r0 as an address
9944 register.
9945
9946 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
9947
9948 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
9949
9950 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
9951
9952 * rs6000.md (movsf): Do not force easy FP constants into memory.
9953
9954 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
9955 immed_double_const to ensure they are properly truncated then
9956 sign extended.
9957
9958 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
9959
9960 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
9961 always unless NO_DEBUG is used. Compile this code
9962 unconditionally.
9963 (replace_symbols_in_block): Compile it unconditionally.
9964
9965 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
9966
9967 * configure.in (i?86-*-elf*): New target.
9968 * configure: Rebuilt.
9969 * i386/i386elf.h, i386/t-i386elf: New files.
9970
9971 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
9972
9973 * toplev.c (main): Don't complain about saying -gdwarf.
9974 (rest_of_compilation): Remove redundant code.
9975
9976 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
9977
9978 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
9979
9980 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
9981
9982 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
9983 "Li960R:", to avoid name clash.
9984
9985 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9986
9987 * loop.c (check_dbra_loop): When reversing a loop, delete all
9988 REG_EQUAL notes referencing the reversed biv except those which are
9989 for a giv based on it.
9990
9991 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
9992
9993 * version.c: Drop "gcc-" prefix from version #.
9994
9995 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
9996
9997 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
9998 the label if we're being verbose.
9999
10000 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
10001
10002 * m68k.c (output_function_prologue): Add pic register to mask
10003 if live and flag_pic.
10004 (output_function_epilogue): Likewise.
10005
10006 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
10007
10008 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
10009 directives in column zero.
10010
10011 * pa/elf.h (ASM_FILE_START): Define.
10012 * pa/som.h (ASM_FILE_START): Include .level directives.
10013 * pa/hpux10.h (ASM_FILE_START): Delete.
10014 * pa/hpux11.h (ASM_FILE_START): Delete.
10015
10016 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
10017
10018 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10019
10020 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
10021 when reload_out equals reload_in.
10022
10023 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
10024
10025 * invoke.texi (Spec Files): New node: Describe the contents of
10026 spec files.
10027
10028 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
10029
10030 * invoke.texi (DEC Alpha Options): Put @end table at
10031 beginning of line, to avoid confusing texi2html.
10032
10033 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
10034
10035 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
10036 introduced in previous delta.
10037
10038 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10039
10040 * reload1.c (gen_reload): When synthesizing a 3 operand add
10041 sequence, improve test for when to reload OP1 into the reload
10042 register instead of OP0.
10043
10044 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
10045
10046 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
10047
10048 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
10049
10050 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
10051 string literal.
10052
10053 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
10054
10055 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
10056 (va_dcl): Use __builtin_va_alist_t.
10057
10058 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
10059
10060 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
10061 on the permanent_obstack.
10062 * dwarfout.c (output_type): Likewise.
10063
10064 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
10065
10066 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
10067 Merged from c-typeck.c and cp/typeck.c.
10068 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
10069 Merged into c-common.
10070
10071 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
10072
10073 * c-lex.c (errorcount): Declare it.
10074 (finish_parse): Update errorcount when using CPPLIB.
10075
10076 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
10077
10078 * fixinc/inclhack.def(end_else_label): Double the backslash so
10079 sed gets a chance to see it.
10080 * fixinc/inclhack.sh: regen
10081 * fixinc/fixincl.x: regen
10082
10083 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
10084
10085 Add framework to support armv5 architecture when it becomes
10086 available:
10087
10088 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
10089 (arm_arch5): New variable.
10090 (all_architectures): Add armv5 line.
10091 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
10092 -march=armv5 is specified on the command line.
10093 (arm_arch5): Export this variable.
10094 * invoke.texi: Document new string accepted by -march= switch for
10095 ARM ports.
10096
10097 * config/arm/arm.h: Replace use of constant 12 as a register
10098 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
10099 * config/arm/arm.c: Replace use of constant 12 as a register
10100 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
10101
10102 * config/arm/elf.h: Tidy up.
10103 * config/arm/coff.h: Tidy up.
10104
10105 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
10106
10107 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
10108 * gcc/config/mips/t-iris6gld: New file.
10109 * gcc/config/mips/iris6gld.h: Likewise.
10110
10111 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
10112
10113 * c-decl.c (widest_integer_literal_type_node,
10114 widest_unsigned_literal_type) : New.
10115 (init_decl_processing): Handle/use the two new types.
10116 * c-common.c (type_for_size,type_for_mode) : Same.
10117 * c-lex.c (yylex) : Same.
10118 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
10119 Same.
10120 * c-tree.h (widest_integer_literal_type_node,
10121 widest_unsigned_literal_type) : New.
10122
10123 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
10124
10125 * dwarfout.c (field_byte_offset): Correctly compute the object's
10126 byte offset for the first bit of a field which crosses an alignment
10127 boundary on a !BYTES_BIG_ENDIAN target.
10128
10129 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
10130
10131 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
10132 ntohs.
10133
10134 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
10135 Jeff Law <law@cygnus.com>
10136
10137 * ginclude/varargs.h (va_dcl): Use word_mode for type of
10138 __builtin_va_list.
10139
10140 * except.c: Include intl.h.
10141 (expand_eh_return): Set current_function_cannot_inline.
10142 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
10143 * function.h (struct function): Add eh_return_stub_label.
10144 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
10145 * Makefile.in (except.o): Depend on intl.h.
10146
10147 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
10148
10149 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
10150 same as offsettable in cases 1 and 2.
10151
10152 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
10153
10154 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
10155 (extlh, extwh): Likewise.
10156
10157 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
10158
10159 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
10160
10161 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
10162
10163 * configure.in: Add arm-pe and thumb-pe targets.
10164 * configure: Regenerate.
10165
10166 * thumb.c (arm_naked_function_p): New function: Determines if
10167 a function is naked (has no gcc generated prologue/epilogue).
10168 (is_called_in_ARM_mode): Return true if the func has the
10169 interfacearm attribute.
10170 (output_return): Do not generate a return for naked functions.
10171 (thumb_function_prologue): Do not generate a prologue for
10172 naked functions.
10173 (thumb_expand_prologue): Do not generate a prologue for naked
10174 functions.
10175 (thumb_expand_epilogue): Do not generate an epilogue for naked
10176 functions.
10177 (arm_valid_machine_decl_attribute): New function, copied from
10178 arm.c: Permit naked and interfacearm attributes.
10179
10180 * config/arm/pe.c: New file: Support code for arm-pe target.
10181 * config/arm/pe.h: New file: Header file for arm-pe target.
10182 * config/arm/tpe.h: New file: Header file for thumb-pe target.
10183 * config/arm/t-thumb-pe: New file: Makefile fragment for
10184 thumb-pe target.
10185
10186 1999-07-01 Mark Kettenis <kettenis@gnu.org>
10187
10188 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
10189 -fPIC or -fpic is specified.
10190
10191 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
10192
10193 * expr.c (emit_block_move): Use copy_to_mode_reg for
10194 !TARGET_MEM_FUNCTIONS case too.
10195
10196 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
10197 appropriate.
10198 * configure: Rebuilt.
10199 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
10200 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
10201 definitions made redundant by dbxelf.h inclusion. Delete
10202 lots of definitions related to assembly output that are
10203 specific to the SOM object format.
10204 * pa.c (output_function_prologue): Do not emit the function's
10205 name for OBJ_ELF.
10206 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
10207 * pa-pro.h: Deleted.
10208 * som.h: New file with SOM specific definitions.
10209 * elf.h: New file with ELF specific definitions.
10210
10211 * elfos.h (const_section): Output a tab before assembler directives.
10212 (ctors_section, dtors_section): Likewise.
10213 (ASM_OUTPUT_SECTION_NAME): Likewise.
10214
10215 * pa/pa1.h: Delete unused file.
10216
10217 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
10218
10219 * configure.in (hppa*-hp-hpux11*): New configuration.
10220 * configure: Rebuilt.
10221 * pa/pa-hpux11.h: New file.
10222 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
10223 command line.
10224
10225 * mips.md (leasi, leadi): New patterns.
10226
10227 * expr.c (emit_block_move): Properly handle case where one of the
10228 block move arguments has a queued increment or decrement.
10229 (clear_storage): Similarly. Fix formatting goof.
10230
10231 1999-06-28 "David O'Brien" <obrien@NUXI.com>
10232
10233 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
10234 semicolon from the BSD VA_LIST replacement expression.
10235
10236 * fixinc/inclhack.sh: regen
10237 * fixinc/fixincl.x: regen
10238
10239 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
10240 now use the fixincl program.
10241
10242 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
10243
10244 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
10245 case. Also make the PIC register call_used.
10246
10247 * m68k.h (FINALIZE_PIC): Delete.
10248 * m68k.c (finalize_pic): Delete.
10249
10250 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
10251
10252 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
10253 to memory.
10254
10255 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
10256
10257 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
10258
10259 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
10260
10261 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
10262
10263 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
10264
10265 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
10266
10267 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
10268
10269 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
10270
10271 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
10272
10273 * rs6000.c (output_toc): Always use hex values for floating-point
10274 constants. Store single-precision values in upper-half of TOC
10275 entry in 64-bit mode.
10276 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
10277 to final constraints.
10278 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
10279 (fctiwz): Improve accuracy of RTL for pattern.
10280
10281 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
10282
10283 * expr.c (expand_expr): Allow RTL_EXPR's through the
10284 MAX_INTEGER_COMPUTATION_MODE checks.
10285
10286 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
10287
10288 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
10289 such that MASK_SUPPORT_ARCH is not negative.
10290
10291 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
10292
10293 * loop.c (verify_dominator): Properly handle ADDR_VEC and
10294 ADDR_DIFF_VEC insns that appear inside loops.
10295
10296 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
10297 Jeff Law <law@cygnus.com>
10298
10299 * rs6000.md (movdf_hardfloat32): Revert previous patch.
10300 Handle LO_SUM the same as offsettable in cases 1 and 2.
10301 * rs6000.c (find_addr_reg): Revert previous patch.
10302
10303 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
10304
10305 * system.h (strstr): New external function declaration.
10306 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
10307 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
10308 * config.in, configure: Rebuilt.
10309
10310 1999-06-24 Tom Tromey <tromey@cygnus.com>
10311
10312 * gcc.c (main): Read user-specified specs files after computing
10313 additional startfile_prefixes.
10314
10315 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
10316
10317 Revert these two patches:
10318
10319 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10320 * loop.c (strength_reduce): When doing biv->giv conversion, update
10321 reg note of NEXT->insn.
10322
10323 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10324 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
10325 reg_biv_class.
10326 (recombine_givs): Set ix field after sorting.
10327
10328 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10329
10330 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
10331 for the parts of an UNSPEC / UNSPEC_VOLATILE.
10332
10333 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
10334
10335 *fixinc/inclhack.def: Add fix development commentary
10336 (read_ret_type): reactivate and add selection clause
10337 (zzz_*): tweak output file name to match what is used in hackshell.tpl
10338 *fixinc/{fixincl.x|inclhack.sh}: regen
10339
10340 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
10341
10342 * expr.c (expand_expr): STRIP_NOPS before checking against
10343 MAX_INTEGER_COMPUTATION_MODE
10344 (check_max_integer_computation_mode): Likewise.
10345
10346 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
10347
10348 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
10349
10350 1999-06-22 Jim Wilson <wilson@cygnus.com>
10351
10352 * expr.c (store_expr): When target is a promoted subreg, return a
10353 promoted subreg as a result.
10354
10355 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
10356
10357 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
10358 coding standards.
10359 (dwarf2out_define): Mark unused parameters appropriately.
10360 (gen_unspecified_parameters_die): Ditto.
10361 (gen_subprogram_die): Fix signed/unsigned warnings.
10362 (gen_variable_die): Ditto.
10363
10364 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
10365
10366 * fixinc/inclhack.def(end_else_label): combined else_label
10367 and endif_label and fixed the sed expression.
10368 *fixinc/{fixincl.x|inclhack.sh}: regen
10369
10370 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
10371
10372 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
10373 'x' when handling non-offsettable addresses
10374
10375 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
10376
10377 * final.c (shorten_branches): Don't try to split an insn that has
10378 been deleted.
10379
10380 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
10381
10382 * config/mips/mips.c (symbolic_expression_p): New function.
10383 (mips_select_rtx_section): Put symbolic expressions in the
10384 data section, not the read-only data section.
10385
10386 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
10387
10388 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
10389
10390 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
10391
10392 * collect2.c (main): Log frame table count.
10393 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
10394 (scan_prog_file) [COFF]: Handle frame tables.
10395
10396 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
10397 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
10398 * alpha/elf.h: Undef them again.
10399 * alpha/vms.h: Remove their definitions.
10400
10401 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10402
10403 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
10404 remove the clobber of r0 and change the REG_UNUSED note to
10405 REG_INC.
10406
10407 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
10408
10409 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
10410 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
10411 fits in HOST_WIDE_INT and one uses union to access a long constant
10412 as double.
10413
10414 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
10415
10416 * sparc.c (sparc_override_options): Don't allow profiling for
10417 code models other than medlow.
10418 (sparc_function_profiler): New function from old FUNCTION_PROFILER
10419 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
10420 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
10421 (sparc_block_profiler): Likewise.
10422 (sparc_function_block_profiler_exit): Likewise.
10423 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
10424 (FUNCTION_BLOCK_PROFILER): Likewise.
10425 (BLOCK_PROFILER): Likewise.
10426 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
10427 (MCOUNT_FUNCTION): New.
10428 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
10429 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
10430 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
10431 (MCOUNT_FUNCTION): New.
10432 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
10433 (BLOCK_PROFILER): Delete.
10434 (MCOUNT_FUNCTION): New.
10435
10436 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
10437
10438 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
10439
10440 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
10441
10442 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
10443 Add the macros.
10444
10445 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
10446 Ditto.
10447
10448 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
10449 Ditto.
10450
10451 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
10452 Ditto.
10453
10454 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
10455
10456 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
10457 types.
10458
10459 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
10460
10461 * i386/djgpp.h (LIB_SPEC): New.
10462 (STARTFILE_SPEC): New.
10463
10464 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
10465
10466 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
10467
10468 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
10469 compiler flags.
10470
10471 * system.h (WSTOPSIG): New macro.
10472
10473 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
10474
10475 * c-pragma.c (push_alignment): Don't ignore alignments greater than
10476 4 bytes.
10477 (insert_pack_attributes): Take into account member natural
10478 alignment.
10479
10480 * i386/winnt.c (exports_head): New static variable.
10481 (i386_pe_record_exported_symbol): New function.
10482 (i386_pe_asm_file_end): Use.
10483 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
10484 symbols to be emitted at end of assembly.
10485 (ASM_DECLARE_OBJECT_NAME): Likewise.
10486 (ASM_DECLARE_FUNCTION_NAME): Likewise.
10487
10488 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
10489 -iwithprefix.
10490
10491 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
10492
10493 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
10494 in last change.
10495
10496 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
10497
10498 * haifa-sched.c (sched_analyze_1): Use free_list instead of
10499 zapping reg_last_uses directly.
10500 (sched_analyze_2, sched_analyze_insn): Likewise.
10501 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
10502
10503 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
10504
10505 * rs6000.md (movdf_hardfloat32): Use worst case insn length
10506 attributes for cases 1 and 2.
10507
10508 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
10509
10510 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
10511 instead of set.
10512
10513 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
10514
10515 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
10516
10517 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
10518
10519 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
10520 PIC_OFFSET_TABLE_REGNUM for general alloaction.
10521 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
10522 must be stacked if it is used for PIC accesses.
10523 * arm.c (use_return_insn): Handle PIC register specially.
10524 (output_return_instruction): Likewise.
10525 (output_func_{prologue,epilogue}): Likewise.
10526 (output_expand_prologue): Likewise.
10527
10528 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
10529 (*strsi_predec): Renamed from *strqi_predec.
10530 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
10531 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
10532
10533 * arm.c (arm_override_options): Remove warning about PIC code
10534 not being supported.
10535
10536 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
10537
10538 * rs6000.c (find_addr_reg): New function.
10539 * rs6000.h (find_addr_reg): Declare.
10540 (offsettable_addr_operand): Delete.
10541 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
10542 from and stores to GPRs.
10543
10544 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
10545
10546 * alpha.c (alpha_expand_block_move): Use get_insns rather than
10547 gen_sequence as argument to emit_no_conflict_block.
10548
10549 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
10550
10551 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
10552 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
10553 *fixinc/fixincl.x: regen
10554 *fixinc/inclhack.sh: regen
10555
10556 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
10557
10558 * added support for -mpcrel (PC relative addressing for m68k)
10559 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
10560 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
10561 * m68k.c (print_operand_address): Handle 32-bit PIC case.
10562 (comments for general_src_operand): Add some explanation
10563 about EXTRA_CONSTRAINTS.
10564 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
10565 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
10566 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
10567 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
10568 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
10569 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
10570 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
10571 if not already set.
10572 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
10573 * m68k.h (TARGET_PCREL): New target flag.
10574 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
10575 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
10576 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
10577 contains a SYMBOL_REF. Relax this constraint during reload, since
10578 we want to use the predicates, not reload's built-in concept of a
10579 valid memory address, to control what insns need reloading.
10580 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
10581 operands (essentially 'g', 'm', and 's' under normal circumstances).
10582 * m68k.c (print_operand): Cause printing of pc-relative addresses
10583 to include pc register.
10584 (print_operand_address): Ditto.
10585 (general_src_operand): Accept operands that are not only
10586 general_operands, but are also valid when used as a pc-relative
10587 source.
10588 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
10589 (memory_src_operand): Similar, for memory_operands.
10590 (pcrel_address): New predicate to accept the special case of a
10591 pc-relative address.
10592 * m68k.md (many patterns): Rewrite common SImode, HImode, and
10593 QImode insns to accept *_src_operand instead of *_operand where
10594 pc-relative operands can fit. For example, a pc-relative operand
10595 can be used as a memory source operand for addsi3, but not as a
10596 memory destination.
10597 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
10598
10599 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
10600
10601 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
10602 .thumb_set pseudo op to mark aliases of thumb functions.
10603
10604 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
10605
10606 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
10607 preference to ASM_OUTPUT_DEF, if it is defined.
10608
10609 * tm.texi: Document new, optional target macro
10610 ASM_OUTPUT_DEF_FROM_DECLS.
10611
10612 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
10613
10614 * fixincludes: ISCNTL patch
10615 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
10616 (dgux_int_varargs): new for DG/UX
10617 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
10618
10619 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
10620
10621 * invoke.texi (ia32 options): Fix typo.
10622
10623 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10624
10625 * loop.c (strength_reduce): When doing biv->giv conversion, update
10626 reg note of NEXT->insn.
10627
10628 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
10629
10630 * loop.c (move_movables): Note issues with replacing REGs with
10631 SUBREGs.
10632 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
10633
10634 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
10635
10636 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
10637
10638 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
10639 the reference to `mcount' was not correct for the ELF on FreeBSD.
10640
10641 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10642
10643 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
10644 reg_biv_class.
10645
10646 (recombine_givs): Set ix field after sorting.
10647
10648 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
10649
10650 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
10651 to safe to extract a subword out of a REG.
10652
10653 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10654
10655 * sh.md (mulsi3): Don't add a no-op move at the end.
10656
10657 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10658
10659 * cse.c (cse_insn): Don't put hard register source into tables for
10660 the last insn of a libcall.
10661
10662 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10663
10664 * loop.c (strength_reduce): Insert sets of derived givs at every
10665 biv increment, even if it's the only one.
10666
10667 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
10668
10669 * dwarfout.c (add_incomplete_type): New fn.
10670 (output_type): Call it.
10671 (retry_incomplete_types): New fn.
10672 (dwarfout_finish): Call it.
10673
10674 From Eric Raskin <ehr@listworks.com>:
10675 (output_type): Output types for bases.
10676
10677 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
10678
10679 * mips.c (mips_output_conditional_branch): Add `break'
10680 between `default' label and `close braces'.
10681
10682 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
10683
10684 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
10685 specifications and make it realistic.
10686 (LIB_SPEC): Likewise.
10687
10688 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
10689
10690 * config/mips/mips.c (mips_secondary_reload_class): Check for
10691 (PLUS (SP) (REG)) and return appropriate register class.
10692 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
10693 Handle (PLUS (SP) (REG)).
10694 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
10695 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
10696 of emit_insn for tablejump.
10697
10698 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
10699
10700 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
10701 asm_fprintf format string by itself.
10702 (output_function_profiler): Likewise.
10703
10704 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
10705
10706 * combine.c (simplify_logical, case AND): Only call
10707 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
10708 or the constant is positive.
10709
10710 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
10711
10712 * configure.in: Fix typo in rs6000-ibm-aix4 case.
10713 * configure: Regenerate.
10714
10715 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
10716
10717 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
10718 require a sub-version #.
10719 * configure: Rebuilt.
10720
10721 1999-06-14 Robert Lipe (robertlipe@usa.net)
10722
10723 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
10724
10725 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
10726
10727 * c-typeck.c (process_init_element): Detect excess elements in
10728 char array initializer.
10729
10730 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10731
10732 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
10733
10734 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
10735
10736 * invoke.texi (Option Summary): Add -fpermissive flag.
10737
10738 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
10739
10740 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
10741 that require PIC code sequences.
10742
10743 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
10744
10745 * configure.in: Add new target: thumb-elf.
10746 * configure: Regenerate.
10747 * config/arm/t-thumb-elf: New file: Makefile fragment for
10748 thumb-elf build.
10749 * config/arm/telf.h: New file: Header file for thumb-elf
10750 build.
10751
10752 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
10753
10754 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
10755 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
10756 initializers is some circumstances.
10757
10758 * fixinc/inclhack.def (endif_label): Add additional selector for
10759 more bogus stuff after #endif statements.
10760 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
10761
10762 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
10763
10764 * i386/cygwin.h (SET_ASM_OP): Define.
10765
10766 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
10767
10768 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
10769
10770 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10771
10772 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
10773 latter.
10774
10775 * sh.md (ic_invalidate_line_i): Remove second alternative.
10776
10777 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
10778
10779 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
10780 test for the presence of valid prototypes. Delete bypass expr.
10781 (ioctl_fix_ctrl): Correct the selection expression.
10782 (no_double_slash): Correct quoting rules
10783 *fixinc/fixincl.x: regen
10784 *fixinc/inclhack.sh: regen
10785
10786 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
10787
10788 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
10789
10790 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10791
10792 * rs6000.md (movsi_got_internal_mem): Delete.
10793 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
10794 (GOT_TOC_REGNUM): Delete.
10795 (PIC_OFFSET_TABLE_REGNUM): Define.
10796 (FINALIZE_PIC): Disable.
10797 * rs6000.c (rs6000_got_register): New code for fixed pic register.
10798 (rs6000_replace_regno): Delete.
10799 (rs6000_finalize_pic): Likewise.
10800 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
10801
10802 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10803
10804 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
10805 is a note; use <= for the compare; advance P while it is
10806 a NOTE.
10807
10808 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
10809
10810 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
10811 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
10812
10813 * varasm.c (remove_from_pending_weak_list): Verify t->name
10814 is non-NULL before passing it to strcmp.
10815
10816 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
10817
10818 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
10819 the typed arguments are not part of a comment
10820 (ioctl_fix_ctrl): Added a purpose comment
10821 *fixinc/fixincl.x: regenerate
10822 *fixinc/inclhack.sh: regenerate
10823
10824 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10825
10826 * invoke.texi: Add C4x invocation docs.
10827
10828 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10829
10830 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
10831 Define new macros.
10832 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
10833 TARGET_EXPOSE_LDP.
10834 (c4x_legitimize_reload_address): New function.
10835 * config/c4x/c4x.md: Update docs.
10836
10837 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
10838
10839 * fixincludes: Avoid removing '.'.
10840 * fixinc/fixinc.svr4: Likewise.
10841 * fixinc/fixinc.winnt: Likewise.
10842 * fixinc/inclhack.tpl: Likewise.
10843 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
10844
10845 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10846
10847 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
10848 pattern.
10849 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
10850
10851 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
10852
10853 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
10854 correctly.
10855
10856 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
10857
10858 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
10859 * configure: Regenerate.
10860
10861 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
10862
10863 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
10864 values.
10865
10866 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
10867
10868 * fixinc/inclhack.def (avoid_bool): Also catch
10869 "typedef [unsigned] int bool".
10870 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
10871
10872 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
10873 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
10874 * configure: Rebuilt.
10875
10876 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
10877
10878 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
10879 such that we can override its definitions if necessary.
10880 (CPP_SPEC): New define. Support processor specific predefines via
10881 %(cpp_cpu).
10882 (CC1_SPEC): New define. Support processor specific compiler
10883 options via %(cc1_cpu).
10884 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
10885 -static.
10886
10887 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10888
10889 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
10890 between sed's -e flag, and the open-quote following it.
10891 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
10892
10893 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
10894 Jeffrey A Law (law@cygnus.com)
10895
10896 * varasm.c (assemble_start_function): Remove the function
10897 from the pending weak decls list when we define a function.
10898 (assemble_variable): Similarly for variables.
10899 (weak_finish): Ignore items on the list with a NULL name.
10900 (remove_from_ending_weak_list); New function to "remove" an item
10901 from the pending weak declarations list.
10902
10903 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
10904
10905 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
10906
10907 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
10908
10909 * c-lex.c (GETC): Redefine to call getch.
10910 (UNGETC): Redefine to call put_back.
10911 (putback_buffer): New structure type.
10912 (putback): New static structure.
10913 (getch): New function.
10914 (put_back): New function.
10915 (yylex): Replace unused bytes from bad multibyte character.
10916
10917 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
10918
10919 * cpplib.c (do_define): Cast `alloca' return value.
10920 (do_include, do_undef, do_pragma): Likewise.
10921 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
10922 values.
10923 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
10924 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
10925
10926 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
10927
10928 * sparc.md (abstf2): This should be an expand.
10929 (split after abstf2_notv9): Fix mode.
10930 (abstf2_hq_v9): New pattern.
10931 (abstf2_v9): Only use when no hard quad.
10932 (absdf2_v9): Fix if target is not the same as source.
10933 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
10934 Add correct output constraints.
10935
10936 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
10937
10938 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
10939 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
10940
10941 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
10942
10943 * mips.h (mips_output_conditional_branch): New function.
10944 (mips_adjust_insn_length): Likewise.
10945 (ASSEMBLER_SCRATCH_REGNUM): New macro.
10946 (ADJUST_INSN_LENGTH): Likewise.
10947 * mips.c (print_operand): Add `F' and `W' for floating-point
10948 comparison opcodes.
10949 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
10950 are now in bytes.
10951 (mips_adjust_insn_length): New function.
10952 (mips_output_conditional_branch): New function.
10953 * mips.md (length): Adjust attribute definition to handle
10954 conditional branches. Change lengths to bytes, rather than
10955 instructions throughout. Remove length attribute from
10956 instructions whose length is four bytes, and rely on the default
10957 instead.
10958 (dslot): Fix typo in comment.
10959 Reword conditional branch patterns to use
10960 mips_output_conditional_branch.
10961
10962 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10963
10964 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
10965 (LIB_SPEC): Likewise.
10966 Link with -lprof1_r for -g/-pg.
10967
10968 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10969
10970 * loop.c (check_dbra_loop): Fix change of Jan 19.
10971
10972 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
10973
10974 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
10975 (STARTFILE_SPEC): Define, override the svr4.h version.
10976 (ENDFILE_SPEC): Likewise.
10977
10978 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
10979
10980 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
10981 * fixinc/fixincl.x: Regenerated.
10982 * fixinc/inclhack.sh: Regenerated.
10983
10984 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10985
10986 * sh.c (barrier_align): Don't return early for normal branch/barrier
10987 when optimizing for SH2.
10988
10989 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
10990
10991 * i386/udk.h (LINK_SPEC): Correct linker search path for
10992 system libraries.
10993
10994 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10995
10996 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
10997 (braf_label_ref_operand): Delete.
10998 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
10999 * sh.md (casesi_jump_2): Operand1 is now the inside of a
11000 label_ref, and has no predicate.
11001 The patten has a predicate to guard against invalid substitutions.
11002 (dummy_jump): Delete.
11003 (casesi): Update use of casesi_jump_2.
11004
11005 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
11006
11007 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
11008 *fixinc/fixincl.x: regenerate
11009 *fixinc/inclhack.sh: regenerate
11010
11011 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
11012
11013 * dwarf2out.c (add_incomplete_type): New fn.
11014 (gen_struct_or_union_type_die): Call it.
11015 (retry_incomplete_types): New fn.
11016 (dwarf2out_finish): Call it.
11017
11018 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
11019
11020 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
11021 current block starts with a CODE_LABEL and ends with a CALL and
11022 we can not find all the argument setup instructions for the CALL.
11023
11024 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
11025
11026 Revert this change:
11027 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
11028 something is a candidate for optimize_bit_field_compare.
11029
11030 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11031
11032 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
11033
11034 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
11035
11036 * alpha.c (override_options): Thinko in last patch.
11037
11038 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
11039 (LIB_SPEC): Recognize -pthread.
11040
11041 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
11042
11043 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
11044 definition in config/arm/coff.h
11045 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
11046
11047 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
11048
11049 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
11050 fixes that need "file=xxx\n" prepended before invocation
11051 (start_fixer - new): starting the fixer process is complex enough
11052 to warrent its own routine. It prepends the "file=xxx\n" stuff.
11053 (process): uses the new routine; omit usage of putenv()
11054 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
11055 * fixinc/fixincl.x: regenerate
11056
11057 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
11058
11059 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
11060 and version #s (1.1 -> 2.96) as needed.
11061 * README.g77: Kill way out of date file in the toplevel directory.
11062
11063 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
11064
11065 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
11066 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
11067 * configure: Rebuilt.
11068 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
11069 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
11070 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
11071 (SWITCH_TAKES_ARG): Likewise.
11072 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
11073 * config/t-freebsd: Moved from config/i386/ so it can used for all
11074 FreeBSD targets.
11075
11076 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
11077
11078 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
11079
11080 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
11081
11082 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
11083 * configure: Rebuilt.
11084
11085 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
11086
11087 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
11088 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
11089 * rs6000/rs6000.c (rs6000_file_start): Use putc.
11090 (rs6000_output_load_toc_table): Same.
11091 (output_prolog, output_mi_thunk): Same.
11092 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
11093 (ASM_GLOBALIZE_LABEL): Use putc.
11094
11095 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
11096
11097 * alpha.md (reload_*_help): New patterns and splitters.
11098 (reload_*): Use them.
11099 (mov[qh]i): Likewise.
11100
11101 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
11102
11103 * cccp.c (handle_directive): Handle backslash-newlines in quoted
11104 strings correctly.
11105
11106 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
11107
11108 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
11109
11110 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
11111
11112 * flow.c (mark_regs_live_at_end, insn_dead_p,
11113 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
11114 and HARD_FRAME_POINTER_REGNUM special treatment if reload
11115 hasn't run or the frame pointer is needed.
11116 * haifa-sched.c (attach_deaths): Likewise.
11117 * sched.c (attach_deaths): Likewise.
11118
11119 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
11120
11121 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
11122 calculate_can_reach_end returns nonzero.
11123
11124 * configure.in (native gas tests): Search for an assembler in the
11125 same manner that the installed compiler will.
11126 * configure: Rebuilt.
11127 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
11128
11129 * alias.c (find_base_term): Improve handling of addresses
11130 constructed from binary operations.
11131
11132 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
11133
11134 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
11135
11136 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
11137
11138 * function.h (cleanup_label, frame_offset): Declare.
11139 (tail_recursion_label, tail_recursion_reentry): Likewise.
11140 (arg_pointer_save_area, rtl_expr_chain): Likewise.
11141 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
11142 (tail_recursion_label, tail_recursion_reentry): Likewise.
11143 (arg_pointer_save_area, rtl_expr_chain): Likewise.
11144
11145 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
11146
11147 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
11148 defined.
11149 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
11150 (MAX_OFILE_ALIGNMENT): Define.
11151
11152 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
11153
11154 * fixincl.c: Replace local include scheme with #includes of
11155 gansidecl.h and system.h.
11156 * procopen.c: Likewise.
11157 * server.c: Likewise.
11158
11159 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
11160
11161 * i386/t-dgux (EXTRA_PARTS): Add crti.o
11162 (crti.o): Add build rule and dependencies.
11163 * fixinc/fixinc.dgux: Use modified _int_varargs.h
11164
11165 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11166
11167 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
11168 (LIB_LINUX_SPEC): Likewise.
11169 (LIB_LINUX_SPEC): Add support for -pthread
11170 (CPP_OS_LINUX_SPEC): Likewise.
11171 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
11172 specified.
11173
11174 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
11175
11176 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
11177 conditional move.
11178 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
11179 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
11180 for IEEE math and CC_FCOMI.
11181 (put_jump_code): No IEEE if CC_FCOMI is set.
11182
11183 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11184
11185 * fold-const.c (fold_truthop): Make the field reference unsigned
11186 when converting a single bit compare.
11187
11188 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11189
11190 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
11191
11192 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
11193
11194 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
11195 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
11196 version did.
11197
11198 * reload.c (push_reload): Do not call remove_address_replacements
11199 when presented with identical optional reloads.
11200
11201 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
11202
11203 * alpha.h (MASK_FIX, TARGET_FIX): New.
11204 (MASK_*): Reorganize constants.
11205 (CPP_AM_FIX_SPEC): New.
11206 (TARGET_SWITCHES): Add FIX.
11207 (EXTRA_SPECS): Likewise.
11208 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
11209 (SECONDARY_MEMORY_NEEDED): Likewise.
11210 (REGISTER_MOVE_COST): Likewise.
11211 * alpha.c (override_options): Add FIX support. Always use
11212 ALPHA_TP_PROG for ev6.
11213 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
11214 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
11215 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
11216
11217 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
11218
11219 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
11220 something is a candidate for optimize_bit_field_compare.
11221
11222 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
11223
11224 * gcc.texi (Passes): Document branch-shortening.
11225 * invoke.texi (Debugging Options): Document the fact that `-dp'
11226 outputs length information for instructions.
11227
11228 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
11229
11230 * flow.c: Revert previous delta.
11231
11232 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
11233
11234 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
11235 FRAME_POINTER_REGNUM.
11236 (mark_set_1): Ditto.
11237 (mark_used_regs): Ditto.
11238
11239 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
11240
11241 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
11242 (GOT_PCREL): New macro. Define to 1 if not already defined.
11243 * arm/elf.h (GOT_PCREL): Define to 0.
11244 * arm.c (arm_finalize_pic): Take into account the setting of
11245 GOT_PCREL.
11246
11247 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
11248
11249 * output.h (STRIP_NAME_ENCODING): Provide default definition.
11250 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
11251
11252 * flow.c (mark_set_1): Do not record BLKmode stores as dead
11253 store elimination candidates.
11254
11255 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
11256
11257 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
11258 TARGET_GAS.
11259
11260 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
11261
11262 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
11263 Add use of x-aix41-gld.
11264
11265 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
11266
11267 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
11268 (ASM_OUTPUT_DESTRUCTOR): Define.
11269
11270 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
11271
11272 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
11273 last CODE_LABEL in a loop if we have previously passed a jump
11274 to the top of the loop.
11275
11276 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
11277
11278 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
11279 applying Philip's patch.
11280
11281 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
11282
11283 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
11284 are not VAR_DECLs.
11285
11286 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
11287
11288 * loop.c (strength_reduce): Grow reg_single_usage as needed.
11289
11290 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
11291
11292 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
11293 Also remove a useless comment.
11294
11295 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
11296
11297 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
11298
11299 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
11300
11301 * collect2.c (main): Only generate import or export file and add
11302 to link arguments if non-empty. Use xmalloc not alloca.
11303 (write_{export,import}_file): Delete.
11304 (write_aix_file): New function.
11305 (locatelib): Use xmalloc not malloc.
11306 (GCC_OK_SYMBOL): Do not check type if aix64.
11307
11308 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
11309
11310 Based on patch by Scott Bambrough and Pat Beirne:
11311 * config/arm/arm.c (making_const_table): New variable.
11312 * config/arm/arm.h (making_const_table): Declare.
11313 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
11314 appropriate.
11315 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
11316 Keep track of when we are building the constant table.
11317
11318 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
11319
11320 * config/arm/arm.c (arm_override_options): Fix erroneous warning
11321 message.
11322
11323 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
11324
11325 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
11326 defined.
11327
11328 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
11329
11330 * tm.texi (FUNCTION_ARG): Correct description of a stack element
11331 in a PARALLEL.
11332
11333 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
11334
11335 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
11336
11337 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11338
11339 * rs6000.c (output_mi_thunk): Enable full support again.
11340
11341 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11342
11343 * sh.h (BRANCH_COST): Define.
11344
11345 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
11346
11347 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
11348
11349 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
11350
11351 * function.c (assign_stack_local): Align stack slot propertly.
11352 (assign_outer_stack_local): Likewise.
11353
11354 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
11355
11356 * expr.h (lang_expand_constant): Declare.
11357 * toplev.c (lang_expand_constant): Define it.
11358 * varasm.c (output_constant): Use it.
11359
11360 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11361
11362 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
11363 Change function definitions to K&R style.
11364
11365 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
11366
11367 * fixinc/fixincl.c: We must not ignore SIGCLD now.
11368
11369 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
11370
11371 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
11372 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
11373 (several places): omit static initialization
11374 (process): use single fd, since only the read fd is used
11375 * fixinc/gnu-regex.c: define 'const' away, if not supported
11376 * fixinc/procopen.c(several places): omit static initialization
11377 * fixinc/server.c: define 'volitile' away, if not supported
11378
11379 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11380
11381 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
11382 asm_fprintf and %L to generate the label name.
11383 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
11384 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
11385
11386 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
11387
11388 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
11389 insn for a conditional jump can not be found.
11390
11391 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
11392
11393 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
11394 on variables in specific sections other than .sbss and .sdata.
11395
11396 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
11397
11398 * stmt.c (expand_return): Call start_cleanup_deferral and
11399 end_cleanup_deferral around conditional code.
11400
11401 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
11402
11403 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
11404 filename lists. Utilizes new "krstr" AutoGen function.
11405 * fixinc/fixincl.x: Rebuilt.
11406
11407 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
11408
11409 * i386.c (output_float_compare): Avoid GNU-C extensions.
11410
11411 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
11412
11413 * version.c: Bump to distinguish mainline tree from the
11414 gcc-2.95 branch.
11415
11416 See ChangeLog.1 for earlier changes.
11417
11418 Local Variables:
11419 add-log-time-format: current-time-string
11420 End: