79cad6083873b0dd810d6c3f15bfec24e43a7ea0
[gcc.git] / gcc / ChangeLog
1 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
2
3 * cpplib.c (copy_rest_of_line): Revert previous change: don't
4 bail out early if we hit a line comment.
5
6 2000-02-06 Richard Henderson <rth@cygnus.com>
7
8 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
9 * basic-block.h: Declare them.
10 * emit-rtl.h (active_insn_p): New.
11 (next_active_insn, prev_active_insn): Use it.
12 * rtl.h: Declare it.
13 * function.c (emit_return_into_block): New.
14 (thread_prologue_and_epilogue_insns): Insert return insns instead
15 of epilogues when possible.
16 * jump.c (jump_optimize_1): Remove code to insert a return insn
17 on the fallthru to the exit block.
18
19 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
20 and for non-empty stack frames.
21 * i386.md (return): Expand to return-pop as needed.
22
23 2000-02-06 Richard Henderson <rth@cygnus.com>
24
25 * simplify-rtx.c (simplify_relational_operation): Canonicalize
26 constant to op1 for testing.
27
28 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
29
30 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
31 (fixuns_truncqfqi2): Use it.
32
33 2000-02-06 Richard Henderson <rth@cygnus.com>
34
35 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
36 as a TYPE_LEA insn.
37
38 * i386.md (widening and peepholes): Mask the constant instead of
39 using gen_lowpart.
40
41 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
42
43 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
44 input pointer before possibly branching off to the backslash
45 code.
46 * cpphash.c (macroexpand): Correctly delete \r escapes when
47 stringifying parameters.
48 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
49 if we can; bail out early if we hit a line comment.
50 (handle_directive): Treat '# 123' in an .S file just like
51 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
52 Return 1 for '# not_a_directive'.
53 (get_directive_token): Pop macro buffers here, so that
54 cpp_get_token can't sneakily move past a newline.
55 Add sanity checks.
56 (cpp_get_token): goto randomchar if handle_directive returns 0.
57
58 * cppalloc.c: Update copyright.
59 * cpplib.c: Merge all the static function prototypes into one
60 block.
61 * cpplib.h: Remove #if 0 block.
62
63 * cpperror.c: Remove #ifdef EMACS block.
64 * cppmain.c: Likewise.
65 * cpphash.c: Remove #if 0 blocks.
66 * cppinit.c: Remove #if 0 blocks, and the -lint option.
67 * cpplib.c: Remove #if 0 blocks and code referencing
68 pcp_inside_if or for_lint. Remove duplicate error message.
69 Fix error messages for #else after #else or #elif. Reformat.
70 Remove archaic TODO list.
71 * cpplib.h: Remove pcp_inside_if and for_lint flags.
72
73 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
74
75 * i386/osf1elf.h: Add missing backslash to multiline string.
76
77 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
78
79 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
80
81 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
82
83 * Makefile.in (c-common.o): Depend on $(EXPR_H).
84
85 * c-common.c: Include expr.h.
86
87 * c-pragma.c (mark_align_stack): Add prototype.
88
89 * caller-save.c (add_stored_regs): Likewise.
90
91 * combine.c (record_promoted_value): Likewise.
92
93 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
94 Likewise.
95
96 * cppinit.c (new_pending_define): Likewise.
97
98 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
99
100 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
101 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
102 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
103 class_scope_p): Likewise.
104
105 * dwarf2out.h (dwarf2out_set_demangle_name_func,
106 dwarf2out_add_library_unit_info): Likewise.
107
108 * ggc.h (ggc_page_print_statistics): Likewise.
109
110 * haifa-sched.c (propagate_deps): Likewise.
111
112 * reg-stack.c (next_flags_user, record_label_references): Likewise.
113
114 * rtl.h (set_stack_check_libfunc): Likewise.
115
116 * toplev.h (set_fatal_function): Likewise.
117
118 * toplev.c (set_fatal_function): Delete prototype.
119
120 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
121
122 2000-02-05 Geoff Keating <geoffk@cygnus.com>
123
124 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
125 (FUNC_END): Likewise.
126
127 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
128
129 * caller-save.c: Include tm_p.h.
130
131 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
132
133 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
134
135 2000-02-04 Neil Booth <NeilB@earthling.net>
136
137 * cccp.c (main): Check 'dir' for a NULL pointer before passing
138 it to strcmp.
139
140 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
141
142 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
143 * genflags.c: Use the max_operand_1 logic from genemit.c to
144 calculate how many arguments gen_insn prototypes have. Remove
145 NO_MD_PROTOTYPES ifdefs from the generated file.
146 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
147 file. Cast gen_insn initializers to insn_gen_fn.
148 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
149 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
150
151 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
152
153 * fixinc/Makefile.in (HDR): Add machname.h.
154 (clean): Likewise.
155
156 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
157
158 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
159 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
160 (c4x_cpu_version): Ditto.
161 * config/c4x/c4x-protos.h: ... here.
162
163 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
164
165 * dwarf2out.c (add_abstract_origin_attribute): Don't call
166 gen_abstract_function on our context if we're a nested function.
167
168 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
169
170 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
171 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
172
173 2000-02-04 Bruce Korb <bkorb@gnu.org>
174
175 * fixinc/genfixes(machname.h):
176 Move the functionality from gen-machine.h into this file.
177 UNdef MN_NAME_PAT if there are no names to change.
178 Also, be a little kinder when AutoGen is not present.
179
180 * fixinc/Makefile.in(machname.h):
181 Change the generation rule to use genfixes.
182
183 * fixinc/fixfixes.c(machine_name):
184 machine_name_fix's functionality now dependent upon whether
185 MN_NAME_PAT is defined.
186
187 * fixinc/fixtests.c(machine_name):
188 ditto.
189
190 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
191 of MN_NAME_PAT.
192
193 * fixinc/fixlib.h(mn_get_regexps):
194 ditto
195
196 * fixinc/gen-machine.h: DELETED
197
198 2000-02-04 Jan Hubicka <jh@suse.cz>
199 Richard Henderson <rth@cygnus.com>
200
201 * i386.c (SAVE_REGS_FIRST): Remove.
202 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
203 (ix86_compute_frame_size): Likewise.
204 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
205 (ix86_emit_restore_regs): Remove.
206 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
207 when a frame pointer is in use.
208 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
209 instead of pop to restore a register when profitable; emit leave
210 when profitable.
211 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
212 as a TYPE_LEA insn.
213 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
214 * i386.md (prologue_allocate_stack): Remove.
215 (epilogue_deallocate_stack): Remove.
216 (pro_epilogue_adjust_stack): New.
217
218 2000-02-04 Richard Henderson <rth@cygnus.com>
219
220 * function.c (diddle_return_value): Rework to use a callback function.
221 Use current_function_return_rtx if it's been set up.
222 (do_clobber_return_reg, clobber_return_register): New.
223 (do_use_return_reg, use_return_register): New.
224 (expand_function_end): Use them.
225 * stmt.c (expand_null_return): Likewise.
226 * function.h: Declare them.
227 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
228 (mark_reg): Change arguments as appropriate for callback.
229 * integrate.c (expand_inline_function): Revert 19 Jan change.
230
231 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
232
233 * tm.texi (Values in Registers): Fix typo: "fo" "for".
234 (Misc): Say the scheduler, not the Haifa scheduler.
235
236 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
237
238 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
239 when in_mem is set. Update all callers.
240
241 2000-02-04 Richard Henderson <rth@cygnus.com>
242
243 * i386/openbsd.h (INT_ASM_OP): Define.
244
245 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
246
247 * tm.texi: Fix various typos.
248
249 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
250
251 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
252 (MD_STARTFILE_PREFIX_1): New macro.
253
254 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
255
256 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
257 destination when needed.
258 (strmovsi, strsetsi): New expander.
259 (strmovsi_1, strsetsi_1): New pattern.
260 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
261 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
262 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
263 * invoke.texi (align-stringops, inline-all-stringops): Document.
264
265 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
266
267 * i386/netbsd.h (INT_ASM_OP): Define.
268
269 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
270
271 * cpplib.h (cpp_reader): Add new flag, no_directives.
272 * cpphash.c (macarg): Set it.
273 * cpplib.c (handle_directive): If no_directives is on and we
274 find a directive, issue an error and discard the line.
275
276 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
277
278 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
279 FP constants. Add ! TARGET_FPU check for FP constants.
280
281 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
282
283 * flow.c (find_basic_blocks): Don't kill label_value_list
284 here.
285 (cleanup_cfg): Kill it here.
286
287 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
288
289 * expr.c (store_field): Ensure ALIGN is no stricter than the
290 alignment of EXP.
291
292 2000-02-02 Richard Henderson <rth@cygnus.com>
293
294 * jump.c (delete_insn): Partially revert 19 Jan change;
295 don't convert unused code labels to notes at -O0.
296
297 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
298
299 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
300 split_all_insns to recreate REG_LABEL notes for flow2 pass.
301
302 2000-02-01 Richard Henderson <rth@cygnus.com>
303
304 * i386.c (general_no_elim_operand): New.
305 (nonmemory_no_elim_operand): New.
306 (ix86_expand_move): Copy eliminable operands before a push.
307 * i386-protos.h: Declare new functions.
308 * i386.h (CAN_ELIMINATE): Simplify.
309 (PREDICATE_CODES): Update.
310 * i386.md (push insns): Don't allow eliminable register operands.
311
312 2000-02-01 Richard Henderson <rth@cygnus.com>
313
314 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
315 replace BLKmode with DECL_RTL's mode.
316
317 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
318
319 * frame.c (find_fde): Convert for loop to do-while so compiler
320 sees it's always executed at least once.
321 * libgcc2.c (BBINBUFSIZE): Kill.
322 (__bb_init_prg): Use fgets.
323 (__bb_exit_trace_func): Don't paste strings.
324 * unroll.c (unroll_loop): Initialize unroll_type, not
325 unroll_number, and tweak logic to match.
326
327 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
328 all failure paths.
329 (ix86_flags_dependant): Likewise. Disentangle control flow.
330 (ix86_sched_reorder): Break guts out to
331 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
332 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
333 any possible use.
334
335 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
336 use string concatenation. Don't save and restore esi.
337
338 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
339 (machname.h): Remove script to separate file. Use two-step
340 sequence so target is not created if script fails.
341 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
342 identifiers are defined.
343 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
344 an empty string, machine_name doesn't need to do anything at
345 all.
346 (is_cxx_header): Add more cases to regexp.
347 * fixinc/fixlib.h: Update prototype.
348 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
349 mn_get_regexps.
350 * fixinc/fixincl.c: Define NO_BOGOSITY.
351
352 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
353 (hp_sysfile): Add missing comma.
354 (math_exception): Put the wrapper ifdefs at the beginning and
355 the end of the file.
356 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
357
358 2000-02-01 Richard Henderson <rth@cygnus.com>
359
360 * sparc.c (fp_zero_operand): Turn into a normal predicate.
361 Use CONST0_RTX. Update all callers.
362 * sparc.h, sparc-protos.h: Update accordingly.
363 * sparc.md (fp mov insns): Use fp_zero_operand directly
364 where applicable.
365
366 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
367
368 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
369 example.
370
371 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
372
373 * Makefile.in (specs.ready): New target.
374 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
375
376 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
377
378 * fixinc.irix: Use unique filenames for writing into /tmp,
379 * fixinc.ptx: Likewise.
380 * fixinc.sco: Likewise.
381 * fixinc.svr4: Likewise.
382 * fixinc.winnt: Likewise.
383
384 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
385
386 * tsystem.h: New file.
387
388 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
389 s-crtS): Depend on tsystem.h.
390
391 * crtstuff.c: Include tsystem.h.
392 * frame.c: Likewise.
393 * libgcc2.c: Likewise.
394
395 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
396
397 * builtins.c (expand_builtin_memset): Expand for variable sized
398 lengths too.
399
400 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
401
402 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
403 on ABI.
404
405 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
406
407 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
408
409 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
410
411 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
412
413 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
414 case 3->2 combining (combining with splitting) in which 2 is CC0
415 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
416 checked at the begining of the function with the aid of calling
417 function 'can_combine_p'.
418
419 2000-01-31 Dave Brolley <brolley@redhat.com>
420
421 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
422
423 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
424
425 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
426 new label.
427
428 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
429
430 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
431
432 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
433 PROTO -> PARAMS.
434
435 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
436
437 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
438 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
439 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
440 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
441 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
442 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
443 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
444 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
445 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
446 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
447
448 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
449 Add %(cpp_cpu) to CPP_SPEC.
450
451 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
452 Add %(cc1_cpu) to CC1_SPEC.
453
454 2000-01-28 Ulrich Drepper <drepper@redhat.com>
455
456 * c-decl.c (c_decode_option): Accept optional numeric argument to
457 -Wformat and set warn_format.
458 * c-common.c: Don't emit warning about non-constant printf format
459 string unless warn_format > 1.
460
461 2000-01-30 Richard Henderson <rth@cygnus.com>
462
463 * alpha.md (return_internal): Allow after reload only.
464
465 2000-01-30 Richard Henderson <rth@cygnus.com>
466
467 * i386.c (ix86_compute_frame_size): Omit padding1 if the
468 local frame size is zero.
469
470 2000-01-30 Richard Henderson <rth@cygnus.com>
471
472 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
473 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
474 * alpha.md (return): Turn into an expander.
475 (return_internal): Don't use $26.
476 (epilogue): Emit the return insn.
477
478 2000-01-30 Richard Henderson <rth@cygnus.com>
479
480 * alpha.md (negtf2, abstf2): Fix word order thinko.
481 (extendsftf2): New.
482 (trunctfsf2): Avoid intermediate rounding errors.
483
484 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
485
486 * cppfiles.c (find_position): Drop 'colp' argument, return the
487 new line base.
488 (read_and_prescan): Adjust to match. Don't ever manipulate
489 line or line_base except via find_position.
490
491 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
492
493 * c-parse.in: Apply Ulrich's changes from c-parse.y.
494 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
495 Regenerate.
496
497 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
498
499 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
500 just print "<command line>". If 'filename' is null or an
501 empty string, print "<stdin>" for the filename.
502 * cpplib.c (do_define): Don't print the 'location of the
503 previous definition' message if we're still parsing the
504 command line.
505 (cpp_pedwarn_with_file_and_line): Always call
506 cpp_file_line_for_message.
507
508 2000-01-29 Mark Mitchell <mark@codesourcery.com>
509
510 * flow.c (mark_regs_live_at_end): Fix typo.
511
512 2000-01-28 Ulrich Drepper <drepper@redhat.com>
513
514 * c-common.c: Adjust variable names, comments, help strings to c99.
515 * c-lex.c: Likewise.
516 * c-parse.y: Likewise.
517 * c-tree.h: Likewise.
518 * cccp.c: Likewise.
519 * cpplib.h: Likewise.
520 * c-decl.c: Likewise. Recognize options with names "*99" as well.
521 * cppinit.c: Likewise.
522
523 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
524
525 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
526 * c4x.c: Define the optab rtx values.
527 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
528 (c4x_emit_libcall): Use new optab rtx values.
529 (c4x_emit_libcall3): Likewise.
530 (c4x_emit_libcall_mulhi): Likewise.
531 * c4x-protos.h: Add prototypes for optab rtx values and change
532 prototypes for above c4x_emit_libcall functions.
533
534 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
535
536 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
537 syntax is used.
538 (c4x_function_prologue): Use regnames intead of float_reg_names when
539 TI syntax is used.
540 (c4x_function_epilogue): Likewise.
541 (c4x_print_operand): Likewise.
542 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
543 * c4x.md (set_high): Disable for TARGET_TI.
544
545 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
546
547 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
548 of framepointer + constant to ADDR_REGS class.
549 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
550 * c4x.c (std_or_reg_operand): New function.
551 * c4x-protos.h (std_or_reg_operand): Prototype it.
552
553 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
554
555 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
556 object names as libgcc2.c.
557 * libgcc.S: Use newly defined names.
558
559 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
560 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
561 function.
562 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
563 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
564 (FLOW_LOOP_LAST_BLOCK): Likewise.
565
566 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
567
568 * basic-block.h (struct loop): New fields 'first' and 'last'.
569 * flow.c (flow_loops_find): Compute loop->first and loop->last.
570 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
571 and loop->last to check for NOTE_INSN_LOOP_END.
572
573 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
574
575 * predict.c (estimate_probability): Use the new FIRST and LAST fields
576 of the loop descriptor rather than HEADER and LATCH. Also added
577 missing break statements as well making some coding style modifications
578 as suggested by Michael Hayes.
579
580 2000-01-28 Richard Henderson <rth@cygnus.com>
581
582 * flow.c (find_basic_blocks): Remove do_cleanup argument.
583 Break out that code ...
584 (cleanup_cfg): ... here.
585 (commit_one_edge_insertion): Detect a return instruction being
586 emitted to an edge. Emit a barrier following; clear fallthru.
587 (commit_edge_insertions): Verify CFG consistency.
588 * function.c (expand_function_start): Kill unused variable.
589 (expand_function_end): Likewise.
590 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
591 to insert the epilogue.
592
593 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
594 (delete_null_pointer_checks): Likewise.
595 * output.h: Likewise.
596 * reg-stack.c (reg_to_stack): Likewise.
597 * toplev.c (rest_of_compilation): Likewise. Run
598 thread_prologue_and_epilogue_insns after rebuilding the CFG.
599
600 2000-01-28 Richard Henderson <rth@cygnus.com>
601
602 * Makefile.in (flow.o): Revert 24 Jan change.
603 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
604 FUNCTION_VALUE result to DECL_RESULT's mode.
605
606 * haifa-sched.c (schedule_insns): Don't recompute reg info
607 after reload.
608
609 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
610
611 * configure.in: Make --enable-cpplib the default.
612 * configure: Regenerate.
613 * gcc.dg/990119-1.c: No longer expected to fail.
614
615 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
616
617 * jump.c (jump_optimize_1): Delete an optimization that is also done
618 by merge_blocks in flow.
619
620 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
621
622 * diagnostic.c (build_message_string, output_printf,
623 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
624 (build_location_prefix): Fix non-literal format string.
625
626 2000-01-27 Richard Henderson <rth@cygnus.com>
627
628 * alpha.md (trunctfsf2): New.
629
630 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
631
632 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
633
634 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
635
636 * cppinit.c (cpp_handle_option): Recognize C++ comments under
637 -std=gnu89.
638 * cpplib.c (skip_block_comment, skip_line_comment): Split code
639 out of...
640 (skip_comment) ... here. Permit C++ comments in system
641 headers always. Warn about C++ comments in user code under
642 -std=gnu89 -pedantic.
643 (copy_comment): Use skip_comment.
644 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
645 return EOF.
646 (consider_directive_while_skipping, do_else, do_endif): Call
647 validate_else unconditionally.
648 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
649 text after the conditional in a system header.
650 * cpplib.h (struct cpp_buffer): Add flag
651 warned_cplusplus_comments.
652
653 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
654
655 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
656 Use unshare_all_rtl_1.
657 (unshare_all_rtl_again): New function.
658 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
659
660 * function.c (purge_addressof_1): Use unshare_all_rtl_again
661 rather than resetting the 'used' flags ourself.
662
663 * toplev.c (rest_of_compilation): Add current_function_decl
664 to the unshare_all_rtl call.
665 * tree.h: Prototype unshare_all_rtl.
666 * rtl.h: Prototype unshare_all_rtl_again here.
667
668 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
669
670 * genoutput.c (output_prologue): Include ggc.h in generated
671 files.
672 * Makefile.in (insn-output.o): Depends on ggc.h.
673
674 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
675 Hans-Peter Nilsson <hp@bitrange.com>
676
677 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
678 Remove redundant include of xm-ns32k.h.
679 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
680 Remove redundant include of xm-ns32k.h.
681 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
682 Remove redundant include of xm-ns32k.h.
683 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
684
685 * ns32k/ns32k.h: Update comment on multiply-add instructions.
686 (TARGET_SWITCHES): Add documentation strings.
687 (DWARF_FRAME_REGNUM): Override default definition.
688 (REG_CLASS_CONTENTS): Add comments.
689 (SUBSET_P): Format to reduce line length.
690 (SMALL_REGISTER_CLASSES): Make a run time option.
691 (GO_IF_NONINDEXED_ADDRESS): Reformat.
692 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
693 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
694 (regclass_map): fix typo in comment.
695 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
696 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
697 (trace, reg_or_mem_operand): Delete, unused function.
698 (calc_address_cost): Small offsets are cheaper than large ones.
699 (expand_block_move): Generate more efficient code when bytes is a
700 known at compile time.
701 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
702 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
703 instead of reg_or_mem_operand.
704
705 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
706 not general_operand. Similarly use "=rm" or stricter, not "=g".
707 For input operands, use stricter constraints than "g" if not
708 general_operand. Similarly use stricter predicate than
709 "general_operand" when stricter constraints than "g" are present,
710 except for matching constraints.
711 (movstrsi): Use "memory_operand" for operands 0 and 1.
712 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
713 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
714 not reg_or_mem_operand.
715 (udivmoddisi4): Ditto.
716 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
717 Use nonimmediate_operand for operand 3, not register_operand.
718 (udivmoddiqi4_internal): Use register_operand for operand 1, not
719 reg_or_mem_operand.
720
721 2000-01-27 Fred Fish <fnf@be.com>
722
723 * gthr-posix.h: Fix typo; compatibily -> compatibility.
724 * gthr-single.h: Likewise.
725 * gthr-solaris.h: Likewise.
726 * gthr-vxworks.h: Likewise.
727 * gthr-win32.h: Likewise.
728 * gthr.h: Likewise.
729
730 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
731
732 * cppinit.c: Add " (cpplib)" to end of string printed by
733 -v / --version.
734
735 2000-01-27 Richard Henderson <rth@cygnus.com>
736
737 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
738 testing for a signed comparison.
739 (alpha_emit_floatuns): New.
740 * alpha-protos.h: Declare it.
741 * alpha.md (floatunsdisf2, floatunsdidf2): New.
742 (extendsfdf2): Tidy.
743
744 2000-01-27 Jakub Jelinek <jakub@redhat.com>
745
746 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
747 no -g option specifying debugging format, default to -gstabs+.
748
749 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
750
751 * calls.c (special_function_p): New argument fork_or_exec.
752 (expand_call): When profile_arc_flag is set and the function
753 is in the fork_or_exec group, call __bb_fork_func first.
754 * libgcc2.c, _bb module (__bb_fork_func): New function.
755 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
756 output file.
757 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
758 * tree.h (special_function_p): Update prototype.
759
760 2000-01-26 Richard Henderson <rth@cygnus.com>
761
762 * alpha.c (alpha_split_tfmode_pair): New.
763 * alpha-protos.h: Declare it.
764 * alpha.md (abstf2, negtf2): New.
765 (movtf insn): Add input G constraint.
766 (movtf splitter): Use alpha_split_tfmode_pair.
767
768 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
769
770 * i386/cygwin.h: PROTO -> PARAMS.
771
772 2000-01-26 Jakub Jelinek <jakub@redhat.com>
773
774 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
775 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
776 using _Qp_cmp/_Q_cmp and testing the return value.
777 (print_operand): Call reverse_condition_maybe_unordered if
778 we are handling CCFPmode or CCFPEmode.
779 Handle ORDERED, UN* and LTGT comparisons.
780 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
781 if not TARGET_HARD_QUAD.
782 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
783 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
784 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
785 Adjust gen_b* calls so that they reflect return comparison of
786 sparc_emit_float_lib_cmp.
787
788 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
789
790 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
791 incoming operands array is large enough for one more operand.
792 (alpha_emit_xfloating_arith): Likewise.
793
794 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
795
796 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
797 file with one line and no trailing newline.
798 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
799 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
800 checking if the match is on the line.
801 * fixinc/gnu-regex.c: Provide regerror not __regerror.
802
803 2000-01-25 Richard Henderson <rth@cygnus.com>
804
805 * sparc.c (output_cbranch): Fix accidental squashing of the
806 fp branch pre-delay nop.
807
808 2000-01-25 Richard Henderson <rth@cygnus.com>
809
810 * tree.def (UNNE_EXPR): Remove.
811 * c-typeck.c (build_binary_op): Don't handle it.
812 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
813
814 * rtl.def (UNNE): Remove.
815 (LTGT): Add.
816 * jump.c (reverse_condition): Update accordingly.
817 (swap_condition): Likewise.
818 (comparison_dominates_p): Handle unordered comparisons.
819 (reverse_condition_maybe_unordered): New.
820 * rtl.h (reverse_condition_maybe_unordered): Declare.
821
822 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
823 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
824 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
825 * sparc.md (bltgt): New.
826
827 2000-01-25 Nick Clifton <nickc@redhat.com>
828
829 * emit-rtl.c (emit_insn): Only check machine class insns for
830 improper emission of a RETURN.
831
832 2000-01-25 Richard Henderson <rth@cygnus.com>
833
834 * Makefile.in (flow.o): Depend on $(EXPR_H).
835 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
836 duplicate the structure of diddle_return_value for keeping regs live.
837
838 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
839
840 * loop.c (current_loop_info): Delete.
841 (consec_sets_invariant_p): Add loop argument, update callers.
842 (get_condition_for_loop): Likewise.
843 (count_nonfixed_reads, update_giv_derive): Likewise.
844 (simplify_giv_expr, general_induction_var): Likewise.
845 (consec_sets_giv, recombine_givs): Likewise.
846 (move_movables): Delete loop_start and loop_end arguments,
847 add loop argument, and update callers.
848 (find_mem_givs, check_final_value): Likewise.
849 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
850 (loop_invariant_p): Rename from invariant_p, add loop argument, and
851 update callers.
852 (basic_induction_var): Add loop argument, delete loop_level argument,
853 and update callers.
854 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
855 add loop argument, and update callers.
856 (find_splittable_regs, find_splittable_givs): Likewise.
857 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
858 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
859 (biv_total_increment): Delete loop_start and loop_end arguments;
860 update callers.
861 (precondition_loop_p): Delete loop_start and loop_info arguments;
862 update callers.
863 * loop.h (get_condition_for_loop): Add loop argument.
864 (biv_total_increment): Delete loop_start and loop_end arguments.
865 (precondition_loop_p): Delete loop_start and loop_info arguments;
866 add loop argument.
867 (final_biv_value): Delete loop_start and loop_end arguments;
868 add loop argument.
869 (final_giv_value, back_branch_in_range_p): Likewise.
870
871 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
872
873 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
874
875 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
876
877 * Makefile.in (c-gperf.h) : Change the "See" pointer to
878 point to the new "generated_files" doc.
879
880 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
881
882 * config/fp-bit.c (_unord_f2): Fix typo.
883
884 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
885
886 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
887 c-typeck.c, objc/objc-act.c: Remove all references to obstack
888 functions obsoleted by GC, such as push_obstacks_nochange,
889 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
890 and code which existed only to decide whether or not to call
891 them. Remove now-unused NESTED argument from start_function;
892 all callers changed. Do not change behavior based on ggc_p.
893 The use of the ixp_obstack in c-iterate.c and the util_obstack
894 in objc/objc-act.c remain; these are not obsoleted by garbage
895 collection.
896 * c-tree.h: Update prototype for start_function.
897
898 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
899
900 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
901
902 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
903 mips16.
904
905 2000-01-25 Richard Henderson <rth@cygnus.com>
906
907 * sparc-protos.h (select_cc_mode): Declare.
908 * sparc.c (select_cc_mode): New. Handle unordered compares.
909 (output_cbranch): Always reverse via code change. Handle
910 unordered compares. Factor tests and string updates.
911 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
912 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
913 * sparc.md (bunordered, bordered): New.
914 (bungt, bunlt, buneq, bunge, bunle): New.
915
916 2000-01-25 Richard Henderson <rth@cygnus.com>
917
918 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
919 * ggc-common.c (ggc_add_rtx_varray_root): New.
920 (ggc_mark_rtx_varray): New.
921 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
922 functions down below ggc_mark_foo.
923 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
924
925 2000-01-25 Richard Henderson <rth@cygnus.com>
926
927 * alpha.c (secondary_reload_class): Don't allocate a secondary
928 for integral mode memories into FLOAT_REGS. Rearrange the more
929 complicated memory expression inward.
930
931 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
932
933 * inclhack.def: Fixes to play nicer with FreeBSD, and
934 corrections to comments.
935 (cxx_unready): Add select expression.
936 (irix_sockaddr): Add bypass expression.
937 (machine_ansi_h_va_list): New fix.
938 (stdio_va_list): No need to edit _BSD_VA_LIST_.
939 Split out addition of "#include <stdarg.h>" to...
940 (stdio_stdarg_h): ... here.
941 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
942 to stdlib.h also. Do not munge _BSD_SIZE_T_.
943 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
944 size_t.
945 (ultrix_ifdef): Tighten up select expression.
946
947 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
948 re_ct and max_mach to avoid use of shell. Make printed names
949 match names in inclhack.def. Use static copyright date.
950 Don't count c_test and test expressions as requiring regex_t
951 slots. Add some commentary.
952 * inclhack.tpl: Do not include the 'This script contains N
953 fixup scripts' line if PROGRAM is defined. Use static
954 copyright date.
955
956 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
957
958 * dwarf2out.c: include "varray.h", not dyn-string.h.
959 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
960 (addr_const_to_string, addr_to_string): Lose.
961 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
962 (struct dw_val_struct): val_addr is now an rtx.
963 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
964 (used_rtx_varray): New varray.
965 (dwarf2out_init): Initialize it.
966 (save_rtx): New fn.
967 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
968 addr_to_string.
969 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
970 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
971 * Makefile.in (dwarf2out.o): Update dependencies.
972
973 2000-01-24 Richard Henderson <rth@cygnus.com>
974
975 * i386.c (i386_dwarf_output_addr_const): New.
976 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
977
978 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
979 if defined.
980 * dwarfout.c (output_mem_loc_descriptor): Likewise.
981 * i386.c (i386_simplify_dwarf_addr): New.
982 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
983
984 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
985
986 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
987 TYPE_STUB_DECL is NULL.
988
989 2000-01-24 Richard Henderson <rth@cygnus.com>
990
991 * builtins.c (expand_tree_builtin): Move ...
992 * c-common.c (expand_tree_builtin): ... here.
993
994 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
995
996 * loop.h (LOOP_INFO): New accessor macro.
997 * basic-block.h (struct loop): Rename field `info' to `aux'.
998 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
999 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
1000 * unroll.c (loop_iterations, unroll_loop): Likewise.
1001
1002 2000-01-24 Christopher Faylor <cgf@cygnus.com>
1003
1004 * config/i386/t-cygwin: Accomodate new winsup directory layout
1005 when searching for include files.
1006
1007 2000-01-24 Richard Henderson <rth@cygnus.com>
1008
1009 * rtl.def: Add unordered fp comparisions.
1010 * tree.def: Likewise.
1011 * tree.h: Add ISO C 9x unordered fp comparision builtins.
1012
1013 * builtins.c (expand_tree_builtin): New function.
1014 * c-typeck.c (build_function_call): Use it.
1015 (build_binary_op): Support unordered compares.
1016 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
1017
1018 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
1019 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
1020 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
1021 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
1022 * jump.c (reverse_condition): Don't abort for UNLE etc, but
1023 return UNKNOWN.
1024 (swap_condition): Handle unordered compares.
1025 (thread_jumps): Check can_reverse before reversing.
1026 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
1027 reversed for FP.
1028
1029 * optabs.c (can_compare_p): New argument CODE. Verify branch or
1030 setcc is present before acking for cmp_optab. Update all callers.
1031 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
1032 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
1033 * expr.c (expand_expr): Likewise. Support unordered compares.
1034 (do_jump, do_store_flag): Likewise.
1035 * expr.h (enum libfunc_index): Add unordered compares.
1036
1037 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
1038 (DPBIT_FUNCS): Add _unord_df.
1039 * config/fp-bit.c (_unord_f2): New.
1040 * fp-test.c (main): Try unordered compare builtins.
1041
1042 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
1043 * alpha.c (alpha_comparison_operator): Check mode properly.
1044 (alpha_swapped_comparison_operator): Likewise.
1045 (signed_comparison_operator): Likewise.
1046 (alpha_fp_comparison_operator): New.
1047 (alpha_emit_conditional_branch): Handle unordered compares.
1048 * alpha.h (PREDICATE_CODES): Update.
1049 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
1050 (bunordered, bordered): New.
1051
1052 2000-01-24 Richard Henderson <rth@cygnus.com>
1053
1054 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
1055 * alpha.md (movtf): New expander, insn, and splitter.
1056
1057 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
1058
1059 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
1060 dead registers.
1061
1062 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
1063
1064 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
1065 (FIXED_REGISTERS, CALL_USED_REGISTERS,
1066 REG_ALLOC_ORDER): Add frame pointer
1067 (FRAME_POINTER_REGNUM): Set to 20
1068 (HARD_FRAME_POINTER_REGNUM): New macro.
1069 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
1070 to HARD_FRAME_POINTER.
1071 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
1072 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
1073 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
1074 (HI_REGISTER_NAMES): Add "frame".
1075 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
1076 (debug_reg): Handle FRAME_POINTER_REGNUM.
1077 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
1078 GENERAL_REGS and INDEX_REGS.
1079 * i386.c (SAVED_REGS_FIRST): new macro.
1080 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
1081 (ix86_decompose_address, memory_address_length): Likewise.
1082 (regclass_map): Add frame pointer.
1083 (call_insn_operand): Handle frame_pointer_rtx.
1084 (reg_no_sp_operand): Likewise.
1085 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
1086 (print_operand, legitimize_pic_address): Fix formating.
1087 (ix86_compute_frame_size): Make static, update prototype, new
1088 parameters padding1, padding2, use ix86_nsaved_regs, use
1089 stack_alignment_needed.
1090 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
1091 to HARD_FRAME_POINTER_REGNUM conversions.
1092 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
1093 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
1094 (print_reg): Abort on FRAME_POINTER_REGNUM
1095
1096 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
1097
1098 * i386.h (PREDICATE_CODES): Add aligned_operand.
1099 * i386.c (aligned_operand): New function.
1100 (ix86_aligned_p): Kill.
1101 * i386.md (movhi_1): Emit mov for aligned operands.
1102 (promoting peep2s): Use aligned_operand.
1103
1104 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
1105
1106 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
1107 expression to allow underscores in macro names.
1108 (fix_char_macro_defines): Increment scanning pointer.
1109
1110 2000-01-23 Richard Henderson <rth@cygnus.com>
1111
1112 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
1113 * alpha/osf5.h: New file.
1114 * configure.in (alpha-*-osf5): Add it to tm_file.
1115
1116 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
1117
1118 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
1119 (alpha_emit_xfloating_cvt, function_arg): Declare.
1120 * alpha.c (alpha_emit_conditional_branch): Call
1121 alpha_emit_xfloating_compare for TFmode compares.
1122 (alpha_lookup_xfloating_lib_func): New.
1123 (alpha_compute_xfloating_mode_arg): New.
1124 (alpha_emit_xfloating_libcall): New.
1125 (alpha_emit_xfloating_arith): New.
1126 (alpha_emit_xfloating_compare): New.
1127 (alpha_emit_xfloating_cvt): New.
1128 (print_operand): Add default abort case.
1129 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
1130 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
1131 (BIGGEST_ALIGNMENT): Increase to 128 bits.
1132 (RETURN_IN_MEMORY): True for TF/TCmode.
1133 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
1134 (FUNCTION_ARG): Move to function_arg.
1135 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
1136 (ASM_OUTPUT_LONG_DOUBLE): New.
1137 (ASM_OUTPUT_DOUBLE): Always output bits.
1138 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
1139 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
1140 (extenddftf2, trunctfdf2): New.
1141
1142 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1143
1144 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
1145 * config/sparc/sol2.h: ... here.
1146
1147 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1148
1149 * basic-block.h (struct loops): New field `levels'.
1150 * flow.c (flow_loops_level_compute): Traverse all outer loops.
1151 (flow_loop_level_compute): Initialise level to 1.
1152 (flow_loops_find): Set loops->levels.
1153 (flow_loops_dump): Print loops->levels.
1154
1155 2000-01-23 Richard Henderson <rth@cygnus.com>
1156
1157 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
1158 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
1159
1160 2000-01-23 Richard Henderson <rth@cygnus.com>
1161
1162 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
1163 * i386.h (DBX_REGISTER_NUMBER): Use them.
1164 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
1165 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
1166 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
1167 * i386/sequent.h: Kill incorrect comment.
1168
1169 2000-01-23 Mark Mitchell <mark@codesourcery.com>
1170
1171 * ggc-page.c (struct page_entry): Make `context_depth' an
1172 `unsigned short'.
1173 (struct globals): Likewise.
1174
1175 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
1176
1177 * loop.c (check_dbra_loop): When checking a loop for
1178 reversability, check the source of any stores to ensure
1179 they don't depend on an initial value.
1180
1181 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1182
1183 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
1184
1185 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
1186
1187 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
1188 'pz_scan' into scope of entire function. Only affects
1189 compiles with -DDEBUG.
1190
1191 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
1192
1193 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
1194 section naming to that prior to 2000-01-07 patch.
1195 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
1196 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
1197 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
1198 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
1199 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
1200
1201 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
1202
1203 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
1204 constant.
1205
1206 2000-01-21 Jim Wilson <wilson@cygnus.com>
1207
1208 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
1209 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
1210
1211 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
1212
1213 * cpphash.c (change_newlines): Delete function.
1214 (struct argdata): Delete 'newlines' and 'use_count' fields.
1215 (macroexpand): Remove code referencing those fields.
1216
1217 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1218
1219 * loop.c (loops_info): New variable.
1220 (loop_optimize): Allocate loops->array and free it on exit.
1221 Allocate memory for loops_info and assign to each loop,
1222 replacing alloca.
1223 (find_and_verify_loops): Do not allocate loops->array.
1224
1225 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
1226
1227 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
1228
1229 2000-01-21 Jakub Jelinek <jakub@redhat.com>
1230
1231 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
1232 pseudos if expanded after first flow.
1233 (movdi_pic_label_ref): Likewise.
1234
1235 2000-01-20 Richard Henderson <rth@cygnus.com>
1236
1237 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
1238
1239 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
1240
1241 * Makefile.in (fixinc.sh): Depend on specs.
1242 * fixinc/Makefile.in: Add rule to create machname.h.
1243 (fixlib.o): Depend on machname.h.
1244 * fixinc/fixtests.c (machine_name): New test.
1245 * fixinc/fixfixes.c (machine_name): New fix.
1246 * fixinc/fixlib.c (mn_get_regexps): New helper function for
1247 the machine_name test and fix.
1248 * fixinc/fixlib.h: Prototype it.
1249 * fixinc/inclhack.def (machine_name): Use the C test and fix.
1250 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
1251
1252 * gcc.c (do_spec_1) [case P]: Take care not to create
1253 identifiers with three leading or trailing underscores.
1254
1255 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
1256 (fixincl): Don't specify libraries twice on link line.
1257 (gnu-regex.o): Remove special rule.
1258 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
1259 defined by config.h. Do not define _REGEX_RE_COMP.
1260 (regcomp): Allocate and initialize a fastmap.
1261 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
1262
1263 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
1264
1265 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
1266
1267 2000-01-19 Richard Henderson <rth@cygnus.com>
1268
1269 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
1270 arguments with BB. Update all callers. Tidy line wrapping.
1271
1272 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
1273
1274 * emit-rtl.c (try_split): Return last_insn if we split the
1275 last_insn.
1276
1277 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
1278
1279 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
1280 (ix86_initial_elimination_offset): Declare.
1281 * i386.c (ix86_nsaved_regs): Break out from ...
1282 (ix86_can_use_return_insn_p): ... here.
1283 (ix86_emit_save_regs): Break out from ...
1284 (ix86_expand_prologue): ... here.
1285 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
1286 out from ...
1287 (ix86_expand_epilogue): ... here.
1288 (ix86_compute_frame_size): Make static, add prototype.
1289 (ix86_initial_elimination_offset): Break out from ...
1290 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
1291
1292 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1293
1294 * recog.h (OUT_FCN): Delete.
1295
1296 * vax.md: Call `get_insn_template' instead of OUT_FCN.
1297
1298 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1299
1300 * cppalloc.c: PROTO -> PARAMS.
1301 * cpperror.c: Likewise.
1302 * cppfiles.c: Likewise.
1303 * cpplib.c: Likewise.
1304 * cpplib.h: Likewise.
1305
1306 * config/arm/arm-protos.h: PROTO -> PARAMS.
1307 * config/arm/arm.c: Likewise.
1308 * config/c4x/c4x.c: Likewise.
1309 * config/fr30/fr30-protos.h: Likewise.
1310 * config/nextstep.c: Likewise.
1311 * config/pa/pa.c: Likewise.
1312 * config/pj/pj.c: Likewise.
1313 * config/rs6000/rs6000.c: Likewise.
1314 * config/v850/v850-protos.h: Likewise.
1315 * config/v850/v850.c: Likewise.
1316
1317 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1318
1319 * i370-protos.h: New file.
1320
1321 * i370.c: Include tm_p.h. Fix compile time warnings.
1322
1323 * i370.h: Move prototypes to i370-protos.h. Fix compile time
1324 warnings.
1325
1326 * i370.md: Likewise.
1327
1328 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1329
1330 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
1331 (target_isinf, target_isnan, eisnan): Mark parameter with
1332 ATTRIBUTE_UNUSED.
1333 (eiisinf): Wrap in INFINITY.
1334 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
1335 (ibmtoe): Remove unused variable `rndsav'.
1336
1337 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1338
1339 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
1340 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
1341
1342 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
1343
1344 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
1345 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
1346 (fix_char_macro_defines, fix_char_macro_uses): New functions.
1347
1348 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
1349 Recognize Emacs mode markers also.
1350 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
1351 C++ comments in C++ headers. Call is_cxx_header only if
1352 necessary.
1353
1354 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
1355 bypass for ncurses.
1356 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
1357 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
1358 ... these, which use the new C fixes.
1359 (math_exception): Escape literal '+' in bypass expression.
1360
1361 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
1362 Regenerate.
1363
1364 2000-01-19 Geoff Keating <geoffk@cygnus.com>
1365
1366 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
1367 inside the MEM.
1368
1369 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1370
1371 * loop.c (loop_optimize): Allocate loop_info structure for each loop
1372 prior to calling scan_loop.
1373
1374 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1375
1376 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
1377 (split_branches, calc_live_regs): Likewise.
1378
1379 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1380
1381 * sh.md (fpu_single, fp_mode): New attributes.
1382
1383 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1384
1385 * loop.c (current_loop_info): Renamed from loop_info_data
1386 and changed to a pointer.
1387 (loop_optimize): Allocate loop_info structure for each loop
1388 and initialise to zero.
1389 (scan_loop): Set current_loop_info.
1390
1391 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
1392 on iteration_var.
1393
1394 2000-01-19 Richard Henderson <rth@cygnus.com>
1395
1396 * stupid.c: Die die die.
1397 * Makefile.in (OBJS): Remove stupid.o.
1398 (stupid.o): Likewise.
1399
1400 * except.c (emit_eh_context): Don't emit USEs for stupid.
1401 * explow.c (probe_stack_range): Likewise.
1402 * flags.h (obey_regdecls): Remove.
1403 * flow.c (find_basic_blocks): Don't run try_merge_blocks
1404 when not optimizing.
1405 (life_analysis): Limit data collection when not optimizing.
1406 (mark_regs_live_at_end): Always mark the return value registers.
1407 (mark_used_regs): Remove dummy RETURN case.
1408 (print_rtl_with_bb): Don't consult obey_regdecls.
1409 * function.c (use_variable, use_variable_after): Remove.
1410 (assign_parms): Consult optimize not obey_regdecls.
1411 (expand_function_start): Don't emit USEs for stupid.
1412 (expand_function_end): Likewise.
1413 * global.c (build_insn_chain): Export.
1414 * integrate.c (expand_inline_function): Kill return-value USE
1415 handling code.
1416 * jump.c (jump_optimize_1): Do simple jump optimizations and
1417 dead code elimination.
1418 (calculate_can_reach_end): Remove check_deleted argument.
1419 (delete_insn): Patch out insns even when not optimizing.
1420 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
1421 * rtl.h (use_variable, use_variable_after): Remove declarations.
1422 (build_insn_chain): Declare.
1423 * stmt.c (expand_value_return): Don't emit USEs for stupid.
1424 (expand_end_bindings): Likewise.
1425 (expand_decl): Likewise. Consult optimize not obey_regdecls.
1426 * toplev.c (obey_regdecls): Remove.
1427 (rest_of_compilation): Don't set it. Kill stupid in favour of
1428 flow1, local-alloc, and reload.
1429 (main): Don't set obey_regdecls.
1430
1431 * config/nextstep.c (handle_pragma): Likewise.
1432
1433 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
1434
1435 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
1436
1437 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1438
1439 * alpha-protos.h: PROTO -> PARAMS.
1440 * alpha.c: Likewise.
1441 * elf.h: Likewise.
1442 * h8300.c: Likewise.
1443 * i386-protos.h: Likewise.
1444 * i386.c: Likewise.
1445 * m32r-protos.h: Likewise.
1446 * m32r.c: Likewise.
1447 * mips.c: Likewise.
1448 * mips.md: Likewise.
1449 * gmon-sol2.c: Likewise.
1450 * sparc.c: Likewise.
1451
1452 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1453
1454 * ns32k-protos.h: New file.
1455
1456 * ns32k.c: Fix compile time warnings.
1457
1458 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
1459 warnings.
1460
1461 * ns32k.md: Likewise.
1462
1463 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1464
1465 * vax-protos.h: New file.
1466
1467 * vax.c: Fix compile time warnings.
1468
1469 * vax.h: Move prototypes to vax-protos.h. Fix compile time
1470 warnings.
1471
1472 * vax.md: Likewise.
1473
1474 * vaxv.md: Likewise.
1475
1476 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1477
1478 * romp-protos.h: New file.
1479
1480 * romp.c: Fix compile time warnings.
1481
1482 * romp.h: Move prototypes to romp-protos.h. Fix compile time
1483 warnings.
1484
1485 * romp.md: Likewise.
1486
1487 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1488
1489 * we32k-protos.h: New file.
1490
1491 * we32k.c: Fix compile time warnings.
1492
1493 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
1494 warnings.
1495
1496 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1497
1498 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
1499
1500 * except.c (eh_regs): Likewise.
1501
1502 * final.c (output_operand): Likewise.
1503
1504 * fold-const.c (target_isinf, target_isnan): Likewise.
1505
1506 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
1507
1508 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
1509 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
1510
1511 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
1512 when optimize_size.
1513 (clrstrsi): Rewrite.
1514 (strsethi, strsetqi): New expanders.
1515 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
1516 (cmpstrsi): Emit compare insn before cmpstrsi_1
1517 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
1518 (strlensi_1): Likewise.
1519 (cmpstrsi_1): Likewise; do not output compare.
1520 (strlen expander): Do not unroll when optimizing for size.
1521 (*subsi3_carry): Rename to subsi3_carry
1522 (addqi3_cc): New pattern.
1523 * i386.h (processor_costs): Add move_ratio field.
1524 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
1525 * i386.c (*_cost): Set move_ratio.
1526 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
1527 (x86_expand_strlensi_1): Rewrite the main loop.
1528
1529 2000-01-17 Richard Henderson <rth@cygnus.com>
1530
1531 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
1532 * cse.c (find_comparison_args, fold_rtx): Likewise.
1533 * integrate.c (subst_constants): Likewise.
1534 * loop.c (get_condition): Likewise.
1535
1536 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
1537
1538 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
1539
1540 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1541
1542 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
1543 (RESTORE_WARN_FLAGS): Unpack it.
1544 Change semantic type of extension to ttype.
1545 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
1546 * c-parse.y, c-parse.c, objc/objc-parse.y,
1547 objc/objc-parse.c: Regenerate.
1548
1549 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
1550
1551 * fixinc/fixlib.c: Add copyright notice.
1552 (compile_re): New function.
1553 * fixinc/fixlib.h: Prototype compile_re.
1554
1555 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
1556 Use compile_re to compile regular expressions.
1557
1558 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
1559 where the pattern matched.
1560
1561 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
1562 use 'replace'.
1563 (ultrix_ansi_compat): Likewise.
1564 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
1565 add egrep test.
1566 (interactv_add2, interactv_add3): Delete.
1567 (x11_sprintf): Don't use filename glob.
1568 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
1569 Regenerate.
1570
1571 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1572
1573 * print-rtl.c: PROTO -> PARAMS.
1574 * real.c: Likewise.
1575 * reg-stack.c: Likewise.
1576 * resource.c: Likewise.
1577 * sdbout.h: Likewise.
1578 * simplify-rtx.c: Likewise.
1579 * stor-layout.c: Likewise.
1580 * stupid.c: Likewise.
1581 * xcoffout.c: Likewise.
1582 * xcoffout.h: Likewise.
1583
1584 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1585
1586 * toplev.c: PROTO -> PARAMS.
1587 * toplev.h: Likewise.
1588 * tree.c: Likewise.
1589 * tree.h: Likewise.
1590 * unroll.c: Likewise.
1591 * varasm.c: Likewise.
1592 * varray.c: Likewise.
1593 * varray.h: Likewise.
1594
1595 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1596
1597 * reload.c: PROTO -> PARAMS.
1598 * reload.h: Likewise.
1599 * reload1.c: Likewise.
1600 * reorg.c: Likewise.
1601 * resource.h: Likewise.
1602 * rtl.c: Likewise.
1603 * rtl.h: Likewise.
1604 * rtlanal.c: Likewise.
1605 * sbitmap.h: Likewise.
1606 * sdbout.c: Likewise.
1607 * stack.h: Likewise.
1608 * stmt.c: Likewise.
1609 * system.h: Likewise.
1610
1611 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1612
1613 * machmode.h: PROTO -> PARAMS.
1614 * mbchar.h: Likewise.
1615 * mips-tdump.c: Likewise.
1616 * mips-tfile.c: Likewise.
1617 * optabs.c: Likewise.
1618 * output.h: Likewise.
1619 * prefix.c: Likewise.
1620 * profile.c: Likewise.
1621 * protoize.c: Likewise.
1622 * real.h: Likewise.
1623 * recog.c: Likewise.
1624 * recog.h: Likewise.
1625 * regclass.c: Likewise.
1626 * regmove.c: Likewise.
1627 * regs.h: Likewise.
1628
1629 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1630
1631 * ggc-common.c: PROTO -> PARAMS.
1632 * ggc-page.c: Likewise.
1633 * ggc-simple.c: Likewise.
1634 * ggc.h: Likewise.
1635 * global.c: Likewise.
1636 * graph.c: Likewise.
1637 * gthr-win32.h: Likewise.
1638 * haifa-sched.c: Likewise.
1639 * halfpic.h: Likewise.
1640 * integrate.c: Likewise.
1641 * integrate.h: Likewise.
1642 * jump.c: Likewise.
1643 * lcm.c: Likewise.
1644 * local-alloc.c: Likewise.
1645 * loop.c: Likewise.
1646 * loop.h: Likewise.
1647
1648 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1649
1650 * genattr.c: PROTO -> PARAMS.
1651 * genattrtab.c: Likewise.
1652 * gencheck.c: Likewise.
1653 * gencodes.c: Likewise.
1654 * genconfig.c: Likewise.
1655 * genemit.c: Likewise.
1656 * genextract.c: Likewise.
1657 * genflags.c: Likewise.
1658 * gengenrtl.c: Likewise.
1659 * genopinit.c: Likewise.
1660 * genoutput.c: Likewise.
1661 * genpeep.c: Likewise.
1662 * genrecog.c: Likewise.
1663
1664 2000-01-16 Mark Mitchell <mark@codesourcery.com>
1665
1666 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
1667
1668 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1669
1670 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
1671 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
1672 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
1673 * configure, config.in: Rebuilt.
1674
1675 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
1676
1677 * config/i386/i386.md: Add peephole to merge successive stack
1678 adjusts.
1679
1680 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
1681
1682 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
1683 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
1684 when walking backwards to find all the parameter loads when
1685 the basic block ends in a call.
1686
1687 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1688
1689 * loop.c (this_loop_info): Delete.
1690 (uid_loop): Add in place of uid_loop_num. All uses updated.
1691 (loop_number_exit_count): Delete and replace with entry in loop
1692 structure. All uses updated.
1693 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
1694 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
1695 (loop_outer_loop): Likewise.
1696 (loop_invalid, loop_number_exit_labels): Likewise.
1697 (loop_used_count_register): Delete and replace with entry in
1698 loop_info structure.
1699 (find_and_verify_loops): Add loops argument.
1700 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
1701 loop_end, etc. arguments with loop structure pointer. All callers
1702 changed.
1703 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
1704 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
1705 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
1706 (insert_bct): Likewise.
1707 (basic_induction_var): New argument level.
1708 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
1709 vtop, and cont. Add used_count_register.
1710 (uid_loop): Delete declaration.
1711 (loop_number_exit_count): Likewise.
1712 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
1713 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
1714 (loop_outer_loop, loop_used_count_register): Likewise.
1715 (loop_invalid, loop_number_exit_labels): Likewise.
1716 (unroll_loop): Replace loop_start and loop_end arguments
1717 with loop structure pointer.
1718 (loop_precondition_p, loop_iterations): Likewise.
1719 Include basic-block.h.
1720 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
1721 with loop structure pointer.
1722 (loop_precondition_p, loop_iterations): Likewise.
1723 * basic-block.h (struct loop): New entries vtop, cont,
1724 cont_dominator, start, end, top, scan_start, exit_labels,
1725 exit_count.
1726 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
1727
1728 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1729
1730 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
1731
1732 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
1733
1734 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
1735
1736 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1737
1738 * pdp11-protos.h: New file.
1739
1740 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
1741 time warnings.
1742
1743 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
1744 warnings.
1745
1746 * pdp11.md: Likewise.
1747
1748 * 2bsd.h: Likewise.
1749
1750 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1751
1752 * mn10300-protos.h: New file.
1753
1754 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
1755 time warnings.
1756
1757 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
1758 warnings.
1759
1760 * mn10300.md: Likewise.
1761
1762 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1763
1764 * mn10200-protos.h: New file.
1765
1766 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
1767 time warnings.
1768
1769 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
1770 warnings.
1771
1772 * mn10200.md: Likewise.
1773
1774 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1775
1776 * h8300-protos.h: New file.
1777
1778 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
1779 time warnings.
1780
1781 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
1782 warnings.
1783
1784 * h8300.md: Likewise.
1785
1786 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1787
1788 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
1789 (asm_emit_uninitialised): Likewise.
1790
1791 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
1792
1793 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
1794 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
1795
1796 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
1797
1798 * config/mips/mips.c (override_options): Don't turn on extra
1799 alignment for mips16.
1800
1801 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
1802
1803 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
1804 eabi, and make sure queued POSTINCREMENT rtl is emitted at
1805 the right point.
1806
1807 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
1808
1809 * builtins.c (PAD_VARARGS_DOWN): Define.
1810 (std_expand_builtin_va_arg): Use the above macro.
1811 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
1812 * tm.texi (Register Arguments): Document the above macro.
1813
1814 2000-01-14 Nick Clifton <nickc@cygnus.com>
1815
1816 * emit-rtl.c (emit_insn): If checking is enabled, make sure
1817 that this function has not been used to emit a jump
1818 instruction.
1819
1820 * jump.c (return_jump_1): Cope with being passed a null rtx.
1821
1822 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1823
1824 * eh-common.h: PROTO -> PARAMS.
1825 * emit-rtl.c: Likewise.
1826 * errors.c: Likewise.
1827 * errors.h: Likewise.
1828 * except.c: Likewise.
1829 * except.h: Likewise.
1830 * explow.c: Likewise.
1831 * expmed.c: Likewise.
1832 * expr.c: Likewise.
1833 * expr.h: Likewise.
1834 * final.c: Likewise.
1835 * fix-header.c: Likewise.
1836 * flow.c: Likewise.
1837 * fold-const.c: Likewise.
1838 * function.c: Likewise.
1839 * function.h: Likewise.
1840 * gcc.c: Likewise.
1841 * gcov-io.h: Likewise.
1842 * gcov.c: Likewise.
1843 * gcse.c: Likewise.
1844
1845 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1846
1847 * sh-protos.h: New file.
1848
1849 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
1850 Add static prototypes. Fix compile time warnings.
1851
1852 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
1853 * sh.md: Likewise.
1854 * elf.h: Likewise.
1855
1856 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1857
1858 * arc-protos.h: New file.
1859
1860 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
1861 time warnings.
1862
1863 * arc.h: Move prototypes to arc-protos.h. Fix compile time
1864 warnings.
1865
1866 * arc.md: Likewise.
1867
1868 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1869
1870 * dsp16xx-protos.h: New file.
1871
1872 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
1873 time warnings.
1874
1875 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
1876 warnings.
1877
1878 * dsp16xx.md: Likewise.
1879
1880 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1881
1882 * convex-protos.h: New file.
1883
1884 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
1885 time warnings.
1886
1887 * convex.h: Move prototypes to convex-protos.h. Fix compile time
1888 warnings.
1889
1890 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1891
1892 * elxsi-protos.h: New file.
1893
1894 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
1895 time warnings.
1896
1897 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
1898 warnings.
1899
1900 * elxsi.md: Likewise.
1901
1902 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
1903
1904 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
1905 case for moving from HI/LO/HI_LO_REG. This makes the behavior
1906 match the comment for MIPS16.
1907
1908 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
1909
1910 * flow.c (split_edge): Do not call set_block_for_insn if we
1911 do not have a basic_block_for_insn structure.
1912
1913 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
1914 and destination functions are 32bit aligned within the trampoline.
1915 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
1916 (TRAMPOLINE_ALIGNMENT): Define.
1917
1918 * cse.c (cse_insn): When changing (set (pc) (reg)) to
1919 (set (pc) (label_ref)), verify the change creates a valid insn.
1920
1921 * fr30.c (call_operand): Tighten and rework to match rules for
1922 call RTL expressions.
1923 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
1924 * fr30.md (call patterns): Improve constraints.
1925
1926 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
1927
1928 * fr30.c (fr30_expand_epilogue): Revert last change.
1929 Use emit_jump_insn for the return insn.
1930
1931 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
1932 Stan Cox <scox@cygnus.com>
1933
1934 * predict.c: New file. Preliminary infrastructure work for static
1935 branch prediction and basic block reordering.
1936 * basic-block.h: Add prototype for estimate_probability.
1937 * Makefile.in: Add rules for predict.o.
1938
1939 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
1940
1941 * fixincludes (va_list): Use __not_va_list__ for the dummy.
1942 * fixinc/*: Likewise.
1943
1944 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1945
1946 * cccp.c: PROTO -> PARAMS.
1947 * cexp.y: Likewise.
1948 * collect2.c: Likewise.
1949 * combine.c: Likewise.
1950 * convert.h: Likewise.
1951 * cse.c: Likewise.
1952 * dbxout.c: Likewise.
1953 * dbxout.h: Likewise.
1954 * diagnostic.c: Likewise.
1955 * doprint.c: Likewise.
1956 * dwarf2out.c: Likewise.
1957 * dwarf2out.h: Likewise.
1958 * dwarfout.c: Likewise.
1959 * dwarfout.h: Likewise.
1960 * dyn-string.h: Likewise.
1961
1962 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1963
1964 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
1965 macro conditionals guarding use.
1966
1967 * dwarf2out.c: Include "tm_p.h".
1968
1969 * function.c (locate_and_pad_parm): Mark parameter with
1970 ATTRIBUTE_UNUSED.
1971 (expand_function_end): Likewise for variable `context'.
1972
1973 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
1974
1975 2000-01-13 Nick Clifton <nickc@cygnus.com>
1976
1977 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
1978 register to prevent compile time warnings.
1979
1980 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
1981
1982 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
1983 to avoid -Wtraditional warning.
1984
1985 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1986
1987 * 1750a-protos.h: New file.
1988
1989 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
1990 time warnings.
1991
1992 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
1993 warnings.
1994
1995 * 1750a.md: Likewise.
1996
1997 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1998
1999 * a29k-protos.h: New file.
2000
2001 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
2002 time warnings.
2003
2004 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
2005 warnings.
2006
2007 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2008
2009 * clipper-protos.h: New file.
2010
2011 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
2012 time warnings.
2013
2014 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
2015 warnings.
2016
2017 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2018
2019 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
2020
2021 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
2022
2023 * configure.in (--enable-new-gxx-abi): New option.
2024 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
2025 * Makefile.in (GXX_ABI_FLAG): New variable.
2026 * configure: Regenerate.
2027
2028 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2029
2030 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
2031 * tm.texi (FORCE_STRUCT_BLK): Document.
2032 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
2033
2034 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
2035
2036 * config/ns32k/ns32k.md: Revert Jan 9 change.
2037
2038 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
2039 to a mode-test, if the predicate is address_operand.
2040
2041 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
2042
2043 * combine.c (if_then_else_cond): Be careful about what kinds
2044 of RTL expressions are passed to operand_subword.
2045
2046 * flow.c (split_edge): If we have to insert a new jump, make
2047 sure to associate it with a basic block.
2048
2049 * flow.c (commit_one_edge_insertion): A block with one successor
2050 can end in a JUMP_INSN that is not a simplejump.
2051
2052 2000-01-12 Robert Lipe <robertl@sco.com>
2053
2054 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
2055 (BUILD_VA_LIST_TYPE): Define.
2056 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
2057 with crtstuff.c.
2058
2059 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
2060
2061 * cccp.c (do_pragma): Add cast to (char *).
2062
2063 2000-01-12 Richard Henderson <rth@cygnus.com>
2064 Fred Fish <fnf@be.com>
2065 Jason Merrill <jason@cygnus.com>
2066
2067 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
2068 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
2069 * i386/beos-elf.h, i386/beos-pe.h: New files.
2070
2071 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
2072 * cross-make (SYSTEM_HEADER_DIR): Define using
2073 CROSS_SYSTEM_HEADER_DIR.
2074
2075 * gcc.c (LIBRARY_PATH_ENV): Provide default.
2076 (process_command): Use it.
2077 (main): Likewise. Kill trailing = from env vars.
2078 (build_search_list): Put it back.
2079 * collect2.c (main): Use LIBRARY_PATH_ENV.
2080
2081 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
2082 * toplev.c: Use NEED_DECLARATION_ENVIRON.
2083
2084 * tm.texi (Frame Layout): Document SMALL_STACK.
2085 * c-common.c (c_common_nodes_and_builtins): Check it.
2086
2087 * system.h: Undef alloca after including glibc's <stdlib.h>,
2088 if USE_C_ALLOCA is defined.
2089
2090 * gcc.c (set_input): New fn.
2091 (main): After all input files are compiled, reset the input file
2092 info to the first.
2093
2094 * aclocal.m4 (rindex, index): If already defined, don't attempt
2095 to redefine.
2096
2097 * ginclude/varargs.h: (__va_list__): Define ifndef.
2098 * ginclude/stdarg.h: Likewise.
2099
2100 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
2101 instead of unsigned char.
2102
2103 * hash.h (true, false, boolean): Undef before enum.
2104
2105 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
2106 proper type of "HOST_WIDE_INT *", rather than their natural type of
2107 "unsigned HOST_WIDE_INT *".
2108
2109 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2110
2111 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
2112
2113 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
2114
2115 * regclass.c (choose_hard_reg_mode): Likewise.
2116
2117 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
2118
2119 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
2120
2121 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2122
2123 * c-common.c: PROTO -> PARAMS.
2124 * c-common.h: Likewise.
2125 * c-decl.c: Likewise.
2126 * c-iterate.c: Likewise.
2127 * c-lang.c: Likewise.
2128 * c-lex.c: Likewise.
2129 * c-lex.h: Likewise.
2130 * c-parse.in: Likewise.
2131 * c-pragma.c: Likewise.
2132 * c-pragma.h: Likewise.
2133 * c-tree.h: Likewise.
2134 * c-typeck.c: Likewise.
2135 * objc/objc-act.c: Likewise.
2136 * objc/objc-act.h: Likewise.
2137
2138 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2139
2140 * m88k-protos.h: New file.
2141
2142 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
2143 time warnings.
2144
2145 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
2146
2147 * m88k.md: Likewise.
2148
2149 * tekXD88.h: Likewise.
2150
2151 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2152
2153 * m68k-protos.h: New file.
2154
2155 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
2156 time warnings.
2157
2158 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
2159
2160 * mot3300.h: Likewise.
2161
2162 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
2163
2164 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
2165 extract_bitlst.
2166 (extract_bitlist): Declare bitlen.
2167
2168 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
2169
2170 * cccp.c: Accept and ignore -lang-fortran.
2171
2172 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
2173 qualifiers don't match at any level of pointerness.
2174
2175 2000-01-12 Robert Lipe <robertl@sco.com>
2176
2177 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
2178
2179 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
2180
2181 * reload1.c (reload_reg_unavailable): New static variable.
2182 (reload_reg_free_p): Test it.
2183 (reload_reg_free_for_value_p): Test it instead of
2184 reload_reg_used.
2185 (choose_reload_regs_init): Compute it.
2186
2187 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
2188
2189 * reorg.c (fill_slots_from_thread): Check modified_in_p
2190 before replacing.
2191
2192 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
2193
2194 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
2195 these nodes even if INTERNALS is not set.
2196
2197 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
2198
2199 * gcse.c (delete_null_pointer_checks_1): Cope when
2200 get_condition cannot determine the condition.
2201
2202 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
2203
2204 * toplev.h (set_message_length): Declare.
2205
2206 * diagnostic.c (obstack_chunk_alloc): Define macro.
2207 (obstack_chunk_free): Likewise.
2208 (struct output_buffer): New data structure.
2209 (vmessage): Remove.
2210 (output_maximum_width): New variable.
2211 (doing_line_wrapping, set_message_length, init_output_buffer,
2212 get_output_prefix, output_space_left, emit_output_prefix,
2213 output_newline, output_append, output_puts, dump_output,
2214 vbuild_message_string, build_message_string, build_location_prefix,
2215 voutput_notice, output_printf, line_wrapper_printf,
2216 vline_wrapper_message_with_location): New functions. Implement
2217 automatic line wrapping.
2218 (v_message_with_decl): Make it handle automatic line wrapping.
2219 (v_error_with_file_and_line): Likewise.
2220 (v_warning_with_file_and_line): Likewise.
2221 (announce_function): Likewise.
2222 (default_print_error_function): Likewise.
2223
2224 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
2225
2226 * cpplib.h (struct cpp_options): Change lang_asm to char.
2227 Add lang_fortran.
2228 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
2229 done in cpp_handle_option now.
2230 (initialize_builtins): Take out special case code used only by
2231 __STDC_VERSION__.
2232 (cpp_handle_option): Turn off trigraphs and trigraph warnings
2233 if -traditional. Recognize -lang-fortran and set
2234 lang_fortran, also turn off cplusplus_comments.
2235 (print_help): Document -lang-fortran.
2236 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
2237 lang_asm. Ignore all directives other than `# 123 "file"' if
2238 CPP_PREPROCESSED.
2239 (cpp_get_token): If -traditional, don't recognize directives
2240 unless the # is in column 1.
2241 (parse_string): If lang_fortran or lang_asm, silently
2242 terminate strings ('' or "") at end of line.
2243 Remove unnecessary braces.
2244
2245 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2246 Richard Henderson <rth@cygnus.com>
2247
2248 * resource.c (mark_referenced_resources): Mark a set strict_low_part
2249 as used.
2250 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
2251 strict_low_part when possible.
2252
2253 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2254
2255 * alias.c: PROTO -> PARAMS.
2256 * basic-block.h: Likewise.
2257 * bitmap.c: Likewise.
2258 * bitmap.h: Likewise.
2259 * builtins.c: Likewise.
2260 * c-aux-info.c: Likewise.
2261 * caller-save.c: Likewise.
2262 * calls.c: Likewise.
2263
2264 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2265
2266 * Makefile.in (toplev.o): Depend on regs.h.
2267
2268 * output.h (tdesc_section): Prototype.
2269
2270 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
2271
2272 * sdbout.c: Include "tm_p.h".
2273
2274 * toplev.c: Include "regs.h".
2275
2276 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
2277
2278 * unroll.c (unroll_loop): Add EH support.
2279
2280 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2281
2282 * pa-protos.h: New file.
2283
2284 * pa.c: Include recog.h and tm_p.h.
2285 (compute_zdepwi_operands, compute_movstrsi_length,
2286 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
2287 find_addr_reg, import_milli): Add static prototypes.
2288 (pa_cpu_string, pa_arch_string): Constify a char*.
2289 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
2290 (read_only_operand): Add argument `mode'.
2291 (singlemove_string, output_move_double, output_fp_move_double,
2292 output_block_move, output_and, output_ior, output_ascii,
2293 remove_useless_addtr_insns, milli_names, output_mul_insn,
2294 output_div_insn, output_mod_insn, output_arg_descriptor,
2295 output_cbranch, output_bb, output_bvb, output_dbra, ,
2296 output_millicode_call, output_call, hppa_encode_label,
2297 output_parallel_movb, output_parallel_addb): Constify a char*.
2298 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
2299 (output_parallel_addb): Remove extra arg to `constrain_operands'
2300
2301 * pa.h: Move all prototypes to pa-protos.h.
2302 (pa_cpu_string, pa_arch_string): Constify a char*.
2303 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
2304
2305 * pa.md: Call `function_label_operand' with mode argument.
2306 Likewise for `read_only_operand'.
2307 Fix nesting of parens in call to `symbolic_operand'.
2308
2309 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2310
2311 * i860-protos.h: New file.
2312
2313 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
2314 time warnings.
2315
2316 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
2317
2318 * i860.md: Likewise.
2319
2320 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
2321
2322 * i386.md (movstrsi expander): Rewrite.
2323 (movstrsi_1 insn): Deleted.
2324 (strmovhi, strmovqi expander): New expanders.
2325 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
2326 * i386.c (x86_single_stringop): New global variable.
2327 * i386.h (x86_single_stringop): Declare.
2328 (TARGET_SINGLE_STRINGOP): New macro.
2329
2330 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
2331
2332 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
2333 integer vararg POSTINCREMENT before the destination of the jump
2334 for the hard fp case.
2335 (function_arg_pass_by_reference): Pass a copy of CUM to
2336 FUNCTION_ARG.
2337
2338 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
2339 for CONSTANT_ADDRESS_P above while loop for subreg.
2340
2341 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
2342
2343 * flow.c (propagate_block): When a prologue/epilogue insn
2344 is marked dead, unconditionally clear libcall_is_dead and
2345 insn_is_dead, and only dump rtl if warnings aren't being
2346 suppressed.
2347
2348 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
2349
2350 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
2351 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
2352 (FIXED_REGISTERS): Set dirflag as fixed.
2353 (CALL_USED_REGISTERS): Set dirflag as used.
2354 (REG_ALLOC_ORDER): Set dirflag as last one.
2355 (DIRFLAG_REG): New macro.
2356 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
2357 (HI_REGISTER_NAMES): Add dirflag.
2358 (DEBUF_PRINT_REG): Handle dirflag.
2359 * i386.md (type attribute): New cld and str types.
2360 (length_opcode attribute): Set cld and str to 1.
2361 (memory attribute): Set str to unknown - it is not clear from the
2362 patterns.
2363 (pent_np function unit): Prefixed string operations takes 12 cycles
2364 minimally; cld takes 2 cycles.
2365 (ppro_uops attribute): Str is "many" and cld is "few".
2366 (ppro_p0 unit): Handle cld here.
2367 (k6_alux unit): Handle cld and str types.
2368 (k6_load unit): It is ocupied by str opcodes.
2369 (k6_store unit): It is ocupied by str opcodes.
2370 (athlon_decode): Str is vector decoded.
2371 (athlon_ieu): Handle str and cld.
2372 (cld pattern): New.
2373 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
2374 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
2375 cmpstrsi_nz_1 insn): Do not output cld instruction
2376
2377 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
2378
2379 * gcc.texi (G++ and GCC): Add Java and Chill.
2380 (Bug Critera): Don't list languages.
2381
2382 * gcc.texi (Incompatibilities): No longer claim most C compilers
2383 are K&R.
2384
2385 * gcc.texi (G++ and GCC): Update other front-ends list.
2386
2387 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
2388
2389 * i386.c (ix86_expand_setcc): Fix typo.
2390 (ix86_expand_movcc): Similarly.
2391
2392 * Band-aid until haifa's bitset implementation is nuked.
2393 * haifa-sched.c (extract_bitlst): New parameter for size of the
2394 bitset in bits. All callers changed. Avoid looking at undefined
2395 bits in the bitset.
2396 (edgeset_bitsize): New variable.
2397 (schedule_region): Initialize edgeset_bitsize.
2398
2399 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2400
2401 * Makefile.in (optabs.o): Depend on real.h
2402 (resource.o): Depend on insn-attr.h
2403
2404 * builtins.c (result_vector): Wrap prototype in macro conditions
2405 governing definition and use.
2406
2407 * c-common.c: Include tm_p.h.
2408
2409 * c-lex.c: Likewise.
2410
2411 * elfos.h: Constify a char*.
2412
2413 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
2414 (get_attr_length, shorten_branches, profile_after_prologue): Mark
2415 parameter with ATTRIBUTE_UNUSED.
2416
2417 * fold-const.c (exact_real_inverse): Wrap variable `i' in
2418 CHECK_FLOAT_VALUE.
2419
2420 * haifa-sched.c (schedule_insns): Mark parameter with
2421 ATTRIBUTE_UNUSED.
2422
2423 * optabs.c: Include real.h.
2424
2425 * real.h (ereal_atof): Add prototype arguments.
2426
2427 * resource.c: Include insn-attr.h.
2428
2429 * sdbout.c (sdbout_queue_anonymous_type,
2430 sdbout_dequeue_anonymous_types): Wrap in macro
2431 SDB_ALLOW_FORWARD_REFERENCES.
2432 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
2433 ATTRIBUTE_UNUSED.
2434
2435 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
2436
2437 * stupid.c: Include tm_p.h.
2438
2439 * tree.c (real_value_from_int_cst): Mark parameter with
2440 ATTRIBUTE_UNUSED.
2441
2442 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2443
2444 * i960-protos.h: New file.
2445
2446 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
2447 time warnings.
2448
2449 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
2450
2451 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2452
2453 * combine.c (expand_field_assignment): Do not discard SUBREGs
2454 while computing nonzero_bits.
2455
2456 2000-01-09 Nick Clifton <nickc@cygnus.com>
2457
2458 * config/arm/arm.c: Fix compile time warnings about signed vs
2459 unsigned constants.
2460 * config/arm/arm.h: Fix compile time warnings about signed vs
2461 unsigned constants.
2462
2463 2000-01-09 Philip Blundell <philb@gnu.org>
2464
2465 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
2466 than `ldm' with only one register.
2467 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
2468 only one register.
2469
2470 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
2471 clobbered.
2472
2473 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
2474
2475 * config/ns32k/ns32k.md (load or push effective address): Operand 1
2476 must have SImode.
2477
2478 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2479
2480 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
2481 assignment used as truth value.
2482
2483 * function.c (assign_temp): Mark parameter `dont_promote' with
2484 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
2485 PROMOTE_FOR_CALL_ONLY.
2486
2487 * genrecog.c (write_subroutine): Mark variable `operands' with
2488 ATTRIBUTE_UNUSED.
2489
2490 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
2491 ATTRIBUTE_UNUSED.
2492
2493 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
2494 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
2495
2496 * toplev.c (note_deferral_of_defined_inline_function): Likewise
2497 for `decl'.
2498
2499 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2500
2501 * config/c4x.h: Tidy up comments.
2502 * config/c4x.c: Likewise.
2503
2504 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
2505
2506 * fold-const.c (lshift_double, rshift_double): Handle
2507 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
2508
2509 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2510
2511 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
2512 in prepare_function_start().
2513
2514 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
2515
2516 * config/v850/v850.c (expand_epilogue): Interrupt functions no
2517 longer allocate extra stack for function calls.
2518
2519 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2520
2521 * config/c4x/c4x.md (*subqf3_set): Fix typo.
2522
2523 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2524
2525 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
2526
2527 2000-01-07 David Edelsohn <edelsohn@gnu.org>
2528
2529 * rs6000.c (processor_target_table): Add power3 as alias for 630.
2530 * aix43.h: Revert Aug 2 change.
2531 (HAS_INIT_SECTION): Define, not visible yet.
2532 (LD_INIT_SWITCH): Define, not visible yet.
2533 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
2534
2535 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
2536
2537 * collect2.c (main): Expand ld2 size further.
2538 (export_object_lst): Cast assignment to avoid warning.
2539 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
2540 (scan_prog_file, COFF): Do not collect initialization or
2541 finalization functions generated for entire shared object if
2542 init/fini support present.
2543
2544 2000-01-07 Nick Clifton <nickc@cygnus.com>
2545
2546 * config/elfos.h: Tidy up formatting of marcos. Make sure
2547 that .section directives are always prefixed by a tab.
2548
2549 * config/svr4.h: Add #include "elfos.h" and remove duplicate
2550 definitions.
2551
2552 2000-01-07 Matt Austern <austern@sgi.com>
2553
2554 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
2555 expon.
2556
2557 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
2558
2559 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
2560 crtstuff.c.
2561 (crtbegin.o, s-crtS): Likewise.
2562
2563 2000-01-06 Richard Henderson <rth@cygnus.com>
2564
2565 * alpha.md (adddi_2+1): Limit offset such that it will be
2566 loadable with a single ldah+lda pair.
2567 (adddi_2+2): Explicitly fail split if we can't make it work.
2568
2569 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
2570
2571 * protoize.c: Conditionally include unistd.h.
2572 (IS_SAME_PATH_CHAR): New macro.
2573 (IS_SAME_PATH): New macro.
2574 (CPLUS_FILE_SUFFIX): New macro.
2575 (cplus_suffix): New static variable.
2576 (is_abspath): New static function.
2577 (in_system_include_dir): Handle DOS style pathnames.
2578 (file_could_be_converted): Likewise.
2579 (file_normally_convertible): Likewise.
2580 (directory_specified_p): Likewise.
2581 (file_excluded_p): Likewise.
2582 (abspath): Likewise.
2583 (shortpath): Likewise.
2584 (referenced_file_is_newer): Likewise.
2585 (save_def_or_dec): Likewise.
2586 (do_processing): Likewise.
2587 (main): Likewise.
2588 (edit_file): Likewise. Use rename instead of link.
2589 (rename_c_file): Likewise. Don't rename syscalls file.
2590 (munge_compile_params): Define null device for DOS based systems.
2591 (process_aux_info_file): Use binary mode if appliable.
2592 (edit_file): Likewise.
2593 * invoke.texi (Running Protoize): Document C++ suffixes used.
2594
2595 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
2596 IS_DIR_SEPARATOR macros.
2597 * collect2.c: Likewise.
2598 * cppinit.c: Likewise.
2599 * dwarf2out.c: Likewise.
2600 * gcc.c: Likewise.
2601 * gcov.c: Likewise.
2602 * prefix.c: Likewise.
2603 * rtl.c: Likewise.
2604 * toplev.c: Likewise.
2605 * system.h: And move to here.
2606
2607 * prefix.c (update_path): Fix typo in variable name.
2608
2609 2000-01-06 Richard Henderson <rth@cygnus.com>
2610
2611 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
2612 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
2613 (count_reg_sets_1, count_reg_references): Likewise.
2614 (flow_loops_level_compute): Start counting actual loop depth at 1.
2615 (flow_loops_find): Likewise.
2616 * local-alloc.c (update_equiv_regs): Likewise.
2617 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
2618
2619 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2620
2621 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
2622 FIRST_PSEUDO_REGISTER
2623 * dwarf2out.c: Don't include frame.h
2624 * dwarfout.c: Likewise
2625 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
2626 frame.h
2627
2628 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
2629
2630 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
2631 dead registers.
2632
2633 * i386.c (movsf splitter): Fix typo in my last checkin.
2634
2635 2000-01-05 Nick Clifton <nickc@cygnus.com>
2636
2637 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
2638 own definition of this macro.
2639 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
2640 flag_data_sections or UNIQUE_SECTION_P are true.
2641
2642 * tm.texi (UNIQUE_SECTION): Document that it can be called for
2643 unitialised data decls.
2644
2645 * config/i386/winnt.c (i386_pe_unique_section): Cope with
2646 being called for uninitialised data.
2647
2648 * config/i386/interix.c (i386_pe_unique_section): Cope with
2649 being called for uninitialised data.
2650
2651 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
2652 for uninitialised data.
2653
2654 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
2655 for uninitialised data.
2656
2657 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
2658 for uninitialised data.
2659
2660 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
2661 (UNIQUE_SECTION_P): Always generate a unique section if
2662 flag_data_sections is true.
2663 (UNIQUE_SECTION): Also generate unique sections for
2664 uninitialised data.
2665 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
2666 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
2667 named_section().
2668
2669 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2670
2671 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
2672 SI, or DI.
2673
2674 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2675
2676 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
2677 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
2678 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
2679 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
2680 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
2681
2682 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
2683
2684 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
2685
2686 * c-decl.c (finish_enum): Simplify code to determine minimum and
2687 maximum values of the enum, and calculate the type. Remove check
2688 for FUNCTION_DECLs in the values list, which cannot happen. Replace
2689 the DECL_INITIAL of each enumeration constant with a copy converted
2690 to the enumeration type. When updating variant types, don't bother
2691 updating the type itself.
2692
2693 * c-typeck.c (build_binary_op): Simplify conditional expressions
2694 when weeding out spurious signed-unsigned warnings. Add new
2695 spurious warning category: if the unsigned quantity is an enum
2696 and its maximum value fits in signed_type(result_type). Update
2697 commentary.
2698 (build_conditional_expr): Warn here if one alternative is signed
2699 and the other is unsigned.
2700
2701 2000-01-05 Nick Clifton <nickc@cygnus.com>
2702
2703 * config/fr30/fr30.h: Remove extraneous comments.
2704
2705 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
2706
2707 * reload1.c (choose_reload_regs): When disabling a reload, also
2708 set reload_spill_index to -1.
2709
2710 2000-01-04 Joel Sherrill (joel@OARcorp.com>
2711
2712 * configure.in (m68*-*-rtemscoff*): New target, formal name for
2713 old m68*-*-rtems*.
2714 (m68*-*-rtemself*): New target.
2715 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
2716 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
2717 (sparc*-*-rtemself*): New target.
2718 (sparc*-*-rtems*): Now elf not a.out.
2719 * config/i386/rtems.h: Include config/rtems.h.
2720 * config/i386/rtemself.h: Include config/rtems.h.
2721 * config/i960/rtems.h: Include config/rtems.h.
2722 * config/m68k/rtems.h: Include config/rtems.h.
2723 * config/m68k/rtemself.h: Include config/rtems.h.
2724 * config/mips/rtems64.h: Include config/rtems.h.
2725 * config/pa/rtems.h: Include config/rtems.h.
2726 * config/rs6000/rtems.h: Include config/rtems.h.
2727 * config/sh/rtems.h: Include config/rtems.h.
2728 * config/sh/rtemself.h: Include config/rtems.h.
2729 * config/sparc/rtems.h: Include config/rtems.h.
2730 * config/sparc/rtemself.h: Include config/rtems.h
2731
2732 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
2733
2734 * final.c (shorten_branches): Correctly compute length of
2735 asms without operands.
2736
2737 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
2738
2739 * configure.in: Add pj target.
2740 * configure: Regenerate.
2741 * config/pj: New directory.
2742 * config/pj/lib1funcs.S: New file.
2743 * config/pj/linux.h: New file.
2744 * config/pj/pj.c: New file.
2745 * config/pj/pj.md: New file.
2746 * config/pj/pjl.h: New file.
2747 * config/pj/t-pj: New file.
2748 * config/pj/xm-pj.h: New file
2749
2750 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
2751
2752 * toplev.c (rest_of_compilation): Run shorten-branches before
2753 reg-stack for now.
2754
2755 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2756
2757 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
2758 macros so that they're consistent with their names.
2759 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
2760 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
2761
2762 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2763
2764 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
2765 modified inadvertently.
2766
2767 2000-01-04 Joel Sherrill <joel@OARcorp.com>
2768
2769 * configure.in (v850*-*-rtems*): New target.
2770 * configure: Regenerate.
2771 * config/v850/rtems.h: New file.
2772
2773 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2774
2775 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
2776 (__gthread_key_create): Likewise.
2777 (__gthread_key_dtor): Likewise.
2778 (__gthread_once): Fix logic.
2779 (__gthread_key_delete): Cast away constness.
2780
2781 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
2782 * invoke.texi: Document.
2783 * i386/mingw32.h (CPP_SPEC): Use.
2784 (LIBGCC_SPEC): Likewise.
2785 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
2786
2787 2000-01-04 David Edelsohn <edelsohn@gnu.org>
2788
2789 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
2790 (HANDLE_PRAGMA_PACK): Undefine.
2791 (SLOW_UNALIGNED_ACCESS): Define.
2792
2793 2000-01-04 David Edelsohn <edelsohn@gnu.org>
2794
2795 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
2796 to default definition.
2797 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
2798 (store_fixed_bit_field): Call macro with word_mode and alignment.
2799 (extract_bit_field): Call macro with relevant mode and alignment.
2800 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
2801 to default definition.
2802 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
2803 and alignment.
2804 (move_by_pieces_ninsns): Likewise.
2805 (clear_by_pieces): Likewise.
2806 (emit_push_insn): Likewise.
2807 (store_field): Call macro with relevant mode and alignment.
2808 (expand_expr): Likewise.
2809 (expand_expr_unaligned): Likewise.
2810
2811 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
2812 (SLOW_UNALIGNED_ACCESS): Define.
2813 (CASE_VECTOR_MODE): Always use 32-bit offsets.
2814 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
2815 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
2816 (toc_section): Likewise and .toc pseudo-op.
2817 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
2818 64-bit mode.
2819 (TEXT_SECTION_ASM_OP): Likewise.
2820 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
2821 32-bit offsets.
2822
2823 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
2824 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
2825 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
2826 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
2827 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
2828
2829 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
2830
2831 * regclass.c: Revert my Jan 4 change to loop cost computation.
2832
2833 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
2834
2835 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
2836 compilation.
2837
2838 2000-01-04 Stan Cox <scox@cygnus.com>
2839
2840 * haifa-sched.c (build_control_flow): Change unreachable simple
2841 loop test to check if current block has only one predecessor.
2842 (find_rgns): Initialize degree. Use dest as degree index, not src.
2843
2844 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2845
2846 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
2847
2848 * calls.c (expand_call): Likewise for
2849 `old_stack_arg_under_construction'.
2850
2851 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
2852
2853 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
2854 `save_constant'.
2855
2856 * gcc.c (execute): Likewise for `ut' and `st'.
2857
2858 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
2859
2860 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
2861
2862 * jump.c (jump_optimize_1): Likewise for `temp2'.
2863
2864 * local-alloc.c (block_alloc): Likewise for `r1'.
2865
2866 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
2867
2868 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
2869 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
2870
2871 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
2872 and `set2'.
2873
2874 * reload.c (find_reloads): Likewise for `goal_alternative_number'
2875 and `goal_earlyclobber'.
2876
2877 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
2878
2879 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
2880
2881 * stupid.c (stupid_life_analysis): Likewise for `chain'.
2882
2883 * unroll.c (copy_loop_body): Likewise for `copy'.
2884
2885 * varasm.c (output_constructor): Likewise for `byte'.
2886
2887 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
2888
2889 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
2890 all FP constants for constant->reg moves.
2891 (ix86_split_to_parts): Try to convert memory address into immediate
2892 when available in the constant pool.
2893 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
2894 moves.
2895 (LEGITIMATE_CONSTANT_P): Return 1.
2896 * i386.md (pushsf): New splitter to convert constant pool memory
2897 reference to immediate.
2898 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
2899 reload.
2900
2901 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
2902
2903 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
2904 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
2905 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
2906 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
2907 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
2908
2909 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
2910
2911 * ginclude/stdbool.h: Support compilation as C++.
2912
2913 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2914
2915 * fold-const.c (make_range): Don't try to reverse an unbounded range.
2916
2917 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
2918
2919 * regclass.c (regclass): Properly compute loop_cost. Adjust
2920 comments.
2921
2922 * regclass.c: Fix minor whitespace problems.
2923
2924 2000-01-03 Anthony Green <green@cygnus.com>
2925
2926 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
2927 Restore the pic register if required.
2928
2929 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
2930
2931 * c-common.c (format_char_info): Update comment.
2932 (check_format_info): Recognize 'z' modifier in the same way 'Z'
2933 was recognized. Emit warning for formats new in ISO C99 only
2934 if flag_isoc9x is not set.
2935
2936 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
2937
2938 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
2939
2940 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
2941
2942 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
2943 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
2944 (make_compound_operation): Choose cheaper alternative between
2945 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
2946
2947 * regclass.c (op_costs): Remove global variable.
2948 (record_reg_classes): New parameter "op_costs" and "reg_pref".
2949 (record_operand_costs): Break out from ...
2950 (scan_one_insn): ... here.
2951 (dump_regclass): Make dumps nicer.
2952 (regclass): Dump preferrences choosed and changes done during passes.
2953
2954 2000-01-03 Jakub Jelinek <jakub@redhat.com>
2955
2956 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
2957
2958 2000-01-03 Jakub Jelinek <jakub@redhat.com>
2959
2960 * config/sparc/sparc.c (gen_df_reg): New function.
2961 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
2962 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
2963 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
2964 movtf_cc_reg_sp64+1): Use it.
2965
2966 2000-01-02 Mark Mitchell <mark@codesourcery.com>
2967
2968 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
2969 copied LABEL_DECLs.
2970
2971 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
2972
2973 * config/i386/i386.c (ix86_expand_unary_operator): Function
2974 definition made void.
2975 (ix86_expand_binary_operator): Update outdated preceding comment.
2976 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
2977 prototype.
2978
2979 * config/i386/i386.c (override_options): Fix option-name typo.
2980
2981 2000-01-02 Mark Mitchell <mark@codesourcery.com>
2982
2983 * system.h (CEIL): Define.
2984 * builtins.c (CEIL): Remove.
2985 * expmed.c (CEIL): Likewise.
2986 * expr.c (CEIL): Likewise.
2987 * stor-layout.c (CEIL): Likewise.
2988
2989 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2990
2991 * expr.c (store_constructor_field): Fix typo introduced with last
2992 gcc2 merge.
2993
2994 2000-01-01 Mark Mitchell <mark@codesourcery.com>
2995
2996 * tree.h (BINFO_N_BASETYPES): New macro.
2997
2998 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
2999
3000 * expmed.c (emit_store_flag): Prevent losing a pending stack
3001 adjust the same way we prevent losing queued increments.
3002
3003 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3004
3005 * function.c (update_temp_slot_address): Handle case where sum of
3006 temporary address plus offset in register is a valid address.
3007
3008 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3009
3010 * genrecog.c (change_state) Corrected typo.
3011
3012 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3013
3014 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
3015 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
3016 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
3017
3018 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
3019
3020 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
3021 case, expand GT comparisons correctly. Fix a comment before this
3022 part of the code.
3023
3024 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3025
3026 * dwarfout.c: Include "frame.h"
3027 * dwarf2out.c: Likewise.
3028 * Makefile.in (dwarfout.o): Depend on frame.h
3029 (dwarf2out.o): Likewise.
3030
3031 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
3032
3033 Restore i386 binary compatibility in Dwarf EH info.
3034 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
3035 value of FIRST_PSEUDO_REGISTER.
3036 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
3037 (struct frame_state): Use DWARF_FRAME_REGISTERS.
3038 * dwarfout.c (output_reg_number): Ditto.
3039 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
3040 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
3041
3042 1999-12-29 Bruce Korb <autogen@linuxbox.com>
3043
3044 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
3045 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
3046 (<hack>_RE_CT): not needed
3047 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
3048 rewritten to scan the file text once only
3049 "template<..." test added
3050 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
3051 (is_cxx_header): declaration added
3052 * fixinc/fixtests.c(is_cxx_header): removed
3053 (apply_fix_p_t): removed
3054 (double_slash_test): is_cxx_header is only called once now
3055 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
3056 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
3057 within the templates.
3058 The borken spelling of "broken" was fixed.
3059 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
3060 The default level depends on FIXINC_DEBUG.
3061
3062 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3063
3064 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
3065 Otherwise provide a declaration for atexit.
3066 (init_dummy): Make sure dummy call to atexit is nevertheless
3067 called with correct number of args.
3068
3069 * frame.c: Update comments referring to other files.
3070
3071 * libgcc2.c: Likewise.
3072
3073 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3074
3075 * cse.c (free_element, get_element): Remove unused prototypes.
3076
3077 * fold-const.c (extract_muldiv): Initialize variables `op0' and
3078 `op1'.
3079
3080 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
3081 `else' clauses.
3082
3083 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
3084
3085 * configure.in,configure: case arm for mn10200-*-* now sets
3086 float_format=i32 so that float.h will correctly claim "double"
3087 to be 32 bits. Ran autoconf to generate configure from .in file.
3088
3089 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
3090
3091 * pa.md (conditional zero): If op1 is a register, force it into
3092 the same register as op0.
3093
3094 1999-12-28 Mark Mitchell <mark@codesourcery.com>
3095
3096 * tree.h (BINFO_BASETYPES): Improve documentation.
3097
3098 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3099
3100 * configure.in (--enable-checking): Use a more portable `for'
3101 loop syntax.
3102
3103 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3104
3105 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
3106 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
3107
3108 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
3109 Delete files.
3110
3111 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
3112 Delete descriptions.
3113
3114 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
3115 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
3116 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
3117 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
3118 xm-svr4.h: Remove all instances of sys_siglist handling.
3119
3120 1999-12-27 Jakub Jelinek <jakub@redhat.com>
3121
3122 * config/sparc/sparc.md (cmp_zero_qi,
3123 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
3124 cmp_zero_extendqidi2_andcc_set): New patterns.
3125
3126 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
3127
3128 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
3129 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
3130 (fpgnulib.c, xfgnulib.c): Add rules.
3131 * m68k/t-mot3300-gas: Likewise.
3132
3133 1999-12-27 Ian Lance Taylor <ian@zembu.com>
3134
3135 * configure.in: Avoid [[ by using test and changequote. Add
3136 changequote required by 1999-12-14 change.
3137 * configure: Rebuild.
3138
3139 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
3140
3141 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
3142
3143 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
3144
3145 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
3146 * flow.c (find_use_as_address): Likewise.
3147 * function.c (fixup_var_refs_1): Likewise.
3148 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
3149 * jump.c (invert_exp, redirect_exp): Likewise.
3150 * loop.c (replace_call_address): Likewise.
3151 (count_nonfixed_reads): Likewise.
3152 * rtlanal.c (modified_between_p): Likewise.
3153 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
3154 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
3155 * unroll.c (remap_split_bivs): Likewise.
3156
3157 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3158
3159 * diagnostic.c (v_message_with_decl): Use .* format specifier
3160 instead of building the format specifier width manually.
3161
3162 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
3163 determining whether to provide a prototype. Remove the
3164 sys_siglist clause in the conditional.
3165
3166 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3167
3168 * fold-const.c (operand_equal_p): Use memcmp to compare string
3169 constants.
3170 Suggested by D. J. Bernstein
3171
3172 1999-12-17 Jakub Jelinek <jakub@redhat.com>
3173
3174 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
3175 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
3176 compiling libgcc2.
3177 * config/mips/mips.h (TARGET_64BIT): Likewise.
3178 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
3179 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
3180 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
3181 dsps. Give routines proper names if SI/DI modes are not used.
3182 * longlong.h: Use DWunion instead of DIunion.
3183
3184 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
3185
3186 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
3187 GC_CHECKING, GC_ALWAYS_COLLECT.
3188 * configure.in: Allow --enable-checking with an argument
3189 listing check modes to enable.
3190 * config.in, configure: Rebuilt.
3191 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
3192 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
3193 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
3194 ENABLE_GC_ALWAYS_COLLECT.
3195 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
3196 throughout.
3197 * tree.h, tree.c: Change ENABLE_CHECKING to
3198 ENABLE_TREE_CHECKING throughout.
3199
3200 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3201
3202 * fold-const.c (fold_truthop): Properly check for FP RHS.
3203
3204 1999-12-24 Mark Mitchell <mark@codesourcery.com>
3205
3206 * toplev.h (note_deferall_of_defined_inline_function): Declare.
3207 * toplev.c (note_deferral_of_defined_inline_function): New
3208 function, split out from ...
3209 (rest_of_compilation): ... here. Use it.
3210
3211 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3212
3213 * expr.c (store_constructor): Don't call clear_storage if size is
3214 variable.
3215
3216 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3217
3218 * Makefile.in (toplev.o): Depend on loop.h.
3219
3220 * dwarfout.c: Include tm_p.h.
3221
3222 * emit-rtl.c (restore_emit_status): Mark parameter with
3223 ATTRIBUTE_UNUSED.
3224
3225 * final.c (final_scan_insn): Likewise.
3226
3227 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
3228 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
3229 flow_depth_first_order_compute, flow_loop_pre_header_find,
3230 flow_loop_tree_node_add, flow_loops_tree_build,
3231 flow_loop_level_compute, flow_loops_level_compute,
3232 flow_loop_outside_edge_p): Add prototypes.
3233 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
3234
3235 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
3236 Mark with ATTRIBUTE_NORETURN.
3237
3238 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
3239
3240 * local-alloc.c (no_conflict_p): Likewise.
3241
3242 * loop.c (insert_bct): Hide definitions of variables with hidden
3243 usage.
3244 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
3245
3246 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
3247 with ATTRIBUTE_UNUSED.
3248 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
3249 (reg_scan): Likewise.
3250
3251 * reload.c (find_reloads): Remove unused variables `changed'.
3252
3253 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
3254 away const-ness.
3255 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
3256 Remove unused variable `insn'.
3257
3258 * toplev.c: Include loop.h.
3259 (report_file_and_line): Remove unnecessary prototype.
3260
3261 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
3262
3263 * unroll.c (biv_total_increment): Likewise.
3264
3265 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3266
3267 * reload1.c (emit_input_reload_insns): Restore old behaviour
3268 wrt. 'special' reloads.
3269
3270 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
3271
3272 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
3273 hash.h. (cse.c): Don't depend on hashtab.h.
3274
3275 * cse.c: Don't include hashtab.h.
3276 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
3277 of dead functions.
3278 * ggc-simple.c: Don't include hash.h.
3279
3280 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
3281
3282 * dwarf2out.c (add_abstract_origin_attribute): Call
3283 gen_abstract_function on our function context.
3284
3285 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
3286
3287 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
3288
3289 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3290
3291 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
3292 case in switch.
3293
3294 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3295
3296 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
3297 constraints to "a!r".
3298
3299 1999-12-21 Mark Mitchell <mark@codesourcery.com>
3300
3301 * Makefile.in (calls.o): Depend on function.h.
3302 (alias.o): Likewise.
3303
3304 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
3305
3306 * reload1.c (emit_reload_insns): Break out code and variables into...
3307 (input_reload_insns, other_input_address_reload_insns,
3308 other_input_reload_insns, input_address_reload_insns,
3309 inpaddr_address_reload_insns, output_reload_insns,
3310 output_address_reload_insns, outaddr_address_reload_insns,
3311 operand_reload_insns, other_operand_reload_insns,
3312 other_output_reload_insns): ... new static variables, and...
3313 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
3314 do_output_reload): ... new functions.
3315
3316 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3317
3318 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
3319
3320 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3321
3322 * md.texi: Add c4x constraints documentation.
3323
3324 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3325
3326 * config/i386/dgux.c (struct option): Rename to
3327 lang_independent_option.
3328 (struct m_options): Add description field.
3329 (output_options): Rename option type, add sep declaration, output
3330 ix86_cpu_string and ix86_arch_string only if set.
3331 (output_file_start): Rename option type.
3332
3333 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
3334
3335 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
3336 stmp-int-hdrs.
3337 (libgcc2.a): Similarly.
3338
3339 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
3340
3341 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
3342 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
3343 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
3344
3345 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
3346
3347 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
3348 Remove redundant initialization of "frexpon" and "expon".
3349
3350 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3351
3352 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
3353
3354 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
3355 (store_constructor_field, expand_expr): Pass new arg.
3356
3357 1999-12-20 Mark Mitchell <mark@codesourcery.com>
3358
3359 * Makefile.in (explow.o): Depend on function.h.
3360
3361 * stor-layout.c (set_sizetype): Fix typo.
3362
3363 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
3364
3365 * function.c (cfun): Renamed from current_function. All users
3366 changed.
3367 * function.h (cfun): Rename declaration as well.
3368
3369 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
3370 to be of type regset_head, not regset. All users changed by adding
3371 address operator.
3372 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
3373
3374 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3375
3376 * config/c4x/rtems.h: New file.
3377
3378 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
3379
3380 * reload1.c (spill_failure): Take class of failed reload as argument
3381 and print it. Caller changed.
3382
3383 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3384
3385 * rs6000.h (SUBTARGET_DEFAULT): New macro.
3386 (TARGET_SWITCHES): Allow subtargets to default switches.
3387 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
3388
3389 1999-12-18 Mark Mitchell <mark@codesourcery.com>
3390
3391 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
3392 in a main program.
3393
3394 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
3395
3396 * cccp.c (main): Define __STDC_VERSION__ as necessary.
3397 * cppinit.c (cpp_handle_option): Likewise.
3398
3399 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
3400 determine when to define.
3401
3402 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
3403
3404 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
3405 cmove with mismatched test and data modes.
3406
3407 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
3408
3409 * c-typeck.c (c_expand_start_case): Don't warn for long switch
3410 in system headers.
3411
3412 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3413
3414 * alias.c: Minor reformatting.
3415 * flow.c: Likewise.
3416 * regs.h: Likewise.
3417 * stor-layout.c: Likewise.
3418 * fold-const.c: Likewise.
3419 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
3420 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
3421 not arg itself.
3422 (size_int_wide): Cache nodes even if garbage collecting.
3423 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
3424 of SAVE_EXPR has no side effects.
3425 * cse.c: Move a comment.
3426 * tree.c: Minor reformatting.
3427 (int_size_in_bytes): Return -1 if constant overflows.
3428
3429 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3430
3431 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
3432
3433 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
3434
3435 * objc/objc-parse.c: Regenerate. This file must be rebuilt
3436 after any change to c-parse.in, even if objc-parse.y didn't
3437 change. Oops.
3438
3439 1999-12-18 David S. Miller <davem@redhat.com>
3440
3441 * toplev.c (rest_of_compilation): Restore BLOCK tree
3442 reconstruction and branch shortening changes lost in
3443 December 18th change.
3444
3445 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
3446
3447 * config/arm/linux-elf.h: Change all instances of
3448 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
3449 * config/arm/uclinux-elf.h: Likewise.
3450
3451 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
3452
3453 * toplev.c (notice, vmessage, v_message_with_file_and_line,
3454 v_message_with_decl, file_and_line_for_asm,
3455 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
3456 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
3457 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
3458 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
3459 pfatal_with_name, fatal_io_error, need_error_newline,
3460 last_error_function, last_error_tick, announce_function,
3461 default_print_error_function, print_error_function,
3462 report_error_function, fnotice, error_with_file_and_line,
3463 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
3464 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
3465 warning_with_decl, warning_for_asm, warning, pedwarn,
3466 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
3467 diagnostic.c
3468 (compile_file): Use fnotice instead of notice. Adjust call.
3469
3470 * diagnostic.c: New file.
3471
3472 * Makefile.in (OBJS): Include diagnostic.o
3473 (diagnostic.o): Define dependence.
3474
3475 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3476
3477 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
3478 Tweak formatting.
3479
3480 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3481
3482 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
3483
3484 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
3485
3486 * fixtests.c (is_cxx_header): New fn, split out of
3487 double_slash_test.
3488 (else_endif_label): Allow "#endif // comment" in C++ headers,
3489 as determined by is_cxx_header.
3490 * fixfixes.c (else_endif_label_fix): Update comment.
3491 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
3492 a tty.
3493 * genfixes: Correct double thinko in commandline parsing.
3494 * hackshell.tpl: Generate correct sh syntax for bypass
3495 entries.
3496
3497 * inclhack.def (all): Whenever an inserted preprocessor
3498 conditional is split over multiple lines, use double
3499 backslashes in this file so the fixed header will be readable.
3500
3501 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
3502 and add bypass entry for correct version of this header.
3503 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
3504 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
3505
3506 (hpux8_bogus_inlines): New fix, split from...
3507 (ultrix_atof_param) ... here.
3508 (math_expression): Add bypass entry keyed to glibc comment
3509 indicating the problem has been dealt with; disable
3510 unnecessary sed operations; update commentary.
3511 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
3512 add select and bypass entries, simplify shell operation.
3513 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
3514
3515 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
3516 ultrix_atof_param): Add select entry.
3517 (stdio_va_list, sunos_mather_decl): Add bypass entry.
3518 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
3519 comments with the fixes they describe.
3520
3521 * c-parse.in (string action): Do not warn about ANSI string
3522 concatenation in system headers. Affects C parser only.
3523 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
3524
3525 1999-12-16 Jakub Jelinek <jakub@redhat.com>
3526
3527 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
3528 compiling libgcc2 the macro depends always on arch cpp defines.
3529
3530 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
3531
3532 * loop.c (insert_loop_mem): Don't record MEMs from inside
3533 EXPR_LISTs.
3534
3535 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
3536
3537 * regclass.c (regclass): Do not use flowgraph when not optimizing.
3538
3539 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
3540 notes too, create one when replacement failed, attempt to simplify
3541 resulting notes.
3542 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
3543 or REG_EQUIV notes.
3544
3545 1999-12-16 Mark Mitchell <mark@codesourcery.com>
3546
3547 * crtstuff.c (__dso_handle): Declare.
3548 (__cxa_finalize): Likewise.
3549 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
3550 non-NULL.
3551
3552 * invoke.texi: Document -fuse-cxa-atexit.
3553
3554 * tree.h (ptr_type_node): Document.
3555 (const_ptr_type_node): Likewise.
3556
3557 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3558
3559 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
3560 (optimize_reg_copy_2): Likewise.
3561 (optimize_reg_copy_3): Likewise.
3562 (fixup_match_2): Likewise.
3563 (regmove_optimize): Likewise.
3564 (fixup_match_1): Liekwise.
3565
3566 * i386.md (HI to SImode promoting splitters): Rewrite.
3567 (pushsf mem peep2): New.
3568 (testhi to andhi peep2): Remove.
3569 * i386.h (x86_promote_QImode): New.
3570 (TARGET_PROMOTE_QImode): New.
3571 (PREDICATE_CODES): Add promotable_binary_operator.
3572 * i386.c (x86_promote_QImode0: New.
3573 (promotable_binary_operator): New.
3574 * i386-protos.h (promotable_binary_operator): New.
3575
3576 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
3577 condition.
3578 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
3579
3580 1999-12-16 Mark Mitchell <mark@codesourcery.com>
3581
3582 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
3583 * function.c (insert_block_after_note): Remove.
3584 (retrofit_block): Likewise.
3585 (identify_blocks): Fix indentation.
3586 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
3587 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
3588 * function.h (insert_block_after_note): Remove prototype.
3589 (retrofit_block): Likewise.
3590 * integrate.c (expand_inline_function): Don't call
3591 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
3592 just expand_start_bindings. Use the block_map to remap old
3593 NOTE_BLOCKs to new ones.
3594 (integrate_decl_tree): Keep track of remapped blocks.
3595 * integrate.h (struct inline_remap): Add block_map.
3596 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
3597 NOTE_BLOCK on the notes.
3598 (expand_start_bindings): Rename to ...
3599 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
3600 (expand_end_bindings): Set NOTE_BLOCK.
3601 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
3602 reconstruct the BLOCK tree.
3603 * tree.h (expand_start_bindings): Macroize. Call ...
3604 (expand_start_bindings_and_block): New function.
3605
3606 1999-12-16 Jakub Jelinek <jakub@redhat.com>
3607
3608 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
3609 to match the format.
3610
3611 1999-12-16 David S. Miller <davem@redhat.com>
3612
3613 * expr.c (emit_move_insn_1): Only emit clobbers if one of
3614 the outputs is a SUBREG.
3615 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
3616 change.
3617
3618 * config/sparc/sparc.c (epilogue_renumber): Add default case
3619 to switch stmt.
3620
3621 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3622
3623 * toplev.c (rest_of_compilation): Run branch shortening after
3624 reg-stack.
3625
3626 * regclass.c (loop_depth): Remove
3627 (scan_one_insn): Do not handle LOOP_NOTE insns.
3628 (regclass): Go through basic blocks and set loop_cost
3629
3630 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
3631
3632 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
3633
3634 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3635
3636 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
3637 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
3638 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
3639
3640 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
3641
3642 * loop.c (insert_loop_mem): Ignore memory clobbers.
3643
3644 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
3645 to (OP A B).
3646
3647 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
3648
3649 * profile.c: Remove redundant #include "output.h".
3650
3651 * h8300.md (HImode preinc peephole): Fix typo.
3652
3653 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
3654
3655 * function.c (retrofit_block): Abort if we don't find a suitable insn.
3656 (insert_block_after_note): Abort if we don't have a previous block.
3657 Remove FN parameter.
3658 * function.h: Adjust.
3659
3660 1999-12-15 Mark Mitchell <mark@codesourcery.com>
3661
3662 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
3663 argument more than once.
3664
3665 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
3666
3667 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
3668
3669 1999-12-15 Jakub Jelinek <jakub@redhat.com>
3670
3671 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
3672
3673 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3674
3675 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
3676 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
3677 update stack_alignment_needed.
3678 (prepare_function_start): Initialize stack_alignment_needed
3679 * function.h (struct function): Add field stack_alignment_needed.
3680
3681 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3682
3683 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
3684 Handle live_throughout / dead_or_set instead of live_before /
3685 live_after.
3686 (save_call_clobbered_regs): Get register livenessinformation from
3687 chain->live_throughout.
3688 (add_stored_regs): New function.
3689 (insert_restore, insert_save): Add restored / saved registers to
3690 dead_or_set.
3691 * global.c (reg_dies): New parameter chain.
3692 (reg_becomes_live): Third parameter is regs_set now.
3693 Changed all callers.
3694 (reg_dies): New parameter chain. Changed all callers.
3695 (build_insn_chain): Set live_throughout instead of
3696 live_before / live_after.
3697 * reload.h (struct insn_chain): Replace members live_before /
3698 live_after with live_throughout / dead_or_set.
3699 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
3700 instead of live_before / live_after.
3701 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
3702 (order_regs_for_reload, find_reg, finish_spills): Likewise.
3703 (choose_reload_regs_init): Likewise.
3704 * stupid.c (current_chain, find_clobbered_regs): Delete.
3705 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
3706 instead of chain->live_before / chain->live_after.
3707 (mark_hard_ref): New function.
3708 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
3709
3710 1999-12-15 David S. Miller <davem@redhat.com>
3711
3712 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
3713
3714 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3715
3716 * flow.c (calculate_loop_depth): Make global, remove prototype,
3717 rewrite to use new loop infrastructure.
3718 (find_basic_block): Remove calculate_loop_depth call.
3719 * toplev.c (rest_of_compilation): Call find_basic_block.
3720 * output.h (calculate_loop_depth): Declare.
3721
3722 * flow.c (dump_flow_info): Dump loop_depth.
3723 (flow_loops_nodes_find): Increase loop_depth for basic block in the
3724 body.
3725 (flow_loops_find): Initialize the loop_depth for each basic block.
3726
3727 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
3728
3729 * tree.c (decl_function_context): Handle virtual functions.
3730
3731 * tlink.c (scan_linker_output): Don't look in demangled name when
3732 looking for linker output keywords.
3733
3734 * dwarfout.c (output_type): We can defer namespace-scope classes.
3735
3736 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
3737
3738 * regclass.c (record_reg_classes): Update comment for merging
3739 register class preferences in reg->reg copies. Tighten conditions
3740 for merging register class preferences in reg->reg copies.
3741
3742 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
3743
3744 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
3745
3746 1999-12-14 Geoff Keating <geoffk@cygnus.com>
3747
3748 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
3749 (INIT_SECTION_ASM_OP): Delete.
3750 (FINI_SECTION_ASM_OP): Delete.
3751 (STARTFILE_SPEC): Define to hold just crtbegin.o.
3752
3753 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
3754
3755 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
3756 the abstract origin wasn't emitted.
3757
3758 * dwarf2out.c (class_scope_p): New fn.
3759 (gen_subprogram_die): Use it.
3760 (gen_variable_die): Use it. Tweak logic.
3761 (gen_struct_or_union_type_die): Check context_die to determine
3762 if we're function-local.
3763 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
3764
3765 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
3766
3767 * loop.c (check_dbra_loop): Can't reverse a biv that has
3768 maybe_multiple set.
3769
3770 1999-12-14 Nick Clifton <nickc@cygnus.com>
3771
3772 * config/arm/arm.c: Add support for -mcpu=arm720 command line
3773 switch.
3774
3775 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3776
3777 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
3778 for givs made from biv increments.
3779
3780 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
3781
3782 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
3783 * alpha.c (override_options): Recognize -mcpu=ev67.
3784 * alpha.h (CPP_CPU_EV67_SPEC): New.
3785 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
3786 (EXTRA_SPECS): Update.
3787
3788 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
3789
3790 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
3791 appropriate for -lang-c89 and -std=*.
3792 * cppinit.c (cpp_handle_option): Likewise.
3793 (new_pending_define): New, split out from cpp_handle_option.
3794 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
3795 or enable trigraphs for -ansi/-std=*.
3796
3797 * ginclude/stdarg.h (__va_copy): New.
3798 (va_copy): Don't define for C89.
3799
3800 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
3801
3802 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
3803 for long long multiply-accumulate.
3804
3805 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3806
3807 * regclass.c (scan_one_insn): Set loop_cost to 1 when
3808 optimizing for size.
3809
3810 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
3811
3812 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
3813 if something changed. Back out that part of yesterday's changes.
3814
3815 * loop.c (loop_max_reg): New static variable.
3816 (loop_optimize): Initialize it. Eliminate one unnecessary call to
3817 max_reg_num.
3818 (scan_loop): Call reg_scan_update whenever we may have added new
3819 registers, and update loop_max_reg.
3820
3821 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3822
3823 * regclass.c (record_reg_classes): Do not do the copying preferrencing
3824 when source does not die.
3825
3826 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
3827
3828 1999-12-14 Jakub Jelinek <jakub@redhat.com>
3829
3830 * config/sparc/linux64.h (TARGET_LIVE_G0,
3831 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
3832 variants on Linux.
3833 * config/sparc/linux.h (TARGET_LIVE_G0,
3834 TARGET_BROKEN_SAVERESTORE): Likewise.
3835 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
3836 TARGET_BROKEN_SAVERESTORE): Likewise.
3837
3838 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
3839 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
3840 not %g2.
3841 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
3842 as sparc64 block profiling register.
3843 * config/sparc/sparc.c (sparc_override_options): Allow block
3844 profiling with -m32.
3845 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
3846 profiling register.
3847 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
3848 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
3849 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
3850
3851 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
3852 for sparc64.
3853 * config/sparc/sparc.h: Likewise.
3854 * config/sparc/xm-sysv4-64.h: Likewise.
3855 * config/float-sparc.h: Likewise.
3856 * glimits.h: Likewise.
3857 * longlong.h: Likewise.
3858
3859 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
3860 (ASM_IDENTIFY_GCC): Remove.
3861
3862 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
3863
3864 * combine.c (combine_simplify_rtx): Don't make shared rtl.
3865 (simplify_logical): Likewise.
3866
3867 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
3868
3869 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
3870 * cppfiles.c (INO_T_EQ): Likewise.
3871
3872 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
3873
3874 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
3875 * i386/mingw32.h (LIB_SPEC): Likewise.
3876 (STARTFILE_SPEC): Likewise.
3877 * i386/uwin.h (LIB_SPEC): Likewise.
3878 (STARTFILE_SPEC): Likewise.
3879
3880 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
3881 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
3882
3883 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
3884
3885 * combine.c (combine_simplify_rtx): Fix order of checks for
3886 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
3887
3888 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
3889
3890 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
3891 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
3892
3893 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
3894
3895 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
3896 defined.
3897 * regclass.c (inv_reg_alloc_order): New array.
3898 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
3899
3900 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
3901 counted_for_groups, counted_for_nongroups. Add fields rld and
3902 n_reloads.
3903 * reload.c (push_secondary_reload): Don't set nongroup field of
3904 new reloads.
3905 (push_reload): Likewise.
3906 (find_reloads): Delete code to compute nongroup fields.
3907 * reload1.c (reload_insn_firstobj): New static variable.
3908 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
3909 users changed.
3910 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
3911 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
3912 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
3913 functions.
3914 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
3915 functions.
3916 (struct hard_reg_n_uses): Deleted.
3917 (potential_reload_regs): Deleted.
3918 (init_reload): Initialize spilled_pseudos and pseudos_counted.
3919 (reload): Don't try to allocate reload registers if we already know
3920 we have to make another pass. Call select_reload_regs. Free memory
3921 starting with reload_firstobj when starting another pass.
3922 Don't allocate spilled_pseudos.
3923 (calculate_needs_all_insns): Call copy_reloads for an insn that
3924 needs reloads; don't call calculate_needs.
3925 (spill_cost): New static array.
3926 (used_spill_regs_local): New static variable.
3927 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
3928 to compute potential_reload_regs.
3929 (find_reload_regs): Completely rewritten to use find_reg.
3930 (allocate_reload_reg): Don't test counted_for_groups or
3931 counted_for_nongroups. Lose NOERROR arg and code to give an error;
3932 all cllers changed.
3933 (choose_reload_regs): Add fallback code that uses the existing
3934 register allocation from find_reload_regs.
3935
3936 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
3937
3938 * flow.c (create_edge_list): Cast xmalloc return value.
3939
3940 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
3941
3942 * doprnt.c: Remove incorrect comment closure.
3943
3944 * cse.c: Fix a few minor whitespace goofs.
3945
3946 1999-12-13 Don Bowman <don@pixstream.com>
3947
3948 * mips/vxworks.h: Fix problem with comment termination.
3949 (EXTRA_SECTIONS): Add in_sbss.
3950 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
3951
3952 1999-12-12 David S. Miller <davem@redhat.com>
3953
3954 * cse.c (struct cse_reg_info): Add hash_next member,
3955 reorder rest of struct for better packing on 64-bit
3956 hosts.
3957 (cse_reg_info_tree): Kill.
3958 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
3959 REGHASH_FN): New custom pow2 hash mechanism.
3960 (NBUCKETS): Kill.
3961 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
3962 use a pow2 hash table.
3963 (get_cse_reg_info): Rework to use new REGHASH.
3964 (new_basic_block): Likewise, use HASH_SIZE, and inline
3965 free_element call.
3966 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
3967 and inline free_element call.
3968 (lookup_as_function, insert, flush_hash_table, invalidate,
3969 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
3970 invalidate_for_call, use_related_value, find_comparison_args,
3971 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
3972 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
3973 get_element): Kill.
3974
3975 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
3976
3977 * cse.c (cse_basic_block): Free qty_table consistently.
3978
3979 1999-12-12 David S. Miller <davem@redhat.com>
3980 Jakub Jelinek <jakub@redhat.com>
3981
3982 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
3983 SUBREGs by hand, gen the appropriate hard reg directly.
3984 (movtf reg/mem split): Likewise and alter_subreg on destination
3985 if necessary.
3986 (movtf mem/reg split): Similarly.
3987 (movdf_cc_sp64): Rename from hidden pattern.
3988 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
3989 (movtf_cc_sp64, following split): New pattern and splitter.
3990 (movdf_cc_reg_sp64): Rename from hidden pattern.
3991 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
3992 TARGET_HARD_QUAD.
3993 (movtf_cc_reg_sp64, following split): New pattern and splitter.
3994
3995 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
3996
3997 * loop.c (load_mems): Don't hoist written floating point mem
3998 if -ffloat-store.
3999
4000 1999-12-12 Mark Mitchell <mark@codesourcery.com>
4001
4002 * except.h (struct eh_queue): Add `next' pointer.
4003 (struct eh_status): Make x_ehqueue a pointer.
4004 (push_ehqueue): Declare.
4005 (pop_ehqueue): Likewise.
4006 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
4007 pointer.
4008 (expand_fixup_region_end): Likewise.
4009 (expand_leftover_cleanups): Likewise.
4010 (push_ehqueue): Define.
4011 (pop_ehqueue): Likewise.
4012 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
4013 than doing it inline.
4014 (expand_start_all_catch): Adjust now that ehqueue is a
4015 pointer.
4016 (mark_eh_queue): Mark all level of the queue.
4017 (mark_eh_status): Adjust now that ehqueue is a
4018 pointer.
4019 (init_eh_for_function): Allocate ehqueue.
4020 (free_eh_status): Free it.
4021 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
4022 expansion for a fixup.
4023
4024 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4025
4026 * gthr-single.h (__gthread_active_p): Add prototype arguments.
4027
4028 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
4029 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
4030 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
4031 function_ptr, getpagesize, __enable_execute_stack,
4032 __enable_execute_stack, __clear_insn_cache,
4033 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
4034 _cleanup, _exit, __default_terminate, __terminate_func,
4035 __terminate, __empty, __throw, new_eh_context,
4036 eh_context_initialize, eh_context_static, eh_context_specific,
4037 get_eh_context, __get_eh_context, __get_eh_info,
4038 init_reg_size_table, eh_threads_initialize,
4039 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
4040 __unwinding_cleanup, throw_helper, __throw, __rethrow,
4041 __pure_virtual): Add prototype arguments.
4042 (__bb_exit_func): Cast a sizeof to long when comparing against one.
4043 Cast a signed value to unsigned long when comparing against one.
4044 (new_eh_context): Wrap in _GTHREADS macro.
4045 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
4046 declaration.
4047 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
4048 (throw_helper): Initialize variables `handler_p' and `pc_p'.
4049
4050 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4051
4052 * combine.c (record_promoted_value): Remove unused variable
4053 `links2'.
4054
4055 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
4056
4057 * global.c (record_conflicts): Likewise for `j'.
4058
4059 * genoutput.c (output_insn_data): Don't unnecessarily cast away
4060 const-ness.
4061
4062 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4063
4064 * i386-protos.h (output_387_binary_op, output_fix_trunc,
4065 output_fp_compare): Constify a char*.
4066
4067 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
4068 static prototypes.
4069 (override_options, ix86_comp_type_attributes, print_operand,
4070 output_387_binary_op, output_fix_trunc, output_fp_compare):
4071 Constify a char*.
4072 (ix86_sched_reorder): Mark parameter `clock_var' with
4073 ATTRIBUTE_UNUSED.
4074
4075 * i386.h (DEBUG_PRINT_REG): Constify a char*.
4076
4077 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
4078
4079 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
4080 operand, for use in the Java front-end.
4081
4082 1999-12-10 Ben Collins <bcollins@debian.org>
4083
4084 * configure.in: Fix typo for "-64" in 64bit as check.
4085 * configure: Rebuilt.
4086
4087 1999-12-10 Jakub Jelinek <jakub@redhat.com>
4088
4089 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
4090 appropriate.
4091
4092 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4093
4094 * c-parse.in (string): With -Wtraditional, warn if ANSI string
4095 concatenation is utilized.
4096
4097 * invoke.texi (-Wtraditional): Document it.
4098
4099 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4100
4101 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
4102 Cast a ptrdiff_t to long and pass it to printf with %ld.
4103
4104 1999-12-10 Geoff Keating <geoffk@cygnus.com>
4105
4106 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
4107 68881, we have no 68881 registers at all.
4108 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
4109 value in a 68881 register if it is available.
4110
4111 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
4112
4113 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
4114 for long long multiply-accumulate.
4115
4116 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
4117
4118 * loop.c (insert_loop_mem): Undo last change.
4119
4120 1999-12-10 David S. Miller <davem@redhat.com>
4121
4122 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
4123 New functions.
4124 * config/sparc/sparc-protos.h: Add them.
4125 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
4126 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
4127 constraints which use those helpers.
4128 (EXTRA_CONSTRAINT): Use this new macro.
4129 * md.texi: Update sparc target constraints documentation.
4130 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
4131 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
4132 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
4133 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
4134 (movsf high/lo_sum split): Rework for new patterns.
4135 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
4136
4137 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
4138
4139 * c-common.c (c_common_nodes_and_builtins):
4140 Create __builtin_ptrdiff_t and __builtin_size_t.
4141
4142 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
4143
4144 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
4145
4146 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4147
4148 * regclass.c (globalize_reg): Re-instate test that allows
4149 fixed registers to be declared as a variable even after functions
4150 are defined.
4151
4152 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4153
4154 * i386.md (cpu attribute): Add "athlon".
4155 (athlon_decode): New attribute.
4156 (Athlon scheduling units definitions): New.
4157 (fcmp and shld patterns): Set athlon_decode to "vector".
4158 * i386.c (athlon_cost): New.
4159 (m_ATHLON): New.
4160 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
4161 x86_use_sahf): Set for Athlon.
4162 (x86_use_fiop): Unset for Athlon.
4163 (override_options): Define Athlon alignments and "athlon" name.
4164 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
4165 * i386.h (TARGET_ATHLON): New.
4166 (enum processor_type): Add PROCESSOR_ATHLON.
4167 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
4168 for CPU_DEFAULT==5
4169 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
4170
4171 1999-12-09 Andreas Jaeger <aj@suse.de>
4172
4173 * loop.c (record_biv): Declare parameter as int.
4174
4175 * config/i386/i386-protos.h: Declare long_memory_operand.
4176
4177 1999-12-09 Mark Mitchell <mark@codesourcery.com>
4178
4179 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
4180 EXPR_WITH_FILE_LOCATION.
4181
4182 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4183
4184 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
4185 in expander.
4186
4187 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
4188
4189 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
4190 updating code.
4191
4192 1999-12-09 Jakub Jelinek <jakub@redhat.com>
4193
4194 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
4195 default on linux64 again.
4196 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
4197 models for multilibing.
4198 * genmultilib: Accept | as alternative separator within a set in
4199 MULTILIB_OPTIONS.
4200
4201 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
4202
4203 * calls.c (precompute_arguments): Make sure initial_value contains
4204 value pseudo which CSE expects.
4205 * cse.c (struct set): New entry orig_src.
4206 (cse_insn): Set it early on entry, use it for libcall EQUIV note
4207 replacement.
4208
4209 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
4210
4211 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
4212
4213 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
4214
4215 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
4216
4217 1999-12-08 Jakub Jelinek <jakub@redhat.com>
4218
4219 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
4220 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
4221
4222 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
4223 if TARGET_ARCH32.
4224
4225 * longlong.h: Merge in changes from glibc.
4226 Also don't clobber %g2 register in 32bit SPARC assembly, so that
4227 -mno-app-regs libgcc can be compiled.
4228 * libgcc2.c: Add defines so that the updated longlong.h
4229 can be used in libgcc2.a. Also, make sure on most architectures
4230 (at least on all which have optimized code in longlong.h defined
4231 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
4232
4233 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4234
4235 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
4236 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
4237 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
4238 is GNU ld.
4239 * configure: Rebuilt.
4240
4241 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
4242
4243 * alpha.c (secondary_reload_class): For !BWX, sub-simode
4244 outputs require a register.
4245
4246 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
4247
4248 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
4249 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
4250 functions like dptoul will be resolved.
4251 (libgcc2.a): Make sure that the object files from DPBIT are named
4252 differently (prefix `_dp') from those that would be coming from
4253 FPBIT.
4254
4255 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
4256
4257 * configure.in: When target is sparc* and tm_file contains 64,
4258 test for 64bit support in assembler. If not supported, remove
4259 sparc/t-sol2-64 from target-dependent Makefile fragments.
4260 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
4261 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
4262 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
4263 * acconfig.h (AS_SPARC64_FLAG): Added.
4264 * configure, config.in: Rebuilt.
4265 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
4266 support. Use AS_SPARC64_FLAG.
4267
4268 1999-12-07 Jakub Jelinek <jakub@redhat.com>
4269
4270 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
4271 suitable for holding OFmode values so that gcc works with complex
4272 quad long doubles.
4273 (hard_64bit_mode_classes): Likewise.
4274
4275 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
4276 so that it is actually matched.
4277 (sethi_di_medlow): Likewise.
4278
4279 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
4280 as legitimate constant if -mvis.
4281 * config/sparc/sparc.md (movtf): Likewise.
4282 (clear_sf): Use const_double_operand.
4283 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
4284
4285 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
4286 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
4287 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
4288 routines, _Qp_* cannot be handled like that now.
4289 (INIT_TARGET_OPTABS): Likewise.
4290 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
4291 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
4292 sparc_emit_float_lib_cmp if ARCH64 and soft float.
4293 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
4294 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
4295 divtf3, sqrttf3): New expanders.
4296 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
4297 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
4298 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
4299 non-_hq patterns.
4300
4301 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
4302 * configure: Rebuilt.
4303 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
4304 -mcpu is given and we're doing 64bit compiles.
4305
4306 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
4307
4308 * loop.h (struct induction): Add multi_insn_incr.
4309 * loop.c (basic_induction_var): New multi_insn_incr argument.
4310 Set it if we search back through previous insns for the biv.
4311 (record_biv): New multi_insn_incr argument; fill in struct induction.
4312 (strength_reduce): Discard an iv with multiple bivs, any of
4313 which require multiple insns to increment.
4314
4315 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4316
4317 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
4318 documentation.
4319
4320 1999-12-06 David S. Miller <davem@redhat.com>
4321
4322 * combine.c (check_promoted_subreg): Do not conditionalize this upon
4323 PROMOTE_FUNCTION_RETURN.
4324
4325 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
4326
4327 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
4328 and handle REG_UNUSED note on insn.
4329
4330 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
4331 inner_mask instead of mask.
4332
4333 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
4334
4335 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
4336 zero if there was an error.
4337
4338 1999-12-06 Jakub Jelinek <jakub@redhat.com>
4339
4340 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
4341 output string.
4342
4343 * longlong.h: Fix clobbers in SPARC asm statements.
4344
4345 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
4346 valid sethi operations when TARGET_ARCH64.
4347
4348 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
4349 always use move_by_pieces to avoid infinite recursion.
4350 (restore_fixed_argument_area): Likewise.
4351
4352 * combine.c (check_promoted_subreg, record_promoted_value): New
4353 functions.
4354 (combine_instructions): Use them to retain nonzero and sign bit
4355 information after SUBREGs are eliminated by optimizations in
4356 this pass if PROMOTE_FUNCTION_RETURN.
4357
4358 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
4359 .register declaration. Don't use variables with __ prefixes.
4360
4361 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4362
4363 * fold-const.c (optimize_bit_field_compare): Only use one mode
4364 for both RHS and LHS in non-constant case.
4365
4366 1999-12-06 Nathan Sidwell <nathan@acm.org>
4367
4368 * frame.c (start_fde_sort): Only allocate erratic array, if
4369 linear one was allocated. Return allocated flag.
4370 (fde_insert): Only insert, if there's a valid array.
4371 (fde_end_sort): Split, sort and merge if linear and erratic
4372 arrays exist, else just sort linear one.
4373 (search_fdes): New function. Linear search through original fde
4374 structure.
4375 (frame_init): Permit multiple initializations. Cope with
4376 memory shortages.
4377 (find_fde): Fallback on linear search, if failed to sort array.
4378 (__deregister_frame_info): Only free sorted array, if we
4379 allocated it.
4380
4381 1999-12-06 Jakub Jelinek <jakub@redhat.com>
4382
4383 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
4384
4385 1999-12-05 Jakub Jelinek <jakub@redhat.com>
4386
4387 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
4388
4389 1999-12-05 Mark Mitchell <mark@codesourcery.com>
4390
4391 * tree.h (special_function_p): Declare.
4392 * calls.c (special_function_p): Make it global. Don't take `name'
4393 as a parameter. Fix typo in 1999-11-28 change.
4394 (expand_cal): Adjust.
4395
4396 1999-12-04 Mark Mitchell <mark@codesourcery.com>
4397
4398 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
4399 * tree.h (EXPR_WFL_FILENAME): Define in terms of
4400 EXPR_WFL_FILENAME_NODE.
4401 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
4402 the TREE_CHAIN.
4403 * print-tree.c (print_note): Print TREE_PRIVATE and
4404 TREE_PROTECTED.
4405
4406 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
4407 the original die cannot be found.
4408
4409 * varray.h (varray_head_tag): Add elements_used.
4410 (VARRAY_PUSH): New macro.
4411 (VARRAY_POP): Likewise.
4412 (VARRAY_TOP): Likewise.
4413 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
4414 types.
4415 * varray.c (varray_init): Initialize elements_used.
4416 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
4417 (INTEGRATE_H): New variable.
4418 (integrate.o): Depend on INTEGRATE_H.
4419 (unroll.o): Likewise.
4420
4421 * function.h (insert_block_after_note): Declare.
4422 * function.c (insert_block_after_note): Split out from ...
4423 (retrofit_block): ... here.
4424
4425 * stmt.c (expand_fixup): Fix typo in comment.
4426
4427 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4428
4429 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
4430 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
4431 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
4432 (regmove_optimize, fixup_match_1): Likewise.
4433
4434 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4435
4436 * flow.c (flow_loops_dump): Add missing argument when calling
4437 flow_loop_nested_p.
4438
4439 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
4440 Greg McGary <gkm@gnu.org>
4441
4442 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
4443 (init_attributes): Add A_NO_LIMIT_STACK.
4444 (decl_attributes): Handle A_NO_LIMIT_STACK.
4445 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
4446 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
4447 Handle stack bounds checking.
4448 * flags.h (flag_stack_check): Use the word 'probe' rather than
4449 'check', because the flag doesn't actually cause any checking to
4450 be done.
4451 * function.c (expand_function_start): Set
4452 current_function_limit_stack.
4453 * function.h (struct function): Add limit_stack.
4454 (current_function_limit_stack): Define.
4455 * invoke.texi (Code Gen Options): Document new options.
4456 * rtl.h: Declare stack_limit_rtx.
4457 * toplev.c (stack_limit_rtx): New variable.
4458 (decode_f_option): Handle new options -fstack-limit-register=REG,
4459 -fstack-limit-symbol=IDENT, -fno-stack-limit.
4460 (main): Add stack_limit_rtx as GC root.
4461 * tree.h (DECL_NO_LIMIT_STACK): New macro.
4462 (struct tree_decl): New member no_limit_stack.
4463
4464 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
4465 stack_limit_rtx.
4466 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
4467 (conditional_trap+1): Get new mnemonic correct.
4468 (conditional_trap+2): New pattern for DImode traps.
4469
4470 * config/m68k/m68k.c (output_function_prologue): Handle
4471 stack_limit_rtx.
4472 * config/m68k/m68k.md (trap): New insn.
4473 (conditional_trap): New insn.
4474 * md.texi (Standard Names): Document `trap' and
4475 `conditional_trap'.
4476 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
4477 so a cc0 setter doesn't get emitted at some random place in the
4478 function.
4479
4480 * config/i960/i960.md (trap): New insn.
4481 (conditional_trap): New expander.
4482 (conditional_trap+1, conditional_trap+2): New insns for signed
4483 and unsigned cases.
4484 * config/i960/i960.c (i960_function_prologue): Use
4485 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
4486
4487 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
4488 Geoffrey Keating <geoffk@cygnus.com>
4489
4490 * flags.h (warn_padded, warn_packed): Add global var decls.
4491 * toplev.c (warn_padded, warn_packed): Add global var defns.
4492 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
4493 * stor-layout.c (layout_record): Add local variable `type'
4494 to hold often-used TREE_TYPE (field). Add local variable
4495 `unpacked_align' to hold alignment that would be in force
4496 if no `packed' attribute were present. Warn if `packed' attribute
4497 is unnecessary, or even harmful. Warn when gcc inserts padding
4498 to satisfy alignment requirements of members. Use NULL_TREE
4499 when checking whether var_size is set.
4500 * invoke.texi: Document new flags.
4501
4502 1999-12-03 Nathan Sidwell <nathan@acm.org>
4503
4504 * frame.c (fde_split): Reimplement to avoid variable sized array.
4505
4506 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4507
4508 * combine.c (try_combine): Before fixing up LOG_LINKS for the
4509 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
4510
4511 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
4512
4513 * invoke.texi: Document the mips option -mno-crt0
4514
4515 1999-12-02 Mike Karr <mkarr@mathworks.com>
4516
4517 * cccp.c (argdata): Added free_ptr member.
4518 (macroexpand): Initialize free_ptr of each argument. When an
4519 argument's buffers are freed, if the argument's free_ptr corresponds
4520 to a buffer on the input stack, then return the free_ptr to that stack
4521 frame, otherwise, free it.
4522 (macarg): If an argument begins and ends on the same input stack level,
4523 then transfer the free_ptr of that buffer to the argument in case
4524 the stack is popped during the processing of a subsequent argument.
4525
4526 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
4527
4528 * loop.c (note_reg_stored): New function.
4529 (struct note_reg_stored_arg): New structure.
4530 (try_copy_prop): Change to be more conservative; only replace within
4531 one extended basic block and stop replacing if a store to the
4532 replacement reg is seen.
4533
4534 1999-12-02 Nick Clifton <nickc@cygnus.com>
4535
4536 * config/fp-bit.c: Initialise all fields of the NAN
4537 constants.
4538
4539 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
4540 to HANDLE_PRAGMA.
4541
4542 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
4543
4544 * i386.md (extend?f?f2): Force the input into a register, not
4545 the output.
4546
4547 1999-12-01 Jakub Jelinek <jakub@redhat.com>
4548
4549 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
4550 regclass' sake.
4551 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
4552 alternative because setting up 64bit constant is usually costly,
4553 especially when reload is in progress or completed.
4554 (movdf_const_intreg_sp64): Likewise.
4555 (movdf_const_intreg split): Fix building up constants when
4556 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
4557
4558 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
4559
4560 * combine.c (if_then_else_cond): Use const_true_rtx instead of
4561 const1_rtx for return values in EQ/NE comparison against (const_int 0)
4562 case.
4563
4564 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
4565 (asm_file_start): Emit .am33 into assembly file when compiling for
4566 the AM33.
4567 (print_operand_address): Handle POST_INC addresses.
4568 (can_use_return_insn, initial_offset): Check AM33 registers too.
4569 (expand_prologue): Check & save AM33 registers too.
4570 (expand_epilogue): Similarly.
4571 (secondary_reload_class): Handle AM33 specific secondary reloads.
4572 (output_tst): Emit efficient code for the AM33 too.
4573 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
4574 (TARGET_SWITCHES): Add -mam33 switch.
4575 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
4576 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
4577 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
4578 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
4579 (enum reg_class, REG_CLASS_NAMES): Likewise.
4580 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
4581 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
4582 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
4583 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
4584 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
4585 (HAVE_POST_INCREMENT): Define.
4586 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
4587 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
4588 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
4589 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
4590 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
4591 (zero_extend to SI from QI/HI): Likewise.
4592 (sign_extend to SI from QI/HI): Likewise.
4593 (mulsidi3, umulsidi3): New patterns for the AM33.
4594 (tstsi with zero extension from QI/HI): Add AM33 variants.
4595 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
4596 (return_internal_regs, store_movm): Handle new AM33 registers.
4597 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
4598 (LIBGCC, INSTALL_LIBGCC): Likewise.
4599 * invoke.texi: Document new flags.
4600
4601 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
4602
4603 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
4604 (addsi3_carry): Likewise.
4605 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
4606 (sbbsi3_carry): Likewise.
4607 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
4608 (mulhi3): Likewise.
4609 (test?i_1): Ensure that only one operand is memory.
4610 (conditional move patterns): likewise.
4611 (shift and rotate patterns): Rewrite to expander, add
4612 "binary_operator_ok" to the condition.
4613
4614 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
4615 * i386.h (procesor_costs): Add movzbl_load field.
4616 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
4617 non-Q registers, accept DImode registers anywhere.
4618 (Q_CLASS_P): New.
4619 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
4620 * i386.c (*_cost): Set value for movxbl_load field.
4621
4622 * (addsi): New add to lea splitter.
4623 (ashlsi): Likewise.
4624 (lea to add/shift peep2): New.
4625
4626 1999-12-01 Mark Salter <msalter@cygnus.com>
4627
4628 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
4629 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
4630 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
4631
4632 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4633
4634 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
4635 * i386.md (movsi_xor): New.
4636 (movsi_or): New.
4637 (movsi_1, movhi_1, movqi_1): Remove.
4638 (movsi_2): Rename to movsi_1.
4639 (movhi_2): Rename to movhi_1.
4640 (movqi_2): Rename to movqi_1.
4641 (movdi_1): Remove; remove splitter.
4642 (movdi_2): Rename to movdi_1.
4643 (divmodsi4 splitter): Do not emit clobbers for move patterns.
4644 (long move peep2): Do not create QI or HI mode mov0s
4645 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
4646
4647 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
4648 rewrite splitters.
4649
4650 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
4651 (abs?f2_if): Likewise.
4652
4653 1999-11-30 Alex Samuel <samuel@codesourcery.com>
4654
4655 * ggc.h (ggc_test_and_set_mark): New macro.
4656 (ggc_mark_rtx): Use ggc_test_and_set_mark.
4657 (ggc_mark_tree): Likewise.
4658 (ggc_mark_rtvec): Likewise.
4659 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
4660
4661 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
4662
4663 * dwarf2out.c (scope_die_for): Only handle types. Only search for
4664 containing types.
4665 (decl_scope_table): Just an array of trees now.
4666 (push_decl_scope): Simplify.
4667 (dwarf2out_init): Adjust.
4668 (local_scope_p): New fn.
4669 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
4670 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
4671 (gen_typedef_die): Likewise.
4672 (gen_lexical_block_die): Don't call push/pop_decl_scope.
4673 (gen_inlined_subroutine_die): Likewise.
4674 (gen_abstract_function): Set current_function_decl temporarily.
4675 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
4676 Handle block extern declarations. Don't call push/pop_decl_scope.
4677 (gen_decl_die): Fix logic for block externs.
4678
4679 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4680
4681 * calls.c (special_function_p): Remove `realloc' and add `strdup'
4682 to the list of functions which have attribute malloc by default.
4683
4684 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4685
4686 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
4687 integer constant does not match the traditional type, limit the
4688 warnings to cases where the base of the type is ten.
4689
4690 * invoke.texi (-Wtraditional): Document it.
4691
4692 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4693
4694 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
4695 * rs6000.md: Only access a CONST_INT with INTVAL
4696
4697 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
4698
4699 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
4700 (compute_nearerout): Likewise.
4701 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
4702 size_t to unsigned long for formatting.
4703
4704 1999-11-30 Jakub Jelinek <jakub@redhat.com>
4705
4706 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
4707 Allow the user to override call-used/fixed state of %g2-5
4708 registers from the command line (with the exception of %g4 for
4709 embedded model).
4710 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
4711 there is a higher chance of having a leaf function.
4712 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
4713 for ARCH64 which has %ccr register.
4714 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
4715 patterns.
4716 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
4717 insn accept into delay slot any insn which does not use %[ol]
4718 registers. Accept some LO_SUM and shift left by 1 for the normal
4719 restore case.
4720 (output_function_epilogue): Likewise.
4721 (epilogue_renumber): Added argument which inhibits any renumbering
4722 and just tests if the rtx does not use any %[ol] registers.
4723 (output_return): Reflect above change.
4724
4725 1999-11-30 Jakub Jelinek <jakub@redhat.com>
4726
4727 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
4728 aggregate passing for sizes <= 16 bytes.
4729
4730 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
4731
4732 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
4733 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
4734 * reload.c (find_dummy_reload): Likewise.
4735 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
4736 * reload1.c (reload_as_needed): Likewise.
4737 * stupid.c (stupid_find_reg): Likewise.
4738 * tm.texi (Obsolete Register Macros): Delete section.
4739 * gmicro.h: Remove all traces of the two macros.
4740 * i386.h: Likewise.
4741 * m88k.h: Likewise.
4742 * mips.h: Likewise.
4743
4744 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
4745
4746 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
4747 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
4748 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
4749 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
4750 units for the sparclite86x chip.
4751 (flush): Revert October 14th change; add SImode specifically.
4752 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
4753 * invoke.texi: Document it.
4754
4755 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
4756
4757 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
4758 psimode_truncation_operand.
4759
4760 * config/mn10200/mn10200.c (psimode_truncation_operand): New
4761 function. Return true if the operand is either a MEM valid
4762 for a PSImode address or not a MEM at all.
4763
4764 * config/mn10200/mn10200.md (truncsipsi2): Use
4765 psimode_truncation_operand.
4766
4767 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4768
4769 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
4770 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
4771 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
4772 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
4773 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
4774 (flow_loop_level_compute, low_loops_level_compute): Likewise.
4775 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
4776 * basic-block.h: Protect from multiple inclusion.
4777 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
4778 (struct loops, struct loop): Define structures.
4779 * sbitmap.c (sbitmap_a_subset_b_p): New function.
4780 * sbitmap.h: Protect from multiple inclusion.
4781 (sbitmap_a_subset_b_p): Add prototype.
4782 * Makefile.in (LOOP_H): New macro.
4783 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
4784
4785 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
4786
4787 * cppinit.c (CAT): The argument list of this macro may not contain
4788 spaces !
4789
4790 1999-11-29 David S. Miller <davem@redhat.com>
4791
4792 Move quantity tables and register equivalence chains into
4793 per-qty and per-register structure arrays respectively.
4794 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
4795 qty_const_insn, qty_comparison_code, qty_comparison_const,
4796 qty_comparison_qty): Delete, replace with...
4797 (qty_table): this structure table.
4798 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
4799 (reg_eqv_table): this structure table.
4800 (make_new_qty): Add argument MODE. Caller updated.
4801 Update to use qty_table and reg_eqv_table.
4802 (make_regs_eqv, delete_reg_equiv, insert_regs,
4803 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
4804 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
4805 cse_process_notes, cse_main, cse_basic_block): Likewise.
4806
4807 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4808
4809 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
4810 operation if C is negative.
4811 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
4812 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
4813 law for some divisions if constant is negative and change other
4814 divisions to the opposite rounding.
4815
4816 * expr.c (store_constructor_field): If bit position is not multiple
4817 of alignment of TARGET's mode, use BLKmode.
4818
4819 * expr.c (expand_expr_unaligned): Add more code from full case
4820 that is needed when OP0 is in a register.
4821
4822 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4823
4824 * dwarfout.c (field_byte_offset): Size can be zero if there was
4825 an error.
4826
4827 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
4828
4829 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
4830 (associate_trees): Delete unused var TEM.
4831 (extract_muldiv): Delete unused var CANCEL_P.
4832
4833 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
4834 (target_isinf, target_isnan, target_negative): Add return types to
4835 function definitions.
4836
4837 1999-11-29 Bruce Korb <autogen@linuxbox.com>
4838
4839 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
4840 * fixinc/hackshell.tpl: ditto
4841 * fixinc/fixtests.c(double_slash_test): more C++ header testing
4842 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
4843
4844 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
4845
4846 * reload.c (push_reload): When looking for a register to put into
4847 reg_rtx, make sure all hard regs in a multi-reg register are in the
4848 right class and nonfixed.
4849
4850 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
4851 pending_read_insns, pending_write_insns, pending_read_mems,
4852 pending_write_mems, pending_list_length, last_pending_memory_flush,
4853 last_function_call, sched_before_next_call): Move static variables
4854 into a structure.
4855 (bb_ prefixed versions): Replace with single array bb_deps.
4856 (struct deps): New structure.
4857 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
4858 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
4859 argument of type "struct deps *"; use that instead of global
4860 variables. All callers changed.
4861 (init_rgn_data_dependencies): Delete function.
4862 (init_rtx_vector): Delete function.
4863 (init_deps): New function.
4864
4865 (free_pending_lists): Simplify, we always use the bb_deps array even
4866 if only one basic block.
4867 (compute_block_backward_dependences): Likewise.
4868 (schedule_region): Likewise.
4869
4870 (propagate_deps): New function, broken out of
4871 compute_block_backward_dependences.
4872 (compute_block_backward_dependences): Use it.
4873
4874 * alpha.md: Delete useless patterns that tried to work around
4875 register elimination problems.
4876
4877 * unroll.c (loop_iterations): Don't abort if iteration variable
4878 was made by loop.
4879
4880 From Joern Rennecke:
4881 * reload1.c (reloads_conflict): Reverse test comparing operand
4882 numbers when testing for conflict between output/outaddr reloads.
4883
4884 1999-11-29 David S. Miller <davem@redhat.com>
4885
4886 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
4887 arg.
4888 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
4889
4890 1999-11-28 Robert Lipe <robertl@cygnus.com>
4891
4892 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
4893 table from .fini into .dtor.
4894
4895 1999-11-28 Anthony Green <green@cygnus.com>
4896
4897 * tree.h (struct tree_decl): Add malloc_flag.
4898 (DECL_IS_MALLOC): Define.
4899 * c-common.c (attrs): Add A_MALLOC attribute.
4900 (init_attributes): Add this attribute to the table.
4901 (decl_attributes): Handle malloc attribute.
4902 * calls.c (special_function_p): Check for the malloc attribute.
4903 * extend.texi (Function Attributes): Document malloc attribute.
4904
4905 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
4906
4907 * pa.md (reload shift-add patterns): Remove.
4908
4909 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4910
4911 * reorg.c (dbr_schedule) Print more statistics. Corrected
4912 problem when printing info when 3 delay slots are filled.
4913
4914 1999-11-28 Jakub Jelinek <jakub@redhat.com>
4915
4916 * combine.c (setup_incoming_promotions): Pass an outgoing
4917 regno to FUNCTION_ARG_REGNO_P which it expects.
4918
4919 1999-11-28 Andreas Jaeger <aj@suse.de>
4920
4921 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
4922
4923 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
4924
4925 * cccp.c (do_include): Avoid initialization of automatic variable.
4926
4927 * integrate.c (mark_stores): Function definition made void, to match
4928 previous declaration.
4929 * regclass.c (dump_regclass): Ditto.
4930 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
4931
4932 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4933
4934 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
4935 known to be multiple of divisor.
4936
4937 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
4938
4939 * combine.c (try_combine): Add code to try to merge a set of a
4940 two-word pseudo to a constant with a setting of one of those words
4941 to a constant.
4942
4943 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
4944 (split_tree): Completely rework to make more general.
4945 (make_range, fold): Call negate_expr.
4946 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
4947 (fold, associate): Call new split_tree and associate_trees.
4948 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
4949
4950 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
4951
4952 * loop.c (try_copy_prop): Avoid GNU C extension.
4953
4954 1999-11-25 Mark Mitchell <mark@codesourcery.com>
4955
4956 * except.c (init_eh_for_function): Still zero eh_return_context,
4957 eh_return_stack_adjust, and eh_return_handler.
4958
4959 * except.h (eh_status): Adjust documentation for x_protect_list.
4960 (begin_protect_partials): New function.
4961 * except.c (enqueue_eh_entry): Fix formatting.
4962 (get_first_handler): Add consistency check.
4963 (add_partial_entry): Adjust usage of protect_list.
4964 (emit_cleanup_handler): Save and restore ehqueue.
4965 (expand_start_all_catch): Add comment.
4966 (begin_protect_partials): New function.
4967 (end_protect_partials): Adjust usage of protect_list.
4968 (init_eh_for_function): Use xcalloc.
4969
4970 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4971
4972 * c-common.c (check_format_info): Don't call a variadic function
4973 with a non-literal format string.
4974
4975 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
4976
4977 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
4978 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
4979 Likewise.
4980
4981 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
4982 Likewise.
4983
4984 * collect2.c (collect_wait): Likewise.
4985
4986 * dbxout.c (dbxout_type): Likewise.
4987
4988 * gcc.c (do_spec_1): Likewise.
4989
4990 * genemit.c (gen_insn, gen_expand): Likewise.
4991
4992 * genrecog.c (write_switch, write_subroutine): Likewise.
4993
4994 * mips-tfile.c (catch_signal, botch): Likewise.
4995
4996 * print-rtl.c (print_rtx): Likewise.
4997
4998 * toplev.c (default_print_error_function, report_error_function,
4999 _fatal_insn): Likewise.
5000
5001 1999-11-25 Mark Mitchell <mark@codesourcery.com>
5002
5003 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
5004
5005 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5006
5007 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
5008 operations when needed.
5009 * i386.md (fop_?f_comm): New.
5010 (fop_?f_1): Do not accept commutative operands.
5011
5012 1999-11-25 Andreas Jaeger <aj@suse.de>
5013
5014 * config/mips/mips.md (casesi_internal): Add missing brace.
5015
5016 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
5017
5018 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
5019 (splice_child_die): Handle moving a child DIE from the declaration
5020 DIE of a class to its specification.
5021 (gen_struct_or_union_type_die): Use 'complete' consistently.
5022 (gen_decl_die): Generate the virtual context DIE first.
5023 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
5024
5025 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
5026
5027 * config/mips/mips.md (call_value_multiple_interanal1): New.
5028
5029 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
5030
5031 * dwarf2out.c (free_AT, free_die): New fns.
5032 (remove_children): Call them.
5033 (output_line_info): Disable removal of duplicate notes.
5034
5035 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
5036 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
5037 means pretend the type isn't defined.
5038 Don't defer emitting types.
5039 (gen_type_die_for_member): New fn.
5040 (gen_decl_die): Call it.
5041 (splice_child_die): New fn.
5042 (gen_member_die): Call it rather than generate duplicate dies.
5043
5044 Defer emitting information for the abstract instance of an inline
5045 until we either inline it or emit an out-of-line copy.
5046 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
5047 from output_inline_function if DECL_ABSTRACT is also set.
5048 (block_ultimate_origin): Likewise.
5049 (gen_abstract_function): New fn.
5050 (gen_decl_die, gen_inlined_subroutine_die): Call it.
5051 (gen_subprogram_die): An abstract instance is not a declaration
5052 just because it doesn't match current_function_decl. Don't abort
5053 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
5054 has an abstract origin.
5055 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
5056 abstract instance here.
5057
5058 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
5059
5060 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
5061 where we need to reload fpul from a system register.
5062
5063 1999-11-24 Andreas Jaeger <aj@suse.de>
5064
5065 * config/mips/linux.h (CPP_PREDEFINES): Added.
5066 (LINK_SPEC): Remove -Y since this is only needed on sparc.
5067
5068 1999-11-24 Andreas Jaeger <aj@suse.de>
5069
5070 * config/mips/linux.h (TARGET_VERSION): Added.
5071 (HANDLE_SYSV_PRAGMA): Added.
5072 (DEFAULT_VTABLE_THUNKS): Added.
5073
5074 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5075
5076 * local-alloc.c (qty): New structure and static variable.
5077 (qty_phys_reg): Remove, all references changed to qty.
5078 (qty_n_refs): Likewise.
5079 (qty_min_class): Likewise.
5080 (qty_birth): Likewise.
5081 (qty_death): Likewise.
5082 (qty_size): Likewise.
5083 (qty_mode): Likewise.
5084 (qty_n_calls_crossed): Likewise.
5085 (qty_alternate_class): Likewise.
5086 (qty_changes_size): Likewise.
5087 (qty_first_reg): Likewise.
5088 (alloc_qty): Rename variable QTY to QTYNO.
5089 (finf_free_reg): Likewise.
5090 (local_alloc): Allocate qty, do not allocate the removed variables.
5091
5092 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
5093
5094 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
5095 when -membedded-pic is passed.
5096
5097 * config/mips/mips.md (casesi): Handle 64-bit case too.
5098 (casesi_internal_di): New insn.
5099
5100 * config/mips/mips.c (embedded_pic_offset): Always make the
5101 embedded-pic subtractions relative to the name of the current
5102 function by use of the magic string "..CURRENT_FUNCTION".
5103 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
5104
5105 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
5106
5107 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
5108 of (const_int 0), when what we really care about is
5109 whether it's a zero constant anyway.
5110 (div_trap_mips16): Likewise.
5111
5112 1999-11-23 Mark Mitchell <mark@codesourcery.com>
5113
5114 * loop.c (loop_optimize): Always find_loop_tree_blocks and
5115 unroll_block_trees when generating debuggable code.
5116
5117 * tree.h (unsave_expr_1): New function.
5118 (lang_unsave): New variable.
5119 (get_callee_fndecl): New function.
5120 * tree.c (unsave_expr_now_r): New function.
5121 (lang_unsave): Define.
5122 (unsave_expr_1): Likewise.
5123 (unsave_expr_now_r): Split out from unsave_expr_now.
5124 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
5125 call unsave_expr_now_r.
5126 (get_callee_fndecl): Define.
5127
5128 * Makefile.in (gencheck): Don't depend on lang_tree_files.
5129 (gencheck.o): Do depend on lang_tree_files.
5130
5131 * integrate.h (copy_decl_for_inlining): New declaration.
5132 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
5133 (copy_decl_for_inlining): New function.
5134 (integrate_parm_decls): Use it.
5135 (integrate_decl_tree): Likewise.
5136
5137 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
5138
5139 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
5140 the second two from the first.
5141 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
5142 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
5143 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
5144 ISA_HAS_FP4.
5145 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
5146 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
5147 ISA_HAS_FP4.
5148
5149 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
5150
5151 * pa.md (call_internal_symref, call_value_internal_symref): No mode
5152 needed on the address operand.
5153 * pa.c (call_operand_address): Check for the correct mode.
5154
5155 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
5156
5157 * loop.c: Include "basic-block.h".
5158 (try_copy_prop, replace_loop_reg): New functions.
5159 (load_mems): Detect registers that just hold copies of the hoisted
5160 mem, and call try_copy_prop to eliminate them.
5161 * Makefile.in (loop.o): Update dependencies.
5162
5163 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
5164
5165 * Makefile.in (gencheck.o): Depend on gencheck.h.
5166 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
5167 (insn-peep.o): Depend on except.h and function.h.
5168 (insn-attrtab.o): Depend on RECOG_H.
5169 (insn-output.o): Depend on toplev.h and flags.h.
5170 (gengenrtl.o): Depend on real.h.
5171 (gen-protos.o): Depend on cpplib.h and cpphash.h.
5172 Unify all dependencies to be on RECOG_H rather than recog.h.
5173
5174 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5175
5176 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
5177 * configure.in: Try building a bi-arch 32/64-bit compiler on
5178 sparc-*-solaris2.7 and higher.
5179 * configure: Rebuild.
5180
5181 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
5182
5183 * config/freebsd.h: New, FreeBSD architecture independent file.
5184 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
5185 independent pieces.
5186 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
5187 directly by i386/freebsd.h.
5188 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
5189 independent configuration file.
5190 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
5191 directly by i386/freebsd.h.
5192 * configure: Rebuilt.
5193
5194 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
5195 which is in the user's namespace.
5196 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
5197 `i386' which is not in our namespace.
5198
5199 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
5200
5201 * invoke.texi (ARM Options): Add in -mno-alignment-traps
5202
5203 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
5204
5205 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
5206 (add_dwarf_attr, add_child_die): Just push onto the front.
5207 (reverse_die_lists): New fn.
5208 (add_sibling_attributes): Use it.
5209 (push_decl_scope): Reorganize.
5210 (add_name_and_src_coords_attributes): Don't set file and line for
5211 an artificial decl.
5212 (gen_subprogram_die): An artificial function doesn't need to match
5213 file and line.
5214 (gen_compile_unit_die): Return the generated die. Only add
5215 AT_comp_dir if the filename is relative.
5216 (remove_AT): Simplify loop. Also free string values.
5217 (output_die): A DIE ref can't be null.
5218 (output_value_format, value_format): Take a dw_attr_ref.
5219 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
5220 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
5221 AT_addr, AT_lbl): New fns.
5222 (various): Use them.
5223 (various): Constify.
5224
5225 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5226
5227 * combine.c (combine_simplify_rtx): When handling a SUBREG,
5228 take SUBREG_WORD into account.
5229 (if_then_else_cond): Likewise.
5230
5231 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
5232
5233 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
5234 clause from BSD license, pursuant with
5235
5236 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
5237
5238 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
5239
5240 * loop.c (load_mems): Reformat slightly.
5241 * basic-block.h (regset_head): New typedef.
5242 (INIT_REG_SET): New macro.
5243
5244 1999-11-22 Bruce Korb <autogen@linuxbox.com
5245
5246 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
5247 (mips-dec-bsd*): non-functional code
5248 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
5249
5250 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
5251 added three replacement fixes
5252 (no_double_slash): removed comments that are not (any longer) pertinent
5253 (bad_lval): this fix currently runs against many files.
5254 The comment seems to indicate that we should select for files
5255 containing 'pragma extern_prefix'.
5256
5257 * fixinc/fixinc.x86-linux-gnu: deleted
5258 * fixinc/inclhack.sh: regen
5259 * fixinc/fixincl.x: regen
5260 * fixinc/fixincl.sh: regen
5261
5262 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
5263
5264 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
5265 its code is INSN and it has no notes.
5266
5267 1999-11-22 Andrew Haley <aph@cygnus.com>
5268
5269 * varasm.c (function_defined): Remove.
5270 (make_function_rtl): Don't set function_defined.
5271 (make_decl_rtl): Remove global register warning.
5272 * regclass.c (no_global_reg_vars): New variable.
5273 (globalize_reg): Warn if function has already been defined.
5274 (regclass_init): Set no_global_reg_vars.
5275
5276 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5277
5278 * regclass.c (reg_pref): New structure and static variable
5279 (prefclass): Delete.
5280 (altclass): Delete.
5281 (all uses of prefclass and altclass): Use reg_pref instead.
5282
5283 1999-11-21 Nick Clifton <nickc@cygnus.com>
5284
5285 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
5286 -malignment-traps.
5287 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
5288 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
5289 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
5290
5291 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
5292
5293 * varasm.c (output_constructor): Solve problem with long long
5294 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
5295
5296 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
5297
5298 * global.c (allocno): New structure and static variable.
5299 (allocno_reg): Remove, all references replaced by allocno.
5300 (allocno_size): Likewise.
5301 (hard_reg_conflicts): Likewise.
5302 (hard_reg_preferences): Likewise.
5303 (hard_reg_copy_preferences): Likewise.
5304 (hard_reg_full_preferences): Likewise.
5305 (regs_someone_prefers): Likewise.
5306 (allocno_calls_crossed): Likewise.
5307 (allocno_n_refs): Likewise.
5308 (allocno_live_length): Likewise.
5309 (find_reg): Rename ALLOCNO to NUM.
5310
5311 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
5312 references updated.
5313 (may_move_out_cost): New variable.
5314 (init_reg_sets_1): Initialize may_move_out_cost.
5315 (record_reg_classes): Use may_move_out_cost.
5316
5317 * regclass.c (dump_regclass): New function.
5318 (regclass): New parameter DUMP, call DUMP_REGCLASS.
5319 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
5320 pass rtl_dump_file to regclass.
5321 * rtl.h (regclass): Update prototype.
5322
5323 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
5324
5325 * i386.md (neg, not and abs patterns): Revmap to use
5326 ix86_expand_unary_operator and ix86_unary_operator_ok.
5327 (add?f and sub?f expanders): Force operand 1 to register.
5328 * i386.c (ix86_expand_unary_operator): Rewrite.
5329 (ix86_unary_operator_ok): Ensure that memory operands
5330 match real opcode.
5331 (ix86_binary_operator_ok): Do not allow operand 1 to
5332 come into memory and operand 0 not.
5333 (ix86_expand_binary_operator): Ensure that
5334 src1 is not non-matching memory.
5335
5336 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
5337 to support integer registers and memory.
5338 (abss?2_integer): Likewise.
5339
5340 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
5341 (REG_CLASS_NAMES): Likewise.
5342 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
5343 and GENERAL_REGS.
5344 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
5345 (movsf): Likewise; unify 4th and 5th alternative.
5346 (pushdf): Likewise.
5347 (movdf_1): Likewise; rename to movdf_integer.
5348 (pushxf): Likewise; rename to pushxf_integer; fix output template;
5349 remove redundant splitter.
5350 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
5351 (movdf_nointeger): New.
5352 (movxf_nointeger): New.
5353 (pushxf_nointeger): New.
5354
5355 * i386.md (extend?f?f): Split to expander and pattern, refuse two
5356 memory operands in patterns.
5357 (fop*): Refuse two memory operands.
5358
5359 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
5360 on !TARGET_USE_CLTD CPUs.
5361
5362 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
5363
5364 * extend.texi: Document C++ restricted pointers and references.
5365
5366 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
5367
5368 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
5369 (invalidate_skipped_set): Call it unconditionally.
5370 (cse_set_around_loop): Likewise.
5371
5372 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
5373
5374 * rtl.texi (mem): Add documentation for alias-set argument
5375 to RTX `mem'.
5376
5377 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
5378
5379 * i386.h (struct_processor_costs): New fields int_load, int_store,
5380 fp_move, fp_load and fp_store
5381 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
5382 fp->int moves
5383 (MEMORY_MOVE_COST): New macro.
5384 * i386.c (386_cost): Define new fields.
5385 (i486_cost): Likewise.
5386 (pentium_cost): Likewise.
5387 (pentiumpro_cost): Likewise.
5388 (k6_cost): Likewise.
5389
5390 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
5391 Geoffrey Keating <geoffk@cygnus.com>
5392
5393 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
5394
5395 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
5396 MASK_ALIGN_INT.
5397
5398 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
5399 (TARGET_STRICT_ALIGNMENT): New macro.
5400 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
5401 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
5402 * invoke.texi (M680x0 Options): Document -mstrict-align.
5403
5404 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
5405 Richard Henderson <rth@cygnus.com>
5406
5407 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
5408 (ix86_split_long_move): Declare.
5409 * i386.c (split_xf, ix86_split_movdi): Remove.
5410 (ix86_split_to_parts, ix86_split_long_move): New.
5411 * i386.md (dimode move splitters): Use ix86_split_long_move.
5412 (dfmode move splitters): Likewise.
5413 (xfmode move splitters): Likewise.
5414 (movsf_1): Allow F->r.
5415 (movdf_1, movxf_1): Allow F->ro.
5416
5417 1999-11-17 Mark Mitchell <mark@codesourcery.com>
5418
5419 * except.h (struct eh_entry): Add goto_entry_p.
5420 (eh_region_from_symbol): Remove prototype.
5421 * except.c (find_func_region_from_symbol): New function.
5422 (emit_cleanup_handler): Likewise.
5423 (eh_region_from_symbol): Make it static.
5424 (add_new_handler): Verify the argument.
5425 (find_func_region): Update comment.
5426 (expand_eh_region_end): Expand handlers here, rater than waiting
5427 until expand_leftover_cleanups or start_all_catch.
5428 (expand_leftover_cleanups): Don't expand here.
5429 (expand_start_all_catch): Or here.
5430 (expand_rethrow): Check the return value from find_func_region.
5431 * function.c (expand_function_end): Emit the catch_clauses.
5432
5433 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
5434
5435 * integrate.c (expand_inline_function): Add necessary check for NULL.
5436
5437 1999-11-18 Nick Clifton <nickc@cygnus.com>
5438
5439 * toplev.c (main): Correctly detect an unrecognised option.
5440
5441 * cppinit.c (cpp_handle_option): Do not claim to have consumed
5442 a -f option if it has not been recognised.
5443
5444 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
5445
5446 * basic-block.h (update_life_extent): Remove trailing comma on
5447 enumeration type list.
5448
5449 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5450
5451 * varasm.c (output_constructor) Solved problem with long long
5452 bitfields. Corrected calculating this_time and shift. Also
5453 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
5454
5455 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
5456
5457 * flow.c (split_edge): Take looping structure into account when
5458 determining where to put the new block note.
5459
5460 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
5461
5462 * Makefile.in (ggc-none.o): Provide host specific version if
5463 needed.
5464
5465 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
5466
5467 * cse.c (delete_trivially_dead_insns): Identify no-op insns
5468 containing subregs too.
5469
5470 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
5471
5472 * invoke.texi: Add documentation for -muninit-const-in-rodata.
5473 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
5474 (TARGET_UNINIT_CONST_IN_RODATA): Define.
5475 (text_section): Add switches -munint-const-in-rodata and
5476 -mno-uninit-const-in-rodata.
5477 (ASM_OUTPUT_COMMON): Remove.
5478 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
5479 const objects should be placed in read-only data. Otherwise declare
5480 them in common.
5481
5482 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
5483
5484 * jump.c (jump_optimize_1): Revert last change.
5485
5486 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
5487
5488 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
5489 test if optimizing for size.
5490
5491 1999-11-17 Mark Mitchell <mark@codesourcery.com>
5492
5493 * Makefile.in (toplev.o): Depend on except.h.
5494 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
5495
5496 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
5497
5498 * i386.md (divmodsi4): Rewrite to expander.
5499 (*divmodsi4_nocltd): New.
5500 (*divmodsi4_cltd): New.
5501 (divmodsi4 splitter): Handle the case when input comes in edx.
5502 (udivmodhi4): Do not use constraints in exander.
5503 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
5504
5505 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
5506
5507 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
5508 for the common case.
5509
5510 1999-11-16 Jakub Jelinek <jakub@redhat.com>
5511
5512 * explow.c (hard_function_value): Add outgoing argument.
5513 * expr.h (hard_function_value): Declare it.
5514 * calls.c (expand_call, emit_library_call_value): Update callers.
5515 * function.c (aggregate_value_p): Ditto.
5516 (diddle_return_value): Must look at the outgoing registers
5517 on archs with register windows.
5518
5519 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
5520
5521 * alpha.c (alpha_build_va_list): Use make_lang_type and
5522 initialize TYPE_NAME for the va_list record.
5523
5524 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
5525
5526 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
5527 for printing.
5528 * ggc.h (struct ggc_statistics): Rearrange elements for better
5529 packing on 64-bit hosts.
5530 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
5531 (compute_nearerout): Likewise.
5532
5533 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
5534
5535 * config/rs6000/rs6000.c (first_reg_to_save): Save
5536 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
5537
5538 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
5539
5540 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
5541 notion of nesting to find the DIE for a type or function.
5542 DIEs can go in limbo even if we got a context_die.
5543 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
5544 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
5545 for local type.
5546 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
5547 (gen_type_die): Writing out the context doesn't cause member class
5548 template instantiations to be written out as well.
5549
5550 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
5551
5552 * rs6000.h (ASM_OUTPUT_DEF): New.
5553 Based on proposed addition from David Edelsohn.
5554
5555 1999-11-15 Robert Lipe <RobertLipe@usa.net>
5556 Bruce Korb <autogen@linuxbox.com>
5557
5558 * fixinc/inclhack.def
5559 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
5560 (unixware7_byteorder_fix): added. Removes conflicts for new defs
5561 in net/inet.h.
5562 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
5563 (svr4_endian): enabled with SVR5
5564 (svr4_mkdev): simplified syntax and enabled with SVR5
5565
5566 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
5567
5568 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
5569 * configure: Rebuilt.
5570 * config/t-freebsd-thread: New file.
5571
5572 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
5573
5574 * i386.c (ix86_decompose_address): Verify the base is a REG
5575 before trying to examine its register number.
5576
5577 * basic-block.h: Remove all #defines and prototypes related to
5578 integer lists.
5579 (free_bb_mem, compute_preds_succs): Remove prototype.
5580 * rtl.h (free_bb_mem): Remove prototype.
5581 * flow.c (alloc_int_list_node); Remove function.
5582 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
5583 (compute_preds_succs, free_bb_mem): Likewise.
5584 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
5585 * toplev.c (rest_of_compilation): Likewise.
5586 * haifa-sched.c (build_control_flow): Use flow generated edge
5587 list to build the haifa specific edge list.
5588 (find_rgns): Use new CFG data structures instead of pred/succ lists.
5589 (schedule_insns): Do not build pred/succ lists anymore. Instead
5590 build the edge table.
5591
5592 * basic-block.h (dump_bb_data): Remove declaration.
5593 * flow.c (dump_bb_data): Remove function.
5594 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
5595 (sbitmap_union_of_predsucc): Likewise.
5596
5597 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
5598 argument. All callers changed.
5599 (delete_null_pointer_checks_1): No longer need to compute the
5600 pred/succ lists.
5601
5602 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
5603 All callers changed.
5604 (pre_expr_reaches_here_p_work): Likewise.
5605 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
5606 * lcm.c (compute_laterin): Fix initialization of LATER.
5607 (compute_nearerout): Similarly for NEARER.
5608
5609 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5610
5611 * cse.c (set_nonvarying_address_components): Delete unused function.
5612 (refers_to_p): Likewise.
5613
5614 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
5615
5616 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
5617 needed.
5618
5619 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5620
5621 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
5622 definition in do while (0).
5623
5624 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
5625
5626 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
5627
5628 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
5629
5630 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
5631
5632 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
5633
5634 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
5635 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
5636 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
5637 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
5638
5639 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
5640 saved on the stack. Output more accurate stack frame statistics
5641 into assembler file.
5642
5643 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
5644
5645 * genextract.c (record_insn_name): New function.
5646 (get_insn_name): No longer a stub.
5647 (main): Call record_insn_name for each insn. After each label
5648 written, print the insn name in a comment.
5649
5650 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5651
5652 * output.h (const_section, init_section, fini_section): Add
5653 prototypes.
5654
5655 * alpha/elf.h (const_section): Delete declaration.
5656
5657 * svr4.h (const_section): Likewise.
5658
5659 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
5660
5661 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
5662 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
5663 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
5664 expressions.
5665 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
5666 variable-sized array bounds.
5667
5668 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
5669
5670 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
5671 ASM_OUTPUT_LABEL.
5672
5673 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5674
5675 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
5676 addresses the same way GO_IF_LEGITIMATE_INDEX does.
5677
5678 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5679
5680 * cse.c (hash_arg_in_struct): Delete.
5681 (struct table_elt): Delete elt in_struct.
5682 (struct set): Delete elt src_in_struct.
5683 (merge_equiv_classes): Don't set either hash_arg_in_struct or
5684 the corresponding in_struct elts.
5685 (canon_hash): Likewise.
5686 (safe_hash): Likewise.
5687 (find_best_addr): Likewise.
5688 (record_jump_cond): Likewise.
5689 (cse_insn): Likewise.
5690
5691 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
5692
5693 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
5694
5695 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
5696 unsigned types.
5697
5698 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
5699
5700 * function.c (diddle_return_value): Put back check that the DECL_RTL
5701 for the function is a register.
5702
5703 * function.c (diddle_return_value): Use hard_function_value to
5704 get an rtx suitable for use in the USE/CLOBBER insn.
5705
5706 * global.c (global_conflicts): Update comments.
5707 (record_conflicts): No need to record conflicts between pseudos here.
5708
5709 1999-11-11 Bruce Korb <autogen@linuxbox.com>
5710
5711 * fixinc/fixincl.c: Added verbose levels for status messages
5712
5713 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5714
5715 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
5716 operand as argument to expand_and or expand_binop.
5717
5718 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
5719
5720 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
5721 gcc_add_string_root.
5722
5723 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
5724
5725 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
5726
5727 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
5728
5729 * flow.c (compute_flow_dominators): Initially put all blocks on
5730 the worklist.
5731 * lcm.c (compute_antinout_edge, compute_available): Similarly.
5732 * gcse.c (compute_cprop_avinout): Remove.
5733 (compute_cprop_data): Use compute_available.
5734 (delete_null_pointer_checks_1): Use compute_available.
5735
5736 * basic-block.h (compute_available): Returns a void now.
5737 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
5738 to return a value anymore.
5739 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
5740 worklists. Fix boundary cases. Compute maximal solutions.
5741 (compute_laterin, compute_nearerout): Similarly.
5742
5743 * dwarf2out.c (add_AT_location_description): Allow
5744 (mem (plus (pseudo) (...)) too.
5745
5746 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
5747
5748 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
5749
5750 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
5751 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5752
5753 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
5754
5755 * gansidecl.h: Likewise.
5756
5757 * rtl.c: Likewise.
5758
5759 * rtl.h: Likewise.
5760
5761 * toplev.h: Likewise.
5762
5763 * tree.c: Likewise.
5764
5765 * tree.h: Likewise.
5766
5767 * varray.c: Likewise.
5768
5769 * varray.h: Likewise.
5770
5771 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
5772
5773 * gcov.c (struct arcdata): Add hits and total, remove prob.
5774 (output_branch_counts): New.
5775 (process_args): Set output_branch_counts if -c.
5776 (calculate_branch_probs): Store hits and total instead of
5777 percentage.
5778 (output_data): Emit counts if output_branch_counts is true.
5779 * gcov.texi (Invoking Gcov): Document -c switch..
5780
5781 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
5782
5783 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
5784 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
5785
5786 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
5787
5788 * invoke.texi (C Dialect Options): Add missing builtins from
5789 c-common.c to list.
5790 * extend.texi (Other Builtins): Copy to this list.
5791
5792 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5793
5794 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
5795 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
5796 redundant bitmap.h.
5797
5798 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
5799
5800 * flow.c (compute_flow_dominators): No longer treat basic block 0
5801 or (n_basic_blocks - 1) specially. Clear the AUX field before
5802 starting computation of doms/pdoms. Fix initial state for pdoms.
5803
5804 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5805
5806 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
5807 match rtl.o's: added ggc.h and toplev.h
5808 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
5809 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
5810 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
5811
5812 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
5813
5814 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
5815 from HAVE_DOS_BASED_FILESYSTEM.
5816 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
5817 HAVE_DOS_BASED_FILESYSTEM.
5818 (main): Likewise.
5819 (split_directories): Only special-case DOS file names if
5820 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
5821 instead of explicit tests. Conditionalize on !VMS.
5822 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
5823 tests. Conditionalize on !VMS.
5824 (process_command): Only use make_relative_prefix if !VMS.
5825 (free_split_directories): Conditionalize on !VMS.
5826 (DIR_UP): Conditionalize on !VMS.
5827
5828 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
5829
5830 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
5831
5832 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
5833
5834 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
5835 case.
5836
5837 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
5838
5839 * invoke.texi (Environment Variables): Document relative path
5840 lookup.
5841 * gcc.c (DIR_UP): If not defined, define as "..".
5842 (standard_bindir_prefix): New static, holds target location to
5843 install binaries.
5844 (split_directories): New function to split a filename into
5845 component directories.
5846 (free_split_directories): New function, release memory allocated
5847 by split_directories.
5848 (make_relative_prefix): New function, make a relative pathname if
5849 the compiler is not in the expected location.
5850 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
5851 can figure out an appropriate prefix from argv[0].
5852 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
5853 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
5854 STANDARD_BINDIR_PREFIX.
5855
5856 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5857
5858 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
5859 in c4x.c.
5860 * config/c4x/c4x.h: Moved prototypes to c4x.h.
5861 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
5862 c4x_secondary_memory_needed) Delete.
5863 (fp_zero_operand): Add mode argument.
5864
5865 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
5866
5867 * reload1.c (reload_reg_free_for_value_p): Don't use a register
5868 that is in reload_reg_used.
5869
5870 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
5871
5872 * config/arm/arm-protos.h: New file: Prototypes for functions
5873 defined in arm.c and pe.c.
5874 * config/arm/arm.h: Fix compile time warnings.
5875 * config/arm/arm.c: Fix compile time warnings.
5876 * config/arm/pe.h: Fix compile time warnings.
5877 * config/arm/aout.h: Fix compile time warnings.
5878
5879 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
5880
5881 * config/m32r/m32r-protos.h: New file: Prototypes for functions
5882 defined in m32r.c
5883
5884 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
5885 Add support for subtargets.
5886 Add prototypes for new predicates.
5887 Add scheduling macros.
5888
5889 * config/m32r/m32r.c: Fix compile time warnings.
5890 (int8_operand): New predicate function.
5891 (reg_or_cmp_int16_operand): New predicate function.
5892 (extend_operand): New predicate function.
5893 (m32r_adjust_code): New scheduling function.
5894 (m32r_adjust_priorty): New scheduling function.
5895 (m32r_sched_init): New scheduling function.
5896 (m32r_sched_reorder): New scheduling function.
5897 (m32r_sched_variable_issue): New scheduling function.
5898 (direct_return): New codegen function.
5899 (m32r_not_same_reg): New rtl testsing function.
5900
5901 * config/m32r/m32r.md: Fix compile time warnings.
5902 Add support for pre decrement and post increment memory
5903 references.
5904 Add S<cc> patterns.
5905 Add fabs patterns.
5906
5907 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5908
5909 * global.c (EXECUTE_IF_CONFLICT): Don't define.
5910 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
5911 (find_reg): Likewise.
5912
5913 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
5914
5915 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
5916 to avoid assembler errors.
5917
5918 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
5919
5920 * config/v850/v850-protos.h: New file: Prototypes for functions
5921 defined in v850.c
5922 * config/v850/v850.h: Move prototypes to v850-protos.h
5923 * config/v850/v850.c: Move prototypes to v850-protos.h
5924 * config/v850/v850.md: Fix compile time warnings.
5925
5926 * config/fr30/fr30-protos.h: New file: Prototypes for functions
5927 defined in fr30.c
5928 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
5929 * config/fr30/fr30.c: Fix compile time warnings.
5930 * config/fr30/fr30.md: Fix compile time warnings.
5931
5932 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
5933
5934 * tree.h (get_containing_scope): Declare it.
5935 * tree.c (get_containing_scope): New fucntion.
5936 (decl_function_context): Use it.
5937 * toplev.c (rest_of_compilation): Use get_containing_scope.
5938
5939 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5940
5941 * Makefile.in (rtl.o): Depend on toplev.h.
5942
5943 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
5944
5945 * cse.c (delete_trivially_dead_insns): Replace alloca with
5946 xmalloc/xcalloc.
5947 * except.c (update_rethrow_references): Likewise.
5948 (init_eh_nesting_info): Likewise.
5949 * function.c (identify_blocks): Likewise.
5950 * gcse.c (dump_hash_table): Likewise.
5951 * graph.c (print_rtl_graph_with_bb): Likewise.
5952 * loop.c (combine_movables): Likewise.
5953 (move_movables): Likewise.
5954 (count_loop_regs_set): Likewise.
5955 (strength_reduce): Likewise.
5956 * profile.c (compute_branch_probabilities): New function, split
5957 out from ...
5958 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
5959 * regclass.c (regclass): Likewise.
5960 * regmove.c (regmove_optimize): Likewise.
5961 * toplev.c (compile_file): Likewise.
5962 (main): Don't mess with the stack rlimit.
5963
5964 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
5965
5966 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
5967 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
5968
5969 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
5970
5971 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
5972
5973 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
5974
5975 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
5976 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
5977 macro expansion.
5978
5979 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
5980
5981 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
5982
5983 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
5984
5985 * gcse.c (post_dominators): Kill.
5986 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
5987 (compute_code_hoist_data): Use compute_flow_dominators. Do not
5988 pass in a pdom array since we do not need pdoms.
5989 * haifa-sched.c (schedule_insns): Similarly.
5990 * flow.c (compute_dominators): Remove dead function.
5991 (compute_flow_dominators): Do not compute doms or pdoms if the
5992 caller does not request them. Split up loop to build doms and
5993 pdoms. Use a worklist to compute doms and pdoms.
5994 * basic-block.h (compute_dominators): Remove prototype.
5995
5996 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
5997
5998 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
5999 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
6000 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
6001 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
6002 (cant_move, fed_by_spec_load, is_load_insn): Remove.
6003 (schedule_region): Remove unused variable.
6004 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
6005
6006 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
6007
6008 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
6009 (update_equiv_regs): Likewise.
6010 (block_alloc): Likewise.
6011 * reg-stack.c (reg_to_stack): Likewise.
6012 (convert_regs_2): Likewise.
6013 * reload1.c (reload_as_needed): Likewise.
6014
6015 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
6016
6017 * Makefile.in (dbxout.o): Depend on ggc.h.
6018 (dwarf2out.o): Likewise.
6019 (xcoffout.o): Likewise.
6020 * dbxout.c: Include ggc.h.
6021 (dbxout_init): Register lastfile as a root.
6022 * dwarf2out.c: Include ggc.h.
6023 (dwarf2out_line): Register lastfile as a root.
6024 * xcoffout.c: Include ggc.h.
6025 (xcoffout_source_line): Register xcoff_lastfile as a root.
6026
6027 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
6028
6029 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
6030
6031 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
6032
6033 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
6034 defined.
6035 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
6036
6037 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6038
6039 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
6040 (EXECUTE_IF_CONFLICT): Likewise.
6041 (ALLOCNO_LIVE_P): Avoid signed division.
6042 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
6043 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
6044 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
6045
6046 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
6047
6048 * haifa-sched.c (schedule_block): Don't crash if there's no
6049 next insn for an interblock movement.
6050 (add_branch_dependences): Don't allow clobber insns to move either.
6051
6052 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
6053
6054 * i386.c (split_xf): New.
6055 * i386-protos.h: Declare it.
6056 * i386.md (movxf_1): Add general regs alternatives.
6057 (movxf_1+1): New splitter for same.
6058
6059 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
6060
6061 * function.c (purge_addressof_1): Add missing return values.
6062
6063 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
6064
6065 * function.c (is_addressof): New function. Returns true if
6066 the given piece of RTL is an ADDRESSOF.
6067 (purge_addressof_1): Make boolean. Return false if the
6068 ADDRESSOFs could not be purged.
6069 (purge_addressof): If ADDRESSOFs could not be purged from the
6070 notes attached to an insn, remove the offending note(s),
6071 unless they are attached to a libcall.
6072
6073 1999-11-05 Andreas Jaeger <aj@suse.de>
6074
6075 * genoutput.c (null_operand =): Initialize all fields.
6076
6077 * errors.h: Add extern to prototypes.
6078
6079 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
6080
6081 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
6082 * configure: Rebuilt.
6083
6084 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6085
6086 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
6087 (mirror_conflicts): New function.
6088 (global_alloc): Call it.
6089 (expand_preferences): Remove redundant CONFLICTP test.
6090 (find_reg, dump_conflicts): Likewise.
6091 (prune_preferences): Process conflicts one word at a time.
6092
6093 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
6094
6095 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
6096 instead of an explicit loop.
6097
6098 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
6099
6100 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
6101 if REG_RETVAL check succeeds, then put classp in src_elt.
6102
6103 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
6104
6105 * function.c (pad_to_arg_alignment): Only update argument_pad
6106 if the argument's alignment is greater than STACK_BOUNDARY.
6107
6108 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
6109
6110 * bitmap.h (BITMAP_XFREE): New.
6111 * flow.c (life_analysis): Use it.
6112 (life_analysis_1): Free blocks.
6113
6114 * combine.c (undo_commit): New.
6115 (try_combine): Use it. Don't zap undobuf.undos.
6116 (combine_instructions): Don't zap undobuf.undos; free the
6117 undobuf.frees list.
6118
6119 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
6120
6121 * stmt.c (cost_table_): New.
6122 (estimate_case_costs): Use it instead of xmalloc.
6123
6124 * toplev.c (compile_file): Reuse dumpname memory instead
6125 of strdup'ing it.
6126
6127 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
6128
6129 * reg-stack.c (convert_regs_1): Initialize target_stack->top
6130 after verifying an EH edge.
6131
6132 * haifa-sched.c (init_rgn_data_dependences): Correctly
6133 size bb_pending_lists_length when zeroing.
6134
6135 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
6136
6137 * function.c (diddle_return_value): New.
6138 (expand_function_end): Use it.
6139 * stmt.c (expand_null_return): Likewise.
6140 (expand_value_return): Likewise.
6141
6142 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
6143
6144 * reload1.c (reload): Don't remove return value clobbers.
6145
6146 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
6147
6148 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
6149
6150 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
6151
6152 * cse.c (cse_main): Use xmalloc, not alloca.
6153 (cse_basic_block): Likewise.
6154 * local-alloc.c (local_alloc): Likewise.
6155
6156 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
6157 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6158
6159 * rtl.c: Include toplev.h.
6160 (fatal): Remove declaration.
6161
6162 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
6163
6164 * haifa-sched.c (schedule_block): Fix thinko.
6165
6166 1999-11-03 James McKelvey <mckelvey@fafnir.com>
6167
6168 * fixinc/fixincl.c(create_file): Allow for systems that do not have
6169 S_IR* defined values
6170
6171 1999-11-03 Philippe De Muyter <phdm@macqel.be>
6172
6173 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
6174 call `malloc' instead.
6175
6176 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
6177
6178 * flags.h (flag_renumber_insns): Declare.
6179 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
6180 renumbering table.
6181 * rtl.h (renumber_insns): Change prototype.
6182 * toplev.c (flag_renumber_insns): Define.
6183 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
6184
6185 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
6186
6187 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
6188 and fpsqrtd. Use them and create fdiv function unit to more
6189 accurately represent fpu sqrt pipeline semantics on UltraSparc.
6190 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
6191
6192 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
6193
6194 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
6195 3 on UltraSparc.
6196 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
6197 insn into ready list, do not use just a raw swap.
6198
6199 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
6200
6201 * rtl.h (renumber_insns): New function.
6202 (remove_unnecessary_notes): Likewise.
6203 * emit-rtl.c (renumber_insns): Define.
6204 (remove_unncessary_notes): Likewise.
6205 * toplev.c (rest_of_compilation): Remove dead code.
6206 Use renumber_insns and remove_unncessary_notes.
6207
6208 * gcse.c (struct null_pointer_info): New type.
6209 (get_bitmap_width): New function.
6210 (current_block): Remove.
6211 (nonnull_local): Likewise.
6212 (nonnull_killed): Likewise.
6213 (invalidate_nonnull_info): Take a null_pointer_info as input.
6214 (delete_null_pointer_checks_1): New function.
6215 (delete_null_pointer_checks): Use it.
6216
6217 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
6218 (split_edges): Likewise.
6219 (schedule_block): Likewise.
6220 (compute_block_backward_dependencies): Likewise.
6221 (schedule_region): Likewise.
6222 (schedule_insns): Likewise.
6223
6224 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
6225
6226 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
6227 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
6228 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
6229 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
6230 * jump.c (delete_unreferenced_labels): Don't delete if
6231 LABEL_ALTERNATE_NAME is set.
6232 * print-rtl.c (print_rtx): Dump alternate name.
6233 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
6234 * rtl.h (LABEL_ALTERNATE_NAME): Define.
6235 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
6236 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
6237
6238 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6239
6240 * fix-header.c (recognized_extern, recognized_function): Constify
6241 a char*.
6242
6243 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
6244 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
6245 (compute_available): Remove unused variable `last'.
6246 (compute_nearerout): Remove unused variable `temp_bitmap'.
6247 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
6248 Remove unused variable `x'.
6249
6250 * scan.h (recognized_function, recognized_extern): Constify a
6251 char*.
6252
6253 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
6254
6255 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6256
6257 * varasm.c (decode_rtx_const): Use XSTR to access the string
6258 of a SYMBOL_REF.
6259
6260 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
6261
6262 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
6263
6264 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6265
6266 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
6267
6268 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
6269
6270 * pa.c (ireg_operand): New function.
6271 * pa.h (PREDICATE_CODES): Handle ireg_operand.
6272 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
6273 Fix out of date comment.
6274
6275 * pa.md (negdi2): Turn into expander + anonymous pattern.
6276
6277 * reload.c (find_reloads): Fix typos in recent change.
6278
6279 * dwarf2out.c: Do not include ctype.h.
6280
6281 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6282
6283 * regclass.c (record_reg_classes): Always use may_move_cost when
6284 seeing how operand fits with various register classes.
6285
6286 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
6287
6288 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
6289 * toplev.c: Revert Nov 1 13:22 change.
6290
6291 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
6292
6293 * config/pa/pa.md (height reduction patterns): Add checks for
6294 overlapping operands to avoid semantic-destroying splits for
6295 height reduction patterns.
6296
6297 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6298
6299 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
6300 have been an hyphen, fixed.
6301 * configure: Rebuilt.
6302
6303 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
6304
6305 * config/arm/tpe.h: Add prototypes for exported functions.
6306 * config/arm/pe.c: Fix compile time warnings.
6307 * config/arm/semi.h: Fix compile time warnings.
6308 * config/arm/arm.c: Fix compile time warnings.
6309 * config/arm/arm.h: Fix compile time warnings.
6310 * config/arm/arm.md: Fix compile time warnings.
6311 * config/arm/thumb.c: Fix compile time warnings.
6312 * config/arm/thumb.h: Fix compile time warnings.
6313 * config/arm/thumb.md: Fix compile time warnings.
6314
6315 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
6316
6317 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
6318 detection code
6319
6320 * unroll.c (unroll_loop): Remove LOOP notes when loop is
6321 completely unrolled.
6322
6323 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6324
6325 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
6326
6327 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
6328
6329 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
6330 * rtl.h (rtx_equal_p): Move prototype.
6331 * rtl.c (rtx_equal_function_value_matters): Move from
6332 rtlanal.c
6333 (rtx_equal_p): Likewise.
6334 * rtlanal.c (rtx_equal_function_value_matters): Delete.
6335 (rtx_equal_p): Likewise.
6336
6337 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
6338
6339 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
6340 ! HAS_INIT_SECTION.
6341
6342 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
6343
6344 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
6345
6346 * pa.h (ADDR_VEC_ALIGN): Define.
6347
6348 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
6349 notes when presented with "if (foo) break; end_of_loop" and
6350 the break sequence gets moved out of the loop.
6351
6352 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
6353 Remove explicit zero initializations of entries within MAP.
6354
6355 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
6356
6357 * reg-stack.c (convert_regs_1): Handle EH edges specially.
6358
6359 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
6360
6361 * bitmap.h (BITMAP_XMALLOC): New macro.
6362 * flow.c (CLEAN_ALLOCA): Remove.
6363 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
6364 (life_analysis): Likewise.
6365 (update_life_info): Don't use CLEAN_ALLOCA.
6366 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
6367 (calculate_global_regs_live): Likewise.
6368 (print_rtl_with_bb): Likewise.
6369 (verify_flow_info): Likewise.
6370 * global.c (global_alloc): Likewise.
6371 (global_conflicts): Likewise.
6372 * integrate.c (save_for_inline_nocopy): Likewise.
6373 (expand_inline_function): Likewise.
6374 * jump.c (jump_optimize_1): Likewise.
6375 (duplicate_loop_exit_test): Likewise.
6376 (thread_jumps): Likewise.
6377 * loop.c (loop_optimize): Likewise.
6378 (combine_givs): Likewise.
6379 (recombine_givs): Likewise.
6380 * reorg.c (dbr_schedule): Likewise.
6381 * unroll.c (unroll_loop): Likewise.
6382
6383 * combine.c (combine_instructions): Use xmalloc instead of alloca.
6384
6385 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
6386
6387 * toplev.c (rest_of_compilation): Don't optimize the CFG
6388 when rebuilding, just before dbr.
6389
6390 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6391
6392 * output.h (assemble_end_function, assemble_destructor,
6393 assemble_constructor, assemble_gc_entry, assemble_global,
6394 assemble_label, output_constant_pool) Constify a char*.
6395
6396 * varasm.c (assemble_destructor, assemble_constructor,
6397 assemble_gc_entry, assemble_end_function, assemble_global,
6398 assemble_label, output_constant_pool): Likewise.
6399
6400 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
6401
6402 * config/arm/thumb.c (thumb_expand_prologue): Add comments
6403 explaining what is goin on in this function.
6404
6405 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6406
6407 * regclass.c (record_reg_classes): In matching case, recompute
6408 costs since the direction of movement is different.
6409
6410 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
6411
6412 * resource.c (mark_target_live_regs): For unconditional branches,
6413 the resources found at the branch target should be added to the
6414 resources found so far, not intersected.
6415
6416 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
6417
6418 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
6419 old cpp's.
6420 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
6421 (sys/mman.h): Include this file only if #HAVE_MMAP.
6422 (run_compiles): Initialize `esac_fmt' with one old KR string, not
6423 with automatically concatenated ANSI strings.
6424
6425 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
6426
6427 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
6428 (DIV_ROUND_UP): Robustify.
6429 (ggc_recalculate_in_use_p): New function.
6430 (release_pages): Don't inline it.
6431 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
6432 outer contexts.
6433 (ggc_pop_context): Use ggc_recalculate_in_use_p.
6434 (clear_marks): Always save in_use_p.
6435 (sweep_pages): Use ggc_recalculate_in_use_p.
6436 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
6437 Release pages before counting statistics.
6438
6439 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
6440
6441 * toplev.c (rest_of_compilation): Fix thinko in this change:
6442
6443 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
6444
6445 (rest_of_compilation): If inside an inlined external function,
6446 pretend we are just being declared.
6447
6448 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
6449
6450 * flow.c (calculate_global_regs_live): Fix thinko.
6451
6452 * integrate.c (expand_inline_function): Fix bugs in previous
6453 change from Oct 28, 1999.
6454
6455 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
6456
6457 * stmt.c (expand_value_return): Fix typo in this change:
6458
6459 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6460 (expand_value_return): Correctly convert VAL when promoting function
6461 return; support RETURN_REG being a PARALLEL.
6462
6463 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
6464
6465 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
6466
6467 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6468
6469 * hard-reg-set.h (reg_names): Constify a char*.
6470
6471 * regclass.c (reg_names): Likewise.
6472
6473 * regs.h (reg_names): Likewise
6474
6475 * a29k/a29k.c (reg_names): Delete declaration.
6476
6477 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
6478
6479 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
6480 arc_output_function_epilogue): Likewise.
6481
6482 * elxsi/elxsi.c (reg_names): Likewise.
6483
6484 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
6485
6486 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
6487 Likewise.
6488
6489 * m88k/m88k.c (output_function_profiler): Likewise.
6490
6491 * sparc/sparc.c (sparc_flat_output_function_prologue,
6492 sparc_flat_output_function_epilogue): Likewise.
6493
6494 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
6495
6496 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
6497 warning from -Wuninitialized and put it under -W.
6498 * function.c (uninitialized_vars_warning): Warn only when the
6499 corresponding flag is set.
6500
6501 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
6502
6503 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
6504 is nonzero and the single set does not have an elt, then assign
6505 it an elt.
6506
6507 * simplify-rtx.c: New file.
6508 * Makefile.in (OBJS): Add simplify-rtx.o
6509 (simplify-rtx.o): Add dependencies.
6510 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
6511 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
6512 (cse_gen_binary, simplify_unary_operation): Delete.
6513 (simplify_binary_operation, simplify_plus_minus): Likewise.
6514 (check_fold_consts, simplify_relation_operation): Likewise.
6515 (simplify_ternary_operation): Likewise.
6516 (delete_trivially_dead_insns): Simplify the contents of the
6517 REG_EQUAL note before trying to substitute it into the source
6518 of the reg-reg copy at the end of a libcall sequence.
6519
6520 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
6521 references/callers changed.
6522
6523 * mn10200.c (mn10200_va_arg): Force the return value into a
6524 register.
6525
6526 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
6527
6528 * cccp.c (macroexpand): Avoid out of range accesses for omitted
6529 arguments.
6530
6531 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
6532
6533 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
6534
6535 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
6536
6537 * fold-const.c (fold): Fix thinko when optimizing comparisons
6538 against -0.0.
6539
6540 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
6541
6542 * gcc.texi (Passes): Update front-end files to their current
6543 location.
6544
6545 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
6546
6547 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
6548 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
6549 (PREDICATE_CODES): Add addition_operation.
6550 * alpha-protos.h (addition_operation): Declare.
6551 (secondary_reload_class): Likewise.
6552 * alpha.c (addition_operation): New.
6553 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
6554 * alpha.md (adddi3): Turn into expander.
6555 (*lda, *adddi_2): New.
6556 (movsf, movdf patterns): Don't preference integer regs.
6557 (movsi, movdi patterns): Don't preference fp regs.
6558
6559 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
6560
6561 * genrecog.c (write_switch): Check for duplicate CODE cases.
6562
6563 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
6564
6565 * ggc-common.c: Update pre-function commentary.
6566 * ggc-page.c: Likewise.
6567 (poison): Remove.
6568 (poison_pages): Use memset directly.
6569 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
6570 (ggc_collect): Poison before sweeping.
6571 * ggc-simple.c: Update pre-function commentary.
6572 (ggc_alloc_obj): Poison non-zeroed memory.
6573
6574 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
6575
6576 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
6577 match format string, even on 64-bit hosts.
6578 * gcc-page.c (ggc_page_print_statistics): Likewise.
6579
6580 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
6581
6582 * config/i386/i386.c (ix86_cpu): Revert last patch.
6583 * config/i386/i386.h (ix86_cpu): Ditto.
6584
6585 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
6586
6587 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
6588 TYPE_SIZE, convert type of result to sizetype.
6589
6590 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
6591
6592 * flow.c (count_or_remove_death_notes): Equate NULL with the
6593 universal set.
6594
6595 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
6596 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
6597 dbr_schedule.
6598
6599 * i386.c (pic_label_no): Delete.
6600 (ix86_attr_length_default): Don't use single_set to peek
6601 inside a parallel.
6602
6603 * recog.c (peephole2_optimize): Allow recog_next_insn to index
6604 the first insn after bb->end.
6605 * i386.md (push mem peeps): Scratch is live after evaluation
6606 of the memory.
6607 (cmp mem peep): Similarly.
6608
6609 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
6610
6611 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
6612 * function.c (pad_to_arg_alignment): Add missing braces.
6613
6614 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6615
6616 * alpha/alpha-protos.h (literal_section): Add prototype.
6617 (alpha_need_linkage, alpha_start_function,alpha_end_function):
6618 Constify a char*.
6619
6620 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
6621 prototype.
6622 (alpha_start_function, alpha_end_function, float_strings,
6623 alpha_need_linkage): Constify a char*
6624
6625 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
6626
6627 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
6628
6629 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6630
6631 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
6632
6633 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6634
6635 * flow.c (debug_flow_info): Add prototype.
6636
6637 * gcc.c (main): Likewise.
6638
6639 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
6640 Likewise.
6641
6642 * reload1.c (failed_reload, set_reload_reg): Likewise.
6643
6644 * mips-tfile.c (main): Likewise.
6645 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
6646 with ATTRIBUTE_NORETURN.
6647
6648 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
6649
6650 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
6651 DECL is not a memory ref.
6652
6653 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
6654
6655 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
6656 * config/i386/i386.c (ix86_cpu): Add extern attribute.
6657
6658 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
6659
6660 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
6661 * config/mips/elf64.h: ditto.
6662
6663 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
6664
6665 * expr.c (emit_push_insn): New argument alignment_pad.
6666 Update all callers. Adjust stack pointer based on alignment pad.
6667 * function.c (pad_to_arg_alignment): New argument alignment_pad.
6668 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
6669 (locate_and_pad_parm): New argument alignment_pad. Update all
6670 callers.
6671 * expr.h (emit_push_insn): Update prototype.
6672 (locate_and_pad_parm): Update prototype.
6673 * calls.c (arg_data): Add new field alignment_pad.
6674 (initialize_argument_information): Initialize alignment_pad.
6675
6676 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
6677
6678 * except.c (free_eh_nesting_info): Free the info itself.
6679 * function.c (free_after_compilation): Don't free NULL.
6680 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
6681 (pre_edge_insert): Free inserted.
6682 * stmt.c (free_stmt_status): Don't free NULL.
6683
6684 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
6685
6686 * gcov.c (DIR_SEPARATOR): Provide default.
6687 (output_data): Add test for MS-DOS format absolute filename.
6688 (fancy_abort): Correct program name.
6689 (open_files): Open all files in binary mode.
6690 * libgcc2.c (__bb_exit_func): Likewise.
6691
6692 * profile.c (init_branch_prob): Specify binary when opening files.
6693
6694 * flags.h (flag_unwind_tables): New decl.
6695 * toplev.c (flag_unwind_table): New definition.
6696 (f_options): Add -funwind-tables.
6697 (decode_g_option): Clarify warning when unknown -g option is given.
6698 (rest_of_compilation): If inside an inlined external function,
6699 pretend we are just being declared.
6700
6701 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
6702 (dwarf2out_frame_finish): Likewise.
6703
6704 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
6705
6706 * fold-const.c (merge_ranges): If not in0, but in1, handle
6707 upper bounds equal like subset case.
6708
6709 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
6710
6711 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
6712 passed in a register but moved to the stack.
6713
6714 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
6715
6716 * gcc.c (pass_exit_codes, greatest_status): New variables.
6717 (struct option_map): Add entry for "--pass-exit-codes".
6718 (execute): Update greatest_status if error.
6719 (display_help): Add documentation for -pass-exit-codes.
6720 (process_command): Handle -pass-exit-codes.
6721 (main): Look at pass_exit_codes and greatest_status on call to exit.
6722
6723 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6724
6725 * reload.c (find_reloads): Refine test for no input reload
6726 case to not includes reloads emitted after insn.
6727
6728 * function.c (find_temp_slots_from_address): Handle sum involving
6729 a register that points to a temp slot.
6730 (update_temp_slot_address): Make recursive call if both old and
6731 new are PLUS with a common operand.
6732 * calls.c (expand_call): Mark temp slot for result as having
6733 address taken.
6734
6735 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
6736
6737 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
6738 component as well as "BINUTILS".
6739
6740 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
6741 * integrate.c (copy_rtx_and_substitute): Likewise.
6742 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
6743 All callers changed.
6744 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
6745
6746 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
6747 gdb extensions, write size of type; also be more consistent
6748 in using references when this is a subtype.
6749
6750 * pa.md (extv, extzv, insv): Use define_expand to reject constant
6751 that is out of range.
6752
6753 * loop.c (unknown_constant_address_altered): New variable.
6754 (prescan_loop): Initialize it.
6755 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
6756 (invariant_p, case MEM): Remove handling for volatile and readonly;
6757 check new variable if readonly.
6758 (check_dbra_loop): Chdeck unknown_constant_address_altered.
6759
6760 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
6761 (addr_affects_sp_p): Removed from note_mem_written and only
6762 define #ifdef AUTO_INC_DEC.
6763
6764 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
6765
6766 * regclass.c (record_reg_classes): Properly handle register move
6767 directions.
6768
6769 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
6770 Don't think valid if both operands are invalid.
6771 (struct constant_descriptor): New field RTL.
6772 (mark_const_hash_entry): Mark it.
6773 (record_constant{,_rtx}): Initialize it.
6774 (output_constant_def): Allocate RTL in permanent obstack and
6775 save in table.
6776 ({record,compare}_constant_1): Modes must match for
6777 CONSTRUCTOR of ARRAY_TYPE.
6778
6779 * c-common.h (initializer_constant_valid_p): Delete decl from here.
6780 * output.h (initializer_constant_valid_p): Move decl to here.
6781 * c-common.c (initializer_constant_valid_p): Delete function from here.
6782 * varasm.c (initializer_constant_valid_p): Move function to here.
6783
6784 * tree.h (STRIP_SIGN_NOPS): New macro.
6785 * fold-const.c (optimize_minmax_comparison): New function.
6786 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
6787 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
6788 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
6789 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
6790 widening conversions.
6791 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
6792 to look at size of mode, not precision of type; also add missing cases.
6793 (optimize_bit_field_compare, decode_field_reference): Don't try to
6794 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
6795
6796 * dwarf2out.c (ctype.h): Include.
6797 (dwarf2out_set_demangle_name_func): New function.
6798 (size_of_line_info): Deleted.
6799 (output_line_info): Compute size of line info table from difference
6800 of labels.
6801 (base_type_die, add_name_attribute): Call demangle function, if any.
6802 (field_byte_offset): Use bits per word for variable length fields.
6803 (gen_array_type_die): Add array name.
6804 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
6805 (dwarf2out_add_library_unit_info): New function.
6806
6807 * explow.c (set_stack_check_libfunc): New function.
6808 (stack_check_libfunc): New static variable.
6809 (probe_stack_range): Allow front-end to set up a libfunc to call.
6810
6811 * combine.c (simplify_comparison): When making comparison in wider
6812 mode, check for having commuted an AND and a SUBREG.
6813 (contains_muldiv): New function.
6814 (try_combine): Call it when dividing a PARALLEL.
6815 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
6816 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
6817 a PLUS.
6818 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
6819 use one of the CLOBBERs instead.
6820 (if_then_else_cond): If comparing against zero, just return thing
6821 being compared.
6822
6823 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
6824 Don't generate shifts and subtract if have conditional arithmetic.
6825
6826 * rtl.h (delete_barrier): New declaration.
6827 * jump.c (jump_optimize): Set up to handle conditional call.
6828 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
6829 (delete_barrier): New function.
6830
6831 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
6832
6833 * recog.c (nonmemory_operand): Accept ADDRESSOF.
6834
6835 * tree.c (build_type_attribute_variant): Push to obstack of
6836 ttype around type_hash_canon call.
6837
6838 * expr.c (placeholder_list): Move decl to file scope.
6839 (expand_expr): Don't force access to volatile just because its
6840 address is taken.
6841 If ignoring reference operations, just expand the operands.
6842 (expand_expr, case COMPONENT_REF): Propagate
6843 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
6844 Refine test for using bitfield operations vs pointer punning.
6845 (expand_expr, case CONVERT_EXPR): If converting to
6846 BLKmode UNION_TYPE from BLKmode, just return inner object.
6847 Use proper mode in store_field call.
6848 Properly set sizes of object to store and total size in store_field
6849 call for convert to union.
6850 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
6851 memory (like for ADDR_EXPR). Also, don't put constant in register if
6852 we'll want it in memory.
6853 (readonly_fields_p): New function.
6854 (expand_expr, case INDIRECT_REF): Call it if LHS.
6855 (expand_assignment): Handle a RESULT_DECL where
6856 DECL_RTL is a PARALLEL.
6857 (do_jump, case WITH_RECORD_EXPR): New case.
6858 (get_inner_reference): Always go inside a CONVERT_EXPR
6859 and NOP_EXPR if both modes are the same.
6860 (store_field): Use bitfield operations if size of bitsize is not same
6861 as size of RHS's type.
6862 Check for bitpos not a multiple of alignment in BLKmode case.
6863 Do block move in largest possible alignment.
6864 (store_constructor): Set BITSIZE to -1 for variable size and properly
6865 in case of array of BLKmode.
6866 (expand_expr_unaligned): New function.
6867 (do_compare_and_jump): Call it.
6868
6869 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
6870 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
6871 does not include 'o'.
6872
6873 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
6874 both SET_DEST and SET_SRC reference a virtual register.
6875 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
6876
6877 * integrate.c (expand_inline_function): Handle case of setting
6878 virtual stack vars register (from built in setjmp); when parameter
6879 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
6880 (subst_constant): Add new parm, MEMONLY.
6881 (expand_inline_function, integrate_parm_decls): Pass new parm.
6882 (integrate_decl_tree): Likewise.
6883 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
6884 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
6885 (copy_rtx_and_substitute, case SET): Add explicit calls to
6886 copy_rtx_and_substitute for both sides.
6887
6888 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
6889 constraints.
6890 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
6891 within INDEX_TYPE, instead of before.
6892 (fixup_gotos): Use f->target_rtl, not the next insn,
6893 since latter may be from a later fixup.
6894 (expand_value_return): Correctly convert VAL when promoting function
6895 return; support RETURN_REG being a PARALLEL.
6896 (expand_return): When checking for result in regs and having
6897 cleanup, consider PARALLEL in DECL_RTL as being in regs.
6898
6899 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
6900
6901 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
6902 last_nominal_fname): Mark const.
6903 (struct include_hash: name, nshort, control_macro): Mark
6904 const.
6905 (struct macrodef: symnam): Mark const.
6906 (struct if_stack: fname): Mark const.
6907 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
6908 (IStable): New character-syntax array which encompasses all
6909 the old is_foo arrays.
6910 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
6911 is_space): New macros for interrogating IStable.
6912 (check_macro_name): Kill last argument. All callers changed.
6913
6914 * cppinit.c (initialize_char_syntax): Delete.
6915 (is_idchar, is_idstart, is_hor_space, is_space,
6916 trigraph_table): Delete.
6917 (IStable): New. Initialize with clever macros to avoid
6918 information duplication.
6919 (builtin_array): Table of builtins to get rid of explicit list
6920 in initialize_builtins.
6921 (initialize_builtins): Use builtins_array.
6922 (cpp_start_read): Call init_IStable, and set IStable['$'] if
6923 opts->dollars_in_ident.
6924
6925 * cppexp.c: Change all refs to is_xyz[] arrays to use new
6926 is_xyz() macros.
6927 (cpp_parse_expr): Avoid 'format string is not constant'
6928 warning. Use ISGRAPH to identify printable chars.
6929 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
6930 is_xyz() macros.
6931 (read_and_prescan): Map trigraphs to chars with open-coded
6932 if-else-if-... sequence, not a lookup table.
6933 * cpphash.c: Change all refs to is_xyz[] arrays to use new
6934 is_xyz() macros.
6935 * cpplib.c: Change all refs to is_xyz[] arrays to use new
6936 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
6937 (check_macro_name): Remove ability to report an invalid
6938 assertion name, which is never used.
6939 (do_line): Constify a couple of char *'s.
6940 * cppmain.c (main): Call cpp_cleanup before returning.
6941
6942 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
6943
6944 * ggc.h (struct ggc_statistics): New type.
6945 (ggc_get_size): New function.
6946 (ggc_print_statistics): Likewise.
6947 * ggc-common.c (ggc_stats): New variable.
6948 (ggc_mark_rtx_children): Keep statistics.
6949 (ggc_mark_tree_children): Likewise.
6950 (ggc_print_statistics): New function.
6951 * ggc-page.c (struct globals): Add bytes_mapped field.
6952 (alloc_anon): Update it.
6953 (release_pages): Likewise.
6954 (ggc_get_size): New function.
6955 (ggc_page_print_statistics): New function.
6956 * ggc-simple.c (ggc_get_size): New function.
6957
6958 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
6959
6960 * flow.c (propagate_block): When the last reference to a label
6961 before an ADDR_VEC is deleted because the reference is a dead
6962 store, delete the ADDR_VEC.
6963
6964 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
6965
6966 * resource.c (find_free_register): Don't use the frame pointer
6967 if frame_pointer_needed.
6968
6969 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
6970
6971 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
6972 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
6973
6974 * config/i960/i960.c (i960_va_start): New locals base, num.
6975 Use INDIRECT_REF instead of ARRAY_REF on valist.
6976 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
6977
6978 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
6979
6980 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
6981
6982 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
6983
6984 * tree.def (PLACEHOLDER_EXPR): Update comments.
6985
6986 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6987
6988 * c-common.c (check_format_info): Avoid non-literal format string
6989 warnings when `first_arg_num' is zero.
6990
6991 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6992
6993 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
6994
6995 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
6996
6997 * arm.md (casesi_insn): Add a clobber of the condition code
6998 register.
6999
7000 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
7001
7002 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
7003 used by both cc1 and cc1plus.
7004
7005 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
7006
7007 * config/arm/arm.c: Initialise arm_structure_size_boundary to
7008 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
7009 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
7010 to the value 32 if it has not already been defined.
7011 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
7012 Override definition in arm.h with a value of 8.
7013
7014 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
7015
7016 * c-pragma.c (push_alignment): Don't check the return value
7017 of xmalloc.
7018
7019 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
7020
7021 * sparc.h (ADJUST_COST): Fix thinko.
7022
7023 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
7024
7025 * cccp.c (rescan): Fixed obp pointer handling around call to
7026 check_expand subroutine.
7027
7028 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
7029
7030 * gcse.c (delete_null_pointer_checks): Only record non-null info
7031 for pseudos when examining stores.
7032
7033 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
7034 splitters for these patterns. Use "#" for output templates.
7035 (addsi3_carryin_shift): New pattern.
7036
7037 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
7038
7039 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
7040 of the function return register into a plain REG until
7041 after function inlining is done.
7042
7043 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
7044
7045 * jump.c (jump_optimize_1): If we did cross-jumping, and
7046 the data will matter, rebuild the CFG.
7047 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
7048 not optimizing. Don't run shorten_branches.
7049 * toplev.c (rest_of_compilation): Run shorten_branches after
7050 reg_to_stack.
7051
7052 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
7053
7054 * rtl.h (note_stores): Add additional paramter.
7055 * rtlanal.c (reg_set_p_1): Take additional paramter.
7056 (reg_set_last_1): Likewise.
7057 (reg_set_p): Adjust call to note_stores.
7058 (reg_set_last): Likewise.
7059 (note_stores): Pass data parameter to worker function.
7060 * alias.c (record_set): Take additional parameter.
7061 (init_alias_analysis): Pass it.
7062 * caller-save.c (mark_set_regs): Take additional parameter.
7063 (save_call_clobbered_regs): Pass NULL to note_stores.
7064 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
7065 parameter.
7066 (record_dead_and_set_regs_1): Likewise.
7067 (reg_dead_at_p_1): Likewise.
7068 (combine_instructions): Adjust calls to note_stores.
7069 (try_combine): Likewise.
7070 (record_dead_insn): Remove.
7071 (record_dead_and_set_regs): Adjust calls to note_stores.
7072 (reg_dead_at_p): Likewise.
7073 * cse.c (invalidate_skipped_set): Take additional parameter.
7074 (cse_check_loop_start): Likewise.
7075 (cse_check_loop_start_value): Remove.
7076 (cse_set_around_loop): Adjust calls to note_stores.
7077 * flow.c (notice_stack_pointer_modification): Take additional
7078 parameter. Remove duplicate declaration.
7079 (record_volatile_insns): Adjust calls to note_stores.
7080 * gcse.c (record_set_info): Take additional parameter.
7081 (record_last_set_info): Likewise.
7082 (invalidate_nonnull_info): Likewise.
7083 (record_set_insn): Remove.
7084 (compute_sets): Adjust calls to note_stores.
7085 (last_set_insn): Remove.
7086 (compute_hash_table): Adjust calls to note_stores.
7087 (insert_insn_end_bb): Likewise.
7088 (delete_null_pointer_checks): Likewise.
7089 * global.c (mark_reg_store): Take additional parameter.
7090 (mark_reg_clobber): Likewise.
7091 (reg_becomes_live): Likewise.
7092 (global_conflicts): Adjust calls to note_stores.
7093 (build_insn_chain): Likewise.
7094 * integrate.c (note_modified_parmregs): Take additional parameter.
7095 (mark_stores): Likewise. Make it static.
7096 (save_for_inline_nocopy): Adjust calls to note_stores.
7097 (try_constants): Likewise.
7098 * integrate.h (mark_stores): Remove declaration.
7099 * jump.c (mark_modified_reg): Take additional parameter.
7100 (thread_jumps): Adjust calls to note_stores.
7101 * local-alloc.c (validate_equiv_mem_from_store): Take additional
7102 parameter.
7103 (no_equiv): Likewise.
7104 (reg_is_set): Likewise.
7105 (validate_equiv_mem): Adjust calls to note_stores.
7106 (update_equiv_regs): Likewise.
7107 (block_alloc): Likewise.
7108 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
7109 (note_addr_stored): Take additional parameter.
7110 (note_set_pseudo_multiple_uses): Likewise.
7111 (record_initial): Likewise.
7112 (prescan_loop): Adjust calls to note_stores.
7113 (strength_reduce): Likewise.
7114 (check_dbra_loop): Likewise.
7115 * regmove.c (flags_set_1): Take additional paramter.
7116 (mark_flags_life_zones): Adjust calls to note_stores.
7117 * reload1.c (mark_not_eliminable): Take additional parameter.
7118 (forget_old_reloads_1): Likewise.
7119 (reload_cse_invalidate_rtx): Likewise.
7120 (reload_cse_check_clobber): Likewise.
7121 (reload_combine_note_store): Likewise.
7122 (move2add_note_store): Likewise.
7123 (reload): Adjust calls to note_stores.
7124 (reload_as_needed): Likewise.
7125 (emit_reload_insns): Likewise.
7126 (reload_cse_regs_1): Likewise.
7127 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
7128 (reload_combine): Adjust calls to note_stores.
7129 * resource.c (update_live_status): Take additional paramter.
7130 (mark_target_live_regs): Adjust calls to note_stores.
7131 * stupid.c (find_clobbered_regs): Take additional parameter.
7132 (stupid_life_analysis): Adjust calls to note_stores.
7133
7134 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
7135
7136 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
7137 definition.
7138
7139 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
7140 definition.
7141
7142 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
7143 of the variable arm_structure_size_boundary.
7144
7145 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
7146
7147 * alias.c (init_alias_analysis): Allocate reg_known_value and
7148 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
7149 and reg_seen.
7150 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
7151 * cse.c (cse_main): Call end_alias_analysis.
7152 * haifa-sched.c (schedule_insns): Likewise.
7153 * local-alloc. (update_equiv_regs): Likewise.
7154 * reload1.c (reload_cse_regs): Likewise.
7155
7156 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7157
7158 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
7159 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
7160 mapping from MASK_FPU.
7161
7162 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
7163
7164 * sparc.md (call): Don't bound structure return size to 0xfff.
7165
7166 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
7167
7168 * resource.c (mark_target_live_regs): Check that the target
7169 insn wasn't created after compute_bb_for_insn.
7170
7171 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
7172
7173 * ggc-page.c (poison_pages): Don't be overzealous.
7174
7175 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
7176
7177 * alias.c: Update comments for ADDRESS.
7178 (nonlocal_reference_p): Look inside the ADDRESS to determine if
7179 it is a local memory reference.
7180
7181 * c-typeck.c (build_function_call): Check that the built-in
7182 function is of class BUILT_IN_NORMAL before trying to recongize
7183 it as BUILT_IN_ABS.
7184 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
7185 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
7186
7187 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
7188
7189 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
7190 of alloca.
7191 (pre_gcse): Likewise.
7192 (hoist_expr_reaches_here_p): Likewise.
7193 (hoist_code): Likewise.
7194 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
7195 code to ...
7196 (pre_expr_reaches_here_p_work): ... here.
7197 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
7198 code to ...
7199 (expr_reaches_here_p_work): ... here.
7200
7201 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
7202
7203 * resource.c (find_basic_block): Delete.
7204 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
7205 (init_resource_info): Call compute_bb_for_insn.
7206
7207 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
7208
7209 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
7210 with already adjacent blocks, but no fallthru.
7211 (merge_blocks_move_successor_nojumps): Simplify.
7212 (debug_flow_info): New.
7213
7214 * toplev.c (rest_of_compilation): Open jump1 dump file before
7215 jump and close after, as opposed to just using dump_rtl.
7216
7217 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7218
7219 * reload.h (earlyclobber_operand_p): Declare.
7220 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
7221 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
7222 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
7223 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
7224
7225 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
7226 Richard Henderson <rth@cygnus.com>
7227
7228 * emit-rtl.c (emit_block_insn_before): New.
7229 (emit_block_insn_after): New.
7230 * basic-block.h: Declare them.
7231
7232 * bitmap.h: Protect from multiple inclusion.
7233
7234 * recog.c (scratch_operand): Handle VOIDmode correctly.
7235
7236 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
7237
7238 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
7239 * function.c (assign_parms): Likewise.
7240 * global.c (global_conflicts): Clarify STACK_REGS commentary.
7241
7242 * reg-stack.c (max_uid): Remove.
7243 (blocks, block_begin, block_end, block_drops_in): Remove.
7244 (block_stack_in, block_out_reg_set, block_number): Remove.
7245 (struct block_info_def, BLOCK_INFO): New.
7246 (enum emit_where): New.
7247 (current_block): New.
7248 (BLOCK_NUM): Remove.
7249 (mark_regs_pat, record_label_references): Remove.
7250 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
7251 (nan): New.
7252 (goto_block_pat, print_blocks, dump_stack_info): Remove.
7253 (reg_to_stack): Simplified test for existance of fp code. Use
7254 flow.c code. Call shorten_branches after cross-jump opt.
7255 (check_asm_stack_operands): Renamed from record_asm_reg_life.
7256 Return false if the asm doesn't use stack regs. Don't do life
7257 analysis on the asm.
7258 (emit_pop_insn): Replace function pointer arg `when' with
7259 enum `where'. Update all callers.
7260 (change_stack): Likewise. Update basic block end.
7261 (emit_swap_insn): Use current_block->head to limit reverse search
7262 for start of block. Use emit_block_insn_after.
7263 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
7264 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
7265 structure assignment instead of bcopy.
7266 (print_stack): New.
7267 (convert_regs_entry, convert_regs_exit): New.
7268 (convert_regs_1, convert_regs_2): Split out from convert_regs.
7269 Work on basic blocks and the CFG.
7270 (convert_regs): Use them.
7271
7272 * i386.c (output_fix_trunc): Remove code for DImode input operand
7273 not at top-of-stack.
7274 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
7275 appropriate mode.
7276 (fix_truncdi_1): Allow any mode scratch.
7277
7278 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
7279
7280 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
7281 * linux.h, netbsd.h, vms.h: Not here.
7282
7283 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
7284
7285 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
7286 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
7287 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
7288 CONDITIONAL_REGISTER_USEAGE): Use them.
7289 * config/mips/mips.c (mips_move_1word,mips_move_2words,
7290 gen_conditional_branch,override_options) : Use them.
7291 * config/mips/mips.md : Use them.
7292
7293 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
7294
7295 * i386.md (zero_extendqihi2): Use SImode register name with andl.
7296
7297 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
7298
7299 * integrate.c (function_cannot_inline_p): Don't allow inlining
7300 if setjmp is used.
7301
7302 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7303
7304 * c-parse.in (cast_expr): Constify.
7305
7306 * cccp.c (special_symbol): Likewise.
7307
7308 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
7309
7310 * dwarf2out.c (base_type_die): Likewise.
7311
7312 * global.c (allocno_compare): Likewise.
7313
7314 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
7315
7316 * regclass.c (fix_register): Likewise.
7317
7318 * rtl.h (fix_register): Likewise.
7319
7320 * stupid.c (stupid_reg_compare): Likewise.
7321
7322 * toplev.c (decode_f_option): Likewise.
7323
7324 * tree.c (build_complex_type): Likewise.
7325
7326 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
7327
7328 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
7329
7330 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7331
7332 * reload.c (find_reloads): Compute mode and nregs fields of all
7333 reloads.
7334 * reload1.c (calculate_needs_all_insns): Simplify a bit.
7335 (calculate_needs): Use precomputed mode/nregs values.
7336 (allocate_reload_reg): Likewise.
7337 Break out two...
7338 (failed_reload, set_reload_reg): ... new functions.
7339 (choose_reload_regs_init): New function, mostly broken out from...
7340 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
7341 Also lose one #if 0 block.
7342
7343 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
7344
7345 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
7346 substitution.
7347
7348 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
7349
7350 * tree.h (BLOCK_TYPE_TAGS): Remove.
7351 (BLOCK_END_NOTE): Likewise.
7352 (BLOCK_LIVE_RANGE_FLAG): Likewise.
7353 (BLOCK_LIVE_RANGE_START): Likewise.
7354 (BLOCK_LIVE_RANGE_END): Likewise.
7355 (tree_block): Remove live_range_flag, live_range_var_flag, and
7356 type_tags. Remove end_note, live_range_start, and live_range_end.
7357 (remember_end_note): Remove prototype.
7358 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
7359 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
7360 remember_end_note.
7361 * ggc-common.c (ggc_mark_tree_children): Don't mark
7362 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
7363 * integrate.c (adjust_copied_decl_tree): Remove.
7364 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
7365 * stmt.c (last_block_end_note): Remove.
7366 (init_stmt): Don't add a GC root for it.
7367 (expand_fixup): Don't set it.
7368 (remember_end_note): Remove.
7369 (expand_end_bindings): Don't set last_block_end_note.
7370
7371 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7372
7373 * reload1.c (reload_reg_free_for_value_p): Show
7374 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
7375 reloads.
7376
7377 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
7378
7379 * expmed.c (extract_bit_field): Allow for the case of non-integer
7380 objects that are smaller than a word (like SFmode on a 64-bit
7381 machine).
7382
7383 * loop.c (basic_induction_var): A non-integer variable which is
7384 being set by a paradoxical subreg is probably not a biv.
7385
7386 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7387
7388 * prefix.c (translate_name) Check for empty prefix string.
7389
7390 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
7391
7392 * Makefile.in (CPP_CROSS_NAME): New variable.
7393 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
7394 xcpp.
7395 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
7396 names of the files to be uninstalled.
7397
7398 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
7399
7400 * collect2.c (IS_DIR_SEPARATOR): Define.
7401 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
7402
7403 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
7404 functions too.
7405
7406 * haifa-sched.c (add_dependence): Update the true dependency
7407 cache the first time we add a true dependence to the LOG_LINKS chain.
7408
7409 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
7410
7411 * fold-const.c (fold): Fix comment.
7412
7413 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7414
7415 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
7416 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
7417 dbxout_start_new_source_file, dbxout_source_file,
7418 dbxout_source_line, dbxout_finish, dbxout_type_fields,
7419 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
7420 Constify a char*.
7421 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
7422 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
7423 (dbxout_block): Initialize variable `blocknum'.
7424
7425 * dbxout.h (dbxout_init, dbxout_finish,
7426 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
7427 dbxout_args, dbxout_source_line): Constify a char*.
7428
7429 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
7430 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
7431 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
7432 low_pc_attribute, high_pc_attribute, body_begin_attribute,
7433 body_end_attribute, comp_dir_attribute, sf_names_attribute,
7434 src_info_attribute, mac_info_attribute, producer_attribute,
7435 lookup_filename, generate_macinfo_entry, fundamental_type_code,
7436 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
7437 dwarfout_undef): Constify a char*.
7438 (add_incomplete_type, retry_incomplete_types): Add prototypes.
7439
7440 * dwarfout.h (dwarfout_define, dwarfout_undef,
7441 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
7442
7443 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
7444
7445 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
7446 (MULTILIB_ISA_DEFAULT): New.
7447 (MULTILIB_DEFAULTS): Use it.
7448 * config/mips/mips.c (): Remove the now unnecessary definition
7449 of MIPS_ISA_DEFAULT.
7450 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
7451 unnecessary definition.
7452
7453 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
7454
7455 * arm.md (pic_load_addr): Add constraints to operand 1.
7456
7457 1999-10-25 Bruce Korb <autogen@linuxbox.com>
7458
7459 * fixinc/genfixes: Provide a means for specifying -D options to
7460 AutoGen
7461
7462 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
7463
7464 * arm.c (arm_override_options): Correct initialization of
7465 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
7466 arm_is_strong, and arm_is_6_or_7.
7467
7468 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
7469 (note_set_pseudo_multiple_uses): New function.
7470 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
7471 if a pseudo set in the loop exit is used elsewhere.
7472
7473 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
7474
7475 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
7476
7477 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
7478
7479 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
7480 a single load-address pattern.
7481
7482 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
7483
7484 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
7485 depending on whether or not line-number notes are present.
7486
7487 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7488
7489 * cccp.c (progname, file_buf, default_include, include_file,
7490 macrodef, definition, hashval, wchar_type, user_label_prefix,
7491 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
7492 expand_to_temp_buffer, is_system_include, base_name,
7493 absolute_filename, read_name_map, open_include_file,
7494 record_control_macro, check_precompiled, check_preconditions,
7495 pcfinclude, pass_thru_directive, create_definition,
7496 check_macro_name, comp_def_part, collect_expansion,
7497 check_assertion, read_token_list, assertion_install,
7498 assertion_lookup, eval_if_expression, conditional_skip,
7499 validate_else, skip_quoted_string, quote_string, macarg1,
7500 error_from_errno, install, lookup, hashf, dump_defn_1,
7501 perror_with_name, pfatal_with_name, main, trigraph_pcp,
7502 check_white_space, rescan, handle_directive, monthnames,
7503 special_symbol, do_include, remap_include_file, write_output,
7504 arglist, do_assert, do_unassert, do_line, do_error, do_once,
7505 do_ident, do_sccs, do_xifdef, skip_if_group,
7506 output_line_directive, macroexpand, macarg, change_newlines,
7507 initialize_builtins, make_definition): Constify a char*.
7508
7509 * pcp.h (stringdef): Likewise.
7510
7511 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
7512
7513 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
7514 not of pattern.
7515
7516 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
7517 Richard Henderson <rth@cygnus.com>
7518
7519 * alias.c: Include ggc.h.
7520 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
7521 (record_set): Verify enough room in reg_base_value.
7522 (init_alias_analysis): Allocate reg_base_value with xcalloc.
7523 Register it as a GC root.
7524 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
7525 * Makefile.in (alias.o): Depend on ggc.h.
7526
7527 * unroll.c (unroll_loop): Verify the insn before a barrier
7528 is a JUMP_INSN before checking JUMP_LABEL.
7529
7530 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7531
7532 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
7533 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
7534 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
7535 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
7536 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
7537 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
7538
7539 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7540
7541 * output.h (ctors_section, dtors_section, bss_section): Prototype.
7542
7543 * alpha/alpha-interix.h (text_section): Delete prototype.
7544 * alpha/elf.h (text_section): Likewise.
7545 * arm/linux-elf.h (text_section): Likewise.
7546 * arm/linux-telf.h (text_section): Likewise.
7547 * c4x/c4x.h (text_section): Likewise.
7548 * dsp16xx/dsp16xx.h (bss_section): Likewise.
7549 * elfos.h (text_section): Likewise.
7550 * i386/aix386ng.h (text_section): Likewise.
7551 * i386/i386-interix.h (text_section): Likewise.
7552 * i386/sco5.h (text_section): Likewise.
7553 * i386/svr3gas.h (text_section): Likewise.
7554 * nextstep.h (text_section): Likewise.
7555 * psos.h (text_section): Likewise.
7556 * ptx4.h (text_section): Likewise.
7557 * svr3.h (text_section): Likewise.
7558 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
7559
7560 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7561
7562 * final.c (peephole): Delete prototype.
7563
7564 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
7565 (pre_insert_copies): Remove unused variable `bb'.
7566
7567 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
7568 prototypes.
7569
7570 * output.h (peephole): Add prototype.
7571
7572 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
7573
7574 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
7575 -O0.
7576
7577 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
7578
7579 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
7580 for inlined declarations.
7581
7582 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
7583
7584 * arm.c (logical_binary_operator): New fucntion.
7585 * arm.h (logical_binary_operator): Declare it.
7586 (PREDICATE_CODES): Handle logical_binary_operator.
7587 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
7588 output constraints. Add appropriate splitters.
7589 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
7590 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
7591 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
7592
7593 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7594
7595 * genoutput.c (struct operand_data): New elt eliminable.
7596 (output_operand_data): Write it.
7597 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
7598 (compare_operands): Take it into account.
7599 * recog.h (struct insn_operand_data): New elt eliminable.
7600 * reload1.c (check_eliminable_occurrences, elimination_effects): New
7601 functions.
7602 (old_asm_operands_vec, new_asm_operands_vec): Delete.
7603 (eliminate_regs): Move code that detects changes to elimination
7604 target regs into new function elimination_effects.
7605 Delete one #if 0 block.
7606 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
7607 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
7608 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
7609 Only call eliminate_regs for real operands of the insn, not for parts
7610 of its structure or parts matched by things like match_operator.
7611 Use elimination_effects and check_eliminable_occurrences. Use
7612 copy_insn to duplicate the pattern when not in the final pass.
7613
7614 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
7615
7616 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
7617 and fld.
7618
7619 1999-10-22 Bruce Korb <autogen@linuxbox.com>
7620
7621 * fixinc/README: document the "mach" machine matching test
7622 * fixinc/fixfixes.c: Implement the #else/#endif label fix
7623 * fixinc/fixtests.c: Implement the #else/#endif label test
7624 * fixinc/inclhack.def: utilize these tests and fixes
7625 * fixinc/inclhack.sh: regen
7626 * fixinc/fixincl.x: regen
7627 * fixinc/fixincl.sh: regen
7628
7629 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
7630
7631 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
7632 depend on ggc.h.
7633
7634 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
7635
7636 * gcc.1: Document exit codes.
7637
7638 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7639
7640 * calls.c: Include tm_p.h later, so everything we need is defined.
7641 * expr.c: Likewise.
7642 * function.c: Likewise.
7643
7644 * except.c: Include tm_p.h.
7645
7646 * sparc.c: Likewise.
7647 (dwarf2out_cfi_label): Don't prototype.
7648 (check_return_regs, epilogue_renumber,
7649 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
7650 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
7651 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
7652 ultra_schedule_insn): Add static prototype.
7653 (data_segment_operand, text_segment_operand): Call itself with the
7654 proper number of arguments.
7655 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
7656
7657 * sparc.h: Move all declarations to sparc-protos.h.
7658 (SELECT_RTX_SECTION): Pass a missing MODE argument to
7659 symbolic_operand.
7660
7661 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
7662
7663 * config/svr4.h (text_section, ctors_section, dtors_section): Add
7664 Prototypes.
7665 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
7666 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
7667 ASM_OUTPUT_ASCII): Constify a char*.
7668
7669 * sparc-protos.h: New file for sparc prototypes.
7670
7671 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7672
7673 * function.c (record_insns, contains): Always declare and define.
7674 (record_insns): Mark with ATTRIBUTE_UNUSED.
7675
7676 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
7677
7678 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
7679 to .section when outputting a .bss section to deal with multiple
7680 .bss input sections (as happens with -fdata-sections)
7681 Also output %progbits, not @progbits so the assembler doesn't treat as
7682 a comment.
7683 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
7684
7685 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
7686 thumb parts even when building with non-thumb CPUs, by forcing
7687 thumb mode.
7688
7689 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
7690
7691 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
7692 (movdf_const_intreg_sp64): Similarly.
7693
7694 * local-alloc.c (update_equiv_regs): Check the correct insn
7695 for pre-existing REG_EQUIV notes.
7696
7697 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
7698
7699 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
7700 block reached by a branch if we're not going to actually process
7701 this block.
7702
7703 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
7704
7705 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
7706 a local extern function declaration.
7707
7708 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
7709
7710 * i386.c (ix86_expand_prologue): Properly wrap USE around
7711 reg for CALL_INSN_FUNCTION_USAGE.
7712
7713 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
7714
7715 * config/mips/mips.md (movdf_internal1a): Allow floating-point
7716 move between GP_REGs.
7717
7718 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
7719
7720 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
7721 the mode size when finding out if an offset is legal.
7722
7723 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
7724
7725 * basic-block.h (PROP_*): Move constants from ...
7726 * flow.c: ... here.
7727 (compute_bb_for_insn): Free the array before reallocating.
7728 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
7729 (allocate_reg_life_data): Reset all reg variables collected by
7730 propagate_block.
7731 (get_block_head_tail): Don't convert from bb to block.
7732 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
7733 (find_insn_reg_weight): Take block not bb.
7734 (schedule_block): Don't set block num for moved insns.
7735 (schedule_region): Don't update_life_info or find_insn_reg_weight.
7736 (schedule_insns): Do it here instead.
7737 * combine.c (combine_instructions): Invoke compute_bb_for_insn
7738 before update_life_info.
7739 * recog.c (split_all_insns, peephole2_optimize): Update for
7740 new arg to update_life_info.
7741 * rtlanal.c (remove_note): Cope with NULL note.
7742 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
7743 if we did sched1.
7744
7745 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
7746
7747 * jump.c (jump_optimize_1): More accurately detect casesi insns.
7748
7749 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
7750 block records so that merge_blocks_nomove will clean up correctly.
7751 (split_edge): Handle casesi insns.
7752
7753 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
7754
7755 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
7756
7757 * pa.md (call, call_value): Do not emit a blockage after restoring
7758 the PIC register.
7759
7760 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
7761
7762 * c-typeck.c (c_expand_asm_operands): Fix typo.
7763
7764 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7765
7766 * arm.c (fpu_rhs_operand): Verify modes.
7767 (fpu_add_operand): Likewise.
7768 (di_operand): Likewise.
7769 (soft_df_operand): Likewise.
7770
7771 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
7772
7773 * arm.c (arm_return_in_memory): APCS rules state that the elements
7774 of a structure returned in a register must be 'integer-like'.
7775
7776 1999-10-19 Bruce Korb <autogen@linuxbox.com>
7777
7778 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
7779 in the source tree when the generated targets are out of date
7780 * fixinc/genfixes: Alter it to run individual fixes for make.
7781 * fixinc/README: rewrite
7782 * fixinc/inclhack.def: moved initial comments to README
7783
7784 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
7785
7786 * toplev.c (main): Do not generate an error message if an
7787 unrecognised command line switch is recognisable by another
7788 language. If extra_warnings are enabled, then generate a
7789 warning message instead.
7790
7791 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
7792
7793 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
7794 (insert_pack_attributes): Delete prototype.
7795
7796 * c-pragma.c (default_alignment): New static variable.
7797 (push_alignment): Initialize to current effective alignment.
7798 (pop_alignment): Use to set new alignment.
7799 (insert_pack_attributes): Delete function.
7800 (handle_pragma_token): Set default_alignment as well each time
7801 a #pragma pack(<n>) is encountered.
7802
7803 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
7804
7805 * reg-stack.c (stack_result): Aggregates are not returned in
7806 stack registers.
7807
7808 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
7809
7810 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
7811
7812 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
7813
7814 * basic-block.h (set_block_num): Declare.
7815 * flow.c (update_life_info): Don't call compute_bb_for_insn
7816 or free_basic_block_vars.
7817 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
7818 (insn_orig_block): Remove.
7819 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
7820 (schedule_block): Keep BLOCK_NUM up-to-date.
7821 (schedule_insns): Use compute_bb_for_insn.
7822 * recog.c (split_all_insns): Likewise.
7823 (peephole2_optimize): Likewise.
7824
7825 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
7826
7827 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
7828 if the pic register is used.
7829
7830 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7831
7832 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
7833 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
7834 if that tests TREE_PERMANENT.
7835
7836 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
7837
7838 * cse.c (invalidate_for_call): Do not remove memory references from
7839 the table here. It's handled elsewhere.
7840
7841 * haifa-sched.c (add_dependence): Protect references to the
7842 true dependency cache with #ifdef INSN_SCHEDULING.
7843 (remove_dependence): Similarly.
7844
7845 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
7846 to the cfg code that this is a return instruction.
7847 * mn10300.md (return_internal): Similarly.
7848
7849 * combine.c (get_last_value): If the last set of a register
7850 is after subst_low_cuid, then we can not use it to determine
7851 the register's last value.
7852
7853 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
7854
7855 * Makefile.in: Back out previous change.
7856
7857 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
7858
7859 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
7860
7861 * haifa-sched.c (add_dependence): Only check/update the cache
7862 if it exists.
7863 (remove_dependence): Likewise.
7864 (schedule_insns): Only create the true_dependency_cache if the
7865 average number of instructions in a basic block is very large.
7866
7867 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
7868
7869 * Makefile.in (ggc-common.o): Depend on genrtl.h.
7870 (ggc-simple.o): Likewise.
7871 (ggc-page.o): Likewise.
7872
7873 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
7874
7875 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
7876 Prototype for exported functions.
7877 (pre_lcm, pre_rev_lcm): Remove prototypes.
7878 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
7879 (compute_available): Move to lcm.c, and change parameter order.
7880 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
7881 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
7882 (gcse_main): No longer call compute_preds_succs. Rebuild the
7883 set table after reach pre pass.
7884 (pre_insert_map, pre_delete_map, edge_list): New.
7885 (alloc_pre_mem): Allocate edge vectors.
7886 (free_pre_mem): Delete edge vectors.
7887 (compute_pre_data): Call new edge based lcm routines.
7888 (process_insert_insn): New function.
7889 (insert_insn_end_bb): Use it.
7890 (pre_edge_insert): New function.
7891 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
7892 needed.
7893 (pre_insert_copies): Revamp using new edge based lcm outputs.
7894 (pre_delete): Likewise.
7895 (one_pre_gcse_pass): Insert & remove fake edges to the exit
7896 block.
7897 (compute_code_hoist_vbeinout): New new edge based routines.
7898 * lcm.c: Remove all the old LCM functions. Replace with new ones
7899 that work with the new cfg datastructures and work with edges
7900 instead of blocks.
7901
7902 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7903
7904 * reload.h (struct reload): Add new fields "mode" and "nregs".
7905 * reload1.c: Change all occurrences of reload_mode and reload_nregs
7906 to reference the "mode" and "nregs" field within struct reload.
7907
7908 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
7909
7910 * haifa-sched.c (true_dependency_cache): New.
7911 (add_dependence): Use the true dependency cache to avoid expensive
7912 walks down the LOG_LINKS dependency list. Add entries to the
7913 cache as necessary.
7914 (remove_dependence): Remove entries from the true dependency cache
7915 as needed.
7916 (schedule_insns): Allocate and initialize and free the true
7917 dependency cache.
7918
7919 * haifa-sched.c (schedule_insns): Do not remove inter-block
7920 dependencies anymore.
7921
7922 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
7923
7924 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
7925 * i386/t-winnt: Likewise.
7926
7927 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
7928
7929 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
7930
7931 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
7932
7933 * Makefile.in (LANGUAGES): Omit "proto".
7934 (clean): Remove stale comment about removing unprotoize.c.
7935
7936 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7937
7938 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
7939 using arithmetic on void pointers.
7940
7941 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
7942
7943 * haifa-sched.c (compute_block_forward_dependencies): Only check
7944 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
7945
7946 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
7947
7948 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
7949 (expr_equiv_p): Reject memories with different alias sets.
7950
7951 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
7952
7953 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
7954 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
7955 (f_options): Add "bounded-pointers" and "bounds-check" entries.
7956 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
7957 (lang_init): Set default for flag_bounds_check if still "unspecified".
7958
7959 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7960
7961 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
7962
7963 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7964
7965 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
7966 instructions.
7967
7968 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7969
7970 * config/c4x/c4x.md (*db_noclobber,
7971 *decrement_and_branch_until_zero_noclobber): New patterns and
7972 associated splitters.
7973
7974 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7975
7976 * config/c4x/c4x.md (parallel instruction patterns): Rework
7977 constraints to keep reload happy.
7978
7979 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7980
7981 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
7982 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
7983 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
7984 Add new patterns and associated post-reload splitters.
7985
7986 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7987
7988 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
7989
7990 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7991
7992 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
7993 if appropriate.
7994 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
7995
7996 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7997
7998 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
7999 memory mode.
8000
8001 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
8002
8003 * pa.c (move_operand): Rely on memory_address_p to determine the
8004 validity of non-indexed memory addresses.
8005 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
8006 operand in DFmode and SFmode when generating PA2.0 code.
8007
8008 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
8009
8010 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
8011
8012 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
8013
8014 * mips.c (function_prologue): Fix argument types.
8015 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
8016 (casesi_internal): Write to the scratch register.
8017
8018 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
8019
8020 * cppexp.c (cpp_parse_escape): Make static. Change second arg
8021 to U_CHAR **.
8022 (parse_charconst): Delete unnecessary cast when calling
8023 cpp_parse_escape.
8024 (cpplib.h): Kill prototype of cpp_parse_escape.
8025
8026 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
8027
8028 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
8029 * unroll.c (unroll_loop): Cast return value of alloca.
8030 * i370/i370.c: Include function.h and toplev.h.
8031 (i370_label_scan): Remove c++ commented abort.
8032 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
8033 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
8034 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
8035 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
8036
8037 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
8038
8039 * config/t-freebsd: Do not override USER_H.
8040 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
8041
8042 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
8043 Mumit Khan <khan@xraylith.wisc.edu>
8044
8045 * c-parse.in (component_decl): Support anonymous struct/union.
8046 (%expect): Update.
8047 * c-parse.y: Regenerate.
8048 * c-parse.c: Likewise.
8049 * objc/objc-parse.y: Likewise.
8050 * objc/objc-parse.c: Likewise.
8051 * c-decl.c (finish_struct): Don't sort the fields.
8052 (field_decl_cmp): Delete unused function.
8053
8054 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
8055
8056 * sparc.md (movsf_const_intreg): Revert last constraint change.
8057 (movdf_const_intreg_sp32): Likewise.
8058
8059 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
8060
8061 * cse.c: Include hashtab.h instead of splay-tree.h
8062 (struct cse_reg_info): No longer use variant union. Add new
8063 field "regno". All references changed to avoid union.
8064 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
8065 (free_cse_reg_info): Remove.
8066 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
8067 (get_cse_reg_info): Revamp to use expandable hash tables instead
8068 of splay trees. Initialize new fields in cse_reg_info structure.
8069 (new_basic_block): Similarly.
8070
8071 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
8072
8073 * genrecog.c (message_with_line): Prototype.
8074 (validate_pattern): Pass along the set for the dest, not a flag.
8075 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
8076 Check for PC/CC0 as sources.
8077 (nodes_identical): Check for children position match before
8078 allowing the combination.
8079
8080 * rtl.c (read_rtx): Track line number across \\\n.
8081
8082 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
8083
8084 * mips.h (SPECIAL_MODE_PREDICATES): New.
8085 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
8086 (movdi+1, movsi+1): Add output reload constraint.
8087 (casesi_internal): Likewise. Fix commentary.
8088 (return_internal): Use pmode_register_operand.
8089
8090 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
8091
8092 * 1750a.md (movstrqi): Add missing output reload constraint.
8093 (call_value): Likewise.
8094 * a29k.md (cpxxx patterns): Add missing match_operator mode.
8095 (jmpfdec): Add missing inout reload constraint.
8096 * elxsi.md (addsi patterns): Add missing output reload constraint.
8097 (move from sp): Use @ alternates.
8098 (call_value): No constraint on output.
8099 * fr30.md (movsi_pop): Add missing output reload constraint.
8100 (movsf_constant_store): Likewise.
8101 (splits): Remove constraints.
8102 (subsi3): Add missing mode.
8103 * i370.md (cmpstrsi+1): Add missing output reload constraint.
8104 (call_value): Likewise.
8105 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
8106 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
8107 * m32r.md (movsicc_internal): Add output reload constraint.
8108 (movstrsi_internal): Add inout reload constraints.
8109 * m88k.h (reg_names): Don't declare.
8110 (SPECIAL_MODE_PREDICATES): New.
8111 * m88k.md (*): Use register_operand not reg_or_0_operand
8112 on destinations.
8113 * mn10200.h (PREDICATE_CODES): New.
8114 * ns32k.md (ffs pattern): Add output reload constraint.
8115 * pdp11.md (sob pattern): Add inout reload constraint.
8116 * sh.md (splits): Remove constraints.
8117 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
8118 * v850.md (pattern_is_ok_for_epilogue): Likewise.
8119 * vax.md (jgequ pattern): Add inout reload constraint.
8120
8121 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
8122
8123 * configure.in (djgpp): Revert previous patch.
8124 * configure: Rebuit.
8125 * config/i386/djgpp.h: Revert previous patch.
8126
8127 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
8128
8129 * fixinc/inclhack.def: Restore patch lost during last merge of
8130 "no_bogosity" branch.
8131 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
8132
8133 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
8134
8135 * fixincludes: Add a HPUX 11 fix for inttypes.h.
8136 * fixinc/inclhack.def: Same.
8137 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
8138
8139 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
8140
8141 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
8142 as the base of a PLUS.
8143
8144 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8145
8146 * config/c4x/c4x.md: Define mode for remaining unspec operators.
8147 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
8148
8149 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
8150
8151 * pa.md (post_stw+1): Use pmode_register_operand.
8152 (dcacheflush, icacheflush): Likewise.
8153
8154 * i386.md (movstricthi_1): Allow r/r.
8155
8156 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
8157
8158 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
8159 to (not (and (arg0) (arg1))). Similary for and.
8160
8161 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
8162 fallthrough to associate code.
8163 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
8164 bits in common.
8165
8166 * combine.c (simplify_logical): Convert XOR to IOR if operands have
8167 no bits in common; remove XOR to ROTATE conversion.
8168
8169 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8170
8171 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
8172
8173 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8174
8175 * config/c4x/c4x.c (dst_operand): New.
8176 (PREDICATE_CODES): Update.
8177 * config/c4x/c4x.h (dst_operand): Declare it.
8178 * config/c4x/c4x.md: Define mode for each unspec usage.
8179 (move patterns): Use dst_operand predicate instead of src_operand.
8180 (movqi_update, movqf_update): Delete.
8181
8182 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
8183
8184 * recog.c (pmode_register_operand): New.
8185 * recog.h: Declare it.
8186 * genrecog.c (pred_codes): Likewise.
8187 (special_mode_pred_table): Likewise.
8188 (validate_pattern): Don't warn no mode for address_operand.
8189
8190 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
8191 if the operand is not insn-like.
8192
8193 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
8194 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
8195
8196 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
8197
8198 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
8199
8200 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
8201 instead of general_operand in a SET_DEST. Use const_double_operand
8202 instead of an explicit test against CONST_DOUBLE.
8203 (movsf_const_lo): Add missing register mode.
8204 (goto_handler_and_restore): Add auxiliary test for Pmode.
8205 (flush): Adjust to use address_operand.
8206 (return_sf_no_fpu): Add missing output constraint.
8207
8208 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
8209
8210 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
8211 for call return value.
8212 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
8213
8214 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
8215
8216 * toplev.c (main): Only warn about options for other languages.
8217 * collect2.c (main): Pass -w to sub-gcc.
8218
8219 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
8220
8221 * flow.c (propagate_block): Add call-clobbered registers to
8222 significant too.
8223
8224 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
8225 zapping mem_set_list.
8226 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
8227 (mark_set_1, mark_used_regs): Likewise.
8228
8229 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
8230
8231 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
8232
8233 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8234
8235 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
8236 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
8237 options. Also add a new item "C-only Warning Options" to the
8238 option summary.
8239
8240 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
8241
8242 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
8243 from multiple calls.
8244
8245 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
8246
8247 * i386.md (call value patterns): Move to the end of the file.
8248 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
8249
8250 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
8251
8252 * configure.in (djgpp configuration): Define extra_objects..
8253 * configure: Rebuilt.
8254 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
8255 (DTORS_SECTION_ASM_OP): Define.
8256 (INIT_SECTION_ASM_OP): Define.
8257 (FINI_SECTION_ASM_OP): Define.
8258 (DATA_SECTION_ASM_OP): Define.
8259 (TEXT_SECTION_ASM_OP): Define.
8260 (EH_FRAME_SECTION_ASM_OP): Define.
8261 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
8262 (STARTFILE_SPEC): Add crtbegin.o.
8263 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
8264 to here from LINK_COMMAND_SPEC.
8265 (DO_GLOBAL_CTORS_BODY): Define.
8266 (CRTSTUFF_USE_FINI_SECTION): Define
8267 (HAS_INIT_SECTION): Delete.
8268
8269 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
8270
8271 * Makefile.in (all.cross): Depend on xcpp$(exeext).
8272
8273 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
8274
8275 * pa.h (PREDICATE_CODES): New.
8276
8277 * genrecog.c (validate_pattern): Condense the destination
8278 non-lvalue message.
8279
8280 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
8281
8282 * alpha.md (call-1): Supply missing mode for operator.
8283 (*): Add missing output reload constraints. Remove constraints
8284 from define_splits.
8285
8286 * i386.h (SPECIAL_MODE_PREDICATES): New.
8287 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
8288 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
8289 (addsi_lea_3): Add missing mode for op 3.
8290 (prologue_set_got, prologue_get_pc): Add missing modes.
8291 (*) Add missing output reload constraints.
8292
8293 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
8294
8295 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
8296 check for member bit-size overflow and use var_size if it occurs.
8297 (layout_record): Use bitsize_int() to define the type size in bits.
8298 Likewise for computation and assignment to DECL_FIELD_BITPOS.
8299 (layout_decl): Likewise when assigning to DECL_SIZE.
8300
8301 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
8302
8303 * genrecog.c (validate_pattern): Typo last change. Verify
8304 that output operands have output reloads.
8305
8306 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
8307
8308 * genrecog.c (special_mode_pred_table): New.
8309 (NUM_SPECIAL_MODE_PREDS): New.
8310 (find_operand): New.
8311 (validate_pattern): New argument `insn'. Warn for assignment to
8312 any predicate accepting non-lvalues. Conditionaly warn for
8313 match_operand without a mode. Try much harder to match source
8314 and destination modes on a set.
8315 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
8316
8317 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
8318
8319 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
8320
8321 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
8322
8323 * combine.c (simplify_logical): Recognize xor pattern that encodes
8324 rotation.
8325
8326 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8327
8328 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
8329 alignment.
8330
8331 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
8332
8333 * ggc-page.c (MAP_FAILED): Provide default.
8334
8335 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
8336
8337 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
8338 * sparc.h (PREDICATE_CODES): Update.
8339
8340 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
8341
8342 * alpha.c (some_ni_operand): New.
8343 * alpha-protos.h: Declare it.
8344 * alpha.h (PREDICATE_CODES): Update.
8345 * alpha.md (sXaddq reload insns): Use some_ni_operand
8346 for SET_DEST instead of some_operand.
8347
8348 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
8349 Jim Wilson <wilson@cygnus.com>
8350
8351 * genrecog.c (maybe_both_true_2): Don't compare modes of
8352 two DT_pred tests.
8353 (process_tree): Elide peephole2_insns. Invoke simplify_tests
8354 after find_afterward.
8355 (debug_decision_1): Dump next and afterward codes.
8356
8357 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
8358
8359 * rtl.c (dump_and_abort): Remove.
8360 (fatal_with_file_and_line): New.
8361 (fatal_expected_char): New.
8362 (read_rtx_lineno, read_rtx_filename): New.
8363 (read_skip_spaces): Track line number.
8364 (read_name): Use fatal_with_file_and_line.
8365 (read_rtx): Use fatal_expected_char. Track line number.
8366 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
8367
8368 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
8369 if it isn't a CODE_LABEL.
8370
8371 * genattr.c (main): Set read_rtx_filename.
8372 * genattrtab.c (main): Likewise.
8373 * gencodes.c (main): Likewise.
8374 * genconfig.c (main): Likewise.
8375 * genemit.c (main): Likewise.
8376 * genextract.c (main): Likewise.
8377 * genflags.c (main): Likewise.
8378 * genopinit.c (main): Likewise.
8379 * genoutput.c (main): Likewise.
8380 * genpeep.c (main): Likewise.
8381
8382 * genrecog.c (decision_test.u.insn): Add `lineno'.
8383 (pattern_lineno, error_count): New variables.
8384 (message_with_line): New.
8385 (add_to_sequence): Break out checking code to ...
8386 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
8387 (merge_insn): Use message_with_line.
8388 (make_insn_sequence): Use validate_pattern. Record insn lineno.
8389 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
8390
8391 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8392
8393 * expr.c (store_constructor): Clear union if constructor is empty.
8394
8395 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
8396
8397 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
8398 Add !endian checks. Change %{...} to %(...).
8399
8400 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
8401
8402 * i386.md (*addsi3_cc): Renamed from addcsi3.
8403 (*addsi3_carry): Renamed from addxsi3.
8404 (*subsi3_cc): Renamed from subcsi3.
8405 (*subsi3_carry): Renamed from subxsi3.
8406 (*xorqi_cc_1): Renamed from xorcqi_1.
8407 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
8408 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
8409
8410 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
8411
8412 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
8413 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
8414
8415 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
8416
8417 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
8418 climb up the chain of insns.
8419
8420 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
8421
8422 * genrecog.c (write_subroutine): Careful for null trees.
8423 (process_tree): Don't elide empty functions.
8424
8425 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
8426
8427 * Makefile.in (genrtl.o): Depend on ggc.h.
8428 * configure.in (valloc): Probe for it.
8429 (with-gc): Use ggc-page if valloc present.
8430 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
8431 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
8432 (ggc_alloc_string): Moved from ggc-page.c.
8433 * ggc-none.c (ggc_alloc_obj): New.
8434 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
8435 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
8436 (struct globals): Likewise for dev_zero_fd.
8437 (init_ggc): Likewise for it's initialization.
8438 (ggc_allocated_p): Move careful dereference from ...
8439 (ggc_lookup_page_table): ... here. Delete.
8440 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
8441 (alloc_anon): Use valloc if no mmap.
8442 (release_pages): Use free if using valloc.
8443 (ggc_alloc_obj): Renamed from alloc_obj.
8444 (ggc_set_mark): Renamed from mark_obj.
8445 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
8446 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
8447 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
8448 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
8449 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
8450 (ggc_collect): Use fp printing instead of our own rounding.
8451 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
8452 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
8453 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
8454 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
8455 (struct ggc_string, struct ggc_any): Delete.
8456 (offsetof): Provide default definition.
8457 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
8458 (PTR_KEY): New.
8459 (struct ggc_mem): New, from corpse of ggc_any.
8460 (struct ggc_status): Delete.
8461 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
8462 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
8463 (n_strings_collected, n_anys_collected): Delete.
8464 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
8465 (ggc_alloc_string, ggc_alloc): Delete.
8466 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
8467 (ggc_free_string, ggc_free_any): Delete.
8468 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
8469 (ggc_compare_addresses, ggc_mark_string): Delete.
8470 (ggc_mark_string_if_gcable, ggc_mark): Delete.
8471 (search_data): Delete.
8472 (struct globals): New.
8473 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
8474 (tree_insert, tree_lookup): New.
8475 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
8476 (clear_marks, sweep_objs): New.
8477 (ggc_collect): Gut. Use clear_marks, sweep_objs.
8478 (init_ggc): Set allocated_last_gc.
8479 (ggc_push_context): Gut. Use G.context.
8480 (ggc_pop_context): Likewise.
8481 (ggc_pop_context_1): New.
8482 (debug_ggc_tree): New.
8483 (debug_ggc_balance, tally_leaves): New.
8484 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
8485 (ggc_mark_string_if_gcable): Remove decl.
8486 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
8487 (ggc_mark_rtvec_children): New.
8488 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
8489 (ggc_mark_if_gcable): New decl.
8490 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
8491 (ggc_alloc_tree, ggc_alloc): Likewise.
8492 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
8493 (ggc_alloc_obj): New decl.
8494 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
8495 (ggc_alloc_tree, ggc_alloc): Likewise.
8496 (ggc_set_mark): New decl.
8497 * rtl.h (struct rtx_def): Remove gc_mark.
8498 (struct rtvec_def): Likewise.
8499 * tree.h (struct tree_common): Likewise.
8500
8501 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
8502
8503 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
8504 float_format and thread_file definitions.
8505 * configure: Rebuilt.
8506
8507 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
8508
8509 * extend.texi (Function Names): Document types of function names.
8510
8511 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8512
8513 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
8514 an earlyclobbered output conflict with RELOAD_INPUT reloads.
8515
8516 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8517
8518 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
8519
8520 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8521
8522 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
8523
8524 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
8525
8526 * collect2.c (main): Do prelimnary link on AIX if rflag.
8527
8528 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
8529
8530 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
8531 __CTOR_LIST__ in opposite order, which is the correct order for sorted
8532 constructors.
8533 (__do_global_dtors): similarly for __DTOR_LIST__.
8534
8535 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8536 Diego Novillo <dnovillo@cygnus.com>
8537
8538 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
8539 FPUL_REGS.
8540
8541 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
8542
8543 * fixincl/*: Merged "no_bogosity" branch
8544 * fixincl/fixlib.h: protect against doubly defining t_bool
8545 * fixincl/server.h: protect against doubly defining t_bool
8546
8547 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
8548
8549 * genoutput.c: Include toplev.h.
8550
8551 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
8552
8553 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
8554 Undef.
8555 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
8556 * configure: Regenerate.
8557
8558 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
8559
8560 * gcse.c (delete_null_pointer_checks): Returns void.
8561
8562 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8563
8564 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
8565 * emit-rtl.c (copy_insn_1): Likewise.
8566
8567 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
8568
8569 * config/mips/mips.c (mips_build_va_list): Correct
8570 TREE_CHAIN setting when hard-float.
8571 (mips_va_start): Use corrected setting.
8572 (mips_va_arg): Likewise. Also pass a tree to build of
8573 POSTINCREMENT_EXPR rather than a naked 'int'.
8574
8575 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
8576
8577 * ggc.h (ggc_push_context): Fix comment.
8578 (ggc_pop_context): Likewise.
8579 (mark_string_if_gcable): Likewise.
8580 * ggc-common.c (ggc_mark_rtx_children): Use
8581 ggc_mark_string_if_gcable.
8582 * ggc-page.c (ggc_lookup_page_table): New function.
8583 (ggc_allocated_p): Likewise.
8584 (mark_obj): Fix formatting.
8585 (ggc_mark_string_if_gcable): New function.
8586 * ggc-simple.c (ggc_allocated_strings): New variable.
8587 (ggc_strings_used): Likewise.
8588 (ggc_compare_addresses): New function.
8589 (ggc_pop_context): Pop the `any' memory too.
8590 (ggc_mark_string_if_gcable): New function.
8591 (ggc_collect): Initialize and tear down ggc_allocated_strings.
8592
8593 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
8594
8595 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
8596 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
8597 * rs6000.c (expand_block_move): Match movstrsi_?reg register
8598 changes.
8599
8600 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
8601
8602 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
8603 (sched_reg_live_length, sched_reg_basic_block): Delete.
8604 (current_block_num, bb_live_regs, old_live_regs): Delete.
8605 (dead_notes, struct sometimes): Delete.
8606 (sched_note_set, birthing_insn_p): Delete.
8607 (adjust_priority): Gut useless reg lifetime code.
8608 (create_reg_dead_note, attach_deaths): Delete.
8609 (attach_deaths_insn, new_sometimes_live): Delete.
8610 (finish_sometimes_live): Delete.
8611 (find_pre_sched_live, find_post_sched_live): Delete.
8612 (update_reg_usage): Delete.
8613 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
8614 (schedule_insns): Delete reg lifetime code.
8615 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
8616 (unlink_other_notes): Adjust REG_NOTE commentary.
8617 (reemit_notes): Use REG_SAVE_NOTE.
8618 (schedule_block): Likewise.
8619 (schedule_region): Allocate bitmap of blocks in region. Use
8620 count_or_remove_death_notes. Use update_life_info.
8621
8622 * rtl.h (REG_SAVE_NOTE): New.
8623 * rtl.c (reg_note_name): Update.
8624
8625 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
8626
8627 * combine.c (refresh_blocks, need_refresh): New.
8628 (combine_instructions): Allocate refresh_blocks. Invoke
8629 update_life_info if needed.
8630 (distribute_notes): Mark refresh_blocks instead of installing
8631 USE insns.
8632 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
8633 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
8634
8635 * Makefile.in (recog.o): Depend on basic-block.h.
8636
8637 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
8638
8639 * genrecog.c (add_to_sequence): Thinko last change: delete
8640 shadowing allow_const_int variable.
8641
8642 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8643
8644 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
8645 __GNUC__ and __GNUC_MINOR__.
8646
8647 * gansidecl.h: Likewise.
8648
8649 * rtl.c: Likewise.
8650
8651 * rtl.h: Likewise.
8652
8653 * toplev.h: Likewise.
8654
8655 * tree.c: Likewise.
8656
8657 * tree.h: Likewise.
8658
8659 * varray.c: Likewise.
8660
8661 * varray.h: Likewise.
8662
8663 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8664
8665 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
8666 use one before a jump table.
8667
8668 * rtl.def (ADDRESS): Change documentation to match reality.
8669 * md.texi: Don't document it.
8670 * gmicro.md (load address pattern): Use 'p' constraint, delete use
8671 of ADDRESS rtx.
8672
8673 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
8674
8675 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
8676
8677 * genrecog.c (add_to_sequence): Move allow_const_int test outside
8678 known predicate block; default allow_const_int true.
8679 (debug_decision_list): New.
8680
8681 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
8682
8683 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
8684
8685 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
8686
8687 * gcse.c (gcse_main): Avoid global optimizations if we have a
8688 large number of basic blocks and the ratio of edges to blocks
8689 is high.
8690 (delete_null_pointer_checks): Likewise.
8691
8692 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
8693
8694 * c-common.c (check_format_info): Warn if format string isn't a
8695 string literal.
8696
8697 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
8698
8699 * configure.in (arm*-*-*): Don't let autoconf remove brackets
8700 * configure: regenerate
8701
8702 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
8703
8704 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
8705 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
8706 (peepholes): Re-enable.
8707
8708 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
8709
8710 * Makefile.in (flow.o): Depend on TREE_H.
8711 * basic-block.h (REG_SET_EQUAL_P): New.
8712 (XOR_REG_SET): New.
8713 (n_edges): Declare.
8714 (free_regset_vector): Remove declaration.
8715 (flow_delete_insn_chain): Declare.
8716 (enum update_life_extent): New.
8717 (update_life_info, count_or_remove_death_notes): Declare.
8718 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
8719 Verify register live at bb->global_live_at_start before adding USE.
8720 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
8721 (CLEAN_ALLOCA): New.
8722 (n_edges): New.
8723 (PROP_*): New flags.
8724 (find_basic_blocks_1): Use alloc_EXPR_LIST.
8725 (clear_edges): Zero n_edges.
8726 (make_edge): Increment n_edges.
8727 (split_edge): Don't allocate bb->local_set. Increment n_edges.
8728 (flow_delete_insn_chain): Export.
8729 (delete_block): Decrement n_edges.
8730 (merge_blocks_nomove): Likewise.
8731 (life_analysis): Give life_analysis_1 PROP flags.
8732 (verify_wide_reg_1, verify_wide_reg): New.
8733 (verify_local_live_at_start): New.
8734 (update_life_info): Rewrite to call into propogate_block.
8735 (mark_reg): New.
8736 (mark_regs_live_at_end): After reload, if epilogue as rtl,
8737 always mark stack pointer. Conditionally mark PIC register.
8738 After reload, mark call-saved registers, return regsiters.
8739 (life_analysis_1): Accept PROP flags not remove_dead_code.
8740 Call mark_regs_live_at_end before zeroing regs_ever_live.
8741 Use calculate_global_regs_live. Copy global_live_at_end before
8742 calling final propagate_block. Zero reg_next_use on exit.
8743 (calculate_global_regs_live): New.
8744 (allocate_bb_life_data): Don't allocate bb->local_set.
8745 (init_regset_vector, free_regset_vector): Remove.
8746 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
8747 Test flags before every operation. Warn if prologue/epilogue insn
8748 would have been deleted.
8749 (mark_set_regs, mark_set_1): Accept and use FLAGS.
8750 Use alloc_EXPR_LIST.
8751 (mark_used_regs): Accept and use FLAGS, not FINAL.
8752 Remove special handling for RETURN.
8753 (try_pre_increment): Use alloc_EXPR_LIST.
8754 (dump_flow_info): Dump n_edges.
8755 (unlink_insn_chain, split_hard_reg_notes): Remove.
8756 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
8757 (find_insn_with_note, new_insn_dead_notes): Remove.
8758 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
8759 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
8760 (replace_insns): Remove.
8761 (count_or_remove_death_notes): New.
8762 (verify_flow_info): Abort on error after all checks.
8763 (remove_edge): Decrement n_edges.
8764 (remove_fake_edges): Tweek format.
8765 * haifa-sched.c (schedule_insns): Use split_all_insns.
8766 * output.h (update_life_info): Remove declaration.
8767 * recog.c (split_all_insns): From the corpse of split_block_insns,
8768 do the whole function block by block. Use update_life_info.
8769 (recog_last_allowed_insn): New.
8770 (recog_next_insn): Mind it.
8771 (peephole2_optimize): Set it. Walk backwards through blocks.
8772 Use update_life_info.
8773 * rtl.h (update_flow_info, replace_insns): Remove declarations.
8774 (split_all_insns): Declare.
8775 * toplev.c (rest_of_compilation): Thread prologue before flow2.
8776 Use split_all_insns.
8777
8778 * i386.md (or -1 peep2s): Disable.
8779
8780 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
8781
8782 * config/mips/mips.md (movstrsi+[123]) : Combine these into
8783 a single pattern. Scrap the 'd' versions as unnecessary.
8784
8785 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
8786 tablejump_mips162,tablejump_internal4): The operands to a
8787 label_ref must be VOIDmode.
8788
8789 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8790
8791 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
8792
8793 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
8794
8795 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
8796
8797 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
8798
8799 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
8800 cache every function if ggc_p.
8801
8802 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8803
8804 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
8805 instead of copy_rtx. Accept sequences that contain asm statements.
8806 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
8807 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
8808 orig_asm_operands_vector, copy_asm_operands_vector,
8809 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
8810 variables.
8811 * rtl.h (copy_insn, copy_insn_1): Declare.
8812
8813 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8814
8815 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
8816
8817 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
8818 arguments to `current_file_function_operand'.
8819
8820 * genrecog.c: Include hard-reg-set.h and resource.h in the
8821 generated output file.
8822
8823 * real.c: Include tm_p.h.
8824
8825 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8826
8827 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
8828 output operand.
8829
8830 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
8831
8832 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
8833 before the fctiwz insn.
8834
8835 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8836 Mark Mitchell <mark@codesourcery.com>
8837
8838 * tree.c (make_lang_type_fn): New funtion pointer.
8839 (make_lang_type): Call it.
8840 * tree.h (make_lang_type): Declare.
8841 (make_lang_type_fn): Likewise.
8842 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
8843
8844 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
8845
8846 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
8847 make sure that HIGH instructions are copied into BASE_REGS.
8848
8849 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
8850
8851 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
8852
8853 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
8854
8855 * c-decl.c (finish_struct): Use simpler method of
8856 removing elements of a singly-linked list.
8857
8858 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
8859
8860 * alpha.md (peephole2's): Comment out peephole2's that generate
8861 buggy code.
8862
8863 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
8864
8865 * genrecog.c (add_to_sequence): Disable mode check for
8866 wildcard matches.
8867
8868 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8869
8870 * ggc-simple.c (init_ggc): Set empty_string.
8871
8872 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
8873
8874 * configure.in: Detect mmap. Add --with-gc=foo to select
8875 garbage collector; default to page if mmap available.
8876 * Makefile.in (GGC): Substitute.
8877
8878 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
8879
8880 * c-decl.c (ggc_p): Enable.
8881
8882 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8883
8884 * flow.c (verify_flow_info): Make it extern & unconditionally define.
8885
8886 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
8887
8888 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
8889 string for little-endian-data.
8890
8891 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
8892
8893 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
8894 case somebody tries to compile --enable-checking code with gcc
8895 1.34 or such.
8896
8897 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
8898
8899 * genrecog.c (add_to_sequence): Verify operand to label_ref is
8900 VOIDmode.
8901
8902 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
8903
8904 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
8905 * jump.c (jump_optimize_1): Document why.
8906
8907 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8908
8909 * collect2.c (scan_prog_file, scan_libraries): Prototype function
8910 pointers and casts for `int_handler' and `quit_handler'.
8911
8912 * flow.c (verify_flow_info, split_hard_reg_notes,
8913 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
8914 remove_edge, remove_fake_successors): Add static prototypes.
8915 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
8916 (mark_set_1): Initialize variable `regno'.
8917 (unlink_insn_chain): Likewise for variable `curr'.
8918 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
8919
8920 * loop.c (strength_reduce): Initialize variable
8921 `unrolled_insn_copies'.
8922 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
8923 prototypes. Change these functions to take const PTR parameters
8924 to avoid prototype conflict when used as the comparson argument
8925 for qsort.
8926 (check_dbra_loop): Initialize variable `comparison_val'.
8927
8928 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
8929 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
8930 (find_valid_class): Initialize variable `best_class'.
8931 (find_reloads): Call memcpy, not bcopy.
8932
8933 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
8934 (hard_reg_use_compare): Don't needlessly cast away const.
8935 (reload_reg_class_lower): Likewise.
8936 (choose_reload_regs): Initialize variable `regno'.
8937
8938 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
8939
8940 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
8941
8942 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
8943
8944 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
8945 ({,d}discard): Add forward declarations. Declare parameter as
8946 unused.
8947 (main_without_main): Explicitly declare return type to be int.
8948 (memcpy): Properly declare.
8949
8950 * libgcc2.c (toplevel): If inhibit_libc is defined and not
8951 building the trampoline support, declare malloc, free, and
8952 atexit.
8953 (__clear_cache): Mark arguments as potentially unused.
8954
8955 * frame.c (toplevel): If inhibit_libc is defined, declare
8956 malloc and free.
8957
8958 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
8959
8960 * flow.c (make_edge): Accept an optional 2D bitmap in which
8961 to cache edge existence. Update all callers.
8962 (make_label_edge, make_eh_edge): Pass through the edge cache.
8963 (make_edges): Provide the cache.
8964
8965 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8966
8967 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
8968 a char*.
8969 (local_mbtowc): Change the type of variable `i' from int to size_t.
8970
8971 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
8972 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
8973
8974 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
8975
8976 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
8977 after other includes that define the appropriate types. Include
8978 tm_p.h for getting user prototypes.
8979 * ggc-callbacks.c (toplevel): Ditto.
8980 * ggc-none.c (toplevel): Ditto.
8981 * gcc-page.c (toplevel): Ditto.
8982 * ggc-simple.c (toplevel): Ditto.
8983
8984 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
8985 Jonathan Larmour <jlarmour@cygnus.co.uk>
8986
8987 * config/mips/mips.c (mips_move_2words): Split doubles if
8988 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
8989
8990 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
8991
8992 * genrecog.c (struct decision_test): New.
8993 (struct decision): Remove test-related members, sort the rest by size.
8994 (IS_SPLIT): Simplify.
8995 (new_decision, new_decision_test): New.
8996 (add_to_sequence): Use them. No special handling for args of
8997 non-MATCH codes.
8998 (maybe_both_true): Renamed from not_both_true; return sense changed.
8999 (maybe_both_true_1, maybe_both_true_2): New. Broken out
9000 of maybe_both_true and adjusted for decision_test.
9001 (position_merit): Remove.
9002 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
9003 (merge_accept_insn): New, broken out of merge_trees.
9004 (merge_trees): Use them. No special case for c_test; no node
9005 splitting; use test type instead of position_merit.
9006 (factor_tests): New.
9007 (simplify_tests): New.
9008 (break_out_subroutines): Don't write code now.
9009 (find_afterward): New.
9010 (write_afterward, write_switch, write_cond): New.
9011 (write_action, is_unconditional): New.
9012 (write_node): New. Use them.
9013 (write_tree_1): Rewrite. Use the new functions above.
9014 (write_tree): Remove afterward processing.
9015 (write_subroutine): Simplify function variant emission.
9016 (write_subroutines): New.
9017 (same_codes, clear_codes): Remove.
9018 (same_modes, clear_modes): Remove.
9019 (write_header): New, broken out of main.
9020 (make_insn_sequence): Use new_decision and new_decision_test.
9021 (process_tree): New, broken out of main.
9022 (main): Adjust for merge_trees interface change.
9023 Don't #define operands in the output file.
9024 (record_insn_name): New, broken out of make_insn_sequence.
9025 (debug_decision_2, debug_decision_1, debug_decision_0): New.
9026 (debug_decision): New.
9027
9028 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
9029
9030 * resource.c (find_free_register): Mark class_str argument const.
9031 * resource.h: Update prototype to match.
9032
9033 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
9034 * i386.md: Give all anonymous insns names.
9035
9036 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
9037
9038 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
9039 blocks.
9040
9041 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
9042
9043 * toplev.c (dbr_sched_time): Unconditional.
9044 (peephole2_time): New.
9045 (compile_file): Add pass numbers to all of the dump file suffixes.
9046 Dump peephole2_time. Don't dump times for non-applicable passes.
9047 (rest_of_compilation): Add pass numbers to dump file suffixes.
9048 Conditionalize calls to the scheduler.
9049 * invoke.texi: Update.
9050
9051 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
9052
9053 * flow.c (make_edges): Fix insn iteration.
9054 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
9055 (find_basic_blocks_1): Fix spelling mistake.
9056
9057 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
9058
9059 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
9060 always have side-effects. Use memset not bzero.
9061 (make_node): Likewise.
9062
9063 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
9064
9065 * stmt.c (expand_anon_union_decl): When any of the elements of the
9066 union is addressable, so is the entire union.
9067
9068 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
9069
9070 * sbitmap.c (sbitmap_ones): Don't set too many bits.
9071
9072 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
9073 * bitmap.c (bitmap_operation): Return true iff TO changed.
9074 (bitmap_equal_p): New.
9075 (bitmap_bit_p): Tidy arithmetic.
9076 (debug_bitmap_file): Likewise.
9077
9078 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
9079
9080 * toplev.c (rest_of_compilation): Turn on cse_not_expected
9081 before cse2 instead of after.
9082
9083 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
9084
9085 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
9086 register offsets.
9087
9088 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9089
9090 * cppinit.c (is_idchar initializer): Loosen tests to accept
9091 gcc 2.>6 and >2.
9092
9093 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
9094
9095 * mips.md: Define conditional move patterns for floating point
9096 operands and DI mode conditions.
9097
9098 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
9099
9100 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
9101 always have side-effects.
9102
9103 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
9104
9105 * mn10200.c (asm_file_start): Fix typo.
9106
9107 * cppinit.c (is_idchar initializer): Tighten tests for when
9108 to put the table into initialized memory.
9109
9110 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
9111 not an array of rtunion.
9112 * gcc-page.c (ggc_alloc_rtvec): Similarly.
9113 * gcc-simple (ggc_free_rtvec): Similarly.
9114
9115 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
9116 of rtunions.
9117
9118 * mbchar.h: Add missing #endif.
9119
9120 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
9121 (FPBIT, DPBIT): Define.
9122
9123 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9124
9125 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
9126
9127 * profile.c (instrument_arcs, output_gcov_string,
9128 tablejump_entry_p): Add static prototypes.
9129 (output_gcov_string): Constify a char*.
9130
9131 * regmove.c (replacement_quality, fixup_match_2): Add static
9132 prototypes.
9133
9134 * resource.h (reg_dead_p): Add extern prototype.
9135
9136 * rtl.c (trim_filename): Add static prototype.
9137
9138 * scan-decls.c (skip_to_closing_brace): Likewise.
9139
9140 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
9141 (expand_end_case): Initialize variable `range'.
9142 (emit_case_nodes): Remove unused prototype `rtx_fn'.
9143
9144 * varasm.c (asm_emit_uninitialised): Add static prototype.
9145 (asm_emit_uninitialised, assemble_variable): Mark parameter with
9146 ATTRIBUTE_UNUSED.
9147
9148 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9149
9150 * cpplib.c (if_directive_nameo): Add static prototype.
9151
9152 * cse.c (cse_insn): Remove unused variable `p'.
9153
9154 * except.c (create_rethrow_ref, push_entry,
9155 receive_exception_label, new_eh_region_entry, find_func_region,
9156 clear_function_eh_region, process_nestinfo): Add static prototypes.
9157 (get_reg_for_handler): Hide definition.
9158 (process_nestinfo): Initialize variable `extra_handlers'.
9159
9160 * expr.h (expand_builtin_longjmp): Add extern prototype.
9161
9162 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
9163
9164 * function.c (prepare_function_start): Likewise.
9165 (pop_function_context_from): Mark parameter `context' with
9166 ATTRIBUTE_UNUSED.
9167 (push_temp_slots_for_block, flush_addressof): Hide definition.
9168
9169 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
9170 solve_program_flow_graph, calculate_branch_probs,
9171 function_summary, main, fancy_abort): Add prototypes.
9172
9173 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
9174 (add_hash): Constify a char*.
9175
9176 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
9177 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
9178 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
9179
9180 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
9181
9182 * lists.c (free_list, zap_lists): Likewise.
9183
9184 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9185
9186 * alias.c (nonlocal_reference_p): Add static prototype.
9187
9188 * bitmap.c (bitmap_element_allocate): Prototype args in function
9189 pointer cast.
9190
9191 * builtins.c (stabilize_va_list): Add static prototype.
9192 (expand_builtin_va_arg): Constify a char*.
9193
9194 * c-lex.c (getch, put_back, extend_token_buffer_to,
9195 read_line_number, token_getch, token_put_back): Add static
9196 prototypes.
9197
9198 * c-parse.gperf (hash, is_reserved_word): Likewise.
9199
9200 * cccp.c (is_dir_separator): Likewise.
9201
9202 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9203
9204 * graph.h: New file to prototype functions exported by graph.c.
9205
9206 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
9207
9208 * graph.c: Include graph.h.
9209
9210 * toplev.c: Likewise. Remove redundant prototypes.
9211
9212 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
9213
9214 * invoke.texi: Removed duplicated description for -Q.
9215
9216 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
9217
9218 * extend.texi: Grammar fix in __extension__ text.
9219
9220 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
9221
9222 * md.texi (define_peephole2): New section.
9223
9224 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
9225
9226 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
9227 (mov $-1 to or peepholer): Enable for pentium when optimizing for
9228 speed.
9229
9230 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
9231
9232 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
9233
9234 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
9235
9236 * i386.md (ffs expander): Emit Pentium friendly code for
9237 TARGET_PENTIUM.
9238
9239 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
9240
9241 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
9242 for non-trees.
9243 (build1): Likewise.
9244
9245 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9246
9247 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
9248
9249 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
9250
9251 * config/m68k/m68k.c (use_return_insn): Return false if the pic
9252 register is in use.
9253
9254 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9255
9256 * md.texi (No Constraints): Delete section.
9257 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
9258 * final.c (final_scan_insn): We always have register constraints.
9259 * genattrtab.c: Don't include "insn-config.h".
9260 (write_attr_case): We always have register constraints.
9261 * genconfig.c (register_constraint_flag): Delete.
9262 (walk_insn_part): Don't check whether we have register constraints.
9263 (main): Don't write out "#define REGISTER_CONSTRAINTS".
9264 * genoutput.c (have_constraints): Delete.
9265 (main): Don't set it.
9266 (output_operand_data): We always have constraints.
9267 (scan_operands): Likewise.
9268 (compare_operands): Likewise.
9269 * local-alloc.c (block_alloc): We always have constraints.
9270 (requires_inout): Always compile this function.
9271 * recog.c (extract_insn): We always have constraints.
9272 (constrain_operands, reg_fits_class_p): Always compile these
9273 functions.
9274 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
9275 fields.
9276 (struct insn_operand_data): Likewise.
9277 * regclass.c (regclass): We always have constraints.
9278 (record_reg_classes, copy_cost, record_address_regs,
9279 auto_inc_dec_reg_p): Always compile these functions.
9280 * regmove.c (regmove_optimize): We always have constraints.
9281 * reload.c (find_reloads): Likewise.
9282 * reload1.c (reload): Likewise.
9283 (reload_cse_simplify_operands): Likewise.
9284 * i860.c (output_delay_insn): Likewise.
9285
9286 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
9287
9288 * iris6.h (BUILD_VA_LIST_TYPE): Define.
9289
9290 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9291
9292 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
9293 for the va_list record.
9294
9295 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
9296
9297 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
9298 prologues.
9299
9300 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
9301
9302 * alias.c: Include insn-flags.h.
9303 * Makefile.in (alias.o): Update.
9304
9305 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
9306
9307 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
9308 to LTU and GEU. Handle more cases using sbb.
9309
9310 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
9311
9312 * i386.md (truncatexfdf splitters): Do not use subreg.
9313 (fop XFmode patterns): Fix mode in operand testing.
9314
9315 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
9316
9317 * jump.c (jump_optimize_1): Amend last change to test only the
9318 form of the operand, not the insn.
9319
9320 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
9321 not register_operand to determine when B may need preloading.
9322
9323 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
9324
9325 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
9326 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
9327 (call-value patterns): Move to end of file.
9328 (*): Remove mode from label_ref in (pc) context.
9329 (movstrqi): Use memory not general_operand for BLKmode operands.
9330 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
9331 to register_operand operands.
9332 (peep2 patterns): Convert from commented-out peephole patterns.
9333
9334 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9335
9336 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
9337 to BUILT_IN_INIT_DWARF_REG_SIZES.
9338 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
9339 Renamed from BUILT_IN_DWARF_REG_SIZE; call
9340 expand_builtin_init_dwarf_reg_sizes.
9341 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
9342 with __builtin_init_dwarf_reg_size_table.
9343 * dwarf2out.c (struct reg_size_range): Delete.
9344 (expand_builtin_init_dwarf_reg_sizes): New function.
9345 (expand_builtin_dwarf_reg_size): Delete.
9346 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
9347 (expand_builtin_dwarf_reg_size): Don't declare.
9348 * libgcc2.c (dwarf_reg_size_table_initialized): New.
9349 (dwarf_reg_size_table): New.
9350 (init_reg_size_table): New function.
9351 (copy_reg): Use dwarf_reg_size_table.
9352 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
9353 before use.
9354
9355 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
9356
9357 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
9358 Correctly build argument list to constructor and destructor functions.
9359
9360 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
9361
9362 * c-tree.h (warn_float_equal): Declare.
9363 * c-decl.c (warn_float_equal): Define.
9364 (c_decode_option): Recognize -W[no-]float-equal.
9365 * c-typeck.c (build_binary_op): Conditionally warn
9366 about equality tests of floating point types.
9367 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
9368 * invoke.texi: Add docs for -Wfloat-equal warning.
9369
9370 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
9371
9372 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
9373 generating RTL directly.
9374 * mips.h (INIT_TARGET_OPTABS): Likewise.
9375 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
9376
9377 * expr.h (init_mov_optab): Delete declaration
9378
9379 * h8300.c (WORD_REG_USED): Update to avoid useless register
9380 saves in interrupt functions and functions which never return.
9381
9382 * cse.c (struct set): Delete inner_dest_loc field.
9383 (cse_insn): Remove assignments to inner_dest_loc field.
9384
9385 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
9386
9387 * ggc-page.c: Don't include <unistd.h> etc taken care of
9388 by "system.h". Include <sys/mman.h> afterward.
9389
9390 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
9391
9392 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
9393 ggc_alloc_string.
9394
9395 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
9396
9397 * xcoffout.c (xcoffout_declare_function): Add documentation.
9398 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
9399 TARGET_64BIT. Compare constant to -1, not bit pattern.
9400 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
9401 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
9402 gen_movsi typos.
9403
9404 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
9405
9406 * dwarf2out.c (add_abstract_origin_attribute): Abort if
9407 origin_die is NULL.
9408 (gen_inlined_enumeration_type_die): Do not abort if the type has
9409 not been writeen out.
9410 (gen_inlined_structure_type_die): Do not abort if the type has
9411 not been writeen out.
9412 (gen_inlined_union_type_die): Do not abort if the type has
9413 not been writeen out.
9414 (gen_tagged_type_instantiation_die): Do not abort if the type
9415 has not been written out.
9416
9417 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9418
9419 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
9420 call it.
9421 * reg-stack.c (straighten_stack): Copy hard reg set with
9422 COPY_HARD_REG_SET.
9423
9424 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
9425
9426 * builtins.c (stabilize_va_list): Stabilize array type va_list
9427 to a pointer type, not the base record type.
9428 (expand_builtin_va_copy): Dereference the pointers explicitly;
9429 use the correct size for the copy.
9430
9431 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
9432 (rs6000_va_arg): Likewise.
9433
9434 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
9435
9436 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
9437
9438 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
9439
9440 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
9441 field.
9442 (DECL_BUILT_IN_CLASS): Adjust accordingly.
9443
9444 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
9445
9446 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
9447 (init_ggc): Use it instead of a constant.
9448 (ggc_collect): Bound allocated_last_gc by it.
9449
9450 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
9451
9452 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
9453 with va_list.
9454
9455 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
9456
9457 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
9458 (mips*-*-openbsd*): Let big endian configuration be a fragment.
9459 * configure: Regen.
9460 * config/mips/openbsd.h: New, OpenBSD little endian target.
9461 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
9462 * config/mips/xm-openbsd.h: New, OpenBSD host.
9463
9464 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
9465
9466 * config/m68k/m68k.c (output_function_prologue,
9467 output_function_epilogue): Use
9468 current_function_uses_pic_offset_table instead of regs_ever_live
9469 to decide whether to save/restore pic register.
9470 (legitimize_pic_address): Don't modify regs_ever_live any more.
9471
9472 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
9473
9474 * function.h (struct function): Add x_dont_save_pending_sizes_p.
9475 * stor-layout.c (variable_size): Don't add sizes to the pending
9476 sizes list if x_dont_save_pending_sizes_p is set.
9477
9478 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
9479
9480 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
9481 for symbolic_operand().
9482 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
9483
9484 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9485
9486 * combine.c (gen_rtx_combine): Add missing call to va_end().
9487
9488 * final.c (asm_fprintf): Likewise.
9489
9490 * genattrtab.c (attr_rtx): Likewise.
9491
9492 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
9493
9494 * cse.c: Update comments.
9495 (cse_insn): When converting a conditional/computed jump into
9496 an unconditional jump, always make sure a BARRIER immediately
9497 follows the converted jump. Do not delete unreachable code.
9498 (cse_basic_block): Do not delete unreachable code.
9499 * toplev.c (rest_of_compilation): Move call to
9500 delete_trivially_dead_insns after the conditional call to
9501 jump_optimize.
9502
9503 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9504
9505 * collect2.c (make_temp_file): Don't prototype.
9506
9507 * gcc.c (make_temp_file): Likewise.
9508
9509 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
9510
9511 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
9512
9513 * varasm.c (asm_emit_uninitialised): New function: Generate
9514 the assembler statements necessary to declare an uninitialised
9515 variable.
9516 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
9517 variable.
9518 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
9519 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
9520 section.
9521 (assemble_variable): Use asm_emit_uninitialised to emit an
9522 uninitialised variable.
9523
9524 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
9525
9526 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
9527 constant on a 64 bit host. Patch supplied by Geoffrey Keating
9528 <geoffk@cygnus.com>.
9529
9530 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9531
9532 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
9533 * c-common.h (builtin_function): Don't declare.
9534
9535 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
9536 DECL_BUILT_IN.
9537 (pushdecl): Likewise.
9538 (finish_decl): Likewise.
9539 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
9540 int. All callers changed.
9541 Set the builtin's DECL_BUILT_IN_CLASS.
9542 * tree.h (enum built_in_class): New.
9543 (enum built_in_function): Delete NOT_BUILT_IN.
9544 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
9545 in a union.
9546 (DECL_SET_FUNCTION_CODE): Likewise.
9547 (DECL_BUILT_IN_CLASS): New macro.
9548 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
9549 (struct tree_decl): Split builtin function code field into a
9550 struct.
9551 (builtin_function): Declare.
9552
9553 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
9554
9555 * optabs.c (init_traps): Fix typo in last change.
9556
9557 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
9558
9559 * toplev.c (rest_of_decl_compilation): Update comment.
9560
9561 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
9562
9563 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
9564 in .sbss if appropriate.
9565 (EXTRA_SECTION_FUNCTIONS): Add sbss.
9566 (SBSS_SECTION_ASM_OP): New macro.
9567 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
9568 (EXTRA_SECTIONS): Add in_sbss.
9569 * config/mips/mips.h: Prototype sbss_section.
9570
9571 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
9572
9573 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
9574 to disappear.
9575
9576 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
9577
9578 * optabs.c (init_traps): Register trap_rtx as a GC root.
9579
9580 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9581
9582 * config/mips/mips.c (function_arg_pass_by_reference): Define
9583 unconditionally, since it's called unconditionally.
9584
9585 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
9586
9587 * toplev.c (documented_lang_options): Add -fshort-wchar.
9588 * c-decl.c (c_decode_option): Likewise.
9589 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
9590 for wchar_t.
9591 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
9592 * gcc.c (default_compilers): If -fshort-wchar,
9593 override __WCHAR_TYPE__.
9594 * tm.texi (C Dialect Options): Add -fshort-wchar.
9595
9596 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
9597 symbol for a variable.
9598
9599 * cpplib.h (CPP_PREPROCESSED): New macro.
9600 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
9601 we're seeing this input for a second time.
9602
9603 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
9604
9605 * emit-rtl.c (init_emit_once): Initialize modes first.
9606
9607 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
9608
9609 * config/i386/i386.c (pic_label_name): Change to char pointer.
9610 (global_offset_table): New variable.
9611 (load_pic_register): Fill global_offset_table if it hasn't
9612 already been done. Allocate pic_label_name dynamically.
9613 * ggc.h (empty_string): New variable.
9614 * ggc-simple.c (empty_string): Likewise.
9615 (init_ggc): Allocate empty_string and add as root.
9616 * stmt.c (digit_strings): New variable.
9617 (init_stmt): Add last_block_end_note as root. Allocate and
9618 initialize digit_strings.
9619 (expand_asm_operands): Use empty_string instead of string
9620 constant. Use digit_strings instead of string constants.
9621 * profile.c (init_arc_profiler): Allocate string with
9622 ggc_alloc_string instead of xmalloc.
9623 (output_func_start_profiler): Likewise.
9624 * c-typeck.c (digest_init): Check if init is error_mark_node.
9625
9626 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
9627 Richard Henderson <rth@cygnus.com>
9628
9629 * ggc-page.c: New file.
9630 * Makefile.in (ggc-page.o): New.
9631
9632 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
9633
9634 * invoke.texi: Document -fdelete-null-pointer-checks
9635 * toplev.c (flag_delete_null_pointer_checks): New.
9636 (f_options): Add entry for -fdelete-null-pointer-checks.
9637 (rest_of_compilation): Conditionalize null pointer check
9638 elimination on flag_delete_null_pointer_checks.
9639 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
9640
9641 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
9642
9643 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
9644 copyright notice and special exception to GPL.
9645
9646 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9647
9648 * abi64.h (mips_function_value): Add prototype arguments.
9649
9650 * mips-protos.h: New file with mips prototypes.
9651
9652 * mips.c: Include "tm_p.h".
9653 (mktemp, lookup_name): Add prototype arguments.
9654 (extern_list, string_constant, mips_fill_delay_slot,
9655 mips_output_external, mips_output_external_libcall,
9656 mips_output_filename, mips_declare_object, function_prologue,
9657 mips_expand_prologue, function_epilogue, mips16_constant,
9658 build_mips16_function_stub, mips_output_conditional_branch):
9659 Constify a char*.
9660 (mips_va_start): Remove unused variable `u'.
9661 (mips_va_arg): Cast value to unsigned when comparing against one.
9662 (trace): Delete.
9663 (save_restore_insns, mips_expand_prologue): Add missing arg in
9664 call to `large_int'.
9665
9666 * mips.h: Move prototypes to mips-protos.h.
9667 (data_section, memory_address_p, rdata_section,
9668 readonly_data_section, simple_epilogue_p, text_section): Delete
9669 prototypes delcared elsewhere.
9670 (mips_epilogue_delay_slots, print_options): Delete unused decls.
9671 (trace): Delete.
9672 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
9673
9674 * mips.md: Delete extra args in call to `mips_move_2words'.
9675
9676 * xm-iris6.h (alloca): Add prototype argument.
9677
9678 * genpeep.c: Include "tm_p.h" in generated output file.
9679
9680 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9681
9682 * basic-block.h (find_edge_index): Change parameters.
9683 * flow.c (verify_edge_list): Pass basic_block parameters to
9684 find_edge_index instead of integers.
9685
9686 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
9687
9688 * combine.c (simplify_comparison): Use an unsigned shift to adjust
9689 the constant.
9690
9691 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
9692
9693 * gcc.1: Fix a formatting error.
9694
9695 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
9696
9697 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
9698 i786, mn10200, mn10300, pdp11, v850.
9699
9700 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
9701
9702 * libgcc2.c (num_digits): Add prototype with
9703 __attribute__((const)).
9704 (__terminate): Add prototype.
9705
9706 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
9707
9708 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
9709
9710 * alpha/alpha.c (print_operand): Fix type of `code'.
9711 (alpha_output_filename): Constify.
9712 * alpha/alpha.h: Move all function declarations ...
9713 * alpha/alpha-protos.h: ... here. New file.
9714 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
9715 (SECTION_FUNCTION_TEMPLATE): Likewise.
9716
9717 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9718
9719 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
9720 * expr.c (expand_expr): Likewise.
9721 (do_jump): Likewise.
9722 (do_store_flag): Pass ccp_store_flag to can_compare_p.
9723 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
9724 accessor macros.
9725 (enum can_compare_purpose): New.
9726 (can_compare_p): Adjust prototype.
9727 (prepare_cmp_insn, prepare_operand): Declare.
9728 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
9729 * optabs.c (cmp_available_p): Deleted.
9730 (expand_abs): Pass ccp_jump to can_compare_p.
9731 (can_compare_p): New arg PURPOSE. Check for combined optabs.
9732 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
9733 Call can_compare_p rather than cmp_available_p.
9734 (prepare_operand): No longer static.
9735 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
9736 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
9737 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
9738 sequence to use emit_cmp_and_jump_insns.
9739 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
9740
9741 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
9742
9743 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
9744 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
9745 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
9746 (plus (reg) (const_int 0))
9747 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
9748
9749 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
9750
9751 * rs6000.c (expand_block_move): DImode loads and stores require
9752 word-aligned displacements. Increment address registers with
9753 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
9754
9755 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
9756
9757 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
9758 is no name for the base type, rather than segfault. If we are
9759 writing out a complex integer type, use DW_ATE_lo_user.
9760
9761 * expr.c (emit_move_insn_1): If we are copying a complex that fits
9762 in one word or less (complex char, complex short, or on 64 bit
9763 systems complex float) to/from a hard register, copy it through
9764 memory instead of dying in gen_{real,imag}part. If we have a
9765 short complex type, prevent inlining since it allocates stack
9766 memory.
9767
9768 * tree.c (build_complex_type): If we are writing dwarf2 output,
9769 generate a name for complex integer types.
9770
9771 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9772
9773 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
9774 * flow.c (remove_edge): Remove extra whitespace.
9775 (remove_fake_edges): Fix comment.
9776 (add_noreturn_fake_exit_edges): Use the correct name.
9777
9778 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
9779
9780 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
9781 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
9782 (clean): Depend on INTL_CLEAN.
9783 (maintainer-clean): Adjust.
9784
9785 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9786
9787 * configure.in (AC_PREREQ): Bump to 2.13.
9788 (AC_C_STRINGIZE): Call this instead of using a custom macro.
9789
9790 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
9791
9792 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
9793
9794 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
9795
9796 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
9797 (HAVE_STRINGIZE): Define.
9798
9799 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
9800
9801 * c-parse.in: save and restore warn_pointer_arith on __extension__
9802 along with pedantic.
9803 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
9804 Set the type of extension to itype rather than $<itype>1 kludge.
9805 * extend.texi (Alternate Keywords): Adjust documentation.
9806 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
9807
9808 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
9809
9810 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
9811 most assembler templates.
9812
9813 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
9814 FP loads and stores.
9815 (following_call): Always return zero for the PA8000.
9816 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
9817 FP loads and stores.
9818 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
9819
9820 * pa.h (BRANCH_COST): Define.
9821
9822 * pa.md (return, return_internal): Use bve for PA2.0.
9823
9824 * pa.md (fused multiply): Add variants which reduce height for the
9825 fused multiply, but which still generate 2 insns.
9826 (fnegabs): Similarly.
9827
9828 * pa.md (subsi3): Turn into an expander. Create two anonymous
9829 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
9830 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
9831
9832 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
9833 for TARGET_PA_20.
9834 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
9835 code generation.
9836 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
9837 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
9838
9839 * regclass.c (init_regs): Add "top_of_stack" as a garbage
9840 collection root.
9841
9842 * flow.c (record_active_eh_regions): Terminate loop after finding
9843 the last insn in the last basic block.
9844
9845 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9846
9847 * config/c4x/c4x.md: Delete parallel instruction peepholes.
9848
9849 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9850
9851 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
9852
9853 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9854
9855 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
9856 splitting to not use output template.
9857
9858 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9859
9860 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
9861 * config/c4x/c4x.c (c4x_va_start): New function.
9862
9863 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
9864
9865 * genrecog.c (not_both_true): Handle correctly cases when called for
9866 tests with different positions in the insn.
9867
9868 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9869
9870 * machmode.h (HOST_PTR_PRINTF): Move from here ...
9871
9872 * system.h (HOST_PTR_PRINTF): ... to here.
9873
9874 * mips-tfile.c: Don't include machmode.h.
9875
9876 * Makefile.in (MACHMODE_H): New variable. Update to use it.
9877 (mips-tfile.o): Don't depend on machmode.h.
9878
9879 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9880
9881 * haifa-sched.c (sched_analyze): Rename local variable `region' to
9882 avoid conflicts with typedef struct `region' at the top level scope.
9883
9884 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
9885
9886 * basic-block.h (basic_block): Add eh_beg, eh_end.
9887 * flow.c (entry_exit_blocks): Update.
9888 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
9889 Call new functions.
9890 (find_basic_blocks_1): Don't record eh_list at each bb. Use
9891 lists.c functions to allocate insn lists.
9892 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
9893 edge creation ...
9894 (make_eh_edge): ... here. New.
9895 (move_stray_eh_region_notes): New.
9896 (record_active_eh_regions): New.
9897 (delete_unreachable_blocks): Split out block merging ...
9898 (try_merge_blocks): ... here. New.
9899 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
9900 Dump debugging data.
9901 (merge_blocks_move_successor_nojumps): Likewise.
9902 (merge_blocks): Use eh_beg+eh_end to validate block movement.
9903
9904 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
9905
9906 * extend.texi (Bound member functions): Document unbound pmf
9907 conversion.
9908
9909 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9910
9911 * flow.c (split_edge): Handle insertion on a fallthrough edge which
9912 has the EXIT_BLOCK as a dest.
9913
9914 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9915
9916 * flow.c (remove_edge): New function to remove an edge from the
9917 flow graph.
9918 (remove_fake_successors): New function to remove fake successor edges.
9919 (remove_fake_edges): New function to remove all fake edges from the
9920 flow graph.
9921 (add_fake_exit_edges): New function to add fake edges from all blocks
9922 with no successors to the exit block.
9923 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
9924 prototypes for new functions.
9925
9926 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9927
9928 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
9929 Use Pmode to determine whether to output .dword or .word.
9930
9931 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
9932
9933 * tree.c (built_in_filename): New variable.
9934 (BUILT_IN_FILENAME): New macro.
9935 (init_tree_codes): Allocate built_in_filename.
9936 (make_node): Use built_in_filename instead of string constant.
9937
9938 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
9939
9940 * configure.in: Add fr30 target.
9941 * configure: Regenerate.
9942 * config/fr30: New directory.
9943 * config/fr30/crti.asm: New file.
9944 * config/fr30/fr30.c: New file.
9945 * config/fr30/crtn.asm: New file.
9946 * config/fr30/fr30.h: New file.
9947 * config/fr30/fr30.md: New file.
9948 * config/fr30/lib1funcs.asm: New file.
9949 * config/fr30/t-fr30: New file.
9950 * config/fr30/xm-fr30.h: New file.
9951
9952 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
9953
9954 * flow.c (merge_blocks_move_successor_nojumps): Delete the
9955 BARRIER at the end of the successor, not the BARRIER before
9956 the successor.
9957
9958 * pa.c (pa_add_gc_roots): Fix thinko in last change.
9959
9960 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
9961
9962 * stmt.c (any_pending_cleanups): Don't crash when
9963 current_function->stmt is unset.
9964
9965 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9966
9967 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
9968 other initializations that may use it for relative offsets.
9969
9970 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9971
9972 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
9973 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
9974 * config/i386/sol2dbg.h: Removed.
9975 * config/i386/sol2gas.h: New file, to enable gas work-around.
9976 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
9977 Don't use sol2dbg.h.
9978 * configure: Rebuilt.
9979
9980 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
9981
9982 * invoke.texi (-fthis-is-variable): Remove documentation.
9983
9984 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
9985
9986 * basic-block.h (compute_bb_for_insn): Declare.
9987 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
9988 to use; set size of basic_block_for_insn directly.
9989 (find_basic_blocks): Update.
9990
9991 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9992
9993 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
9994
9995 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9996
9997 * crtstuff.c (ON_EXIT): Delete empty macro definition.
9998 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
9999
10000 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
10001
10002 * c-decl.c (c_decode_option): Extend comment.
10003
10004 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
10005
10006 * toplev.c (progname): Make 'const char *'
10007 (flag_print_mem): Move out of main.
10008 (version_flag): Move out of main.
10009 (filename): Move out of main.
10010 (debug_args): Remove g prefix from options.
10011 (documented_lang_options): Remove cpplib specific options.
10012 (display_help): Add g prefix to debug options.
10013 (check_lang_option): Delete this function.
10014 (decode_d_option): New function: Decode -d... option.
10015 (decode_f_option): New function: Decode -f... option.
10016 (decode_W_option): New function: Decode -W... option.
10017 (decode_g_option): New function: Decode -g... option.
10018 (independent_decode_option): New function: Decode a language
10019 independent command line option.
10020 (main): Invoke lang_decode_option and then
10021 independent_decode_option on each command line option in
10022 turn.
10023
10024 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
10025
10026 Revert this change. Gavin's patch to operand_equal_p is a better fix.
10027 * fold-const.c (fold_range_test): Do not try to fold the range
10028 test if the rhs or lhs has side effects.
10029
10030 * basic-block.h (compute_flow_dominators): Declare.
10031
10032 * gcse.c (alloc_code_hoist_mem): New function.
10033 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
10034 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
10035 (hoist_code, one_code_hoisting_pass): Likewise.
10036 (gcse_main): If optimizing for size, then hoist expressions
10037 computed in multiple dominated basic blocks.
10038
10039 * gcse.c (invalid_nonnull_info): New function.
10040 (delete_null_pointer_checks): Likewise.
10041 * rtl.h (delete_null_pointer_checks): Declare.
10042 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
10043
10044 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
10045 (merge-blocks_move_successor_nojumps): Likewise.
10046 (merge_blocks): Allow merging of some blocks, even if it requires
10047 physical movement of the blocks, but not if it requires new jumps.
10048
10049 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
10050 Callers and prototype changed.
10051 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
10052
10053 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10054
10055 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
10056 -YP when both -p and -pg are present. From i386/sol2.h.
10057
10058 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10059
10060 * Makefile.in (distclean): Delete tm_p.h.
10061 * configure.in: Create a new file, "tm_p.h", from a list in
10062 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
10063 "i386/i386-protos.h".
10064
10065 * alias.c: Include "tm_p.h".
10066 * c-typeck.c: Likewise.
10067 * calls.c: Likewise.
10068 * cse.c: Likewise.
10069 * emit-rtl.c: Likewise.
10070 * explow.c: Likewise.
10071 * expmed.c: Likewise.
10072 * expr.c: Likewise.
10073 * final.c: Likewise.
10074 * flow.c: Likewise.
10075 * fold-const.c: Likewise.
10076 * function.c: Likewise.
10077 * gcse.c: Likewise.
10078 * global.c: Likewise.
10079 * haifa-sched.c: Likewise.
10080 * integrate.c: Likewise.
10081 * jump.c: Likewise.
10082 * local-alloc.c: Likewise.
10083 * loop.c: Likewise.
10084 * optabs.c: Likewise.
10085 * recog.c: Likewise.
10086 * reg-stack.c: Likewise.
10087 * regclass.c: Likewise.
10088 * regmove.c: Likewise.
10089 * reload.c: Likewise.
10090 * reload1.c: Likewise.
10091 * reorg.c: Likewise.
10092 * resource.c: Likewise.
10093 * stmt.c: Likewise.
10094 * stor-layout.c: Likewise.
10095 * toplev.c: Likewise.
10096 * tree.c: Likewise.
10097 * unroll.c: Likewise.
10098 * genattrtab.c (main): Make generated file include "tm_p.h".
10099 * genemit.c (main): Likewise.
10100 * genoutput.c (main): Likewise.
10101 * genrecog.c (main): Likewise.
10102
10103 * i386.h: Delete all prototypes.
10104 * i386.c: Include "tm_p.h".
10105 (ix86_attr_length_default): Call constant_call_address_operand
10106 with correct number of arguments.
10107 * i386-protos.h: New file.
10108 * i386.md (unnamed patterns): Call constant_call_address_operand
10109 with correct number of arguments.
10110 (exception_receiver): Call load_pic_register with correct number
10111 of arguments.
10112
10113 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
10114
10115 * c-pragma.c (mark_align_stack): Dereference the void* properly.
10116
10117 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
10118
10119 * rtl.h (insns_safe_to_move_p): New function.
10120 * loop.c (find_and_verify_loops): Use it.
10121 * rtlanal.c (insns_safe_to_move_p): Define it.
10122
10123 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
10124
10125 * c-pragma.c: Include ggc.h.
10126 * Makefile.in (c-pragma.o): Update.
10127
10128 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10129
10130 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
10131 (LIB_SPEC): Likewise.
10132 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
10133 Reindent -YP/-p/-pg.
10134 Copied from config/sparc/sol2.h.
10135
10136 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
10137
10138 * c-pragma.c (mark_align_stack): New.
10139 (init_pragma): New.
10140 * c-pragma.h (init_pragma): Declare it.
10141 * c-lex.c (init_parse): Call it.
10142
10143 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10144
10145 * configure.in: Pick up thread library on Solaris/x86 just
10146 like on Solaris/sparc.
10147 * configure: Rebuilt.
10148
10149 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
10150
10151 * rtl.h (global_rtx_index): New enum.
10152 (global_rtl): Change to array of rtx.
10153 (pc_rtx, cc0_rtx): Redefine accordingly.
10154 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
10155 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
10156 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
10157 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
10158 (const_int_rtx): Change to array of rtx.
10159 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
10160 accordingly.
10161 * emit-rtl.c (global_rtl): Change to array of rtx.
10162 (const_int_rtx): Change to aray of rtx.
10163 (gen_rtx_CONST_INT): Redefine accordingly.
10164 (init_emit_once): Allocate and initialize global_rtl. Likewise
10165 for const_int_rtx. Add both as GC roots.
10166 * genattrtab.c (global_rtl): Update declaration.
10167
10168 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
10169
10170 * Makefile (USER_H): Add iso646.h back.
10171
10172 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
10173
10174 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
10175 zapping the LOG_LINKS of sched_before_next_call.
10176
10177 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
10178 * pa.c (insn_refs_are_delayed): Renamed from
10179 insn_sets_and_refs_are_delayed.
10180
10181 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
10182
10183 * functiion.h (struct function): Add x_whole_function_mode_p.
10184 (retrofit_block): Declare.
10185 * function.c (retrofit_block): New function.
10186 (identify_blocks): Add assertions. Allow an incomplete set of
10187 block notes if we're still generating code for the function.
10188 * integrate.c: Include loop.h.
10189 (expand_inline_function): Call find_loop_tree_blocks to map block
10190 notes to blocks when in whole-function mode. Use retrofit_block
10191 to insert new BLOCKs for the inlined function, rather than
10192 insert_block.
10193 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
10194 * Makefile.in (integrate.o): Depend on loop.h.
10195
10196 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
10197
10198 * tree.h (warn_about_unused_variables): Declare.
10199 * stmt.c (warn_about_unused_variables): New function, split out
10200 from ...
10201 (expand_end_bindings): Here.
10202
10203 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
10204
10205 * stmt.c (preserve_subexpressions_p): Don't crash when
10206 current_function->stmt is unset.
10207
10208 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
10209
10210 * stmt.c (expand_start_bindings): Allow callers to pass a flag
10211 indicating that no NOTE_INSN_BLOCK_BEG note is required.
10212 (expand_start_target_temps): Use it.
10213 * except.c (expand_eh_region_start_for_decl): Likewise.
10214 * expr.c (expand_expr): Likewise.
10215
10216 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
10217
10218 * fold-const.c (operand_equal_p): Pay attention to side effects.
10219
10220 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
10221
10222 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
10223 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
10224
10225 * tlink.c (scan_linker_output): Look for keywords before accepting
10226 a mangled name in quotes.
10227
10228 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
10229
10230 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
10231 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
10232
10233 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
10234
10235 * alpha.md: Revert Thu Nov 26 change that came in through the
10236 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
10237 Avoid earlyclobber when possible.
10238
10239 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10240
10241 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
10242
10243 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
10244 Define HAVE_ON_EXIT.
10245
10246 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10247
10248 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
10249 CTYPE_CONV in all ctype macros.
10250
10251 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
10252 from system.h.
10253
10254 * cexp.y (initialize_random_junk): Likewise.
10255
10256 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
10257
10258 * i370.c (handle_pragma): Likewise.
10259
10260 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
10261
10262 * v850.c (override_options): Likewise.
10263
10264 * doprint.c (_doprnt): Likewise.
10265
10266 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
10267 Likewise.
10268
10269 * fixinc/server.c (load_data): Likewise.
10270
10271 * fold-const.c (real_hex_to_f): Likewise.
10272
10273 * genattr.c (write_upcase, gen_attr): Likewise.
10274
10275 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
10276 write_upcase): Likewise.
10277
10278 * genemit.c (print_code): Likewise.
10279
10280 * genopinit.c (gen_insn): Likewise.
10281
10282 * genpeep.c (print_code): Likewise.
10283
10284 * genrecog.c (print_code): Likewise.
10285
10286 * optabs.c (init_libfuncs): Likewise.
10287
10288 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
10289
10290 * haifa-sched.c (sched_analyze): Keep the list of notes organized
10291 in pairs.
10292 (reemit_notes): Likewise.
10293
10294 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
10295
10296 * ggc.h (ggc_root): Move to ggc-common.c.
10297 (roots): Remove.
10298 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
10299 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
10300 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
10301 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
10302 * ggc-common.c (ggc_root): Move from ggc.h.
10303 (roots): Declare, static.
10304 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
10305 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
10306 null or check/set mark bit.
10307 (ggc_mark_roots): New.
10308 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
10309
10310 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
10311
10312 * m32r.c: Include toplev.h.
10313 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
10314 (gen_compare): Rename swap_p to must_swap to match uses.
10315 Add default abort case.
10316 (m32r_output_function_epilogue): Remove unused variables.
10317 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
10318 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
10319 define to empty parameter list. Update all uses.
10320 (predicate decls): Use enum machine_mode not int.
10321 * m32r.md (movsi): Call abort, not fatal_insn.
10322 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
10323
10324 1999-09-14 Andrew Haley <aph@cygnus.com>
10325
10326 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
10327 use $0 instead of 0.
10328
10329 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10330
10331 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
10332 computation out of loop over hard regs.
10333
10334 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
10335
10336 * function.c (identify_blocks): Don't shadow a variable in an
10337 outer scope.
10338 * integrate.c (integrate_decl_tree): Don't use pushlevel,
10339 pushdecl, or poplevel to build up the new BLOCK tree.
10340 (expand_inline_function): Likewise.
10341 (integrate_parm_decls): Likewise.
10342
10343 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
10344
10345 * c-typeck.c (qualify_type): Merge qualifiers from both types.
10346
10347 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
10348
10349 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
10350 * invoke.texi: Document this change.
10351
10352 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
10353
10354 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
10355 Free the struct.
10356 (mark_emit_status): Renamed from mark_emit_state.
10357 * except.c (mark_eh_status): Renamed from mark_eh_state.
10358 Check not null before marking.
10359 (free_eh_status): New.
10360 * expr.c (mark_expr_status, free_expr_status): New.
10361 * function.c (free_machine_status): New.
10362 (free_after_parsing): New.
10363 (free_after_compilation): Move bits to free_after_parsing; call
10364 free_eh_status, free_expr_status; zero the marked members of the
10365 function state.
10366 (prepare_function_start): No can_garbage_collect.
10367 Call init_eh_for_function.
10368 (expand_dummy_function_end): Free up current_function state.
10369 (mark_function_status): Renamed from mark_function_state.
10370 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
10371 * function.h (struct function): No can_garbage_collect.
10372 (free_machine_status, free_after_parsing): Declare.
10373 (free_eh_status, free_expr_status): Declare.
10374 * ggc.h (mark_expr_status): Declare.
10375 * stmt.c (free_stmt_status): Free the struct.
10376 (mark_stmt_status): Renamed from mark_stmt_state.
10377 (init_stmt): Don't call init_eh.
10378 (init_stmt_for_function): Don't call init_eh_for_function.
10379 * toplev.c (compile_file): Call init_eh.
10380 (rest_of_compilation): Free basic block info before ggc_collect.
10381 Call free_after_parsing; conditionally call free_after_compilation.
10382 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
10383 Check not null before marking.
10384 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
10385
10386 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
10387
10388 * c-lex.c (yylex): Initialize warn.
10389
10390 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
10391
10392 * pa.c (emit_move_sequence): Properly set the mode of the scratch
10393 register when performing secondary reloads for the SAR register.
10394
10395 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
10396
10397 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
10398 (NOTE_BLOCK): New macro.
10399 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
10400 * function.h (identify_blocks): Change prototype.
10401 * function.c (identify_blocks): Simplify.
10402 (reorder_blocks): Likewise.
10403 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
10404 NOTE_INSN_BLOCK_{BEG,END}.
10405 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
10406 the list of saved notes if the note isn't a
10407 NOTE_INSN_BLOCK_{BEG,END}.
10408 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
10409 NOTE_BLOCK_NUMBER.
10410 (reemit_notes): Adjust recreation of notes to reflect new saved
10411 note structure.
10412 * print-rtl.c (print_rtx): Print the address of the BLOCK when
10413 printing a block note.
10414 * stmt.c (block_vector): Remove.
10415 (find_loop_tree_blocks): Simplify.
10416 (unroll_block_trees): Likewise.
10417 * tree.h (reorder_block): Change prototype.
10418
10419 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
10420
10421 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
10422 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
10423 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
10424 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
10425 (atexit, exit): Simplify.
10426 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
10427 * config/lots: Remove defns of HAVE_ATEXIT.
10428
10429 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
10430
10431 * calls.c (precompute_arguments): Fix typo in comment.
10432 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
10433 TARGET_EXPR.
10434
10435 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
10436
10437 * dsp16xx.c (override_options): Fix typos in GC root registration.
10438
10439 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
10440
10441 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
10442 from config/svr4.h.
10443 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
10444 (FUNCTION_PROFILER): Redefine appropriately for Linux.
10445 (CC1_SPEC): Likewise.
10446
10447 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10448
10449 * genattr.c (main): Add extern prototype. Call return, not exit.
10450 * genattrtab.c (main): Likewise.
10451 * gencheck.c (main): Likewise.
10452 * gencodes.c (main): Likewise.
10453 * genconfig.c (main): Likewise.
10454 * genemit.c (main): Likewise.
10455 * genextract.c (main): Likewise.
10456 * genflags.c (main): Likewise.
10457 * gengenrtl.c (main): Likewise.
10458 * genopinit.c (main): Likewise.
10459 * genoutput.c (main): Likewise.
10460 * genpeep.c (main): Likewise.
10461 * genrecog.c (main): Likewise.
10462
10463 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
10464 * genattrtab.c (get_insn_name): Likewise.
10465 * gencodes.c (get_insn_name): Likewise.
10466 * genconfig.c (get_insn_name): Likewise.
10467 * genemit.c (get_insn_name): Likewise.
10468 * genextract.c (get_insn_name): Likewise.
10469 * genflags.c (get_insn_name): Likewise.
10470 * genopinit.c (get_insn_name): Likewise.
10471 * genpeep.c (get_insn_name): Likewise.
10472
10473 * gencheck.c (usage): Add static prototype.
10474 * genextract.c (print_path): Constify a char*.
10475 * genopinit.c (optabs): Likewise.
10476 * genoutput.c (operand_data, data, output_predicate_decls,
10477 compare_operands): Likewise.
10478 * genrecog.c (write_tree): Add default case in switch.
10479
10480 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10481
10482 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
10483
10484 * print-rtl.c (get_insn_name): Remove prototype.
10485
10486 * toplev.h (progname): Declare const.
10487
10488 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
10489 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
10490 dump_sched_info, dump_local_alloc, regset_release_memory,
10491 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
10492 error_with_file_and_line, error_with_decl, error_for_asm, error,
10493 fatal, warning_with_file_and_line, warning_with_decl, warning,
10494 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
10495 Remove redundant prototypes.
10496
10497 (notice, check_lang_option, report_file_and_line, vnotice,
10498 mark_file_stack): Add static prototype.
10499 (set_fatal_function): Add prototype.
10500 (vnotice, report_file_and_line, set_fatal_function,
10501 check_lang_option): Constify a char*.
10502 (main): Prototype. Call return, not exit.
10503
10504 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10505
10506 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
10507
10508 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
10509
10510 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
10511
10512 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
10513
10514 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10515
10516 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
10517 behave as if it's zero in all cases.
10518 (expand_function_start): Adjust call to assign_parms.
10519 * tree.h (assign_parms): Adjust prototype.
10520 * objc/objc-act.c (hack_method_prototype): Adjust call to
10521 assign_parms.
10522
10523 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
10524
10525 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
10526 arg_pointer_rtx fixed if the argument pointer register is
10527 not fixed.
10528 (NONZERO_BASE_PLUS_P): Likewise.
10529
10530 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
10531
10532 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
10533 match_insn2 to match_insn.
10534 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
10535
10536 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
10537
10538 * Makefile.in (USER_H): Remove va-foo.h.
10539
10540 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
10541 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
10542 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
10543 va-spur.h,va-v850.h}: Remove.
10544
10545 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
10546
10547 * sparc/sparc.md (eligible_for_return_delay): New attribute.
10548 (in_return_delay): Use it instead of match_insn.
10549
10550 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10551
10552 * config/alpha/va_list.h (va-alpha.h): Do not include.
10553 (__gnuc_va_list): Typedef as in varargs.h.
10554
10555 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
10556
10557 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
10558 DECL_LIVE_RANGE_RTL.
10559
10560 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
10561
10562 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
10563 not NOTE_BLOCK_NUMBER.
10564 (expand_eh_region_end): Likewise.
10565 (find_exception_handler_labels): Likewise.
10566 (scan_region): Likewise.
10567 (exception_optimize): Likewise.
10568 (update_rethrow_references): Likewise.
10569 (set_insn_eh_region): Likewise.
10570 * final.c (final_scan_insn): Likewise.
10571 * flow.c (make_edges): Likewise.
10572 * integrate.c (expand_inline_function): Likewise.
10573 * print-rtl.c (print_rtx): Likewise.
10574
10575 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
10576
10577 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
10578 terms of builtin functions and types.
10579
10580 * mips.c (mips_build_va_list): New.
10581 (mips_va_start, mips_va_arg): New.
10582 * mips.h (BUILD_VA_LIST_TYPE): New.
10583 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
10584
10585 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
10586 (sh_build_va_list, sh_va_start, sh_va_arg): New.
10587 * sh.h (BUILD_VA_LIST_TYPE): New.
10588 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
10589
10590 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
10591
10592 * recog.h (struct recog_data): Make dup_num, operand_address_p,
10593 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
10594 (struct insn_data): Likewise with n_operands, n_dups,
10595 n_alternatives, output_format.
10596 * regclass.c (scan_one_insn): Cast n_operands to int before
10597 arithmetic inside comparison.
10598
10599 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
10600
10601 * toplev.c (compile_function): Unconditionally emit nop.
10602
10603 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10604
10605 * haifa-sched.c (actual_hazard): Move declaration of variable
10606 `this_cost' into the scope where it is used.
10607
10608 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10609
10610 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
10611 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
10612 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
10613
10614 * genrecog.c (make_insn_sequence): Call memset, not bzero.
10615
10616 * jump.c (find_insert_position): Don't declare or define unless
10617 !HAVE_conditional_arithmetic.
10618 (returnjump_p_1, delete_prior_computation): Add static prototypes.
10619
10620 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
10621
10622 * recog.c (offsettable_address_p): Prototype function pointer.
10623 (preprocess_constraints): Call memset, not bzero.
10624
10625 * tree.c (tree_node_kind_names): Constify a char*. Make static.
10626 (gcc_obstack_init): Don't declare.
10627 (fix_sizetype): Add static prototype.
10628 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
10629 (tree_cons): Call memset, not bzero.
10630
10631 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
10632 definition in macro ASM_WEAKEN_LABEL.
10633 (mark_const_hash_entry): Add static prototype.
10634
10635 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10636
10637 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
10638
10639 * unroll.c (find_common_reg_term, subtract_reg_term,
10640 loop_find_equiv_value): Add static prototypes.
10641 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
10642 (copy_loop_body): Remove unreachable break statement.
10643
10644 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
10645
10646 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
10647
10648 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10649
10650 Undo some changes from the gcc2 merge:
10651 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
10652 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
10653 pointers.
10654
10655 Undo this change:
10656 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
10657 * emit-rtl.c (gen_lowpart_common): Disable optimization of
10658 initialized float-int union if the value is a NaN.
10659
10660 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
10661
10662 * gthr-win32.h: New file.
10663
10664 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
10665 shared as a valid attribute.
10666 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
10667 * extend.texi: Document `shared' variable attribute.
10668
10669 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
10670
10671 * configure.in: Handle --enable-threads on FreeBSD.
10672 * configure: Rebuit.
10673
10674 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10675
10676 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
10677 thread support.
10678 * configure: Rebuilt.
10679
10680 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
10681 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
10682 Rosimildo DaSilva <rdasilva@connecttel.com>
10683
10684 * configure.in (m68k-*-rtemscoff*): Added.
10685 * configure.in (mips64orion-*-rtems*): Converted to ELF.
10686 * configure.in (sparc-*-rtemsaout*): Added as alias for old
10687 sparc-rtems configuration.
10688 * configure.in (sparc-*-rtemself*): Added.
10689 * configure.in (sparc-*-rtems*): Now ELF not a.out.
10690 * config/i386/rtems.h: Added comment.
10691 * config/sparc/rtemself.h: New file.
10692
10693 * configure.in (m68k-rtemself): Added.
10694 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
10695 and DWARF_DEBUGGING_INFO.
10696 * config/m68k/crti.s: New file.
10697 * config/m68k/crtn.s: New file.
10698 * config/m68k/t-crtstuff: New file.
10699 * config/m68k/rtemself.h: New file.
10700
10701 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
10702 global ctor/dtor and C++ exception handling.
10703 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
10704 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
10705 ENDFILE_SPEC.
10706 * config/i386/t-rtems-i386: New File.
10707
10708 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
10709
10710 * stmt.c (expand_end_case): Return right away if the case stack is
10711 empty.
10712
10713 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
10714
10715 * Makefile.in (version.c): Remove rule incorrectly brought in from
10716 the gcc2 merge.
10717
10718 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
10719
10720 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
10721 * msdos/top.sed: Take into account a prepended $(SHELL) to
10722 move-if-change.
10723 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
10724
10725 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
10726
10727 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10728
10729 * regmove.c (fixup_match_1): Don't change an unchanging register.
10730 (stable_but_for_p): Renamed to:
10731 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
10732 Changed all callers.
10733
10734 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
10735
10736 * loop.c (strength_reduce): Don't call reg_used_between_p if the
10737 insn from BL2 is after the insn from BL.
10738
10739 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
10740
10741 * recog.h (INSN_OUTPUT_FORMAT_*): New.
10742 (struct insn_data): Merge `template' and `outfun' into `output'.
10743 Add `output_format'.
10744 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
10745 (struct data): Remove `outfun'; add `output_format'.
10746 (name_for_index): Remove declaration.
10747 (output_insn_data): Handle output formats.
10748 (process_template): Emit the bare array for @.
10749 (gen_expand, gen_split): Set output_format to NONE.
10750 * output.h (get_insn_template): Declare.
10751 * final.c (get_insn_template): New.
10752 (final_scan_insn): Use it.
10753 * toplev.c (compile_file): Likewise.
10754
10755 * c4x/c4x.c (c4x_process_after_reload): Likewise.
10756 * i860/i860.c (output_delayed_branch): Likewise.
10757 (output_delay_insn): Likewise.
10758
10759 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10760
10761 * rtl.c (obstack_alloc_rtx): Removed.
10762
10763 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
10764
10765 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
10766
10767 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
10768
10769 * i386.c (call_insn_operand): Reject const_int.
10770 (expander_call_insn_operand): Use call_insn_operand.
10771
10772 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10773
10774 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
10775
10776 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
10777
10778 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
10779 Use DImode operation.
10780
10781 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
10782
10783 * gcc.c: Include sys/resource.h.
10784 (report_times): New flag.
10785 (execute): If report_times is set, calculate and report the
10786 CPU time consumed by each subprocess.
10787
10788 (rus, prus): New globals.
10789 (option_map): Add --time.
10790 (display_help): Document -time.
10791 (process_command): Set report_times if -time is given.
10792 Turn off -pipe if -time is given.
10793
10794 * invoke.texi: Document new option -time.
10795
10796 * configure.in: Check for getrusage. Check if we have to
10797 prototype getrusage.
10798 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
10799 * configure: Regenerate.
10800 * config.in: Regenerate.
10801
10802 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
10803
10804 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
10805 fields.
10806
10807 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
10808
10809 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
10810 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
10811 (nan): Return _thenan_sf or _thenan_df as appropriate.
10812 (L_thenan_sf): Define _thenan_sf.
10813 (L_thenan_df): Define _thenan_df.
10814
10815 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
10816 (DPBIT_FUNCS): Add _thenan_df.
10817
10818 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
10819
10820 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
10821 TYPE_SIZE_UNIT.
10822
10823 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10824
10825 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
10826
10827 * gcc.h: New file.
10828 (lang_specific_driver): Don't take a function pointer parameter.
10829 All callers changed.
10830
10831 * gcc.c: Include gcc.h.
10832 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
10833 lang_specific_extra_outfiles, fatal): Don't declare.
10834 (multilib_defaults_raw): Constify.
10835 (read_specs): Call memset, rather than bzero.
10836 (main): Call return, not exit.
10837 (lookup_compiler): Call memcpy, not bcopy.
10838 (fatal): Make extern.
10839
10840 * cppspec.c: Include gcc.h.
10841 (lang_specific_driver): Initialize variable `quote'. Constify a
10842 char*. All calls to the function pointer parameter now
10843 explicitly call `fatal'.
10844
10845 * gccspec.c (lang_specific_driver): Include gcc.h.
10846
10847 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
10848
10849 * arm.c (note_invalid_constants): Use recog_data.operand_type
10850 for recog_op_type.
10851
10852 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10853
10854 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
10855 Declare.
10856
10857 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
10858 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
10859 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
10860 reload_secondary_in_reload, reload_secondary_out_reload,
10861 reload_secondary_in_icode, reload_secondary_out_icode,
10862 reload_reg_rtx, reload_when_needed): Delete declarations.
10863 (struct reload): New structure.
10864 (rld): Declare new array.
10865 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
10866 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
10867 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
10868 reload_secondary_in_reload, reload_secondary_out_reload,
10869 reload_secondary_in_icode, reload_secondary_out_icode,
10870 reload_reg_rtx, reload_when_needed): Delete definitions.
10871 (rld): New array.
10872 (whole file): Replace uses of the deleted arrays with uses of rld.
10873 * reload1.c (whole file): Replace uses of the deleted arrays with
10874 uses of rld.
10875 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
10876 explicit loops, not with bcopy.
10877
10878 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
10879
10880 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
10881 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
10882 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
10883 insn_name): Delete and consolidate into new structures.
10884 (insn_operand_predicate_fn): New.
10885 (insn_output_fn): New.
10886 (insn_gen_fn): New.
10887 (struct insn_operand_data): New.
10888 (struct insn_data): New.
10889 (insn_data): New.
10890 (OUT_FCN): Update for insn_data change.
10891 * builtins.c (expand_builtin_strlen): Likewise.
10892 (expand_builtin_memcmp): Likewise.
10893 * combine.c (make_extraction, simplify_comparison): Likewise.
10894 * cse.c (canon_reg, cse_insn): Likewise.
10895 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
10896 * expmed.c (store_bit_field, extract_bit_field): Likewise.
10897 (emit_store_flag): Likewise.
10898 * expr.c (convert_move, emit_block_move): Likewise.
10899 (clear_storage, emit_push_insn, expand_increment): Likewise.
10900 (do_store_flag): Likewise.
10901 * expr.h (GEN_FCN): Likewise.
10902 (insn_gen_function): Die.
10903 * final.c (final_scan_insn): Update for insn_data change.
10904 (output_asm_name): Likewise.
10905 * function.c (fixup_var_refs_1): Likewise.
10906 * loop.c (check_dbra_loop): Likewise.
10907 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
10908 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
10909 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
10910 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
10911 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
10912 * regmove.c (gen_add3_insn): Likewise.
10913 * reload.c (push_secondary_reload, combine_reloads): Likewise.
10914 (find_reloads, find_reloads_address_1): Likewise.
10915 (debug_reload_to_stream): Likewise.
10916 * reload1.c (emit_reload_insns, gen_reload): Likewise.
10917 * stmt.c (expand_end_case): Likewise.
10918 * toplev.c (compile_file): Likewise.
10919
10920 * c4x/c4x.c (c4x_process_after_reload): Likewise.
10921 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
10922
10923 * print-rtl.c (insn_name_ptr): Remove declaration.
10924 (get_insn_name): Declare.
10925 (print_rtx): Use it.
10926 * genoutput.c (insn_name_ptr): Remove.
10927 (next_operand_number): New.
10928 (struct operand_data): New.
10929 (null_operand, odata, odata_end): New.
10930 (struct data): Use struct operand_data.
10931 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
10932 (get_insn_name): Renamed from name_for_index.
10933 (output_prologue): Define NO_MD_PROTOTYPES.
10934 (output_predicate_decls): Break out from output_epilogue.
10935 Iterate over the operands list.
10936 (output_operand_data): Break out from output_epilogue. Emit
10937 just the operands list.
10938 (output_insn_data): Break out from output_epilogue. Emit just
10939 the insn data.
10940 (output_epilogue): Remove.
10941 (output_get_insn_name): New.
10942 (constraints, op_n_alternatives, predicates, address_p): Die.
10943 (modes, strict_low, seen): Die.
10944 (scan_operands): Take new param `d' instead of writing to
10945 seven global variables.
10946 (compare_operands): New.
10947 (place_operands): New.
10948 (validate_insn_alternatives): Update for struct data change.
10949 (gen_insn): Don't zero or copy 7 global arrays. Update for
10950 scan_operands; call place_operands.
10951 (gen_peephole, gen_expand, gen_split): Likewise.
10952 (main): Update for new output routines.
10953
10954 * genattr.c (insn_name_ptr): Remove.
10955 (get_insn_name): New function.
10956 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
10957 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
10958 * genrecog.c: Likewise.
10959
10960 * alpha.md (adddi3): Make `pattern' array static.
10961
10962 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10963
10964 * config/c4x/c4x.h (c4x_rpts_cycles_string,
10965 c4x_cpu_version_string): Constify char *.
10966 * config/c4x/c4x.c (c4x_rpts_cycles_string,
10967 c4x_cpu_version_string): Likewise.
10968
10969 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
10970
10971 * tree.c (save_tree_status): Revert 10 Sep change.
10972 (restore_tree_status): Likewise. Call obstack_free with NULL
10973 before freeing the obstack proper.
10974
10975 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
10976
10977 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
10978
10979 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
10980 surrounding context.
10981
10982 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
10983
10984 * tree.c (type_hash_canon): Put all types in the hash-table, when
10985 GC'ing.
10986
10987 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
10988
10989 * recog.h (struct recog_data, recog_data): New.
10990 (recog_foo variables): Kill.
10991 * recog.c (recog_operand, recog_operand_loc): Kill.
10992 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
10993 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
10994 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
10995 (recog_data): Define.
10996 (extract_insn): Update all recog_foo references to use recog_data.
10997 (preprocess_constraints, constrain_operands): Likewise.
10998 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
10999 * genattrtab.c (main): Likewise.
11000 * genextract.c (main): Likewise.
11001 * genoutput.c: Likewise.
11002 * genrecog.c (write_subroutine, main): Likewise.
11003 * local-alloc.c (block_alloc): Likewise.
11004 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
11005 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
11006 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
11007 * reload.c (find_reloads, find_reloads_toplev): Likewise.
11008 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
11009 (reload_cse_simplify_operands): Likewise.
11010
11011 * arc/arc.c (arc_final_prescan_insn): Likewise.
11012 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
11013 * h8300/h8300.c (notice_update_cc): Likewise.
11014 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
11015 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
11016 * mn10200/mn10200.c (notice_update_cc): Likewise.
11017 * mn10300/mn10300.c (notice_update_cc): Likewise.
11018 * romp/romp.c (update_cc): Likewise.
11019 * sparc/sparc.c (check_pic): Likewise.
11020 * v850/v850.c (notice_update_cc): Likewise.
11021
11022 * genemit.c (main): Don't declare recog_operand.
11023
11024 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
11025
11026 * ggc.h (rtvec_def): Forward declare.
11027 (tree_node): Likewise.
11028 (ggc_root): Define.
11029 (roots): Declare.
11030 (ggc_set_mark_rtx): Add prototype.
11031 (ggc_set_mark_rtvec): Likewise.
11032 (ggc_set_mark_tree): Likewise.
11033 * ggc-simple.c (ggc_root): Don't define.
11034 (roots): Don't declare.
11035 (ggc_mark_rtx): Remove.
11036 (ggc_mark_rtvec): Likewise.
11037 (ggc_mark_tree): Likewise.
11038 (ggc_mark_varray): Likewise.
11039 (ggc_mark_tree_hash_table_entry): Likewise.
11040 (ggc_mark_tree_hash_table): Likewise.
11041 (ggc_set_mart_rtx): New function.
11042 (ggc_set_mark_rtvec): Likewise.
11043 (ggc_set_mark_tree): Likewise.
11044 (ggc_add_root): Remove.
11045 (ggc_add_rtx_root): Likewise.
11046 (ggc_remove_tree_root): Likewise.
11047 (ggc_add_string_root): Likewise.
11048 (ggc_add_tree_varray_root): Likewise.
11049 (ggc_add_tree_hash_table_root): Likewise.
11050 (ggc_del_root): Likewise.
11051 (ggc_mark_rtx_ptr): Likewise.
11052 (ggc_mark_tree_ptr): Likewise.
11053 (ggc_mark_string_ptr): Likewise.
11054 (ggc_mark_tree_varray_ptr): Likewise.
11055 (ggc_mark_tree_hash_table_ptr): Likewise.
11056 * ggc-common.c: New file.
11057 * Makefile.in (OBJS): Add ggc-common.o.
11058 (ggc-common.o): List dependencies.
11059
11060 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
11061
11062 * cppalloc.c (xstrdup): Use memcpy.
11063 * cpperror.c (cpp_print_containing_files): Don't use
11064 cpp_notice.
11065 * cpplib.c (conditional_skip): Set temp->lineno.
11066 (do_endif): Make error message less obscure.
11067 (if_directive_name): New function.
11068 (cpp_get_token [case EOF]): Unwind the if stack and generate
11069 error messages for each unterminated conditional in this file.
11070 (parse_string): Do not behave differently if -traditional.
11071
11072 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
11073
11074 * builtins.c (expand_builtin_va_arg): Cope with an array-type
11075 va_list decomposing to pointer-type.
11076 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
11077 (rs6000_va_arg): Likewise.
11078
11079 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
11080
11081 * except.c (start_dynamic_handler): Compute size using
11082 STACK_SAVEAREA_MODE.
11083
11084 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11085
11086 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
11087 include directory headers. Don't define strrchr. Don't provide
11088 my_* replacement functions. Prefer PTR over `pointer_type'.
11089 Don't prototype system functions. Don't redefine getopt.
11090
11091 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
11092 safe_read, safe_write, save_pointers, restore_pointers,
11093 is_id_char, in_system_include_dir, directory_specified_p,
11094 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
11095 find_corresponding_lparen, referenced_file_is_newer,
11096 save_def_or_dec, munge_compile_params, gen_aux_info_file,
11097 process_aux_info_file, identify_lineno, check_source,
11098 seek_to_line, forward_to_next_token_char, output_bytes,
11099 output_string, output_up_to, other_variable_style_function,
11100 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
11101 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
11102 find_static_definition, connect_defs_and_decs, add_local_decl,
11103 add_global_decls, needs_to_be_converted, visit_each_hash_node,
11104 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
11105 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
11106 scan_for_missed_items, edit_file, string_list_cons): Add static
11107 prototypes.
11108 (standard_exec_prefix, target_machine, target_version,
11109 default_syscalls_dir, string_list, string_list_cons, find_file,
11110 do_cleaning): Constify a char*.
11111 (safe_read, safe_write): Use PTR, not a char*.
11112 (is_id_char): Take an int, not a char.
11113 (main): Add prototype. Call return, not exit.
11114
11115 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
11116
11117 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
11118 when comparing types.
11119
11120 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
11121
11122 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
11123 (strength_reduce): Release the varrays from the no-bivs early exit.
11124
11125 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
11126 the loop over the registers.
11127
11128 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
11129 for a new obstack.
11130 (restore_tree_status): Check that instead when freeing the obstack.
11131
11132 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
11133
11134 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
11135 as pointers.
11136
11137 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11138
11139 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
11140 operand size modifiers.
11141
11142 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11143
11144 * c-common.c (c_common_nodes_and_builtins): Don't build
11145 va_list_type_node.
11146 * c-common.h (enum c_tree_index and related accesor macros): Remove
11147 everything now declared in tree.h.
11148 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
11149 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
11150 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
11151 (error_mark_node, void_type_node, char_type_node, integer_type_node,
11152 unsigned_type_node, ptr_type_node, va_list_type_node,
11153 integer_zero_node, null_pointer_node, integer_one_node): Delete.
11154 (init_decl_processing): Call build_common_tree_nodes and
11155 build_common_tree_nodes_2 instead of building their nodes here.
11156 Don't add roots for these nodes.
11157 * stor-layout.c (size_zero_node, size_one_node): Delete.
11158 (set_sizetype): Make a new node for bitsizetype each time.
11159 * tree.c (global_trees): New variable.
11160 (init_obstacks): Add a gc root for it.
11161 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
11162 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
11163 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
11164 (build_common_tree_nodes): New function.
11165 (fix_sizetype): New function.
11166 (build_common_tree_nodes_2): New function.
11167 * tree.h (enum tree_index): New.
11168 (global_trees): Declare.
11169 Add accessor macros for all nodes now moved to global_trees.
11170 Delete their declarations.
11171
11172 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
11173
11174 * c-decl.c (finish_function): When processing a nested function,
11175 push and pop GC context around rest_of_compilation.
11176
11177 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
11178
11179 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
11180 Default ix86_arch to PROCESSOR_I386.
11181 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
11182 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
11183 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
11184 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
11185 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
11186 (EXTRA_SPECS): Remove deleted specs.
11187
11188 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
11189
11190 * function.c (assign_stack_local_1): Allocate from
11191 function->x_frame_offset, not frame_offset.
11192
11193 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
11194
11195 * ggc.h (lang_cleanup_tree): Remove.
11196 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
11197 * ggc-callbacks.c (lang_cleanup_tree): Remove.
11198
11199 * c-decl.c (finish_struct): Use ggc_alloc to allocate
11200 TYPE_LANG_SPECIFIC when garbage collecting.
11201 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
11202 (lang_cleanup_tree): Remove.
11203
11204 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
11205
11206 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
11207 * crtstuff.c: Not here.
11208 * dwarf2out.c: Or here.
11209 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
11210 info.
11211
11212 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
11213
11214 * function.h (free_after_compilation): Remove decl parameter.
11215 (free_varasm_status0: Likewise.
11216 (free_emit_status): Likewise.
11217 (free_stmt_status): Likewise.
11218 (free_after_compilation): Likewise.
11219 (init_lang_status): New variable.
11220 (free_lang_status): Likewise.
11221 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
11222 * function.c (init_lang_status): New variable.
11223 (free_lang_status): Likewise.
11224 (push_function_context_to): Don't set function::decl here.
11225 (free_after_copmilation): Make decl parameter implicit. Call
11226 free_lang_status if defined.
11227 (prepare_function_start): Call init_lang_status if defined.
11228 (init_function_start): Set function::decl here.
11229 * profile.c (output_func_start_profiler): Don't call pushdecl
11230 until we've actually started the function.
11231 * stmt.c (free_stmt_status): Make decl parameter implicit.
11232 * toplev.c (rest_of_compilation): Don't pass decl to
11233 free_after_compilation.
11234 * varasm.c (free_varasm_status): Likewise.
11235
11236 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11237
11238 * except.c (call_get_eh_context): Add root when allocating static
11239 tree variable.
11240
11241 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
11242
11243 * arm.c: Include "ggc.h".
11244 (arm_add_gc_roots): New function.
11245 (arm_override_options): Call it.
11246 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
11247
11248 * arm.md (define_asm_attributes): Add a pool_range attribute.
11249
11250 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
11251
11252 * extend.texi (Volatiles): New node.
11253
11254 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
11255
11256 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
11257 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
11258 (struct ggc_any): Replace `mark' with `magic_mark'.
11259 (ggc_alloc_string): Use memcpy, not bcopy.
11260 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
11261 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
11262 (ggc_free_any): New.
11263 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
11264 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
11265 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
11266 Use IS_MARKED. Use ggc_free_any.
11267
11268 1999-09-09 Scott Bambrough <scottb@netwinder.org>
11269
11270 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
11271
11272 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
11273
11274 * toplev.c (main): Always init_ggc.
11275
11276 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
11277
11278 * except.c (find_all_handler_type_matches): Free the list if
11279 we found no matches.
11280
11281 * combine.c (SUBST): Break out to a real function do_SUBST.
11282 (SUBST_INT): Likewise.
11283 * gcse.c (free_pre_mem): Free `temp_bitmap'.
11284 (pre_insert): Free `inserted'.
11285 * loop.c (basic_induction_var): Always set `location'.
11286
11287 * function.c (expand_function_end): Add initial_trampoline as a root.
11288 * rtl.h (init_varasm_once): Declare.
11289 * toplev.c (compile_file): Call it.
11290 * ggc-simple.c (ggc_mark_string_ptr): New.
11291 (ggc_add_string_root): New.
11292 (ggc_collect): Disable collection avoidance temporarily.
11293 * ggc.h (ggc_add_string_root): Declare.
11294 * except.c (create_rethrow_ref): Use ggc_alloc_string.
11295 * optabs.c (init_libfuncs): Likewise.
11296 * varasm.c (named_section): Use ggc_alloc_string.
11297 (make_function_rtl): Likewise.
11298 (make_decl_rtl): Likewise.
11299 (assemble_static_space): Likewise.
11300 (assemble_trampoline_template): Likewise.
11301 (output_constant_def): Likewise.
11302 (force_const_mem): Likewise.
11303 (mark_const_hash_entry): New.
11304 (mark_pool_sym_hash_table): New.
11305 (mark_varasm_state): Use it.
11306 (init_varasm_once): New.
11307
11308 * expr.h (init_one_libfunc): Declare.
11309 * optabs.c (init_one_libfunc): New.
11310 (init_optabs): Use it.
11311 * config/gofast.h: Likewise.
11312 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
11313 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
11314
11315 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
11316
11317 * Makefile.in (cppexp.o): Depend on cpphash.h.
11318 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
11319 Include cpphash.h.
11320 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
11321 * cpplib.c (do_define): Generalise to handle poisoned definitions,
11322 redefining poisoned identifiers, etc.
11323 (do_undef): Don't allow poisoned identifiers to be undefined.
11324 (do_pragma): Add #pragma poison.
11325 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
11326
11327 * cccp.c: Add T_POISON node type.
11328 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
11329 poisoned xxx.
11330 (do_define): Generalise to handle poisoned definitions,
11331 redefining poisoned identifiers, etc.
11332 (do_undef): Don't allow poisoned identifiers to be undefined.
11333 (do_pragma): Add #pragma poison.
11334 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
11335
11336 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
11337 * c-pragma.h: Add ps_poison state. We now always have generic
11338 pragmas.
11339
11340 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
11341
11342 * ggc.h (ggc_alloc): New function.
11343 (ggc_mark): Likewise.
11344 * ggc-simple.c (ggc_any): New structure.
11345 (ggc_status): Add anys.
11346 (n_anys_collected): New variable.
11347 (ggc_alloc): Define.
11348 (ggc_mark): Likewise.
11349 (ggc_collect): Collect the anys.
11350
11351 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11352
11353 * c-decl.c (mark_binding_level): Make static to match prototype.
11354
11355 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
11356
11357 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
11358
11359 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
11360
11361 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
11362 will use into account. Expand the max width to 5.
11363 * rtl.c: Likewise.
11364
11365 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
11366
11367 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
11368 for the rtx length.
11369
11370 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
11371
11372 * alpha.md (call value patterns): Remove the result predicates.
11373
11374 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
11375
11376 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
11377 last change.
11378
11379 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11380
11381 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
11382 changed from extern char *, to extern PTR. Also fix typo in
11383 NEED_DECLARATION_REALLOC test.
11384
11385 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
11386
11387 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11388
11389 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
11390 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
11391 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
11392 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
11393
11394 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
11395
11396 * cccp.c (pcfinclude): Likewise.
11397
11398 * global.c (allocno_compare): Likewise.
11399
11400 * haifa-sched.c (rank_for_schedule): Likewise.
11401
11402 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
11403
11404 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
11405
11406 * stupid.c (stupid_reg_compare): Likewise.
11407
11408 * tree.c (_obstack_allocated_p): Likewise.
11409
11410 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
11411
11412 1999-09-08 Bruce Korb autogen@linuxbox.com
11413
11414 * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
11415 why "gperf -F" fails.
11416 * gcc/cp/Makefile.in: ditto
11417 * gcc/Makefile.in: ditto
11418 * gcc/java/Makefile.in: ditto
11419
11420 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
11421
11422 * lists.c: Include ggc.h.
11423 (zap_lists): New.
11424 (init_EXPR_INSN_LIST_cache): Install it.
11425
11426 * ggc-simple.c (init_ggc): Absorb the old init.
11427 (ggc_push_context): Use xcalloc.
11428 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
11429 (ggc_collect): Add [rvts] tags to the collection stats.
11430
11431 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
11432
11433 * cccp.c (main): Fix handling of -include and -imacros options.
11434
11435 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
11436
11437 * cpplib.c (cpp_push_buffer): Fix order of arguments.
11438
11439 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
11440
11441 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
11442 genrtl.c.
11443
11444 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
11445
11446 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
11447 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
11448 and SET_DEST. Update comment.
11449
11450 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11451
11452 * config/c4x/c4x.c: Include ggc.h.
11453 (c4x_add_gc_roots): New function.
11454 (c4x_override_options): Call c4x_add_gc_roots.
11455
11456 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
11457
11458 * defaults.h (TARGET_ESC): Move ...
11459 * system.h: ... here, where Linas had it in the first place. Silly me.
11460
11461 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
11462
11463 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
11464 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
11465 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
11466 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
11467 * defaults.h (TARGET_ESC): Add default.
11468
11469 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
11470
11471 * configure.in: add i370-*-openedition, i370-*-mvs and
11472 i370-*-linux targets
11473
11474 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
11475
11476 * dsp16xxx.c: Include ggc.h
11477 (override_options): Mark GC roots.
11478 * mn10200.c: Include ggc.h.
11479 (asm_file_start): Mark GC roots.
11480 * tahoe.c: Include ggc.h.
11481 (extensible_operand): Mark GC roots.
11482
11483 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
11484
11485 * README: Add section discussing status of ELF ABI.
11486 * i370.c: Fix misc spelling mistakes.
11487 (i370_label_scan): Updated notes, exception handling.
11488 (i370_function_prolog): Simplify ELF stack handling.
11489 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
11490 (STACK_GROWS_DOWNWARD): ELF stack grows down.
11491 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
11492 * i370.md: (movdi): Add notes.
11493 (floatsidf2): Use stack not rtca for scratch float area.
11494 (iorsi3): Correct operand constraints.
11495 * x-oe: Restore TAROUTOPTS which are used by pax.
11496
11497 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
11498
11499 * rs6000.c: Include ggc.h.
11500 (rs6000_add_gc_roots): New function.
11501 (override_options): Call it.
11502
11503 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
11504
11505 * alpha.h (alpha_compare): New.
11506 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
11507 * alpha.c: Likewise for the definitions.
11508 (alpha_emit_conditional_branch): Update for alpha_compare.
11509 (alpha_emit_conditional_move): Likewise.
11510 * alpha.md (cmpdf, cmpdi): Likewise.
11511 (setcc patterns): Likewise. Zero alpha_compare after use.
11512 (sne): Optimize (x != 0) into (0U < x).
11513
11514 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
11515
11516 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
11517 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
11518 (INIT_EXPANDERS): Remove.
11519 * alpha.c: Include ggc.h.
11520 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
11521 (alpha_init_machine_status, alpha_mark_machine_status): New.
11522 (override_options): Install them.
11523 (struct machine_function): Moved to alpha.h.
11524 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
11525 (alpha_init_expanders): Remove.
11526 (alpha_return_addr): Adjust to use current_function->machine.
11527 (alpha_ra_ever_killed): Likewise.
11528 (alpha_expand_epilogue): Likewise.
11529 * alpha.md (eh_epilogue): Likewise.
11530
11531 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
11532 Melissa O'Neill <oneill@cs.sfu.ca>
11533 Geoffrey Keating <geoffk@cygnus.com>
11534
11535 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
11536 call-used registers (call-saved registers must still be contiguous
11537 and end with r31, of course).
11538
11539 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
11540
11541 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
11542 (self_promoting_type_p): Delete.
11543 (self_promoting_args_p): Move ...
11544 * c-common.c: ... here.
11545 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
11546 (simple_type_promotes_to): New.
11547 * builtins.c (lang_type_promotes_to): New.
11548 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
11549 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
11550 * c-common.h: ... here.
11551 (self_promoting_args_p, simple_type_promotes_to): Declare.
11552 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
11553 (grokdeclarator): Likewise.
11554 * tree.h (lang_type_promotes_to): Declare.
11555
11556 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
11557
11558 Add some machine-dependent GC roots.
11559 * sparc.c: Include ggc.h.
11560 (sparc_add_gc_roots): New function.
11561 (mark_ultrasparc_pipeline_state): Likewise.
11562 (override_options): Call sparc_add_gc_roots.
11563 * pa.c: Include ggc.h.
11564 (pa_add_gc_roots): New function.
11565 (mark_deferred_plabels): Likewise.
11566 (override_options): Call pa_add_gc_roots.
11567 * mips.c: Include ggc.h.
11568 (mips_add_gc_roots): New function.
11569 (override_options): Use it.
11570
11571 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11572
11573 * cpperror.c (cpp_file_line_for_message): Constify a char*.
11574
11575 * cppexp.c (parse_number, parse_charconst, cpp_lex,
11576 cpp_parse_expr): Add static prototypes.
11577 (parse_charconst): Don't cast away const-ness.
11578 (token): Constify a char*.
11579
11580 * cppfiles.c (file_name_list, include_hash, find_include_file,
11581 finclude, initialize_input_buffer): Constify a char*.
11582 (file_cleanup, find_position): Add static prototypes.
11583
11584 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
11585 collect_expansion): Add static prototypes.
11586 (cpp_install, create_definition, monthnames): Constify a char*.
11587
11588 * cpphash.h (cpp_install): Likewise.
11589
11590 * cppinit.c (known_suffixes, default_include,
11591 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
11592 (base_name, dump_special_to_buffer, initialize_dependency_output):
11593 Add static prototypes.
11594
11595 * cpplib.c (my_strerror): Constify a char*.
11596 (null_underflow, null_cleanup, skip_comment, copy_comment,
11597 copy_rest_of_line, handle_directive, pass_thru_directive,
11598 get_directive_token, read_line_number, cpp_print_file_and_line,
11599 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
11600 v_cpp_warning_with_line, detect_if_not_defined,
11601 consider_directive_while_skipping): Add static prototypes.
11602 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
11603 cpp_pedwarn_with_file_and_line): Constify a char*.
11604
11605 * cpplib.h (cpp_options, include_hash, progname, definition,
11606 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
11607 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
11608 find_include_file, deps_output, include_hash): Constify a char*.
11609
11610 * cppmain.c (progname): Constify.
11611 (main): Add prototype. Use return, not exit.
11612
11613 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
11614 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
11615 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
11616 check_protection): Add static prototype.
11617 (xfree): Remove.
11618 (progname, recognized_macrom, recognized_extern): Constify a char*.
11619 (main): Add prototype.
11620
11621 * gen-protos.c (progname): Constify a char*.
11622
11623 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
11624
11625 * emit-rtl.c (free_emit_status): Take decl as a parameter.
11626 (init_emit_once): Add more GC roots.
11627 * except.c (mark_func_eh_entry): New function.
11628 (mark_eh_node): Mark false_label and rethrow_label.
11629 (init_eh): Add more GC roots.
11630 * function.c (free_after_compilation): Take decl as a paramter.
11631 Call free_stmt_status.
11632 (mark_function_state): Don't assume x_parm_reg_stack_loc is
11633 non-NULL.
11634 * function.h (free_after_compilation): Change prototype.
11635 (free_varasm_status): Likewise.
11636 (free_emit_status): Likewise.
11637 (free_stmt_status): New function.
11638 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
11639 Remove, replacing with ...
11640 (ggc_status): New structure.
11641 (ggc_chain): New variable.
11642 (init_gcc): Define.
11643 (ggc_push_context): New function.
11644 (ggc_pop_context): Likewise.
11645 (ggc_alloc_rtx): Adjust for use of ggc_chain.
11646 (ggc_alloc_rtvec): Likewise.
11647 (ggc_alloc_tree): Likewise.
11648 (ggc_alloc_string): Likewise.
11649 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
11650 (ggc_mark_tree): Give language-dependent code a chance to mark
11651 `x' nodes.
11652 (ggc_mark_tree_varray): Handle empty arrays.
11653 (ggc_collect): Adjust for use of ggc_chain. Clear
11654 bytes_alloced_since_last_gc.
11655 * ggc.h (ggc_pop_context): New function.
11656 (ggc_push_context): Likewise.
11657 * print-tree.c (print_node): Don't print obstacks when GC'ing.
11658 * stmt.c (free_stmt_status): New function.
11659 (init_stmt_for_function): Clear last_expr_value.
11660 * toplev.c (rest_of_compilation): Always call free_after_compilation.
11661 Conditionalize call to ggc_collect.
11662 (main): Call init_ggc.
11663 * tree.c (push_obstacks): Do the push, even when GC'ing.
11664 (push_obstacks_nochange): Likewise.
11665 (pop_obstacks): Liekwise.
11666 * varasm.c (free_varasm_status): Take decl as a parameter.
11667
11668 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
11669
11670 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
11671 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
11672 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
11673 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
11674
11675 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
11676
11677 * pa/x-pa-mpeix: New file for the MPE port.
11678
11679 * pa/quadlib.asm: New file for long double support.
11680
11681 * configure.in: Add hppa1.0-*-mpeix for MPE port.
11682 * configure: Rebuilt.
11683
11684 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
11685
11686 * final.c (shorten_branches): Fix last change.
11687
11688 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
11689
11690 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
11691
11692 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
11693
11694 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
11695 details.
11696
11697 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11698
11699 * c-aux-info.c (concat): Don't define.
11700
11701 * cccp.c (my_strerror): Likewise. All callers changed to use
11702 xstrerror instead.
11703 (do_include): Call xstrdup, not xmalloc/strcpy.
11704 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
11705 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
11706
11707 * collect2.c (my_strsignal): Likewise. All callers changed to use
11708 strsignal instead.
11709 (locatelib): Call xstrdup, not xmalloc/strcpy.
11710
11711 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
11712
11713 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
11714
11715 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
11716
11717 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
11718
11719 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
11720
11721 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
11722
11723 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
11724 malloc/realloc.
11725 (find_all_handler_type_matches): Likewise. Don't check return
11726 value.
11727 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
11728 xmalloc, not malloc.
11729 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
11730
11731 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
11732 (init_spec): Call xcalloc, not xmalloc/bzero.
11733 (set_spec): Call xstrdup, not save_string.
11734 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
11735 (find_a_file): Call xstrdup, not xmalloc/strcpy.
11736 (process_command): Call xstrdup, not save_string.
11737 (main): Call xcalloc, not xmalloc/bzero.
11738
11739 * gcov.c (xmalloc): Don't define.
11740 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
11741 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
11742 (output_data): Call xcalloc, not xmalloc/bzero.
11743
11744 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
11745
11746 * mips-tdump.c (xmalloc): Don't define.
11747 (print_symbol): Call xmalloc, not malloc.
11748 (read_tfile): Call xcalloc, not calloc.
11749
11750 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
11751 Don't define. All callers of xfree/my_strsignal changed to use
11752 free/strsignal instead.
11753 (allocate_cluster): Call xcalloc, not calloc.
11754
11755 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
11756 Fix memory leak, free allocated memory.
11757
11758 * prefix.c (translate_name): Call xstrdup, not save_string.
11759 (update_path): Likewise.
11760
11761 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
11762
11763 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
11764 Don't define. Callers of xfree/savestring2 changed to use
11765 free/concat instead.
11766
11767 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
11768 (init_elim_table): Likewise.
11769
11770 * resource.c (init_resource_info): Likewise.
11771
11772 * stupid.c (stupid_life_analysis): Likewise.
11773
11774 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
11775 (open_dump_file): Call concat, not xmalloc/strcpy/...
11776 (clean_dump_file): Likewise.
11777 (compile_file): Call xstrdup, not xmalloc/strcpy.
11778
11779 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
11780
11781 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
11782 * v850.c (v850_va_arg): New.
11783
11784 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11785
11786 * haifa-sched.c: Tidy comments.
11787
11788 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11789
11790 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
11791 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
11792 $(out_object_file)): Depend on ggc.h.
11793 * c-common.c: Include "ggc.h".
11794 (combine_strings): If doing GC, use ggc_alloc_string.
11795 * c-decl.c: Include "ggc.h".
11796 (ggc_p): Define with value 0.
11797 (mark_binding_level): New function.
11798 (init_decl_processing): Add GC roots.
11799 (mark_c_function_context): New function.
11800 (lang_mark_false_label_stack): New function.
11801 (lang_mark_tree): New function.
11802 (lang_cleanup_tree): New function.
11803 * c-lang.c: Include "ggc.h".
11804 (lang_init): Call c_parse_init.
11805 * c-lex.c: Include "ggc.h".
11806 (check_linenum): If doing GC, don't copy filenames to permanent
11807 obstack.
11808 * c-parse.in: Include "ggc.h".
11809 (c_parse_init): New function.
11810 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
11811 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
11812
11813 * except.c (mark_eh_state): Mark more state.
11814 * function.c (mark_function_state): Likewise.
11815 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
11816 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
11817 * toplev.c (mark_file_stack): New function.
11818 (compile_file): If doing GC, use ggc_alloc_string on input filename.
11819 (main): Add root for input_file_stack.
11820
11821 * i386.c: Include "ggc.h".
11822 (ix86_mark_machine_status): New function.
11823 (override_options): Set mark_machine_status.
11824
11825 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11826
11827 * tree.c (copy_node): Copy node contents also if doing GC.
11828
11829 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
11830
11831 * collect2.c (scan_libraries): Fix double-thinko :-).
11832
11833 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
11834
11835 * collect2.c (scan_libraries): Fix thinko.
11836
11837 * cse.c (delete_trivially_dead_insns): Do not skip the last
11838 insn if it is a real insn.
11839
11840 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
11841
11842 * Makefile.in (ggc-simple.o): Depend on hash.h.
11843 * ggc.h (ggc_add_tree_hash_table_root): Declare.
11844 (ggc_mark_tree_varray): Likewise.
11845 (ggc_mark_tree_hash_table): Likewise.
11846 * ggc-simple.c: Include hash.h.
11847 (ggc_mark_tree_hash_table_ptr): New function.
11848 (ggc_mark_tree_hash_table_entry): Likewise.
11849 (ggc_mark_tree_hash_table): Likewise.
11850 (ggc_add_tree_hash_table_root): Likewise.
11851 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
11852 rtx, when defining fields.
11853
11854 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
11855
11856 * profile.c (output_func_start_profiler): Remove apparently
11857 nonsensical call to start_sequence.
11858
11859 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
11860
11861 * clipper/clipper.c (clipper_va_start): Fix typos.
11862
11863 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
11864 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
11865 (spur_va_arg): New stub.
11866
11867 * configure.in: Comment out pyramid.
11868
11869 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
11870
11871 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
11872 don't conflict with the bits that win32, cygwin, and dgux
11873 defines.
11874
11875 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
11876 Bernd Schmidt <bernds@cygnus.co.uk>
11877
11878 * integrate.c (function_cannot_inline_p): Do not inline
11879 functions with forced labels.
11880
11881 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
11882 Bernd Schmidt <bernds@cygnus.co.uk>
11883 Mark Mitchell <mark@codesourcery.com>
11884
11885 * Makefile.in (ggc-simple.o): Depend on varray.h.
11886 (rtl.o): Depend on ggc.h.
11887 (genattrtab.o): Depend on ggc.h.
11888 (print-tree.o): Likewise.
11889 (fold-const.o): Likewise.
11890 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
11891 (make_insn_raw): Don't cache insns when GC'ing.
11892 (emit_insn_before): Likewise.
11893 (emit_insn_after): Likewise.
11894 (emit_insn): Likewise.
11895 (start_sequence): Use xmalloc to allocate the sequence_stack.
11896 (end_sequence): Add free to free it.
11897 (gen_sequence): Don't cache insns when GC'ing.
11898 (clear_emit_caches): Don't use sequence_element_free_list.
11899 (init_emit): Use xcalloc, not xmalloc+bzero.
11900 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
11901 * function.c (pop_function_context_from): Use free to free the
11902 fixup_var_refs_queue.
11903 (put_reg_into_stack): Allocate it with xmalloc.
11904 * genattrtab.c: Include ggc.h.
11905 (operate_exp): Don't use obstack_free when GC'ing.
11906 (simplify_cond): Likewise.
11907 (simplify_text_exp): Likewise.
11908 (optimize_attrs): Likewise.
11909 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
11910 GC'ing.
11911 (gencode): Generate a #include for ggc.h.
11912 * ggc-callbacks.c (ggc_p): Define it to zero.
11913 * ggc-none.c (ggc_p): Likewise.
11914 * ggc-simple.c: Include varray.h.
11915 (ggc_mark_tree_varray): New function.
11916 (ggc_add_tree_varray_root): Likewise.
11917 (ggc_mark_tree_varray_ptr): Likewise.
11918 * ggc.h (ggc_p): Declare.
11919 (varray_head_tag): Likewise.
11920 (ggc_add_tree_varray_root): Declare.
11921 * print-tree.c (print_node): Don't check for TREE_PERMANENT
11922 inconsistencies when GC'ing.
11923 * rtl.c: Include ggc.h.
11924 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
11925 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
11926 (rtx_free): Don't call obstack_free when GC'ing.
11927 * toplev.c (rest_of_compilation): Call ggc_collect after every
11928 pass, if GC'ing.
11929 * tree.c (push_obstacks): Do nothing, if GC'ing.
11930 (pop_obstacks_nochange): Likewise.
11931 (pop_obstacks): Likewise.
11932 (make_node): Use ggc_alloc_tree when GC'ing.
11933 (copy_node): Likewise.
11934 (get_identifier): Use ggc_alloc_string when GC'ing.
11935 (build_string): Likewise.
11936 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
11937 (tree_cons): Likewise.
11938 (build1): Likewise.
11939 (type_hash_canon): Don't call obstack_free when GC'ing.
11940
11941 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
11942
11943 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
11944 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
11945
11946 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
11947 Bernd Schmidt <bernds@cygnus.co.uk>
11948 Mark Mitchell <mark@codesourcery.com>
11949
11950 * Makefile.in (stor-layout.o): Depend on ggc.h.
11951 (expr.o): Depend on ggc.h.
11952 (profile.o): Depend on ggc.h.
11953 (stor-layout.o): Depend on ggc.h.
11954 * emit-rtl.c (init_emit_once): Add gc roots.
11955 * expr.c: Include ggc.h.
11956 (emit_block_move): Add gc roots.
11957 (clear_storage): Likewise.
11958 * expr.h (init_stor_layout_once): New function.
11959 * profile.c: Include ggc.h.
11960 (init_arc_profiler): profiler_label is a root.
11961 * scan.c (make_sstring_space): Trust xrealloc to function
11962 correctly with first parameter NULL.
11963 * stor-layout.c: Include ggc.h.
11964 (set_sizetype): Add gc root.
11965 (init_stor_layout_once): New function.
11966 * toplev.c (compile_file): Call it.
11967
11968 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
11969 Bernd Schmidt <bernds@cygnus.co.uk>
11970 Mark Mitchell <mark@codesourcery.com>
11971
11972 * Makefile.in (tree.o): Depend on ggc.h.
11973 (varasm.o): Likewise.
11974 (function.o): Likewise.
11975 (stmt.o): Likewise.
11976 (except.o): Likewise.
11977 (optabs.o): Likewise.
11978 (emit-rtl.o): Likewise.
11979 * emit-rtl.c: Include ggc.h.
11980 (sequence_element_free_list): Remove, and all references.
11981 (mark_sequence): New functions.
11982 (mark_emit_state): New function.
11983 * except.c: Include ggc.h.
11984 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
11985 (mark_tree_label_node): New functions.
11986 (mark_eh_state): New function.
11987 * function.c: Include ggc.h.
11988 (mark_temp_slot, mark_function_chain): New functions.
11989 (mark_function_state): New function.
11990 (init_function_once): New function.
11991 * function.h (init_function_once): New function.
11992 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
11993 * ggc.h (label_node): Declare.
11994 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
11995 (lang_mark_false_label_stack): New function.
11996 (mark_temp_slot): Remove declaration.
11997 (mark_function_chain): Likewise.
11998 (mark_eh_state): Adjust prototype.
11999 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
12000 Likewise.
12001 * optabs.c: Include ggc.h.
12002 (mark_optab): New function.
12003 (init_optabs): Add gc roots.
12004 * stmt.c: Include ggc.h.
12005 (mark_cond_nesting, mark_loop_nesting): New functions.
12006 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
12007 (mark_stmt_state): New function.
12008 * toplev.c (compile_file): Call init_function_once.
12009 * tree.c: Include ggc.h.
12010 (type_hash): Move declaration earlier in file.
12011 (TYPE_HASH_SIZE, type_hash_table): Likewise.
12012 (init_obstacks): Add gc roots.
12013 (mark_type_hash): New function.
12014 * varasm.c: Include ggc.h.
12015 (mark_pool_constant): New function.
12016 (mark_varasm_state): New function.
12017
12018 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12019
12020 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
12021
12022 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12023
12024 * c-decl.c (struct language_function): Renamed from struct c_function.
12025 Delete elt NEXT.
12026 (c_function_chain): Delete.
12027 (push_c_function_context): New arg F. Don't warn about nested
12028 functions here. Fill LANGUAGE elt of F. Delete code to update
12029 c_function_chain. Don't call push_function_context.
12030 (pop_c_function_context): New arg F. Restore from there instead of
12031 from c_function_chain. Don't call pop_function_context. Clear out
12032 LANGUAGE field of F when done.
12033 * c-lang.c: Include "function.h"
12034 (lang_init): Initialize save_lang_status and restore_lang_status.
12035 * c-parse.in (nested_function, nested_function_notype): Warn about
12036 nested functions. Call push_function_context/pop_function_context
12037 instead of the _c_ variants.
12038 * c-tree.h (push_c_function_context, pop_c_function_context): Update
12039 prototype.
12040 * Makefile.in (c-lang.o): Update dependencies.
12041
12042 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
12043 regno_pointer_flag, regno_pointer_align.
12044 (gen_reg_rtx): Use xrealloc to enlarge them.
12045 (free_emit_status): New function.
12046 * function.c (mark_machine_status, mark_lang_status): New variables.
12047 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
12048 in some bits from assign_stack_local. All callers changed to use new
12049 name.
12050 (assign_stack_local): Just call assign_stack_local_1.
12051 (free_after_compilation): New function.
12052 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
12053 (trampoline_address): Likewise.
12054 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
12055 (prepare_function_start): Explicitly clear some more variables.
12056 * function.h (struct function): New elt can_garbage_collect.
12057 (mark_machine_status, mark_lang_status): Declare variables.
12058 (free_after_compilation, free_emit_status, free_varasm_status,
12059 init_varasm_status): Declare functions.
12060 * toplev.c (rest_of_compilation): Call free_after_compilation when
12061 done with the current function.
12062 * varasm.c (free_varasm_status): New function.
12063
12064 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
12065
12066 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
12067 (EXPAND_BUILTIN_VA_ARG): Define.
12068 * sparc.c (sparc_va_start): New.
12069 (sparc_va_arg): New.
12070
12071 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12072
12073 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
12074
12075 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12076
12077 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
12078
12079 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
12080
12081 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
12082 (OBJS): Add $(GGC).
12083 (ggc-callbacks.o): New target.
12084 * ggc-callbacks.c: New file.
12085
12086 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12087
12088 * expr.h: Collapse individual optab and libfunc vars to arrays.
12089 (optab_index, libfunc_index): New enumerations.
12090 (optab_table, libfunc_table): New arrays.
12091 Add accessor macros for both.
12092
12093 * optabs.c (optab_table, libfunc_table): New.
12094 Delete declarations for individual optab and libfunc vars.
12095
12096 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
12097
12098 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
12099
12100 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
12101
12102 * Makefile.in (GGC, GGC_LIB): New.
12103 (HOST_RTL): Include ggc-none.o.
12104 (ggc-simple.o): New target.
12105 (ggc-none.o): Likewise.
12106 * tree.h (tree_common): Add gc_mark.
12107 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
12108 (struct rtvec_def): Add gc_mark.
12109 * emit-rtl.c (global_rtl): Update static initializers to contain
12110 enough initializers.
12111 * ggc.h, ggc-none.c, ggc-simple.c: New files.
12112 * toplev.c (gc_time): New variable.
12113 (all_time): New variable.
12114 (compile_file): Print gc time.
12115 (print_time): Calculate percentage of the whole.
12116
12117 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12118
12119 Change obstack memory management and varasm constant pool handling so
12120 that nested functions are treated like any other functions.
12121 * function.c (init_machine_status): New variable.
12122 (push_function_context_to): Set contains_functions for the outer
12123 function. Don't call save_varasm_status.
12124 (pop_function_context_from): Don't call restore_varasm_status. Don't
12125 set current_function_contains_functions.
12126 (prepare_function_start): Call init_varasm_status rather than
12127 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
12128 is non-null.
12129 * function.h (struct function) Add field varasm. Delete fields
12130 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
12131 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
12132 (init_machine_status): Declare.
12133 (save_varasm_status, restore_varasm_status): Delete declarations.
12134 (save_tree_status, restore_tree_status): Delete last argument.
12135 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
12136 code. All callers changed.
12137 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
12138 save_constants_in_decl_trees, restore_constants, save_constants,
12139 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
12140 functions.
12141 (inlining): New variable.
12142 (reg_map, label_map, insn_map, orig_asm_operands_vector,
12143 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
12144 variables.
12145 (save_for_inline_nocopy): Don't save constants.
12146 Don't set inl_emit field in current_function.
12147 (expand_inline_function): Use emit field, not inl_emit, of the inlined
12148 function. Set new variable inlining before
12149 calling copy_rtx_and_substitute.
12150 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
12151 constant pool references if inlining is nonzero.
12152 Delete ADDRESS and (most of the) CONST cases.
12153 (output_inline_function): Save and restore current_function/
12154 current_function_decl. Delete restore_constants code. Don't call
12155 init_const_rtx_hash_table.
12156 * output.h (init_const_rtx_hash_table): Don't declare.
12157 * rtl.h (struct function): Declare.
12158 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
12159 * toplev.c (rest_of_compilation): Don't treat nested functions or
12160 functions containing them specially. Delete all code to deal with
12161 save_for_inline_copying.
12162 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
12163 inline_obstacks): Delete variables.
12164 (save_tree_status): Lose arg CONTEXT. All callers changed.
12165 Simply allocate a new function_maybepermanent_obstack for the new
12166 function, delete all the special cases.
12167 Don't save inline_obstacks.
12168 (restore_tree_status): Lose arg CONTEXT. All callers changed.
12169 Delete special handling for function_maybepermanent_obstack; simply
12170 free it if empty.
12171 Don't restore inline_obstacks.
12172 (permanent_allocation): Delete code that frees inline_obstacks.
12173 (print_inline_obstack_statistics): Delete function.
12174 (dump_tree_statistics): Don't call it.
12175 * varasm.c (struct varasm_status): New.
12176 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
12177 last_pool, pool_offset, const_double_chain): Delete global
12178 variables, replace with accessor macros.
12179 (immed_double_const): Don't walk const_double_chain outside a
12180 function, but don't treat nested functions specially anymore.
12181 (immed_real_const_1): Likewise.
12182 (clear_const_double_mem): Don't treat nested functions specially.
12183 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
12184 (save_varasm_status, restore_varasm_status): Delete functions.
12185 (init_varasm_status): New function.
12186 (force_const_mem): Don't treat nested functions specially.
12187 (find_pool_constant): Accept new arg F, search for constants in
12188 that function's pool rather than the current one. All callers
12189 changed.
12190 (get_pool_constant_for_function, get_pool_mode_for_function): New
12191 functions.
12192
12193 * i386.c (init_386_machine_status): New function, mostly from
12194 clear_386_stack_locals.
12195 (struct machine_functions): Rename element names to avoid name
12196 clashes.
12197 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
12198 macros, replacing global variables.
12199 (clear_386_stack_locals, save_386_machine_status,
12200 restore_386_machine_status): Delete functions.
12201 (override_options): Initialize init_machine_status.
12202 * i386.h (INIT_EXPANDERS): Delete macro.
12203 (save_386_machine_status, restore_386_machine_status,
12204 clear_386_stack_locals): Delete declarations.
12205
12206 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12207
12208 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
12209 (doloop_begin): Simplify pattern and use emit_jump_insn.
12210 (doloop_end): Simplify pattern, switch operand order,
12211 and use emit_jump_insn.
12212
12213 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
12214
12215 * function.h (struct function): Add new element LANGUAGE.
12216 (save_lang_status): Declare new variable.
12217 (restore_lang_status): Likewise.
12218 * function.c (save_lang_status): Define.
12219 (restore_lang_status): Likewise.
12220 (push_function_context_to): Call language-specific save function.
12221 (pop_function_context_from): Call language-specific restore function.
12222
12223 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
12224
12225 * i386.md (movsf_1): Check REG_P before use of REGNO.
12226 (movdf_1): Likewise.
12227 (movxf_1): Likewise.
12228 (extendsfdf2): Likewise.
12229 (extendsfxf2): Likewise.
12230 (extenddfxf2): Likewise.
12231
12232 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12233
12234 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
12235 constants into memory.
12236 (c4x_shiftable_constant): New function.
12237 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
12238 (c4x_shiftable_constant): Declare.
12239 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
12240 ashlqi3_noclobber): Add new patterns and associated splitters.
12241
12242 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
12243
12244 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
12245 * dwarf2out.c (dwarf2out_frame_init): Likewise.
12246 * final.c (shorten_branches): Likewise.
12247 * global.c (global_alloc): Likewise.
12248 * haifa-sched.c (build_control_flow): Likewise.
12249 * stmt.c (check_for_full_enumeration_handling): Likewise.
12250 (estimate_case_costs): Likewise.
12251
12252 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
12253
12254 * rtl.h (RTL_CHECKC2): Fix typo in last change.
12255
12256 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
12257
12258 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
12259 (recompute_reg_usage): Likewise.
12260 * rtlanal.c (find_regno_fusage): Likewise.
12261
12262 * rtl.c (rtl_check_failed_code1): New function.
12263 (rtl_check_failed_code2): New.
12264 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
12265 (RTL_CHECKC1, RTL_CHECKC2): New.
12266 (XC*): New accessor macros.
12267 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
12268 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
12269 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
12270 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
12271 (TRAP_*, RANGE_INFO_*): Likewise.
12272
12273 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12274
12275 * Makefile.in (tlink.o): Don't depend on toplev.h.
12276
12277 * collect2.c (c_file, o_file, export_file, import_file, ldout,
12278 output_file, nm_file_name, ldd_file_name, strip_file_name,
12279 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
12280 add_prefix, prefix_from_env, prefix_from_string, do_wait,
12281 fork_execute, maybe_unlink, add_to_list,
12282 extract_init_priority, write_list, dump_list,
12283 dump_prefix_list, write_list_with_asm, write_c_file,
12284 write_c_file_stat, write_c_file_glob, scan_prog_file,
12285 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
12286 ignore_library, extract_string, notice, dump_file, target_machine,
12287 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
12288 read_file, print_load_command): Constify a char*.
12289 (fdopen, error, fatal, fatal_perror): Don't prototype.
12290 (my_strerror): Remove. All callers use xstrerror instead.
12291 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
12292 (main): Add prototype. Constify lots of char* ptrs. Change calls
12293 to xcalloc/strcpy/strcat/... to one call to concat.
12294 (main, scan_prog_file, scan_libraries): Use an intermediate
12295 `const char **' to build an argv array.
12296 (mapfile, libselect, libcompare, locatelib): Add prototypes.
12297
12298 * collect2.h (collect_execute, collect_wait, dump_file,
12299 file_exists): Constify a char*.
12300 (ldout, c_file_name, temporary_obstack, permanent_obstack,
12301 temporary_firstobj, vflag, debug): Add extern declarations.
12302 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
12303
12304 * tlink.c: Don't include toplev.h.
12305 (vflag, debug, ldout, c_file_name, temporary_obstack,
12306 permanent_obstack, temporary_firstobj): Don't declare.
12307 (tlink_execute, frob_extension, symbol_hash_lookup,
12308 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
12309 recompile_files, read_repo_files, demangle_new_symbols,
12310 scan_linker_output): Constify a char*.
12311 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
12312 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
12313
12314 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
12315
12316 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
12317 (relative) rather than jsr (absolute) subroutine call insns.
12318 * config/m68k/m68k-coff.h: Ditto.
12319
12320 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
12321
12322 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
12323 now rework these too.
12324 (arm_reorg): If an insn can't reach the end of the current pool,
12325 ensure that we emit that pool before the insn.
12326
12327 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
12328
12329 * tlink.c (scan_linker_output): Skip the initial underscore in
12330 a mangled name if appropriate.
12331
12332 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12333
12334 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
12335 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
12336 error_with_ivar, gen_declarator, create_builtin_decl,
12337 my_build_string, generate_descriptor_table, generate_ivars_list,
12338 generate_dispatch_table, check_protocols, TAG_GETCLASS,
12339 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
12340 dump_base_name, lang_decode_option, build_encode_expr,
12341 start_class, finish_class, encode_pointer, really_start_method,
12342 gen_declaration, dump_interface, handle_class_ref, handle_impent):
12343 Constify.
12344 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
12345 Add static prototypes.
12346 (build_objc_string_decl, build_selector_reference_decl,
12347 encode_bitfield, build_class_reference_decl): Remove unused
12348 parameter, all callers changed.
12349 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
12350 (objc_printable_name): Likewise. Change second parameter to type int.
12351 (init_objc): Use memcpy, not bcopy, to avoid casts.
12352
12353 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
12354
12355 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
12356 reg notes on a deleted insn.
12357 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
12358
12359 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
12360
12361 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
12362
12363 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12364
12365 * stmt.c (expand_asm_operands): Fix index into inout_mode when
12366 reading it.
12367
12368 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
12369
12370 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
12371 * tm.texi (MD_ASM_CLOBBERS): Document it.
12372
12373 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
12374
12375 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
12376 * except.c (expand_rethrow): Remove unused variable.
12377 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
12378 * flow.c (replace_insns): Likewise.
12379 (create_edge_list, verify_edge_list): Likewise.
12380 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
12381
12382 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
12383 is special code to run.
12384 (main): Don't define operands to emit_operand.
12385 * genrecog.c (main): Don't emit an empty peephole2_insn function.
12386
12387 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
12388
12389 * alpha/alpha.h (normal_memory_operand): Declare.
12390 (reg_no_subreg_operand): Declare.
12391 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
12392
12393 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
12394
12395 * c-parse.in (compstmt_primary_start): New, broken out of first
12396 part of compstmt handling in primary.
12397 (primary): Use it. Add an error clause.
12398 (compstmt_nostart): Renamed from compstmt; remove all
12399 initial invocations of compstmt_start.
12400 (compstmt): New.
12401
12402 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
12403
12404 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
12405 needed.
12406
12407 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
12408
12409 * combine.c (simplify_shift_const): Remove extra semicolon.
12410 * dwarf2out.c (remove_AT): Likewise.
12411 * expmed.c (expand_mult): Likewise.
12412 * gcov.c (create_program_flow_graph): Likewise.
12413 * reorg.c (mostly_true_jump): Likewise.
12414
12415 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
12416
12417 * fold-const.c (fold_range_test): Do not try to fold the range
12418 test if the rhs or lhs has side effects.
12419
12420 * combine.c (simplify_rtx): Recognize another case of a synthesized
12421 sign extension.
12422
12423 * varasm.c (mark_constant_pool): When marking indirect references,
12424 only look at SYMBOL_REFs.
12425
12426 * except.c (expand_fixup_region_end): Do not peek at
12427 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
12428
12429 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
12430
12431 * flags.h: New variables align_loops, align_loops_log,
12432 align_jumps, align_jumps_log, align_labels, align_labels_log,
12433 align_functions, align_functions_log.
12434 * toplev.c: Define them.
12435 (f_options): Handle -falign-* when they have no argument.
12436 (main): Add logic to set variables for -falign-functions,
12437 -falign-jumps, -falign-labels, -falign-loops.
12438 Make it -fsched-verbose=<n> and -finline-limit=<n>.
12439 (display_help): Change help to match options.
12440 * final.c (LABEL_ALIGN): Default to align_labels_log.
12441 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
12442 (LOOP_ALIGN): Default to align_loops_log.
12443 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
12444 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
12445 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
12446 * varasm.c (assemble_start_function): Handle align_functions.
12447
12448 * config/sparc/sparc.h: Don't declare sparc_align_*.
12449 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
12450 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
12451 sparc.c.
12452 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
12453 it's a promise.
12454 * config/sparc/sparc.c: Delete sparc_align_loops,
12455 sparc_align_jumps, sparc_align_funcs and the corresponding string
12456 variables.
12457 (sparc_override_options): Default align_functions on ultrasparc.
12458 Delete -malign-* handling.
12459
12460 * config/mips/mips.c (override_options): On 64-bit targets,
12461 try to align code to 64-bit boundaries.
12462 (print_operand): New substitution, %~,
12463 which aligns labels to align_labels_log.
12464 * config/mips/mips.md (div_trap_normal): Use %~.
12465 (div_trap_mips16): Likewise.
12466 (abssi): Likewise.
12467 (absdi2): Likewise.
12468 (ffssi2): Likewise.
12469 (ffsdi2): Likewise.
12470 (ashldi3_internal): Likewise.
12471 (ashrdi3_internal): Likewise.
12472 (lshrdi3_internal): Likewise.
12473 (casesi_internal): Likewise.
12474
12475 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
12476
12477 Merge new ia32 backend from the branch!
12478
12479 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
12480 See ChangeLog.P2 on new_ia32_branch for details.
12481
12482 * rtl.h (stack_regs_mentioned_p): Delete prototype.
12483 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
12484 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
12485 * i386/gas.h (ASM_FILE_START): Define.
12486 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
12487 for name change of ix86_valid_decl_attribute_p.
12488 (i386_pe_valid_type_attribute_p): Similarly.
12489
12490 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
12491
12492 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
12493 to step through CC modes.
12494
12495 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12496
12497 * regmove.c (fixup_match_1): Don't move INSN in front of P if
12498 it would end up in the shadow of a live flags regsiter.
12499
12500 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12501
12502 * reload1.c: Fix many indentation problems.
12503 * reload.c: Likewise.
12504
12505 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
12506
12507 * alias.c (non_local_reference_p): Constify fmt.
12508
12509 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
12510
12511 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
12512
12513 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
12514
12515 * cse.c (delete_trivially_dead_insns): Do not delete stores to
12516 the internal_arg_pointer.
12517
12518 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
12519
12520 Merge peephole2 from new_ia32_branch:
12521 * Makefile.in (STAGESTUFF): Add *.peephole2.
12522 (mostlyclean): Likewise.
12523 (recog.o): Depend on resource.h.
12524
12525 * final.c (peephole): Conditionalize decl on HAVE_peephole.
12526 (final_scan_insn): Likewise for the invocation of peephole.
12527 * genconfig.c (main): Look for peephole and peephole2 patterns.
12528 Emit HAVE_peephole* accordingly.
12529 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
12530 * flags.h (flag_peephole2): Declare.
12531 * toplev.c: New pass peephole2. New flag -fpeephole2.
12532
12533 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
12534 * gencodes.c (main): Likewise.
12535 * genextract.c (main): Likewise.
12536 * genoutput.c (main): Likewise.
12537 * genemit.c (max_operand_1): Look for the max scratch operand.
12538 (gen_rtx_scratch): New.
12539 (gen_exp): Use it, and pass on new arg subroutine_type.
12540 (gen_expand): Take max scratch into account.
12541 (gen_split): Emit peephole2 functions.
12542 (output_peephole2_scratch): New.
12543 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
12544 * genrecog.c (routine_type): Add PEEPHOLE2.
12545 (IS_SPLIT): New.
12546 (make_insn_sequence): Match outer parallel for peep2. Discard
12547 top level scratches and dups.
12548 (add_to_sequence): New args insn_type and top. Update all callers.
12549 Handle toplevel peep2 matching insns.
12550 (write_subroutine): Handle peep2.
12551 (write_tree_1): Likewise.
12552 (write_tree): Likewise.
12553 (main): Likewise.
12554 (change_state): New arg afterward. Update all callers.
12555 Handle matching separate insns.
12556 * recog.c (recog_next_insn): New.
12557 (peephole2_optimize): New.
12558 * rtl.def (DEFINE_PEEPHOLE2): New.
12559 * resource.c (find_free_register): New argument last_insn. Use it
12560 to find a register available through the entire span.
12561 * resource.h (find_free_register): Update prototype.
12562
12563 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
12564
12565 * i386.c (output_strlen_unroll): Don't write xops[7]
12566 label if it wasn't set.
12567
12568 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
12569
12570 * cpplib.c (struct directive): Const-ify name pointer and
12571 function pointer prototype.
12572 (validate_else, do_define, do_line, do_include, do_undef,
12573 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
12574 do_elif, do_endif, do_sccs, do_assert, do_unassert,
12575 do_warning): Const-ify second arg.
12576 (directive_table): Mark const. Reorder entries by frequency
12577 of usage, record statistics.
12578
12579 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
12580
12581 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
12582 bounds- check RTL accesses if --enable-checking.
12583 (RTVEC_ELT): Bounds check if --enable-checking.
12584 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
12585 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
12586 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
12587 GET_NUM_ELEM.
12588 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
12589 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
12590
12591 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
12592 (NOTE_SOURCE_FILE): Use X0STR.
12593 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
12594 MEM_ALIAS_SET): Use X0INT.
12595 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
12596 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
12597 Use X0EXP.
12598 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
12599 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
12600 (rtl_check_failed_bounds, rtl_check_failed_type1,
12601 rtl_check_failed_type2, rtvec_check_failed_bounds): New
12602 functions.
12603 (fancy_abort): Fix comment.
12604
12605 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
12606 (cse_insn): Decrement LABEL_NUSES for jump target before
12607 deleting jump insn.
12608 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
12609 * final.c (alter_subreg): Compute regno before changing x to
12610 REG; set REGNO(x) after changing it.
12611 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
12612 notes containing CONST_INTs.
12613 (delete_eh_regions): Use NOTE_EH_HANDLER.
12614 * function.c (put_reg_into_stack): Make reg a MEM before
12615 initializing it.
12616 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
12617 delete insn.
12618 (gen_mem_addressof): Make reg a MEM before initializing it.
12619 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
12620 X0WINT.
12621 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
12622 deleting an insn, not after.
12623 (block_alloc): Only look at PATTERN(insn) if we have to, and
12624 only if it's format class 'i'.
12625 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
12626 CONST_INT before using its INTVAL.
12627 * print-rtl.c (print_rtx): Use X0STR.
12628 * regmove.c (fixup_match_1): Don't look at PATTERN of
12629 non-class-'i' insn chain elements.
12630 * reload.c (loc_mentioned_in_p): Take address of
12631 in->fld[1].rtx directly.
12632 * reload1.c (reload): Change reg to a MEM before initializing
12633 it.
12634 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
12635 have no names.
12636 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
12637
12638 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
12639
12640 * config/mips/mips.c (machine_dependent_reorg): Force a
12641 barrier to output the local constant pool if a barrier hasn't
12642 been found at a natural point in the instruction stream.
12643
12644 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12645
12646 * c-parse.in (language_string): Constify.
12647
12648 * dwarf2out.c (language_string): Remove declaration.
12649
12650 * dwarfout.c (language_string): Likewise.
12651
12652 * toplev.c (language_string, init_parse, finish_parse): Likewise.
12653
12654 * tree.h (language_string, init_parse, finish_parse): Declare.
12655
12656 * i386/sun386.h (language_string): Remove declaration.
12657
12658 * mips.h (language_string): Likewise.
12659
12660 * nextstep.h (language_string): Likewise.
12661
12662 * nextstep21.h (language_string): Likewise.
12663
12664 * rs6000.c (language_string): Likewise.
12665
12666 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12667
12668 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
12669 (getpwd.o): Remove target.
12670
12671 * getpwd.c: Delete file. Its in libiberty now.
12672
12673 * dbxout.c (getpwd): Don't prototype.
12674 * dwarf2out.c (getpwd): Likewise
12675 * dwarfout.c (getpwd): Likewise
12676 * final.c (getpwd): Likewise.
12677 * protoize.c (getpwd): Likewise.
12678
12679 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12680
12681 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
12682
12683 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
12684
12685 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
12686 mark_set_resources.
12687
12688 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
12689
12690 * fixinc/Makefile.in (subdir): New.
12691 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
12692 (Makefile): New.
12693
12694 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
12695
12696 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
12697 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
12698 be shared.
12699
12700 * invoke.texi: Fix typo.
12701
12702 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
12703 changed. Handle autoincrement addressing modes.
12704
12705 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
12706 just like we would the virtual incoming args register when
12707 integrating.
12708
12709 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
12710
12711 * rs6000.h (ASM_FILE_START): Specify complete filename, including
12712 path, in .file directive.
12713
12714 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
12715
12716 * gcc.texi (External Bugs): Remove obsolete note about Perl on
12717 SunOS.
12718
12719 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
12720
12721 * stdbool.h: Make the typedef name _Bool, with bool a #defined
12722 alias.
12723
12724 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12725
12726 * tree.c (tree_code_name): Constify a char*.
12727
12728 * tree.h (tree_code_name, decl_printable_name): Likewise.
12729
12730 * function.h (struct function): Likewise.
12731
12732 * toplev.c (decl_name, decl_printable_name): Likewise.
12733
12734 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
12735
12736 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
12737 (init_objc): Remove function pointer cast.
12738
12739 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
12740
12741 * pa.md (interspace_jump): New pattern.
12742 (builtin_longjmp): New expander.
12743
12744 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
12745
12746 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
12747 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
12748 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
12749
12750 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
12751
12752 * jump.c (delete_prior_computation): Also check calls
12753 to constant functions. Don't bother checking for a
12754 REG_UNUSED note before adding it.
12755 (delete_computation): Handle multi-word hard registers
12756 when synthesizing missing REG_DEAD notes for a register
12757 which is both set and used by an insn.
12758
12759 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12760
12761 * loop.c (this_loop_info): New variable.
12762 (loop_has_call, loop_has_volatile, loop_has_tablejump,
12763 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
12764 All uses updated.
12765 (prescan_loop, strength_reduce): New argument loop_info. All callers
12766 updated.
12767 (scan_loop): New variable loop_info, initialise to address of
12768 this_loop_info.
12769 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
12770 Delete variable loop_has_multiple_exit targets and replace with
12771 field in this_loop_info.
12772 (find_and_verify_loops): Rename this_loop to this_loop_num.
12773 (strength_reduce): Delete loop_iteration_info. Replace variable
12774 loop_info with function argument of same name.
12775 (insert_bct): Rework test for loop being completely unrolled.
12776
12777 * loop.h (struct loop_info): New fields num, loops_enclosed,
12778 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
12779 has_indirect_jump, and cont. Redefine use of unroll_number.
12780 (loop_unroll_number): Delete.
12781
12782 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
12783 field of loop_info.
12784 (loop_iterations): Delete variable vtop and instead use
12785 loop_info->vtop computed in prescan_loop.
12786
12787 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
12788
12789 * fix-header.c (main): Do not pass a null pointer to strcmp.
12790
12791 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
12792
12793 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
12794 filenames.
12795 * configure: Rebuilt.
12796
12797 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
12798
12799 * jump.c (jump_optimize_1): Do not delete assignments to
12800 internal_arg_pointer.
12801 * cse.c (delete_trivially_dead_insns): Always consider a set of
12802 the internal_arg_pointer live.
12803
12804 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
12805
12806 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
12807 (update_life_info) [REG_WAS_0]: Search the original insns rather
12808 than the new insns for the note. Fix typos finding note_dest.
12809 If no dest found, discard the note rather than abort.
12810 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
12811 (replace_insns): Remove the old insn list after update_life_info
12812 not before.
12813
12814 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
12815
12816 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
12817 sched_analyze_insn.
12818 (sched_analyze_1): Let add_dependence care for not adding dups.
12819 (sched_analyze_2): Likewise.
12820 (add_branch_dependences): Likewise.
12821
12822 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
12823
12824 * i386/winnt.c (export_list): New type.
12825 (exports_head): Rename to
12826 (export_head): this.
12827 (i386_pe_record_exported_symbol): Add is_data flag.
12828 (i386_pe_asm_file_end): Emit directive for exported variables.
12829 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
12830 prototype.
12831 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
12832 (ASM_DECLARE_OBJECT_NAME): Likewise.
12833 (ASM_DECLARE_FUNCTION_NAME): Likewise.
12834 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
12835
12836 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
12837
12838 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
12839
12840 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
12841 operand.
12842
12843 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
12844
12845 * config/openbsd.h: Define SET_ASM_OP.
12846 * tm.texi: cross-reference SET_ASM_OP in the index.
12847
12848 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
12849
12850 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
12851 for a CONST_DOUBLE, at compile time. Initialize rtx_length
12852 and class_narrowest_mode at compile time. Kill init_rtl.
12853 Mark rtx_length, mode_class, mode_size, mode_unit_size,
12854 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
12855 rtx_format as const. Kill all references to EXTRA_CC_MODES or
12856 EXTRA_CC_NAMES.
12857 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
12858 format.
12859 * rtl.h: Declare rtx_length and rtx_format as const.
12860 * machmode.def: Define CC(). Use CC() to define CCmode. If
12861 EXTRA_CC_MODES is defined, expand it here.
12862 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
12863 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
12864 const. Kill all references to EXTRA_CC_MODES.
12865
12866 * toplev.c: Don't prototype or call init_rtl.
12867 * optabs.c: Don't call init_mov_optab.
12868 * genemit.c: Don't generate init_mov_optab. Don't call
12869 init_rtl.
12870 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
12871 here.
12872 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
12873 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
12874 genrecog.c: Don't call init_rtl.
12875
12876 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
12877 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
12878 definition of EXTRA_CC_MODES.
12879
12880 * md.texi: Kill ref to EXTRA_CC_NAMES.
12881 * tm.texi: Document new way to define EXTRA_CC_MODES.
12882
12883 * genrecog.c: Do not look up the name of a define_split.
12884 (Unrelated bugfix.)
12885
12886 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
12887
12888 * config/v850/v850.md: Fix typo introduced by previous delta.
12889
12890 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12891
12892 * gcc.c (fatal): Make definition static to match prototype.
12893
12894 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12895
12896 * combine.c (get_last_value): Don't look for earlier sets if the last
12897 known set is somewhere in between the insns being combined.
12898
12899 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
12900
12901 * configure.in: Don't use shell ! to negate exit codes
12902 * configure: Regenerate
12903
12904 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
12905
12906 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
12907 the fact that ALIGN is measured in bits, not bytes.
12908
12909 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
12910
12911 * errors.c: New file; defines functions error, warning, and
12912 fatal, variables have_error and progname.
12913 * errors.h: New file; prototypes and decls for stuff in errors.c.
12914
12915 * Makefile: Add rules to build errors.o and
12916 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
12917 genopinit, genrecog, genextract, genpeep, genattr, and
12918 genoutput with errors.o. Add errors.h to deps of genconfig.o,
12919 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
12920 genpeep.o, genattr.o, and genoutput.o.
12921
12922 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
12923 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
12924 define or prototype fatal. Set progname at beginning of main.
12925 * genoutput.c: Likewise, and don't define or prototype error
12926 either.
12927
12928 * c-typeck.c (c_expand_start_case): Return immediately if exp
12929 is an ERROR_MARK.
12930 * fold-const.c (operand_equal_p): Return immediately if arg1
12931 or arg0 are ERROR_MARKs.
12932 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
12933 fields of type ERROR_MARK when calculating if the record can
12934 go in a register.
12935
12936 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
12937 with much help from Jeffrey A Law and Richard Henderson
12938
12939 * i386.md: In the 6 insns which call output_fix_trunc,
12940 earlyclobber operands[0].
12941
12942 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
12943
12944 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
12945 creating new registers.
12946
12947 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
12948
12949 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
12950 i386_reg_alloc_order, i386_regparm_string,
12951 i386_align_loops_string, i386_align_jumps_string,
12952 i386_align_funcs_string, i386_preferred_stack_boundary_string,
12953 and i386_branch_cost_string as type "const char *".
12954 * i386.c: Define all above strings as type "const char *".
12955
12956 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
12957
12958 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
12959 when emitting alignment padding. Emit padding byte of 0 instead of 4.
12960
12961 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
12962
12963 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
12964 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
12965
12966 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
12967
12968 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
12969 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
12970 (dwarf2out_line, dwarf2out_finish): Likewise.
12971 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
12972
12973 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
12974
12975 * tree.c (lang_unsave_expr_now) : Correct return type.
12976 * tree.h (lang_unsave_expr_now) : Same.
12977
12978 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
12979
12980 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
12981 instead of duplicating code.
12982
12983 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12984
12985 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
12986
12987 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
12988
12989 * tree.h: fancy_abort always takes three args.
12990 * resource.c: Move include of system.h before toplev.h.
12991
12992 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
12993
12994 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
12995 as SYMBOL_REFs.
12996
12997 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
12998
12999 * system.h: Don't redefine abort or trim_filename.
13000 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
13001 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
13002 whether or not __FUNCTION__ is available.
13003 * tree.h: Duplicate rtl.h's definition of abort, for files
13004 that don't include rtl.h. Delete all code to perform type
13005 checking with a compiler other than GCC.
13006 * varray.h: Delete all code to perform type checking with a
13007 compiler other than GCC. Make VARRAY_CHECK() always evaluate
13008 its arguments exactly once, using a statement expression.
13009 Adjust the VARRAY_<type> accessor macros to match.
13010 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
13011 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
13012 caller's location. Define fatal_insn and fatal_insn_not_found
13013 as macros that use _fatal_insn and _fatal_insn_not_found.
13014 (fancy_abort, trim_filename): Kill prototypes.
13015
13016 * rtl.c (trim_filename): Move here from toplev.c.
13017 (fancy_abort): New function.
13018 (DIR_SEPARATOR): Provide default definition.
13019 * tree.c (tree_check_failed, tree_class_check_failed): Go
13020 through fancy_abort.
13021 (tree_check, tree_class_check, cst_or_constructor_check,
13022 expr_check): Delete.
13023 * varray.c (varray_check_failed): New function.
13024 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
13025 _fatal_insn and _fatal_insn_not_found. Go through
13026 fancy_abort.
13027 (trim_filename, fancy_abort): Delete.
13028
13029 * builtins.c (expand_builtin_args_info): Report ICE with abort.
13030 * except.c (start_catch_handler): Report ICE with error/abort
13031 combo.
13032 * final.c (output_operand_lossage): Likewise.
13033 * flow.c (verify_flow_info): Likewise.
13034
13035 * gcc.c: Prototype fatal.
13036 * gengenrtl.c: Undef abort after including rtl.h not system.h.
13037 * genattr.c, genattrtab.c, genemit.c, genextract.c,
13038 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
13039 Don't define fancy_abort.
13040
13041 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
13042
13043 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
13044 canonization.
13045
13046 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
13047
13048 * m88k.h (VERSION_INFO2): Kill.
13049 (VERSION_STRING): Kill.
13050 (TM_RCS_ID): Kill.
13051 (VERSION_INFO1): Tidy.
13052 (TARGET_VERSION): Update.
13053 * m88k/dgux.h (VERSION_INFO2): Kill.
13054 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
13055 * m88k/luna.h (VERSION_INFO1): Tidy.
13056 * m88k/sysv4.h (VERSION_INFO1): Likewise.
13057 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
13058 (output_file_start): Adjust for death of VERSION_STRING.
13059
13060 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
13061
13062 * cpplib.c (detect_if_not_defined): New function.
13063 (do_if): Use it to detect potential once-only headers.
13064
13065 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
13066
13067 * c-common.c (combine_strings): Always set TREE_CONSTANT.
13068
13069 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
13070
13071 * combine.c (nonzero_bits) : Allow single-ly set registers to be
13072 anywere in the function only if they are pseudos and set before
13073 being used (not live at the start of the function).
13074 (num_sign_bit_copies) : Same.
13075 (get_last_value_validate) : Same.
13076 (get_last_value) : Same.
13077
13078 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
13079
13080 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
13081 where N and M are constant and N is an integer multiple of M.
13082
13083 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13084
13085 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
13086 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
13087 sbitmap_union_of_preds): Add prototypes.
13088 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
13089 the intersection of successors with the new flow graph structures.
13090 (sbitmap_intersection_of_preds): New function to compute the
13091 intersection of predecessors with the new flow graph structures.
13092 (sbitmap_union_of_succs): New function to compute the union of
13093 successors with the new flow graph structures.
13094 (sbitmap_union_of_preds): New function to compute the union of
13095 predecessors with the new flow graph structures.
13096 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
13097 (expr_reaches_here_p): Use edge and basic_block structures instead
13098 of s_preds and s_succs.
13099 (compute_cprop_avinout): Use new sbitmap routines.
13100 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
13101 of s_preds and s_succs.
13102 * flow.c (compute_flow_dominators): Compute dominators using
13103 edges and basic blocks instead of s_preds and s_succs.
13104
13105 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13106
13107 * lists.c (unused_insn_list, unused_expr_list): New file for
13108 maintaining various types of lists. New statics for maintaining a
13109 cache of available INSN_LIST and EXPR_LIST nodes.
13110 (free_list): Static function for freeing a list of INSN/EXPR nodes.
13111 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
13112 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
13113 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
13114 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
13115 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
13116 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
13117 (free_INSN_LIST_node): Free an individual INSN_LIST node.
13118 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
13119 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
13120 (remove_dependence, free_pending_lists): Use new global routines.
13121 (flush_pending_lists, sched_analyze_insn): Use new global routines.
13122 (sched_analyze, compute_block_backward_dependences): Use new routines.
13123 (sched_analyze_1, sched_analyze_2): Use new routines.
13124 (schedule_insns): Use new global routines.
13125 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
13126 prototypes.
13127 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
13128 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
13129 prototypes.
13130 * toplev.c (rest_of_compilation): Initialize node cache.
13131 * Makefile.in (OBJS): Add lists.o to list of object files.
13132 (lists.o): Add dependancies.
13133
13134 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
13135
13136 * config/v850/v850.md: Fix compile time warning messages.
13137 * config/v850/v850.c: Fix compile time warning messages.
13138 * config/v850/v850.h: Fix compile time warning messages.
13139
13140 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13141
13142 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
13143 Remove unused prototype for `init_lengths'.
13144
13145 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13146
13147 * calls.c (emit_call_1): Mark parameter `stack_size' with
13148 ATTRIBUTE_UNUSED.
13149 (expand_call): Initialize variable `insn'.
13150 (emit_library_call): Likewise for variable `high_to_save'.
13151 (emit_library_call_value): Likewise.
13152 (store_one_arg): Likewise for variables `lower_bound' and
13153 `upper_bound'.
13154
13155 * combine.c (try_combine): Likewise for variables `i2_code_number'
13156 and `other_code_number'.
13157 (find_split_point): Likewise for variables `pos', `unsignedp' and
13158 `inner'.
13159 (simplify_if_then_else): Likewise for variables `op' and `c1'.
13160 (simplify_and_const_int): Remove unused variable `width'.
13161 (merge_outer_ops): Likewise.
13162
13163 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
13164 HOST_WIDE_INT' when comparing against one.
13165 (simplify_relational_operation): Likewise.
13166 (cse_insn): Initialize variables `src_eqv_volatile',
13167 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
13168
13169 * final.c (init_final): Constify parameter `filename'.
13170 (final_start_function): Mark parameter `optimize' with
13171 ATTRIBUTE_UNUSED.
13172 (profile_function): Likewise for parameters `first' and `optimize'.
13173 (output_source_line): Likewise for parameter `file'.
13174
13175 * integrate.c (subst_constants): Cast a value to `size_t' when
13176 comparing against one.
13177 (mark_stores): Initialize variable `mode'. Cast a value to
13178 `size_t' when comparing against one.
13179
13180 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
13181
13182 * loop.c (move_movables): Initialize variable `first'.
13183 (strength_reduce): Likewise for variable `increment'.
13184 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
13185 value to `size_t' when comparing against one.
13186 (load_mems): Initialize variable `end_label'.
13187
13188 * output.h (init_final): Constify parameter.
13189
13190 * reload.c (decompose): Initialize variable `base'.
13191
13192 * reload1.c (reload): Likewise for variable `is_scalar'.
13193 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
13194 (choose_reload_regs): Initialize variable `mode'.
13195 (emit_reload_insns): Likewise for variable `store_insn'.
13196 (reload_cse_noop_set_p): Mark parameter `insn' with
13197 ATTRIBUTE_UNUSED.
13198 (reload_combine): Initialize variable `set'.
13199
13200 * unroll.c (unroll_loop): Likewise for variable `local_label'.
13201 (copy_loop_body): Cast a value to `size_t' when comparing against
13202 one.
13203
13204 * varasm.c (assemble_variable): Initialize variable `size_tree'.
13205 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
13206 (remove_from_pending_weak_list): Mark parameter `name' with
13207 ATTRIBUTE_UNUSED.
13208
13209 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13210
13211 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
13212 gcse dump file.
13213
13214 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
13215
13216 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
13217 (ASM_DECLARE_FUNCTION_NAME): Define.
13218 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
13219 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
13220 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
13221 not already defined.
13222
13223 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
13224
13225 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
13226 of n_popped when call/call_value are not defined.
13227
13228 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
13229
13230 * tm.texi: GNU CC -> GCC conversion.
13231 (CC1_SPEC): Indicate it is used for all language front ends.
13232
13233 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
13234
13235 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
13236 NOTE_INSN_EH_REGION_END correctly.
13237
13238 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
13239 Jeff Law <law@cygnus.com>
13240
13241 * loop.c (strength_reduce): Automatically unroll loops if the
13242 unrolled loop size is smaller than the rolled loop size.
13243
13244 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
13245 and delete comment that code should be rewritten.
13246
13247 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
13248
13249 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
13250 as reachable.
13251
13252 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
13253
13254 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
13255
13256 * fixinc/mkfixinc.sh: Don't fix uwin headers.
13257 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
13258 (LINK_SPEC): Add -u _main when building executables.
13259 (ASM_DECLARE_FUNCTION): Update from Cygwin.
13260 (ASM_FILE_END): Use the default for ix86-pe.
13261 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
13262
13263 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
13264
13265 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
13266 and ASM_CLOSE_PAREN are empty strings.
13267
13268 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
13269 Geoffrey Keating <geoffk@cygnus.com>
13270
13271 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
13272 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
13273 (unprotoize.o): Ditto.
13274 (test-protoize-simple): Don't define STD_PROTO_DIR.
13275 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
13276 changes to make 'test-protoize-simple' pass.
13277 (STD_PROTO_DIR): Remove define.
13278 (STANDARD_EXEC_PREFIX): Supply default define.
13279 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
13280 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
13281 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
13282 (GET_ENV_PATH_LIST): New macro.
13283 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
13284 (do_processing): Initialize default_syscalls_dir using new
13285 macros. Use it to initialize syscalls_absolute_filename.
13286
13287 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
13288
13289 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
13290 B into a register before emit_conditional_move.
13291
13292 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
13293
13294 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
13295 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
13296 multiplicand out of (+ (* a b) (* c d)).
13297
13298 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
13299 Richard Henderson <rth@cygnus.com>
13300
13301 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
13302 (new_insn_dead_notes): Likewise.
13303 (update_n_sets): Likewise.
13304 (update_flow_info): Move to flow.c, renamed to update_life_info;
13305 extend to handle multiple source insns.
13306 * flow.c: Include resource.h
13307 (unlink_insn_chain): New.
13308 (split_hard_reg_notes): New.
13309 (maybe_add_dead_note): New.
13310 (maybe_add_dead_note_use): New.
13311 (find_insn_with_note): New.
13312 (new_insn_dead_notes): New.
13313 (update_n_sets): New.
13314 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
13315 (maybe_remove_dead_notes): New.
13316 (update_life_info): New.
13317 (prepend_reg_notes): New.
13318 (replace_insns): New.
13319 * output.h (update_life_info): Declare.
13320 * recog.c (split_block_insns): Use update_life_info.
13321 * resource.c (find_free_register): Use reg_alloc_order, don't use
13322 fixed regs, make sure the mode is supported, don't use new regs.
13323 (reg_dead_p): New.
13324 * rtl.h (replace_insns): Declare.
13325
13326 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
13327
13328 * expr.c (expand_expr): Cope with COND_EXPRs with one
13329 non-returning branch.
13330
13331 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
13332
13333 * expr.c (store_expr): Always pass down the target, even when not
13334 doing CSE.
13335
13336 1999-08-24 Nick Clifton <nickc@cygnus.com>
13337
13338 * configure.in: Define target_cpu_default for v850 targets.
13339 * configure: Regenerate
13340
13341 * config/v850/v850.h (TARGET_CPU_generic): Define.
13342 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
13343 addresses are 4 byte aligned.
13344
13345 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
13346 addresses.
13347
13348 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13349
13350 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
13351 (main): Add prototypes.
13352
13353 * genattrtab.c (substitute_address, write_const_num_delay_slots,
13354 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
13355 (write_attr_get): Emit prototypes along with function definition.
13356 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
13357 (write_complex_function): Emit static prototype along with
13358 function definition.
13359
13360 * genemit.c (gen_split): Emit prototypes along with function
13361 definition.
13362
13363 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
13364 Likewise for predicates and `insn_operand_predicate'.
13365 (process_template): Emit static prototype along with function
13366 definition.
13367
13368 * genrecog.c (make_insn_sequence): Constify a char*. Add
13369 prototypes for get_split_*().
13370 (write_subroutine): Emit prototypes along with function
13371 definition.
13372
13373 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13374
13375 * gcse.c (find_avail_set): Follow chains of register-register copies.
13376 Use oprs_not_set_p to guarantee that the returned value can be
13377 substituted.
13378 (cprop_insn): Don't verify the return value of find_avail_set with
13379 oprs_not_set_p.
13380
13381 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
13382 (cprop_cc0_jump): New function.
13383 (cprop_insn): Break out new function cprop_jump and use it.
13384 Also use cprop_cc0_jump for machines with CC0.
13385 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
13386
13387 * tree.h (current_function_calls_setjmp,
13388 current_function_calls_longjmp): Delete declarations.
13389 * dsp16xx.c: Include "function.h".
13390 * elxsi.c: Likewise.
13391 * gmicro.c: Likewise.
13392 * h8300.c: Likewise.
13393 * i370.c: Likewise.
13394 * m32r.c: Likewise.
13395 * mn10200.c: Likewise.
13396 * mn10300.c: Likewise.
13397 * ns32k.c: Likewise.
13398 * spur.c: Likewise.
13399 * v850.c: Likewise.
13400
13401 * rtl.h (rtx_equal_function_value_matters): Declare.
13402 * toplev.c (rtx_equal_function_value_matters): Don't declare.
13403 * cse.c: Likewise.
13404 * function.c: Likewise.
13405 * emit-rtl.c: Likewise.
13406
13407 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
13408
13409 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
13410 call.
13411
13412 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13413
13414 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
13415 exactly.
13416
13417 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
13418
13419 * cpp.texi: Add a node documenting macro varargs (copied
13420 from extend.texi).
13421
13422 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
13423
13424 * cppspec.c: Put a null pointer at the end of the new argv.
13425
13426 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
13427
13428 * configure.in: Remove code to select/de-select the haifa
13429 scheduler. Every scheduled port gets haifa now.
13430 * configure: Rebuilt.
13431 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
13432 * sched.c Deleted.
13433 * Makefile.in: Corresponding changes.
13434
13435 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13436
13437 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
13438 All callers changed.
13439 (prepare_float_lib_cmp): Likewise.
13440 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
13441 * expr.h (emit_float_lib_cmp): Delete declaration.
13442 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
13443 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
13444 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
13445 specially.
13446 (cmptf): Now conditional on TARGET_HARD_QUAD.
13447
13448 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
13449
13450 * resource.c (mark_target_live_regs): Use
13451 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
13452
13453 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13454
13455 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
13456
13457 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
13458
13459 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
13460
13461 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13462
13463 * rtl.h (rtx_format): Constify a char*.
13464
13465 * rtl.c (rtx_format): Likewise.
13466 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
13467 (init_rtl): Use accessor macro, not `rtx_format'.
13468
13469 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
13470 char*.
13471
13472 * caller-save.c (mark_referenced_regs): Likewise.
13473
13474 * combine.c (subst, make_compound_operation, known_cond,
13475 gen_rtx_combine, update_table_tick, get_last_value_validate,
13476 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
13477
13478 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
13479 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
13480 count_reg_usage): Likewise.
13481
13482 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
13483 Likewise.
13484
13485 * final.c (leaf_renumber_regs_insn): Likewise.
13486
13487 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
13488 dump_edge_info, count_reg_references): Likewise.
13489
13490 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
13491 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
13492 Likewise.
13493
13494 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
13495 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
13496 add_label_notes): Likewise.
13497
13498 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
13499 clear_struct_flag, count_sub_rtxs, count_alternatives,
13500 compares_alternatives_p, contained_in_p, walk_attr_value,
13501 write_expr_attr_cache): Likewise.
13502
13503 * genconfig.c (walk_insn_part): Likewise.
13504
13505 * genemit.c (max_operand_1, gen_exp): Likewise.
13506
13507 * genextract.c (walk_rtx): Likewise.
13508
13509 * genflags.c (num_operands): Likewise.
13510
13511 * genoutput.c (scan_operands): Likewise.
13512
13513 * genpeep.c (match_rtx): Likewise.
13514
13515 * genrecog.c (add_to_sequence): Likewise.
13516
13517 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
13518 Likewise.
13519
13520 * integrate.c (save_constants, copy_for_inline,
13521 copy_rtx_and_substitute, subst_constants, restore_constants):
13522 Likewise.
13523
13524 * jump.c (mark_jump_label, invert_exp, redirect_exp,
13525 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
13526
13527 * local-alloc.c (contains_replace_regs, memref_referenced_p):
13528 Likewise.
13529
13530 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
13531 add_label_notes, replace_call_address, count_nonfixed_reads,
13532 invariant_p, find_single_use_in_loop, find_mem_givs,
13533 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
13534 Likewise.
13535
13536 * print-rtl.c (reg_names, print_rtx): Likewise.
13537
13538 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
13539
13540 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
13541 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
13542 print_blocks): Likewise.
13543
13544 * regclass.c (fix_register, record_address_regs,
13545 reg_scan_mark_refs): Likewise.
13546
13547 * regmove.c (stable_but_for_p): Likewise.
13548
13549 * reload.c (loc_mentioned_in_p, operands_match_p,
13550 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
13551 copy_replacements, refers_to_regno_for_reload_p,
13552 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
13553 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
13554 Likewise.
13555
13556 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
13557 delete_address_reloads_1, count_occurrences,
13558 reload_cse_mem_conflict_p, reload_combine_note_use,
13559 add_auto_inc_notes): Likewise.
13560
13561 * resource.c (mark_referenced_resources, mark_set_resources):
13562 Likewise.
13563
13564 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
13565 reg_mentioned_p, regs_set_between_p, modified_between_p,
13566 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
13567 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
13568 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
13569 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
13570
13571 * sched.c (sched_analyze_2, attach_deaths): Likewise.
13572
13573 * stupid.c (stupid_mark_refs): Likewise.
13574
13575 * unroll.c (remap_split_bivs): Likewise.
13576
13577 * varasm.c (mark_constants): Likewise.
13578
13579 * a29k/a29k.c (uses_local_reg_p): Likewise.
13580
13581 * alpha/alpha.c (summarize_insn): Likewise.
13582
13583 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
13584 eliminate_lr2ip): Likewise.
13585
13586 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
13587
13588 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
13589 reg_mentioned_in_mem): Likewise.
13590
13591 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
13592 symbolic_reference_mentioned_p): Likewise.
13593
13594 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
13595
13596 * sh/sh.c (regs_used, mark_use): Likewise.
13597
13598 * vax/vax.c (vax_rtx_cost): Likewise.
13599
13600 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13601
13602 * machmode.h (mode_name): Constify a char*.
13603
13604 * rtl.c (mode_name): Likewise.
13605
13606 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
13607
13608 * optabs.c (init_libfuncs): Constify a char*.
13609
13610 * print-tree.c (mode_name): Remove redundant declaration.
13611 (print_node): Use accessor macro, not `mode_name'.
13612
13613 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
13614 not `mode_name'.
13615 (new_spill_reg): Constify a char*.
13616
13617 * tree.c (mode_name): Remove redundant declaration.
13618
13619 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13620
13621 * rtl.c (rtx_name): Constify a char*.
13622
13623 * rtl.h (rtx_name, fix_sched_param): Likewise.
13624
13625 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
13626 (mypr): Use accessor macro, not `rtx_name'.
13627
13628 * genemit.c (print_code): Constify a char*.
13629
13630 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
13631
13632 * genpeep.c (print_code): Constify a char*.
13633
13634 * genrecog.c (print_code): Likewise.
13635
13636 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
13637 end_bb): Add static prototype.
13638 (draw_edge): Constify a char*.
13639 (end_bb): Remove unused parameter.
13640
13641 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
13642 print_block_visualization): Constify a char*.
13643
13644 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
13645
13646 * c-common.c (c_get_alias_set): Update comment.
13647
13648 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
13649
13650 * linux.h (LIB_SPEC): Added.
13651
13652 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13653
13654 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
13655
13656 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
13657
13658 * tree.c (expr_check): Fix typo in last change.
13659
13660 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
13661
13662 * rtl.def (NOTE): Change format to "iuu0n".
13663 (ADDR_DIFF_VEC): Change format to "eEee0".
13664 (ADDRESSOF): Change format to "eit".
13665
13666 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
13667 (RTVEC_ELT): Change to match.
13668 (XVECEXP): Use XVEC and RTVEC_ELT.
13669 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
13670 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
13671 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
13672 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
13673 TRAP_CONDITION, TRAP_CODE): Use XEXP.
13674 (INTVAL): Use XWINT.
13675 (ADDRESSOF_DECL): Use XTREE.
13676 (SET_ADDRESSOF_DECL): Delete.
13677 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
13678 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
13679 ifdefed out since 2.6 at least.
13680 (gen_rtvec_vv): Delete prototype.
13681
13682 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
13683 not rtunion.
13684 (copy_most_rtx): Handle 't' format letter.
13685 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
13686 (gen_rtvec_vv): Delete function. All callers changed to use
13687 gen_rtvec_v instead.
13688 * print-rtl.c (print_rtx): Move special casing of NOTEs to
13689 the '0' format letter.
13690
13691 * function.c (gen_mem_addressof): Don't use
13692 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
13693 instead.
13694 * integrate.c (copy_rtx_and_substitute): Likewise.
13695 Copy 't' slots with XTREE.
13696 (subst_constants): Treat 't' slots like '[swi]' slots.
13697 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
13698 * jump.c (rtx_equal_for_thread_p): Likewise.
13699 * rtlanal.c (rtx_equal_p): Likewise.
13700 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
13701 only four arguments.
13702 * gengenrtl.c (type_from_format): Provide correct types for
13703 'b' and 't' slots.
13704
13705
13706 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
13707 If a recent gcc is in use (always in stage2 and beyond), use
13708 statement expressions, so we don't make a function call unless
13709 the check fails. Evaluate arguments exactly once.
13710 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
13711 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
13712 Delete.
13713 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
13714 they evaluate their arguments exactly once, irrespective of
13715 the compiler in use.
13716
13717 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
13718 is used by the currently-enabled check macros. This is:
13719 (tree_check_failed, tree_class_check_failed): For gcc.
13720 (tree_check, tree_class_check, cst_or_constructor_check,
13721 expr_check): For other compilers.
13722
13723 * gencheck.c: Do not define any *_CHECK1 macros.
13724
13725 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
13726 Mark Mitchell <mark@codesourcery.com>
13727
13728 * c-common.c (c_get_alias_set): Fix support for poitners and
13729 references.
13730
13731 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
13732
13733 * alias.c: Include tree.h.
13734 (nonlocal_reference_p, mark_constant_function): New functions.
13735 * flow.c (life_analysis): Call mark_constant_function.
13736 * rtl.h (mark_constant_function): Declare it.
13737
13738 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
13739
13740 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
13741 unrecognisable switches.
13742
13743 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13744
13745 * loop.c (recombine_givs): Set ix field after sorting.
13746 (recombine_givs): Remove bogus index / giv lockstep looping.
13747
13748 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13749
13750 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
13751 on CODE.
13752 (emit_store_flag_force): Use do_compare_rtx_and_jump.
13753 (do_cmp_and_jump): Formatting fixes.
13754 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
13755 do_compare_rtx_and_jump instead of compare_from_rtx.
13756 (do_compare_rtx_and_jump): New function; mostly copied from
13757 compare_from_rtx.
13758 (do_jump_for_compare): Delete.
13759 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
13760 MIN_EXPR.
13761 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
13762 of compare/do_jump_for_compare pairs.
13763 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
13764 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
13765 compare_from_rtx/do_jump_for_compare pairs.
13766 (do_jump_by_parts_equality): Likewise.
13767 (do_jump_by_parts_equality_rtx): Likewise.
13768 * expr.h (do_compare_rtx_and_jump): Declare.
13769 * optabs.c (prepare_cmp_insn): New function, contains most of the code
13770 that used to be in emit_cmp_insn.
13771 (cmp_available_p): New function.
13772 (prepare_operand): New function.
13773 (emit_cmp_and_jump_insn_1): New function, contains some code that used
13774 to be in emit_cmp_insn.
13775 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
13776 parameters to be pointers; don't emit final compare but modify some of
13777 the values pointed to by the args so the caller can perform the
13778 correct comparison.
13779 (expand_binop): Call emit_store_flag_force with signed forms of
13780 comparison code.
13781 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
13782 emit_jump_insn pair.
13783 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
13784 emit_cmp_and_jump_insn_1. Call emit_queue.
13785 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
13786 arg.
13787 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
13788 jump sets cc0 before deleting it.
13789 * integrate.c (expand_inline_function): Likewise.
13790 * unroll.c (unroll_loop): Similar changes in several places.
13791 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
13792 before deleting it.
13793
13794 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13795
13796 * Makefile.in (insn-recog.o): Update dependencies.
13797 * genrecog.c (main): Make generated file include "function.h".
13798
13799 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
13800
13801 * cse.c (cse_insn): Call never_reached_warning when a jump is
13802 changed to be unconditional.
13803 * flags.h: Declare warn_notreached.
13804 * flow.c (delete_block): Call never_reached_warning when
13805 a block is deleted.
13806 * jump.c (delete_barrier_successors): Call never_reached_warning
13807 when we delete everything after a BARRIER.
13808 (never_reached_warning): New function.
13809 * rtl.h: Declare never_reached_warning.
13810 * toplev.c (warn_notreached): New variable.
13811 (lang_independent_options): Set warn_notreached
13812 when -Wunreachable-code.
13813 (compile_file): We need line numbers for -Wunreachable-code.
13814
13815 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
13816
13817 * haifa-sched.c (insn_unit): Fix typo on out of range test.
13818 * sched.c (insn_unit): Likewise.
13819
13820 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
13821
13822 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
13823
13824 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13825
13826 * flow.c (create_edge_list): Use xmalloc, not malloc.
13827
13828 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
13829
13830 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
13831 C-style comments. Do not lose the character before double slash.
13832
13833 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13834
13835 * basic-block.h (struct edge_list): Stucture to maintain a vector
13836 of edges.
13837 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
13838 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
13839 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
13840 New function prototypes.
13841 * flow.c (create_edge_list): Function to create an edge list.
13842 (free_edge_list): Discards memory used by an edge list.
13843 (print_edge_list): Debug output showing an edge list.
13844 (verify_edge_list): Internal consistency check for an edge list.
13845 (find_edge_index): Function to find an edge index for a pred and succ.
13846
13847 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
13848
13849 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
13850 hashtable.
13851
13852 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
13853
13854 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
13855
13856 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13857
13858 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
13859
13860 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
13861
13862 * toplev.c (rest_of_compilation): Allow machine dependent
13863 reorganisation pass to place information into the RTL dump
13864 file if it so wishes.
13865
13866 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
13867
13868 * explow.c (hard_function_value): Use VOIDmode instead of
13869 MAX_MACHINE_MODE.
13870 * stmt.c (expand_return): Likewise.
13871 * stor-layout.c (get_best_mode): Likewise.
13872
13873 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
13874 emit call instead of emit_insn call.
13875
13876 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
13877
13878 * configure.in: Handle --disable/enable-win32-registry.
13879 * install.texi: Document --disable/enable-win32-registry.
13880 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
13881 (WIN32_REGISTRY_KEY): New macro.
13882 * prefix.c: Use to enable/disable win32-specific code.
13883 (lookup_key): Use versioned key.
13884 * configure: Regenerate.
13885 * config.in: Likewise.
13886
13887 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
13888
13889 * cpplib.c (read_line_number): New fn, split out of...
13890 (do_line): Here.
13891
13892 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
13893
13894 tree.c (lang_unsave_expr_now) : New.
13895 (unsave_expr_now): Call lang_unsave_expr_now.
13896 tree.h (lang_unsave_expr_now) : New.
13897
13898 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
13899
13900 * toplev.c (flag_new_exceptions): On by default.
13901
13902 1999-08-13 Michael Meissner <meissner@cygnus.com>
13903
13904 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
13905
13906 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
13907
13908 * dwarfout.c (fundamental_type_code): Return FT_boolean for
13909 INTEGER_TYPE with precision==1, it's __java_boolean.
13910
13911 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13912
13913 * global.c (prune_preferences): Move some invariants out of the
13914 inner loop.
13915
13916 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
13917
13918 * configure.in (alpha*-dec-osf*): Add osf5.
13919
13920 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
13921
13922 * configure.in: Rework handling of ARM GNU/Linux slightly.
13923 (arm*-*-linux-gnuoldld): New target.
13924 * configure: Regenerate.
13925 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
13926 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
13927 * config/arm/linux-oldld.h: New file.
13928 * config/arm/linux-elf26.h: Don't include linux-elf.h.
13929 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
13930 Don't define.
13931 * config/arm/linux-elf.h (ASM_SPEC): Define.
13932 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
13933 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
13934 for 26-bit APCS and old linker.
13935 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
13936 `arm_elf'.
13937 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
13938 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
13939 don't define `arm' or `arm_elf'.
13940 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
13941 MULTILIB_DIRNAMES): Define. Fix typo in comment.
13942
13943 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
13944
13945 * rtl.texi: Fix typo.
13946
13947 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
13948
13949 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
13950
13951 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
13952
13953 * extend.texi (C++ Signatures): Remove node.
13954 * invoke.texi: Remove discussion of -fhandle-signatures,
13955 signature, sigof, __signature__, and __sigof__.
13956
13957 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
13958
13959 * Makefile.in (JAVAGC): Removed.
13960
13961 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
13962
13963 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
13964
13965 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
13966
13967 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
13968
13969 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
13970
13971 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
13972 a register that is already known to be a pointer.
13973
13974 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
13975
13976 * fixinc/inclhack.tpl: Only install assert.h conditionally.
13977 * fixinc/inclhack.sh: Regenerated.
13978 * fixinc/fixincl.sh: Regenerated.
13979
13980 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
13981
13982 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
13983 Fix documentation of -ansi flag to describe its C++ behavior.
13984 Remove bogus reference to GCC 2.9.
13985
13986 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
13987
13988 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
13989 note if it is non-NULL.
13990
13991 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13992
13993 * except.h (eh_nesting_info): Add new structure defintion.
13994 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
13995 (reachable_handlers, update_rethrow_references): Add function
13996 prototypes.
13997 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
13998 a rethrow symbol instead of an integer exception region number.
13999 * flow.c (Make_edges): Use new exception nesting routines to determine
14000 which handlers are reachable from a CALL or asynchronous insn.
14001 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
14002 goto receivers.
14003 (delete_eh_regions): Update rethrow labels, and don't delete
14004 regions which are the target of a rethrow.
14005 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
14006 avoid overloading the SYMBOL_REF_USED flag.
14007 (rethrow_symbol_map): Use new rethrow_ref field.
14008 (rethrow_used): Use new rethrow_ref field.
14009 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
14010 of an integer. Fix formatting.
14011 (output_exception_table_entry): Use new rethrow_ref field.
14012 (can_throw): Check for EH_REGION_NOTE before deciding
14013 whether a CALL can throw or not.
14014 (scan_region): Call rethrow_used() instead of accessing data structure.
14015 (update_rethrow_references): New function to make sure only regions
14016 which are still targets of a rethrow are flagged as such.
14017 (process_nestinfo): New static function to initialize a handler
14018 list for a specific region.
14019 (init_eh_nesting_info): New function to allocate and initialize
14020 the list of all EH handlers reachable from all regions.
14021 (reachable_handlers): New function to retrieve the list of handlers
14022 reachable from a specific region and insn.
14023 (free_eh_nesting_info): New function to dispose of a list of
14024 reachable handlers.
14025
14026 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14027
14028 * flow.c (split_edge): Set JUMP_LABEL field.
14029 (commit_one_edge_insertion): Set head correctly for insert_before.
14030 When inserting insns, update insn block numbers if allocated.
14031
14032 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14033
14034 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
14035 retry_incomplete_types): Add static prototype.
14036 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
14037 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
14038 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
14039 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
14040 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
14041 Constify a char*.
14042
14043 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
14044 dwarf2out_start_source_file, dwarf2out_line): Likewise.
14045
14046 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14047
14048 * output.h (assemble_name): Constify a char*.
14049
14050 * varasm.c (UNIQUE_SECTION, assemble_start_function,
14051 assemble_variable, assemble_name): Likewise.
14052
14053 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
14054
14055 * arm/pe.c (arm_pe_unique_section): Likewise.
14056
14057 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
14058
14059 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
14060
14061 * i386/interix.c (i386_pe_unique_section): Likewise.
14062
14063 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
14064
14065 * i386/winnt.c (i386_pe_unique_section): Likewise.
14066
14067 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
14068
14069 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
14070
14071 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
14072
14073 * pa/pa.c (output_call): Likewise.
14074
14075 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
14076
14077 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
14078
14079 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
14080 Likewise.
14081
14082 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
14083 Likewise.
14084
14085 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
14086
14087 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
14088 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
14089
14090 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
14091
14092 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14093
14094 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
14095
14096 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14097
14098 * tree.h (lang_identify): Constify a char*.
14099 (print_error_function): Add extern prototype. Constify a char*.
14100
14101 * c-lang.c (lang_identify): Constify a char*.
14102
14103 * objc/objc-act.c (lang_identify): Constify a char*.
14104
14105 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14106
14107 * genpeep.c (main): Make generated file include "function.h".
14108 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
14109
14110 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14111
14112 * Makefile.in: Update dependencies.
14113 * alias.c: Include "function.h"
14114 * c-decl.c: Likewise.
14115 * caller-save.c: Likewise.
14116 * calls.c: Likewise.
14117 * combine.c: Likewise.
14118 * cse.c: Likewise.
14119 * explow.c: Likewise.
14120 * final.c: Likewise.
14121 * global.c: Likewise.
14122 * graph.c: Likewise.
14123 * local-alloc.c: Likewise.
14124 * loop.c: Likewise.
14125 * optabs.c: Likewise.
14126 * profile.c: Likewise.
14127 * recog.c: Likewise.
14128 * regclass.c: Likewise.
14129 * regmove.c: Likewise.
14130 * reload.c: Likewise.
14131 * reorg.c: Likewise.
14132 * resource.c: Likewise.
14133 * sched.c: Likewise.
14134 * stupid.c: Likewise.
14135 * config/1750a/1750a.c: Likewise.
14136 * config/a29k/a29k.c: Likewise.
14137 * config/arc/arc.c: Likewise.
14138 * config/arm/arm.c: Likewise.
14139 * config/arm/thumb.c: Likewise.
14140 * config/c4x/c4x.c: Likewise.
14141 * config/clipper/clipper.c: Likewise.
14142 * config/convex/convex.c: Likewise.
14143 * config/fx80/fx80.c: Likewise.
14144 * config/i860/i860.c: Likewise.
14145 * config/m68k/m68k.c: Likewise.
14146 * config/m88k/m88k.c: Likewise.
14147 * config/mips/mips.c: Likewise.
14148 * config/pdp11/pdp11.c: Likewise.
14149 * config/pyr/pyr.c: Likewise.
14150 * config/romp/romp.c: Likewise.
14151 * config/sh/sh.c: Likewise.
14152 * config/tahoe/tahoe.c: Likewise.
14153 * config/vax/vax.c: Likewise.
14154 * config/we32k/we32k.c: Likewise.
14155 * config/sparc/sparc.c: Include "function.h".
14156 (mem_min_alignment): Test current_function rather than
14157 regno_pointer_align.
14158 * config/pa/pa.c: Likewise.
14159 (compute_frame_size): Delete declaration of
14160 current_function_outgoing_args_size.
14161 * config/arc/arc.h (current_function_varargs): Delete declaration.
14162 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
14163 declaration.
14164 * config/i370/i370.h (current_function_outgoing_args_size): Delete
14165 declaration.
14166 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
14167 current_function_uses_pic_offset_table.
14168 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
14169 of current_function_returns_pointer.
14170 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14171 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14172 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14173 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14174 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14175 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14176 * config/m88k/m88k.c: Include "function.h"
14177 (call_used_regs, current_function_pretend_args_size,
14178 current_function_outgoing_args_size, frame_pointer_needed): Delete
14179 declarations.
14180 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
14181 declaration.
14182 * config/mips/mips.h (current_function_calls_alloca): Delete
14183 declaration.
14184 * config/mn10200/mn10200.h (current_function_needs_context,
14185 rtx_equal_function_value_matters): Delete declarations.
14186 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
14187 flag_pic): Delete declarations.
14188 * config/pa/pa.h (current_function_pretend_args_size,
14189 current_function_decl): Delete declarations.
14190 * config/pa/som.h (current_function_varargs): Delete declaration.
14191 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
14192 declaration.
14193 * config/pyr/pyr.h (current_function_pretend_args_size,
14194 current_function_args_size, current_function_calls_alloca): Delete
14195 declarations.
14196 * config/sh/sh.h (current_function_varargs): Delete declaration.
14197 * config/sparc/sparc.h (current_function_outgoing_args_size,
14198 current_function_calls_alloca, current_function_decl): Delete
14199 declarations.
14200 * config/spur/spur.h (current_function_pretend_args_size,
14201 current_function_calls_alloca): Delete declarations.
14202 * config/v850/v850.c (current_function_outgoing_args_size): Delete
14203 declaration.
14204 * config/vax/vms.h (current_function_name): Delete declaration.
14205 * gcse.c: Include "function.h".
14206 (current_function_name, current_function_calls_setjmp): Delete
14207 declarations.
14208 * haifa-sched.c: Include "function.h".
14209 (forced_labels): Delete declaration.
14210 * jump.c: Likewise.
14211 * reg-stack.c: Likewise.
14212 * reload1.c: Likewise.
14213 * genemit.c (main): Make generated file include function.h.
14214 * genoutput.c (output_prologue): Likewise.
14215
14216 * builtins.c (saveregs_value, apply_args_value): Delete variables.
14217 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
14218 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
14219 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
14220 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
14221 macros for some of them.
14222 (emit_filename, emit_lineno): Delete declarations.
14223 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
14224 regno_pointer_* variables through current_function.
14225 (gen_inline_header_rtx): Delete function.
14226 (save_emit_status): Delete function.
14227 (set_new_last_label_num): New function.
14228 (clear_emit_caches): New function.
14229 (restore_emit_status): Just clear last_labelnum and call
14230 clear_emit_caches.
14231 (get_last_insn_anywhere): Variable sequence_stack is now accessed
14232 through macro seq_stack.
14233 (add_insn_after): Likewise.
14234 (add_insn_before): Likewise.
14235 (remove_insn): Likewise.
14236 (pop_topmost_sequence): Likewise.
14237 (in_sequence_p): Likewise.
14238 (start_sequence_for_rtl_expr): Likewise.
14239 (start_sequence): Likewise, and likewise for
14240 sequence_rtl_expr/seq_rtl_expr.
14241 (push_topmost_sequence): Likewise.
14242 (end_sequence): Likewise.
14243 (init_virtual_regs): Now takes a "struct emit_status *" argument.
14244 All callers changed. Store into that pointer instead of globals.
14245 (init_emit): Allocate emit elt of current_function.
14246 Changes for sequence_rtl_expr/sequence_stack renaming.
14247 Call clear_emit_caches instead of doing it in-line.
14248 Access regno_pointer_* variables through current_function.
14249 (init_emit_once) Don't clear sequence_stack.
14250
14251 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
14252 Delete variables.
14253 (arg_pointer_save_area): Delete declaration.
14254 (finish_expr_for_function): Renamed from init_queue; no longer static.
14255 (init_expr): Don't call init_queue.
14256 (save_expr_status, restore_expr_status): Delete functions.
14257 (expand_expr): Changes to reflect new layout of struct function.
14258 Don't access current_function_check_memory_usage when current_function
14259 is 0.
14260 * expr.h (forced_labels, save_expr_regs, saveregs_value,
14261 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
14262 current_function_outgoing_args_size, current_function_arg_offset_rtx,
14263 current_function_uses_const_pool, function_call_count,
14264 current_function_uses_pic_offset_table, nonlocal_labels,
14265 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
14266 current_function_check_memory_usage, nonlocal_goto_handler_slots,
14267 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
14268 declarations.
14269 (finish_expr_for_function): Declare.
14270 * flags.h (current_function_has_nonlocal_label,
14271 current_function_has_nonlocal_goto, current_function_is_thunk,
14272 current_function_has_computed_jump): Delete declarations.
14273 * flow.c (forced_labels): Delete declaration.
14274 * function.c (current_function_pops_args,
14275 current_function_returns_struct, current_function_returns_pcc_struct,
14276 current_function_needs_context, current_function_calls_setjmp,
14277 current_function_calls_longjmp, current_function_has_nonlocal_label,
14278 current_function_has_nonlocal_goto, current_function_is_thunk,
14279 current_function_has_computed_jump, current_function_calls_alloca,
14280 current_function_contains_functions, current_function_returns_pointer,
14281 current_function_epilogue_delay_list, current_function_args_size,
14282 current_function_pretend_args_size, current_function_arg_offset_rtx,
14283 current_function_outgoing_args_size, current_function_varargs,
14284 current_function_stdarg, current_function_args_info, cleanup_label,
14285 current_function_name, current_function_uses_const_pool,
14286 current_function_instrument_entry_exit, current_function_return_rtx,
14287 current_function_uses_pic_offset_table, nonlocal_labels,
14288 current_function_internal_arg_pointer, current_function_cannot_inline,
14289 current_function_check_memory_usage, function_call_count,
14290 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
14291 nonlocal_goto_stack_level, return_label, save_expr_regs,
14292 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
14293 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
14294 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
14295 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
14296 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
14297 Delete variables.
14298 (push_function_context_to): Don't save them. Don't call
14299 save_storage_status, save_emit_status or save_expr_status.
14300 (pop_function_context_from): Don't restore them. Don't call
14301 restore_storage_status or restore_expr_status.
14302 (get_func_frame_size): New function.
14303 (get_frame_size): Use it.
14304 (assign_outer_stack_local): Reflect some member name changes in struct
14305 function.
14306 (put_reg_into_stack): Likewise.
14307 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
14308 seq_rtl_expr.
14309 (fixup_var_refs): Likewise.
14310 (fix_lexical_addr): Likewise.
14311 (trampoline_address): Likewise.
14312 (prepare_function_start): Clear field inlinable of current_function.
14313 (init_function_for_compilation): New function.
14314 (expand_dummy_function_end): New function.
14315 (expand_function_end): Call finish_expr_for_function.
14316 * function.h (struct emit_status): New; fields moved here from struct
14317 function and from global variables. Add accessor macros for some of
14318 the fields.
14319 (struct expr_status): Likewise.
14320 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
14321 (struct function): Add fields expr and emit, inlinable, inl_emit,
14322 original_arg_vector, original_decl_initial, inl_last_parm_insn,
14323 inl_max_label_num. Add many comments.
14324 Add accessor macros for all elts of struct function that no longer
14325 have a global variable.
14326 (cleanup_label, return_label, frame_offset, tail_recursion_label,
14327 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
14328 stack_slot_list): Delete declarations.
14329 (get_func_frame_size): Declare.
14330 (save_expr_status, restore_expr_status, save_emit_status,
14331 save_storage_status, restore_storage_status): Delete declarations.
14332 (init_virtual_regs): Declare.
14333 * output.h (current_function_pops_args,
14334 current_function_returns_struct, current_function_returns_pcc_struct,
14335 current_function_needs_context, current_function_calls_setjmp,
14336 current_function_calls_longjmp, current_function_calls_alloca,
14337 current_function_has_nonlocal_label, current_function_varargs,
14338 current_function_has_computed_jump, current_function_returns_pointer,
14339 current_function_contains_functions, current_function_args_size,
14340 current_function_pretend_args_size, current_function_stdarg,
14341 current_function_outgoing_args_size, current_function_args_info,
14342 current_function_name, current_function_return_rtx,
14343 current_function_epilogue_delay_list,
14344 current_function_uses_const_pool, current_function_cannot_inline):
14345 Delete declarations.
14346 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
14347 regno_reg_rtx): Delete declaration.
14348 (REGNO_POINTER_FLAG): Delete macro.
14349 * stmt.c (expand_goto): Changes to reflect that some fields in struct
14350 function were renamed.
14351 * stor-layout.c (save_storage_status, restore_storage_status): Delete
14352 functions.
14353 * toplev.c: Include "function.h".
14354 (current_function_decl): Delete declaration.
14355 (compile_file): Call init_dummy_function_start and
14356 expand_dummy_function_end around some initializations that need to
14357 emit rtl.
14358 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
14359 Call init_function_for_compilation.
14360 * unroll.c: Include "function.h"
14361 (unroll_loop): Access regno_pointer_* variables through
14362 current_function.
14363
14364 * tree.h (struct tree_decl): Add elt f to saved_insns member.
14365 (DECL_SAVED_INSNS): use it.
14366 (expand_dummy_function_end): Declare.
14367 (init_function_for_compilation): Declare.
14368 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
14369 that it's no longer an INLINE_HEADER.
14370 (expand_call): Likewise.
14371 * integrate.c (finish_inline): Delete function.
14372 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
14373 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
14374 args. Don't generate an INLINE_HEADER rtx, just return the arg
14375 vector. All callers changed.
14376 (save_for_inline_copying): Create a duplicate struct emit_status to
14377 hold the emit state for compiling the current function. Use this and
14378 the other new fields in struct function that are for integration
14379 instead of an INLINE_HEADER.
14380 Use memcpy instead of bcopy.
14381 Store the current struct function in DECL_SAVED_INSNS of fndecl.
14382 (save_for_inline_nocopy): Similar changes, except no new emit_status
14383 is needed here.
14384 (expand_inline_function): Get information from function structure,
14385 not from an inline header rtx.
14386 (output_inline_function): Lose code to extract the necessary
14387 information from an inline header; simply put back the function
14388 structure into current_function. Clear its inlinable elt.
14389 * rtl.def (INLINE_HEADER): Delete.
14390 * rtl.h: Delete all accessors for an INLINE_HEADER.
14391 (gen_inline_header_rtx): Delete declaration.
14392 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
14393 Delete declarations.
14394 (REGNO_POINTER_ALIGN): Delete.
14395 (clear_emit_caches): Declare.
14396 (set_new_last_label_num): Declare.
14397
14398 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
14399
14400 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
14401
14402 * except.c (expand_eh_region_start_for_decl): Always start a new block.
14403 * stmt.c (is_eh_region): Make sure current_function is present, too.
14404
14405 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
14406
14407 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
14408 for 64bit PA targets.
14409
14410 * pa.h (SELECT_SECTION): Define.
14411 * som.h (SELECT_SECTION): Delete.
14412
14413 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14414
14415 * alias.c (init_alias_analysis): Wrap call to
14416 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
14417
14418 1999-08-07 Bruce Korb <autogen@linuxbox.com>
14419
14420 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
14421 <sys/asm.h> contains an asm comment with an apostrophe
14422 * fixinc/inclhack.sh: regen
14423 * fixinc/fixincl.x: regen
14424
14425 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
14426
14427 * function.c (init_function_start): Clear prologue & epilogue.
14428 (prologue_epilogue_contains): New function.
14429 * alias.c (init_alias_analysis): Use it.
14430 * rtl.h (prologue_epilogue_contains): Declare it.
14431
14432 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
14433
14434 * jump.c (onlyjump_p): New function.
14435 * rtl.h: Declare it.
14436 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
14437 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
14438
14439 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
14440
14441 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
14442 to invert loops. Simplify block scanning.
14443
14444 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14445
14446 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
14447 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
14448
14449 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
14450
14451 * config/sparc/liteelf.h: New file to support sparclite-elf target
14452 * config/sparc/t-sp86x: New file to support sparc86x targets
14453 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
14454 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
14455 * configure.in: Support above target triplets
14456 * configure: Regenerated
14457
14458 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
14459
14460 * fixinc/server.c (server_setup): Do not prefix function used as
14461 parameter with `&'.
14462
14463 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
14464
14465 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
14466 Remove fp reg alternatives.
14467
14468 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
14469
14470 * Makefile.in (TAROUTOPTS): Kill.
14471 (install-headers-tar): Use "xpf" for tar headerfile extraction
14472 * i370/x-oe (TAROUTOPTS): Delete.
14473 * m68k/x-apollo68 (TAROUTOPTS): Delete.
14474 * m68k/x-hp320 (TAROUTOPTS): Delete.
14475 * m68k/x-hp320g (TAROUTOPTS): Delete.
14476 * gcc.texi: Update bug reporting text.
14477
14478 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14479
14480 * reg-stack.c (change_stack) Fixed problem with negative array index.
14481
14482 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
14483
14484 * extend.texi, install.texi: Fix spelling mistakes.
14485
14486 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
14487 (s-attrtab); No longer try to use pre-made insn-attrtab file.
14488 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
14489 PREMADE_ATTRTAB_MD.
14490 * mips/t-ecoff: Likewise.
14491 * mips/t-elf: Likewise.
14492 * mips/t-mips: Likewise.
14493 * mips/t-osfrose: Likewise.
14494 * mips/t-r3900: Likewise.
14495 * mips/t-svr3: Likewise.
14496 * mips/t-svr4: Likewise.
14497 * mips/t-ultrix: Likewise.
14498
14499 * gcc.texi: Document recommend means to provide software floating
14500 point libraries in libgcc.a
14501
14502 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
14503
14504 * c-lex.c (yylex): We can have a number with no digits.
14505
14506 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
14507
14508 * jump.c (delete_prior_computation): New function, broken
14509 out of delete_computation. Check for side effects with
14510 side_effects_p instead of FIND_REG_INC_NOTE. Handle
14511 multi-word hard registers.
14512 (delete_computation): Use it. Check for side effects with
14513 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
14514 missing REG_DEAD note for a register which is both set and
14515 used by an insn.
14516
14517 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
14518
14519 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
14520 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
14521 (ASM_FILE_START): Import _mcount with the right type.
14522 (ASM_DECLARE_FUNCTION_NAME): Define.
14523 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
14524 * pa.c (output_function_prologue): Always emit the function's label
14525 here.
14526 * pa.h (TEXT_SPACE_P): Define.
14527 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
14528 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
14529 * som.h (TEXT_SPACE_P): Delete.
14530 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
14531 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
14532
14533 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
14534
14535 * expr.c (emit_group_load): Allow src to be a CONCAT.
14536
14537 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14538
14539 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
14540 (___mulsi3): Use '!' comment character.
14541
14542 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14543
14544 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
14545
14546 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
14547
14548 * gcc.c: Update URLs and mail addresses.
14549 * gcc.texi: Likewise.
14550
14551 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
14552
14553 * rs6000.c (current_file_function_operand): Return zero for
14554 weak functions.
14555 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
14556 weak symbols.
14557 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
14558 for weak symbols.
14559
14560 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
14561
14562 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
14563 allocate space in the stack frame for the PIC register.
14564
14565 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
14566
14567 * m68k.md (xordi3, anddi3): These patterns are not available on
14568 the coldfire.
14569
14570 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
14571
14572 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
14573 (PUT_REAL): Likewise.
14574
14575 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14576
14577 * final.c (shorten_branches): Don't add an alignment for loops
14578 that have no label inside.
14579
14580 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14581
14582 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
14583 prototypes in macro HAVE_cmpstrsi.
14584
14585 * cpplib.c (cpp_get_token): Remove unused label `op3'.
14586
14587 * emit-rtl.c (operand_subword): Remove unused variable
14588 `bits_per_word'.
14589
14590 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
14591
14592 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
14593
14594 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
14595
14596 * cpphash.c (macroexpand): Delete leading whitespace when arg
14597 is concatenated before.
14598 (unsafe_chars): Correct test for whether + and - can extend a
14599 token.
14600
14601 * cppinit.c (cpp_start_read): Do dependencies for
14602 -include/-imacros files also.
14603
14604 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
14605 tokenizing non-directive lines.
14606 (cpp_expand_to_buffer): Temporarily disable no-output mode.
14607 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
14608 the input file.
14609
14610 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
14611
14612 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
14613
14614 * c-lex.c: Sync with C++ frontend.
14615 (linemode): New variable.
14616 (parse_float): imag, conversion_errno, and type are output only.
14617 (yylex): Adjust. Move initial '.' case into main switch.
14618 Use linemode.
14619 (handle_generic_pragma): Just deal with tokens.
14620 (readescape): Use ISXDIGIT and ISGRAPH.
14621 * c-parse.in: Add END_OF_LINE token.
14622
14623 * c-lex.c (lang_init): Generalize.
14624 (nextchar): Remove. Replace uses with UNGETC.
14625 (skip_white_space): Handle linemode here. Optimize for cpplib.
14626 (skip_white_space_on_line): Remove.
14627 (extend_token_buffer_to): New fn.
14628 (extend_token_buffer): Use it.
14629 (read_line_number, check_newline): Just deal with tokens.
14630 (token_getch, token_put_back): New fns.
14631 (yylex): Use them. More cpplib optimizations. Simplify.
14632
14633 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
14634 Jason Merrill <jason@yorick.cygnus.com>
14635
14636 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
14637 (consume_string): Make this smart about USE_CPPLIB.
14638 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
14639 (yylex): Rewrite to be intelligent about USE_CPPLIB.
14640 Also, clean up cases where we redundantly set token_buffer[0].
14641 (read_line_number): New fn.
14642 (ignore_escape_flag): New variable.
14643
14644 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
14645
14646 * a29k/t-a29kbare: Fix some comments.
14647 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
14648 (FPBIT, DPBIT): Define.
14649 * a29k/t-vx29k: Likewise.
14650 * arc/t-arc: Likewise.
14651 * arm/t-arm-elf: Likewise.
14652 * arm/t-bare: Likewise.
14653 * arm/t-pe: Likewise.
14654 * arm/t-pe-thumb: Likewise.
14655 * arm/t-semi: Likewise.
14656 * arm/t-thumb: Likewise.
14657 * arm/t-thumb-elf: Likewise.
14658 * arm/t-thumb-linux: Likewise.
14659 * h8300/t-h8300: Likewise.
14660 * i960/t-i960: Likewise.
14661 * i960/t-vxworks960: Likewise.
14662 * m32r/t-m32r: Likewise.
14663 * mips/t-ecoff: Likewise.
14664 * mips/t-elf: Likewise.
14665 * mips/t-r3900: Likewise.
14666 * pa/t-pro: Likewise.
14667 * rs6000/t-aix43: Likewise.
14668 * rs6000/t-beos: Likewise.
14669 * rs6000/t-newas: Likewise.
14670 * rs6000/t-ppccomm: Likewise.
14671 * rs6000/t-rs6000: Likewise.
14672 * rs6000/t-winnt: Likewise.
14673 * rs6000/t-xnewas: Likewise.
14674 * rs6000/t-xrs6000: Likewise.
14675 * sh/t-sh: Likewise.
14676 * sparc/t-elf: Likewise.
14677 * sparc/t-sparcbare: Likewise.
14678 * sparc/t-sparclite: Likewise.
14679 * sparc/t-splet: Likewise.
14680 * v850/t-v850: Likewise.
14681 * mn10200/t-mn10200: Fix comments.
14682 * mn10300/t-mn10300: Likewise.
14683
14684 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
14685 dummy operand. Allocate a new pseudo for the dummy operand.
14686 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
14687
14688 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
14689
14690 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
14691
14692 * configure: Rebuilt.
14693 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
14694
14695 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
14696
14697 * recog.c (preproces_constraints): Zero recog_op_alt before
14698 processing the constraints.
14699
14700 * arm.c (typedef minipool_node): Renamed from pool_node.
14701 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
14702 (add_minipool_constant): New function.
14703 (dump_minipool): New function.
14704 (find_barrier): Remove special case for getting the insn size of
14705 an insn that references the constant pool.
14706 (minipool_fixup): New structure.
14707 (push_minipool_barrier): New function.
14708 (push_minipool_fix): New function.
14709 (note_invalid_constants): New function.
14710 (add_pool_constant, dump_table, fixit, broken_move): Delete.
14711 (arm_reorg): Rewrite code to fix up the constant pool into a
14712 series of mini-pools embedded in the insn stream.
14713 (arm_output_epilogue): New function, made mainly from the body
14714 of output_func_epilogue.
14715 (output_func_epilogue): Move insn generation part of epilogue code
14716 to arm_output_epilogue.
14717 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
14718 * arm.md (pool_range): New attribute.
14719 (zero_extendqidi2): Add attribute pool_range.
14720 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
14721 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
14722 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
14723 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
14724 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
14725 (epilogue): New expand.
14726 (epilogue_insn): New insn. Call arm_output_epilogue.
14727
14728 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
14729 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
14730
14731 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
14732
14733 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
14734
14735 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
14736
14737 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
14738
14739 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
14740
14741 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
14742
14743 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
14744
14745 * global.c: Fix comment.
14746
14747 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
14748
14749 * gcc.c (access_check): New static function.
14750 (find_a_file): Use it when searching a directory list.
14751 * collect2.c (find_a_file): Don't accept directories found when
14752 searching a directory list.
14753
14754 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
14755
14756 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
14757 function parameters with `&'.
14758 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
14759
14760 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
14761
14762 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
14763 or tidy_fallthru_edge if the last insn in the block is not
14764 an unconditional jump or a simple conditional jump.
14765
14766 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14767
14768 * Makefile.in (c-decl.o): Depends on defaults.h.
14769
14770 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
14771
14772 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
14773 PA1.1 and above.
14774 (CLASS_MAX_NREGS): Likewise.
14775
14776 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
14777
14778 * cse.c (cse_insn): Fix dumb thinko in last change.
14779
14780 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14781
14782 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
14783 "const char *".
14784
14785 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
14786
14787 * dwarf2out.c (add_location_or_const_value_attribute): Correct
14788 test for sizes of passed and declared parameter types.
14789
14790 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14791
14792 * fixincludes: Fix the return type of bsearch, char* -> void*.
14793
14794 * fixinc/inclhack.def: Likewise.
14795
14796 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
14797
14798 * invoke.texi (-fdump-translation-unit): New option.
14799
14800 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
14801
14802 * expr.h (PROMOTE_PROTOTYPES): Move ...
14803 * defaults.h: ... to here.
14804 * c-decl.c: Include defaults.h instead of expr.h.
14805 * c-typeck.c: Include defaults.h.
14806
14807 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
14808
14809 * toplev.h (errorcount): Declare.
14810 (warningcount): Likewise.
14811 (sorrycount): Likewise.
14812 * c-lex.c (errorcount): Don't declare.
14813 * dwarf2out.c (errorcount): Don't declare.
14814
14815 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
14816
14817 * config/libgloss.h: Add a note discouraging use with ELF.
14818 * configure.in: Don't use libgloss.h for ELF targets.
14819 Always use_collect2 on a.out targets.
14820
14821 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
14822
14823 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
14824 (force_to_mode, case ASHIFTRT): Add shiftrt label.
14825
14826 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14827
14828 * loop.c (strength_reduce): When doing biv->giv conversion, update
14829 reg note of NEXT->insn.
14830
14831 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
14832
14833 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
14834
14835 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
14836
14837 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
14838 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
14839 Ensure expr.h is included.
14840 * c-typecheck.c (convert_arguments): Ditto.
14841
14842 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
14843
14844 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
14845 * config/convex/convex.h: Ditto.
14846 * config/dsp16xx/dsp16xx.h: Ditto.
14847 * config/fx80/fx80.h: Ditto.
14848 * config/gmicro/gmicro.h: Ditto.
14849 * config/i370/i370.h: Ditto.
14850 * config/i386/i386.h: Ditto.
14851 * config/m32r/m32r.h: Ditto.
14852 * config/m68k/m68k.h: Ditto.
14853 * config/m88k/m88k.h: Ditto.
14854 * config/mips/mips.h: Ditto.
14855 * config/pa/pa.h: Ditto.
14856 * config/pyr/pyr.h: Ditto.
14857 * config/tahoe/tahoe.h: Ditto.
14858 * config/we32k/we32k.h: Ditto.
14859
14860 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
14861 based on arch size.
14862
14863 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
14864
14865 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
14866 from comment.
14867
14868 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
14869
14870 1999-08-02 Richard Henderson <rth@cygnus.com>
14871
14872 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
14873 for the register spill block.
14874 (m32r_va_arg): New.
14875 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
14876 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
14877
14878 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
14879 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
14880 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
14881
14882 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
14883
14884 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
14885 MAX_WCHAR_TYPE defined in sparc.h.
14886 * config/sparc/linuxaout.h: Likewise.
14887 * config/sparc/linux64.h: Likewise.
14888 Also default to -mvis if CPU is UltraSPARC.
14889
14890 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
14891
14892 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
14893 (RTX_OK_FOR_OLO10): Likewise.
14894 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
14895 %lo(), allow it in addresses...
14896 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
14897 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
14898 does not make sense.
14899 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
14900 (sparc_output_scratch_registers): New function.
14901 (output_function_prologue, sparc_flat_output_function_prologue): Use
14902 it.
14903 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
14904 defined.
14905 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
14906 * configure.in: Add check for .register pseudo-op support in as and
14907 check for offsetable %lo().
14908 * acconfig.h: Add templates for the above checks.
14909 * configure: Regenerate.
14910
14911 1999-08-02 Richard Henderson <rth@cygnus.com>
14912
14913 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
14914 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
14915 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
14916
14917 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14918
14919 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
14920 reg_biv_class.
14921
14922 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
14923
14924 * config/float-sparc.h: New file.
14925 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
14926 sparc-*-linux-gnu and sparc64-*-linux*.
14927
14928 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14929
14930 * rs6000.c (rs6000_va_list): Type is an array.
14931 (rs6000_va_start): Don't doubly adjust for varargs.
14932 (rs6000_va_arg): Evaluate long long GPR adjustment.
14933
14934 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
14935
14936 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
14937 -maix64 and -maix32.
14938 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
14939 LINK_SPEC): Change appropriately.
14940 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
14941 (u_short_cint_operand): Likewise.
14942 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
14943 for 64-bit hosts.
14944 * rs6000/t-aix43 (MULTILIB): Change to -m64.
14945
14946 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
14947
14948 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
14949
14950 * rs6000/rs6000.c (num_insns_constant_wide): Correct
14951 for type promotion.
14952 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
14953 (non_add_cint_operand): Likewise.
14954 (logical_operand): Likewise.
14955 (non_logical_cint_operand): Likewise.
14956 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
14957 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
14958 (rs6000_select_rtx_section): Suppress warning.
14959 (small_data_operand): Suppress warning.
14960 (rs6000_got_register): Suppress warning.
14961 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
14962 type, so `J' is generally the wrong constraint for a SImode value;
14963 use `L' instead.
14964 (andsi3_internal2): Likewise.
14965 (andsi3_internal3): Likewise.
14966 (iorsi3_internal1): Likewise.
14967 (xorsi3_internal1): Likewise.
14968 (movsi): Likewise.
14969 (movsf_softfloat): Likewise.
14970 (scc insns): Likewise.
14971 (movsi+2): Preserve sign bits of SImode constant.
14972 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
14973 (movdf+1): Sign-extend properly.
14974 (movdi_32+1): Sign-extend properly.
14975 (scc insns): Sign-extend properly.
14976
14977 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
14978 K, L, and T.
14979
14980 1999-08-02 Richard Henderson <rth@cygnus.com>
14981
14982 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
14983 -mcpu parsing code.
14984 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
14985 * alpha.md (all fp insns): Likewise.
14986
14987 1999-08-02 Nick Clifton <nickc@cygnus.com>
14988
14989 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
14990 already defined.
14991
14992 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
14993
14994 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
14995 pic_load_label generator directly.
14996 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
14997 No longer a named pattern.
14998
14999 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
15000
15001 * explow.c (force_reg): Call force_operand if X does not
15002 satisfy general_operand.
15003
15004 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
15005
15006 * fix-header.c (main): When testing for CONTINUED, use string
15007 equality, not pointer equality.
15008
15009 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
15010
15011 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
15012
15013 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
15014
15015 * cse.c (cse_insn): Fix loop which deletes insns after a jump
15016 that has become an unconditional jump.
15017
15018 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
15019 (output_function_epilogue): Similarly.
15020
15021 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15022
15023 * tree.h (init_dummy_function_start): Declare.
15024
15025 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15026
15027 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
15028 last_expr_type, last_expr_value, block_start_count, block_stack,
15029 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
15030 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
15031 dynamically in stmt elt of struct function for each function.
15032 (struct nesting): Rename function_call_count elt to n_function_calls,
15033 target_temp_slot_level to block_target_temp_slot_level. All users
15034 changed.
15035 (struct stmt_status): New structure definition.
15036 Add many accessor macros for stmt_status elements which previously
15037 were global variables.
15038 (init_stmt_for_function): Allocate stmt elt for current_function.
15039 Reflect that block_start_count was renamed to
15040 current_block_start_count.
15041 (save_stmt_status, restore_stmt_status): Delete functions.
15042 (preserve_subexpressions_p): Don't access loop_stack when outside
15043 a function.
15044 (expand_start_bindings): Reflect that block_start_count was renamed to
15045 current_block_start_count.
15046 (expand_fixup): Likewise.
15047 (expand_decl): Don't access block_stack when outside a function.
15048 (expand_decl_cleanup): Likewise.
15049 (expand_dcc_cleanup): Likewise.
15050 (expand_dhc_cleanup): Likewise.
15051 (expand_anon_union_decl): Likewise.
15052 (set_file_and_line_for_stmt): New function.
15053 (in_control_zone_p): New function.
15054
15055 * function.h (struct function): Add new elt stmt.
15056 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
15057 case_stack, nesting_stack, nesting_depth, block_start_count,
15058 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
15059 emit_lineno, goto_fixup_chain.
15060 (save_eh_status, restore_eh_status, save_stmt_status,
15061 restore_stmt_status): Delete declarations.
15062 * function.c (push_function_context_to): Don't call save_stmt_status.
15063 (pop_function_context_to): Don't call restore_stmt_status.
15064 * tree.h (in_control_zone_p): Declare.
15065 * rtl.h (set_file_and_line_for_stmt): Declare.
15066
15067 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
15068 call set_file_and_line_for_stmt.
15069
15070 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
15071
15072 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
15073 Also update copyright.
15074
15075 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15076
15077 * c-pragma.c: Don't include "except.h".
15078 * emit-rtl.c: Likewise.
15079 * stor-layout.c: Likewise.
15080 * tree.c: Likewise.
15081 * varasm.c: Likewise.
15082
15083 * flow.c: Include "function.h".
15084 * tree.h (init_dummy_function_start): Declare new function.
15085
15086 * except.h (struct eh_status): New structure.
15087 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
15088 been included.
15089 (eh_return_stub_label, ehstack, catchstack, ehqueue,
15090 catch_clauses, false_label_stack, caught_return_label_stack,
15091 protect_list, current_function_ehc): Add accessor macros for the
15092 corresponding fields in current_function->eh; delete declarations
15093 for all items that used to be declared here.
15094 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
15095 catch_clauses, false_label_stack, caught_return_label_stack,
15096 protect_list, current_function_ehc): Delete variables.
15097 (init_eh_for_function): Allocate current_function->eh.
15098 (save_eh_status, restore_eh_status): Delete functions.
15099
15100 * function.h (struct function): Add fields next_global and eh.
15101 Delete all exception handling related fields.
15102 * function.c (current_function): New variable.
15103 (all_functions): New variable.
15104 (push_function_context_to): Don't allocate a struct function,
15105 use current_function instead. Call init_dummy_function_start when
15106 outside a function. Clear current_function before returning.
15107 (pop_function_context_from): Restore current_function.
15108 Don't free the restored struct function.
15109 (prepare_function_start): New function.
15110 (init_dummy_function_start): New function.
15111 (init_function_start): Break out some code into prepare_function_start
15112 and call it here.
15113
15114 * stmt.c (save_stmt_status): Don't call save_eh_status.
15115 (restore_stmt_status): Don't call restore_eh_status.
15116
15117 * Makefile.in: Update dependencies.
15118
15119 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
15120
15121 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
15122 of depending on a magic constant value. Update comments.
15123 (hppa_expand_prologue): Similarly.
15124
15125 * pa.md (reload_indi, reload_outdi): Allow any register for the
15126 original reload register.
15127
15128 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
15129
15130 * cccp.c (print_help): Change marcos to macros.
15131
15132 1999-07-30 Richard Henderson <rth@cygnus.com>
15133
15134 * c-typeck.c (initializer_constant_valid_p): Move ...
15135 * c-common.c (initializer_constant_valid_p): ... here. Use
15136 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
15137 of label addresses.
15138 * c-common.h (initializer_constant_valid_p): Declare.
15139 * c-tree.h (initializer_constant_valid_p): Remove.
15140
15141 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
15142
15143 * config/i386/sol2-c1.asm: Align the stack.
15144 * config/i386/sol2-gc1.asm: Likewise.
15145
15146 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
15147
15148 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
15149 -Asparclite for sparc86x.
15150 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
15151 sparc86x.
15152 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
15153
15154 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
15155
15156 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
15157 the user if using the non-default arch size in BI_ARCH configuration.
15158 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
15159
15160 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
15161 Fix patterns so that they actually match.
15162 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
15163 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
15164 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
15165 TARGET_HARD_MUL32.
15166 (mulsidi3): Reflect this in the expand.
15167 (smulsi3_highpart): Only on TARGET_ARCH32.
15168 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
15169 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
15170 (umulsidi3): Reflect this in the expand.
15171 (umulsi3_highpart): Only on TARGET_ARCH32.
15172 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
15173 don't require g0 to be zero.
15174 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
15175 ({,u}divsi3): New expands.
15176 ({,u}divsi3_sp64): New patterns.
15177 (after lshrdi3_v8plus): Four new patterns to help combiner
15178 optimizing nested mixed mode shifts.
15179
15180 * config/sparc/sparc.c (sparc_override_options): Use deprecated
15181 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
15182 speed things up. Don't use them by default on plain v9 in 64bit
15183 mode, according to what SPAMv9 sais.
15184
15185 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
15186 top 32 bits of %[og][0-7] in signal handlers.
15187 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
15188
15189 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
15190
15191 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
15192 (ashlsi3): Corresponding changes.
15193
15194 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
15195
15196 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
15197
15198 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
15199
15200 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15201
15202 * arm.h (Hint): Delete macro.
15203 Substitute HOST_WIDE_INT for Hint in some prototypes.
15204 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
15205
15206 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
15207
15208 * builtins.c (expand_builtin_setjmp): Use force_operand to
15209 make sure that the buffer address is in a suitable form to be
15210 passed to force_reg.
15211
15212 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
15213
15214 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
15215 them here.
15216
15217 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
15218
15219 * pa.md (indirect_jump): Remove mode from match_operand. Verify
15220 proper mode in the condition string.
15221 (icacheflush, dcacheflush): Remove modes from match_operands.
15222
15223 * pa.c (emit_move_sequence): Always convert scratch_reg to the
15224 proper mode before using it.
15225
15226 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
15227 pair.
15228
15229 * pa.c (store_reg): Do not call add_high_const generator directly.
15230 (load_reg, set_reg_plus_d): Likewise.
15231 * pa.md (add_high_const): No longer a named pattern.
15232
15233 * pa.c (legitimize_address): Consistently use Pmode rather than
15234 SImode. Do not call gen_pic2_highpart directly anymore.
15235 * pa.md (pic2_highpart): No longer a named pattern.
15236 (pic2_lo_sum): Similarly. Reformat to make more readable.
15237
15238 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
15239 needed.
15240
15241 * README: Update.
15242
15243 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15244
15245 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
15246
15247 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
15248
15249 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
15250 and tag the spill mems.
15251 (hppa_va_start): New.
15252 (hppa_va_arg): New.
15253 * pa.h (EXPAND_BUILTIN_VA_START): New.
15254 (EXPAND_BUILTIN_VA_ARG): New.
15255
15256 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
15257
15258 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
15259 and tag the spill mems.
15260 (mn10300_va_start): New.
15261 (mn10300_va_arg): New.
15262 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
15263 (EXPAND_BUILTIN_VA_ARG): New.
15264
15265 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
15266
15267 * mn10200.c (mn10200_va_arg): New.
15268 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
15269
15270 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
15271
15272 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
15273 rather than play with TREE_INT_CST_LOW.
15274
15275 1999-07-27 Philip Blundell <pb@nexus.co.uk>
15276
15277 * config/arm/telf.h: Include dbxelf.h.
15278 (CPP_PREDEFINES): Only define if not already defined.
15279 (ASM_IDENTIFY_GCC): Likewise.
15280 (SUBTARGET_EXTRA_SECTIONS): Likewise.
15281 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
15282 * config/arm/thumb.h (LINK_SPEC): Only define if not already
15283 defined.
15284 (DBX_DEBUGGING_INFO): Don't define.
15285 * config/arm/linux-telf.h: New file.
15286 * config/arm/linux-tgas.h: New file.
15287 * config/arm/t-thumb-linux: New file.
15288 * config/arm/uclinux-elf.h: New file.
15289 * config/arm/uclinux-telf.h: New file.
15290 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
15291 thumb-*-uclinux): New targets.
15292 * configure: Regenerate.
15293
15294 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
15295
15296 * pa.md (post_store, pre_load): New expanders.
15297 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
15298 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
15299 need to directly generate RTL for them.
15300 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
15301 changes.
15302
15303 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
15304
15305 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
15306 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
15307 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
15308 (secndary_reload_class): Make TARGET_ELF conditional compile.
15309 (print_operand_address): Similar.
15310 (output_toc): Print all values as hex.
15311 (get_issue_rate): Rearrange and add RS64A and PPC630.
15312 * rs6000.h (processor_type): Add RS64A and PPC630.
15313 (PROCESSOR_POWERPC64): New.
15314 (PROMOTE_MODE): Use word_mode.
15315 (RTX_COSTS): Add RS64A and PPC630.
15316 * rs6000.md (scheduling information): Add lmul and ldiv
15317 representing 64-bit integer multiply and divide. Add rs64a and
15318 PPC630 information.
15319 (ashldi3): Add support for "rldic" instruction.
15320 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
15321
15322 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
15323
15324 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
15325 instead of V8 for sparclite86x in cpu_table.
15326
15327 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15328
15329 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
15330 output_file_directive.
15331
15332 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
15333
15334 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
15335 tree for op1, not the rtl.
15336
15337 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
15338
15339 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
15340 to m88k_va_start, leaving only the register spill.
15341 (m88k_build_va_list): New.
15342 (m88k_va_start): New.
15343 (m88k_va_arg): New.
15344 * m88k.h (BUILD_VA_LIST_TYPE): New.
15345 (EXPAND_BUILTIN_VA_START): New.
15346 (EXPAND_BUILTIN_VA_ARG): New.
15347
15348 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
15349
15350 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
15351 Rename from expand_builtin_saveregs.
15352 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
15353
15354 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
15355
15356 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
15357 for the register spill block.
15358 (i960_build_va_list): New.
15359 (i960_va_start): New.
15360 (i960_va_arg): New.
15361 * i960.h (BUILD_VA_LIST_TYPE): New.
15362 (EXPAND_BUILTIN_VA_START): New.
15363 (EXPAND_BUILTIN_VA_ARG): New.
15364 * i960.md (store_multiple): Use change_address on individul mems.
15365
15366 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
15367
15368 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
15369 an ARRAY_TYPE.
15370 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
15371 (expand_builtin_va_end): Evaluate arg for side effects.
15372 * c-common.c (c_common_nodes_and_builtins): Construct a
15373 va_list_arg_type_node to handle array decomposition to pointer.
15374
15375 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
15376
15377 * except.c (start_dynamic_cleanup): Use force_operand on the
15378 buffer's address.
15379
15380 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
15381
15382 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
15383 * c4x.c (c4x_va_arg): New.
15384
15385 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
15386
15387 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
15388 has manual_pop set.
15389
15390 1999-07-26 Nathan Sidwell <nathan@acm.org>
15391
15392 * eh-common.h (__eh_matcher): Prototype correctly.
15393
15394 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
15395
15396 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
15397 (TARGET_SINGLE_PIC_BASE): Likewise.
15398 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
15399 definitions.
15400 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
15401 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
15402 (TARGET_OPTIONS): Add -mpic-register=N.
15403 (OUTPUT_INT_ADDR_CONST): New macro.
15404 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
15405 LEGITIMATE_PIC_OPERAND_P): Likewise.
15406 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
15407 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
15408 output_addr_const directly.
15409 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
15410 ARM port.
15411 (thumb_pic_register, thumb_pic_register_string): Declare.
15412
15413 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
15414 from arm.c.
15415 (label_mentioned_p): New function: Imported from arm.c.
15416 (legitimize_pic_address): New function: Imported from arm.c.
15417 (is_pic):New function: Imported from arm.c.
15418 (thumb_finalize_pic):New function: Imported from arm.c.
15419 (add_constant): Cope with PIC constants.
15420 (fixit): Cope with PIC constants.
15421 (output_return): Do not treat the PIC register as live if
15422 TARGET_SINGLE_PIC_BASE is true.
15423 (thumb_function_prologue): Do not treat the PIC register as live if
15424 TARGET_SINGLE_PIC_BASE is true.
15425 (thumb_expand_prologue): Do not treat the PIC register as live if
15426 TARGET_SINGLE_PIC_BASE is true.
15427 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
15428 TARGET_SINGLE_PIC_BASE is true.
15429 (thumb_print_operand): Accept '|'.
15430 (thumb_override_options): Process PIC options.
15431
15432 * config/arm/thumb.md (movsi): Support PIC.
15433 (call_insn): Change "i" constraint to "X".
15434 (call_value_insn): Likewise.
15435 (consttable_4, consttable_8, consttable_end): Set and clear
15436 "making_const_table" as appropriate.
15437 (pic_load_addr, pic_add_dot_plus_four): New insns.
15438
15439 * invoke.texi (Thumb Options): Fix spelling. Document new
15440 options -msingle-pic-base and -mpic-register=.
15441
15442 1999-07-26 Andrew Haley <aph@cygnus.com>
15443
15444 * config/m32r/initfini.c (__init): Use a full word immediate for
15445 __fini: this allows it to be placed in any memory region.
15446
15447 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
15448 -mmodel=medium. This is OK for all memory models.
15449
15450 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
15451
15452 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
15453 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
15454
15455 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
15456
15457 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
15458 defined.
15459
15460 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
15461
15462 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
15463
15464 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
15465 (BUILD_VA_LIST_TYPE): New.
15466 (EXPAND_BUILTIN_VA_START): New.
15467 (EXPAND_BUILTIN_VA_ARG): New.
15468 * i860.c (output_delayed_branch): Disable.
15469 (output_delay_insn): Likewise.
15470 (i860_saveregs): New.
15471 (i860_build_va_list): New.
15472 (i860_va_start): New.
15473 (i860_va_arg): New.
15474 * i860.md: Disable all peepholes using output_delayed_branch.
15475 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
15476
15477 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
15478
15479 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
15480 (BUILD_VA_LIST_TYPE): New.
15481 (EXPAND_BUILTIN_VA_START): New.
15482 (EXPAND_BUILTIN_VA_ARG): New.
15483 * clipper.c (clipper_builtin_saveregs): Only dump registers.
15484 Return the address of the save area.
15485 (clipper_build_va_list): New.
15486 (clipper_va_start): New.
15487 (clipper_va_arg): New.
15488
15489 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
15490
15491 * arc.h (EXPAND_BUILTIN_VA_START): New.
15492 (EXPAND_BUILTIN_VA_ARG): New.
15493 * arc.c (arc_setup_incoming_varargs): Set alias set of
15494 varargs save area.
15495 (arc_va_start): New.
15496 (arc_va_arg): New.
15497
15498 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
15499
15500 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
15501 (BUILD_VA_LIST_TYPE): New.
15502 (EXPAND_BUILTIN_VA_START): New.
15503 (EXPAND_BUILTIN_VA_ARG): New.
15504 * alpha.c (alpha_builtin_saveregs): Delete.
15505 (alpha_build_va_list): New.
15506 (alpha_va_start): New.
15507 (alpha_va_arg): New.
15508
15509 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
15510
15511 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
15512 column zero.
15513 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
15514 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
15515
15516 * gcc.texi: More changes related to list conversion.
15517 * invoke.texi: Likewise.
15518
15519 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
15520
15521 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
15522 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
15523 (expand_builtin_next_arg): Accept ARGLIST not EXP.
15524 (stabilize_va_list): New function.
15525 (std_expand_builtin_va_start): New function.
15526 (expand_builtin_va_start): New function.
15527 (get_varargs_alias_set): New function.
15528 (std_expand_builtin_va_arg): New function.
15529 (expand_builtin_va_arg): New function.
15530 (expand_builtin_va_end): New function.
15531 (expand_builtin_va_copy): New function.
15532 (expand_builtin): Call them.
15533 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
15534 __builtin_{varargs_start,stdarg_start,end,copy}.
15535 (build_va_arg): New function.
15536 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
15537 (build_va_arg): Declare.
15538 * c-decl.c (ptr_type_node, va_list_type_node): New.
15539 * c-parse.gperf (__builtin_va_arg): New.
15540 * c-parse.in (VA_ARG): New token.
15541 (unary_expr): Recognize it.
15542 * expr.c (expand_expr): Expand VA_ARG_EXPR.
15543 * expr.h (std_expand_builtin_va_start): Declare.
15544 (std_expand_builtin_va_arg): Declare.
15545 (expand_builtin_va_arg): Declare.
15546 (get_varargs_alias_set): Declare.
15547 * tree.def (VA_ARG_EXPR): New.
15548 * tree.h (BUILT_IN_VARARGS_START): New.
15549 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
15550 (ptr_type_node, va_list_type_node): Declare.
15551 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
15552 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
15553 * m88k.h, m88k.c: Likewise.
15554 * mn10300.h, mn10300.c: Likewise.
15555 * pa.h, pa.c: Likewise.
15556 * rs6000.h, rs6000.c: Likewise.
15557 * sh.h, sh.c: Likewise.
15558 * sparc.h, sparc.c: Likewise.
15559
15560 * emit-rtl.c (operand_subword): Copy alias set.
15561 (change_address): Likewise.
15562
15563 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
15564
15565 * pa.c (compute_frame_size): Scan all the used callee saved registers,
15566 not just the first one.
15567
15568 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
15569
15570 * config/arm/arm.h (TARGET_SWITCHES): Add
15571 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
15572 (TARGET_OPTIONS): Add -mpic-register=.
15573 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
15574 (arm_pic_register_string): Declare.
15575 (NEED_PLT_GOT): Delete, replace with ...
15576 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
15577 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
15578 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
15579 * config/arm/arm.c (arm_override_options): Add new option
15580 -mpic-register=N.
15581 (arm_pic_register_string): New variable.
15582 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
15583 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
15584 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
15585 (output_return_instruction): Likewise.
15586 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
15587 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
15588 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
15589
15590 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
15591 mention of -msched-prolog. Document new options -msingle-pic-base
15592 and -mpic-register=.
15593
15594 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
15595
15596 * haifa-sched.c (reemit_notes): Tidy.
15597 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
15598 haifa's routine.
15599
15600 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
15601
15602 * explow.c (trunc_int_for_mode): New function.
15603 (plus_constant_wide): Use it.
15604 * combine.c (simplify_and_const_int): Likewise.
15605 (merge_outer_ops): Likewise.
15606 (simplify_shift_const): Likewise.
15607 * cse.c (simplify_unary_operation): Likewise.
15608 (simplify_binary_operation): Likewise.
15609 * emit-rtl.c (operand_subword): Likewise.
15610 * rtl.h: Declare it.
15611
15612 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15613
15614 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
15615 (use NUM_REGS instead of NUM_INTS).
15616
15617 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15618
15619 * builtins.c: New file.
15620 * expr.c (saveregs_value, apply_args_value): Delete definition,
15621 moved into builtins.c.
15622 (string_constant): No longer static.
15623 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
15624 apply_args_size, apply_result_size, result_vector,
15625 expand_builtin_apply_args, expand_builtin_apply,
15626 expand_builtin_return): Delete functions, moved into builtins.c.
15627 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
15628 * expr.h (saveregs_value, apply_args_value): Declare variables.
15629 (expand_builtin, string_constant): Declare functions.
15630 * Makefile.in: Update to build builtin.o.
15631
15632 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
15633
15634 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
15635 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
15636 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
15637 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
15638 false.
15639 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
15640 Define to zero.
15641
15642 1999-07-21 Michael Meissner <meissner@cygnus.com>
15643
15644 * print-rtl.c (print_rtx): Print the names of the virtual
15645 registers.
15646
15647 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
15648
15649 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
15650 introduced in previous delta.
15651
15652 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15653
15654 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
15655 to avoid name clash.
15656
15657 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
15658
15659 * c-lex.c (yylex) : Correct the test for overflow when lexing
15660 integer literals.
15661
15662 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
15663
15664 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
15665 (adjust_priority): Always call ADJUST_PRIORITY.
15666 (schedule_insn): Only put insns into the ready at cost 0.
15667 (schedule_block): Remove redundant initial sort. Give clock_var
15668 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
15669 is not 0.
15670 * tm.texi (MD_SCHED_REORDER): Update docs.
15671
15672 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
15673 * sparc.c (ultra_reorder_called_this_block): Delete.
15674 (ultrasparc_sched_init): Don't set it.
15675 (ultrasparc_sched_reorder): Don't check it.
15676
15677 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
15678
15679 * rs6000.h (struct rs6000_args): Add sysv_gregno.
15680 * rs6000.c (init_cumulative_args): Init sysv_gregno.
15681 (function_arg_boundary): Align DFmode.
15682 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
15683 to get fp reg and stack overflow correct.
15684 (function_arg): Likewise.
15685 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
15686 (setup_incoming_varargs): Restructure for ABI_V4; use
15687 function_arg_advance to skip final named argument.
15688 (expand_builtin_saveregs): Properly unskip the last integer arg
15689 when doing varargs. Adjust overflow location calculation.
15690
15691 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
15692 explicitly unsigned.
15693 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
15694 (__VA_GP_REGSAVE): Similarly.
15695 (__va_longlong_p): Delete.
15696 (__va_arg_type_violation): New declaration.
15697 (va_arg): Restructure. Flag promotion errors. Align double.
15698 TFmode passed by reference.
15699
15700 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
15701 in the HOST_BITS_PER_WIDE_INT > 32 case.
15702
15703 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
15704
15705 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
15706
15707 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
15708
15709 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
15710 * toplev.c (documented_lang_options): Add -fpreprocessed.
15711 * cpplib.h (struct cpp_buffer): Add preprocessed.
15712 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
15713 (cpp_start_read): Don't expand macros or emit an initial #line
15714 directive if -fpreprocessed.
15715
15716 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
15717
15718 * cpplib.h (struct cpp_buffer): Added manual_pop for
15719 better C++ tokenization.
15720 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
15721 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
15722 * c-common.c (cpp_token): Make non-static.
15723
15724 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15725
15726 * c-common.h: New file.
15727 * c-common.c (permanent_obstack): Delete unused declaration.
15728 (c_global_trees): New array.
15729 (c_common_nodes_and_builtins): New function; split off common code
15730 from init_decl_processing in both c-decl.c and cp/decl.c.
15731 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
15732 c_global_trees and accessor macros defined in c-common.h.
15733 Include c-common.h.
15734 * c-decl.c: Delete definitions for tree nodes that were replaced by
15735 c_global_trees.
15736 (init_decl_processing): Build void_list_node.
15737 Call c_common_nodes_and_builtins; delete code to generate the common
15738 builtins here.
15739 * objc/objc-act.c (build_module_descriptor): Rename variable
15740 void_list_node to avoid clash with c-common.h.
15741
15742 * Makefile.in: Update dependencies.
15743 * objc/Make-lang.in: Likewise.
15744
15745 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
15746
15747 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
15748 (UNIQUE_SECTION_P): Likewise.
15749 (UNIQUE_SECTION): Likewise.
15750
15751 1999-07-19 Linas Vepstas <linas@linas.org>
15752
15753 * config/i370/README: New file.
15754 * config/i370/linux.h: New file.
15755 * config/i370/mvs.h: New file.
15756 * config/i370/oe.h: New file.
15757 * config/i370/t-linux: New file.
15758 * config/i370/t-mvs: New file.
15759 * config/i370/t-oe: New file.
15760 * config/i370/x-oe: New file.
15761 * config/i370/xm-linux.h: New file.
15762 * config/i370/xm-mvs.h: New file.
15763 * config/i370/xm-oe.h: New file.
15764
15765 * i370.c (label_node_t): Add first_ref_page, label_addr,
15766 label_first_ref, label_last_ref members.
15767 (mvs_need_base_reload): Renamed from mvs_label_emitted.
15768 (MAX_MVS_LABEL_SIZE): Define.
15769 (MAX_LONG_LABEL_SIZE): Define.
15770 (alias_node_t, alias_anchor, alias_number): New.
15771 (mvs_function_table): Reorder for EBCDIC.
15772 (ascebc, ebcasc): Unconditionally define.
15773 (i370_branch_dest, i370_branch_length): New functions.
15774 (i370_short_branch, i370_label_scan): New functions.
15775 (mvs_get_label): Renamed from mvs_add_label. Search for
15776 an existing label before creating a new one.
15777 (mvs_add_label): New function.
15778 (mvs_get_label_page): New function.
15779 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
15780 over the entire list.
15781 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
15782 (mvs_check_page) [TARGET_ELF_ABI]: New function.
15783 (mvs_add_alias, mvs_need_alias): New functions.
15784 (mvs_get_alias, mvs_check_alias): New functions.
15785 (handle_pragma): New function.
15786 (mvs_function_check): New function.
15787 (unsigned_jump_follows_p): Search harder.
15788 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
15789 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
15790 * i370.h (TARGET_VERSION): Delete.
15791 (CPP_SPEC, CPP_PREDEFINES): Delete.
15792 (mvs_label_emitted): Delete.
15793 (TARGET_EBCDIC): Delete.
15794 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
15795 (HANDLE_PRAGMA): Define.
15796 (HARD_REGNO_NREGS): Handle complex modes.
15797 (HARD_REGNO_MODE_OK): Likewise.
15798 (CLASS_MAX_NREGS): Likewise.
15799 (RET_REG): Likewise.
15800 (EXTRA_CONSTRAINT): Define.
15801 (RETURN_IN_MEMORY): True for DImode.
15802 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
15803 (FUNCTION_PROFILER): Delete.
15804 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
15805 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
15806 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
15807 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
15808 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
15809 (ASM_FILE_START): Add "RMODE ANY".
15810 (ASM_OUTPUT_EXTERNAL): Check for aliases.
15811 (ASM_GLOBALIZE_LABEL): Likewise.
15812 (ASM_OUTPUT_LABELREF): Likewise.
15813 (ASM_OUTPUT_COMMON): Likewise.
15814 (PRINT_OPERAND): Handle 'K', 'W', default.
15815 (PRINT_OPERAND_ADDRESS): New.
15816 (Lots of defines): Add support for TARGET_ELF_ABI.
15817 * i370.md (attr length): New. Define for all patterns.
15818 (*): Lots of tweeks to assembly output and constraints.
15819
15820 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
15821
15822 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
15823 Disable patterns performing SImode comparisons with SImode values
15824 if TARGET_POWERPC64 and instruction does not sign-extend or does
15825 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
15826 differ for signed quantities.
15827 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
15828 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
15829 (decrement_and_branch_on_count): Add 64-bit variant.
15830
15831 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15832
15833 * final.c (output_asm_insn): When searching for the matching string
15834 for a given dialect, don't run past the end of the list of
15835 alternatives if there are fewer alternatives in the template than
15836 dialects.
15837
15838 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
15839
15840 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
15841 Removed paragraph about compression of files and size limitation,
15842 duplicated in the FAQ. Use gcc-patches for posting patches.
15843 * gcc.c (main): Updated URL with bug reporting instructions to
15844 gcc.gnu.org. Removed e-mail address.
15845 * system.h (abort): Likewise.
15846
15847 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15848
15849 * Makefile.in (stmp-multilib-sub): Make the files extracted
15850 from $(LIBGCC1) writable.
15851
15852 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
15853
15854 * config/arm/aout.h: Reformat for improved readability.
15855
15856 * config/arm/arm.h: Reformat for improved readability.
15857 Replace uses of fprintf with asm_fprintf where appropriate.
15858 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
15859 function declaration assembler actions.
15860 (NUM_INTS): New macro: Convert from bytes to words.
15861 (NUM_REGS): New macro: Compute number of registers required to
15862 hold a quanitity of tyep MODE.
15863 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
15864 types.
15865 (NUM_ARG_REGS): New macro: The number of argument registers
15866 available.
15867 (ARG_REGISTER): New macro: Compute the register number of the Nth
15868 argument register.
15869 (LAST_ARG_REGNUM): New macro: The number of the last argument
15870 register.
15871 (SP_REGNUM): New macro: Register number of the stack pointer.
15872 (FP_REGNUM): New macro: Register number of the frame pointer.
15873 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
15874 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
15875 CUMULATIVE_ARGS so that it counts registers not bytes.
15876
15877 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
15878 TARGET_INTERWORK.
15879 Replace uses of fprintf with asm_fprintf where appropriate.
15880 (output_ascii_pseudo_op): Replace with version from thumb.c
15881
15882 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
15883
15884 * config/arm/elf.h (CPP_PREDEFINES): Replace with
15885 SUBTARGET_CPP_SPEC.
15886 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
15887 (ASM_FILE_START): Emit ASM_APP_OFF.
15888
15889 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
15890
15891 * pa.c (compute_frame_size): Round frame according to
15892 STACK_BOUNDARY rather than a hardwired value.
15893
15894 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
15895
15896 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
15897 of "1".
15898 * configure: Rebuilt.
15899
15900 * configure.in (hppa*-*-linux*): New configuration.
15901 * configure: Rebuilt.
15902 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
15903 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
15904 * pa/pa-linux.h: New file.
15905 * pa/t-linux: New file.
15906 * pa/xm-linux.h: New file.
15907
15908 * pa.c (hppa_legitimize_address): Change references from SImode to
15909 either Pmode or word_mode as appropriate.
15910 (emit_move_sequence, store_reg, load_reg): Likewise.
15911 (set_reg_plus_d, hppa_expand_prologue): Likewise.
15912 (output_mul_insn): Likewise.
15913 * pa.h (PROMOTE_MODE): Likewise.
15914 (INITIALZE_TRAMPOLINE): Likewise.
15915 (Pmode): Define to word_mode.
15916
15917 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
15918 value of 4. Allocate 8 bytes for each FP register save.
15919 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
15920 value of 4.
15921 (hppa_expand_prologue): Likewise.
15922 * pa.h (PROMOTE_MODE): Likewise.
15923 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
15924 (FUNCTION_ARG_BOUNDARY): Likewise.
15925
15926 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
15927
15928 * pa.c (out_of_line_prologue_epilogue): Delete.
15929 (override_options): Remove -mspace related code.
15930 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
15931 (compute_frame_size): Only allocate space for register that
15932 actually need to be saved.
15933 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
15934 (TARGET_SWITCHES): Remove -mspace, -mno-space
15935 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
15936 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
15937 * pa/ee.asm, pa/ee_fp.asm: Delete.
15938
15939 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
15940
15941 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
15942 directive in column zero.
15943
15944 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
15945
15946 * m68k.c (output_function_prologue): Fix computation of save mask
15947 when generating PIC code.
15948
15949 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
15950
15951 * tree.c (build_type_attribute_variant): Move current_obstack restore
15952 after build_qualified_type call.
15953
15954 1999-07-15 Mark Mitchell <mark@codesourcery.com>
15955
15956 * configure.in: Use t-iris6, even with GNU LD.
15957 * config/mips/iris6gld.h: Fix typo in linker spec.
15958 * config/mips/t-iris6gld: Remove.
15959
15960 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
15961
15962 * rs6000.md (insv, extzv): Remove SImode dependence in named
15963 patterns. Explicitly generate DImode RTL if PowerPC64 and
15964 operand is DImode.
15965 (insvdi): Reverse start and size in instruction template.
15966
15967 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
15968
15969 * invoke.texi: Typo fixes.
15970
15971 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
15972
15973 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
15974 handle at this time instead of silently generating incorrect code.
15975 (gen_imagpart): Likewise.
15976
15977 * reload.c (find_reloads): Emit a USE for a pseudo register without
15978 a hard register if we could not create an optional reload for the
15979 pseudo.
15980
15981 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15982
15983 * c-typeck.c (output_init_element, process_init_element):
15984 When advancing constructor_unfilled_fields for a RECORD_TYPE,
15985 check for nameless bit fields.
15986
15987 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
15988
15989 * regclass.c (scan_one_insn): Notice subregs that change the
15990 size of their operand.
15991 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
15992
15993 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
15994
15995 * configure.in (alpha*-*-*): Include alpha/t-ieee.
15996 * configure: Rebuilt.
15997 * alpha/t-ieee: New file.
15998
15999 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
16000
16001 * rs6000.c (find_addr_reg): Do not select r0 as an address
16002 register.
16003
16004 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
16005
16006 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
16007
16008 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
16009
16010 * rs6000.md (movsf): Do not force easy FP constants into memory.
16011
16012 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
16013 immed_double_const to ensure they are properly truncated then
16014 sign extended.
16015
16016 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
16017
16018 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
16019 always unless NO_DEBUG is used. Compile this code
16020 unconditionally.
16021 (replace_symbols_in_block): Compile it unconditionally.
16022
16023 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
16024
16025 * configure.in (i?86-*-elf*): New target.
16026 * configure: Rebuilt.
16027 * i386/i386elf.h, i386/t-i386elf: New files.
16028
16029 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
16030
16031 * toplev.c (main): Don't complain about saying -gdwarf.
16032 (rest_of_compilation): Remove redundant code.
16033
16034 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
16035
16036 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
16037
16038 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
16039
16040 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
16041 "Li960R:", to avoid name clash.
16042
16043 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16044
16045 * loop.c (check_dbra_loop): When reversing a loop, delete all
16046 REG_EQUAL notes referencing the reversed biv except those which are
16047 for a giv based on it.
16048
16049 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
16050
16051 * version.c: Drop "gcc-" prefix from version #.
16052
16053 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
16054
16055 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
16056 the label if we're being verbose.
16057
16058 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
16059
16060 * m68k.c (output_function_prologue): Add pic register to mask
16061 if live and flag_pic.
16062 (output_function_epilogue): Likewise.
16063
16064 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
16065
16066 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
16067 directives in column zero.
16068
16069 * pa/elf.h (ASM_FILE_START): Define.
16070 * pa/som.h (ASM_FILE_START): Include .level directives.
16071 * pa/hpux10.h (ASM_FILE_START): Delete.
16072 * pa/hpux11.h (ASM_FILE_START): Delete.
16073
16074 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
16075
16076 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16077
16078 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
16079 when reload_out equals reload_in.
16080
16081 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
16082
16083 * invoke.texi (Spec Files): New node: Describe the contents of
16084 spec files.
16085
16086 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
16087
16088 * invoke.texi (DEC Alpha Options): Put @end table at
16089 beginning of line, to avoid confusing texi2html.
16090
16091 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
16092
16093 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
16094 introduced in previous delta.
16095
16096 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16097
16098 * reload1.c (gen_reload): When synthesizing a 3 operand add
16099 sequence, improve test for when to reload OP1 into the reload
16100 register instead of OP0.
16101
16102 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
16103
16104 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
16105
16106 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
16107
16108 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
16109 string literal.
16110
16111 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
16112
16113 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
16114 (va_dcl): Use __builtin_va_alist_t.
16115
16116 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
16117
16118 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
16119 on the permanent_obstack.
16120 * dwarfout.c (output_type): Likewise.
16121
16122 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
16123
16124 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16125 Merged from c-typeck.c and cp/typeck.c.
16126 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16127 Merged into c-common.
16128
16129 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
16130
16131 * c-lex.c (errorcount): Declare it.
16132 (finish_parse): Update errorcount when using CPPLIB.
16133
16134 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
16135
16136 * fixinc/inclhack.def(end_else_label): Double the backslash so
16137 sed gets a chance to see it.
16138 * fixinc/inclhack.sh: regen
16139 * fixinc/fixincl.x: regen
16140
16141 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
16142
16143 Add framework to support armv5 architecture when it becomes
16144 available:
16145
16146 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
16147 (arm_arch5): New variable.
16148 (all_architectures): Add armv5 line.
16149 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
16150 -march=armv5 is specified on the command line.
16151 (arm_arch5): Export this variable.
16152 * invoke.texi: Document new string accepted by -march= switch for
16153 ARM ports.
16154
16155 * config/arm/arm.h: Replace use of constant 12 as a register
16156 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
16157 * config/arm/arm.c: Replace use of constant 12 as a register
16158 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
16159
16160 * config/arm/elf.h: Tidy up.
16161 * config/arm/coff.h: Tidy up.
16162
16163 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
16164
16165 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
16166 * gcc/config/mips/t-iris6gld: New file.
16167 * gcc/config/mips/iris6gld.h: Likewise.
16168
16169 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
16170
16171 * c-decl.c (widest_integer_literal_type_node,
16172 widest_unsigned_literal_type) : New.
16173 (init_decl_processing): Handle/use the two new types.
16174 * c-common.c (type_for_size,type_for_mode) : Same.
16175 * c-lex.c (yylex) : Same.
16176 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16177 Same.
16178 * c-tree.h (widest_integer_literal_type_node,
16179 widest_unsigned_literal_type) : New.
16180
16181 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
16182
16183 * dwarfout.c (field_byte_offset): Correctly compute the object's
16184 byte offset for the first bit of a field which crosses an alignment
16185 boundary on a !BYTES_BIG_ENDIAN target.
16186
16187 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
16188
16189 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
16190 ntohs.
16191
16192 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
16193 Jeff Law <law@cygnus.com>
16194
16195 * ginclude/varargs.h (va_dcl): Use word_mode for type of
16196 __builtin_va_list.
16197
16198 * except.c: Include intl.h.
16199 (expand_eh_return): Set current_function_cannot_inline.
16200 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
16201 * function.h (struct function): Add eh_return_stub_label.
16202 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
16203 * Makefile.in (except.o): Depend on intl.h.
16204
16205 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
16206
16207 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
16208 same as offsettable in cases 1 and 2.
16209
16210 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
16211
16212 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
16213 (extlh, extwh): Likewise.
16214
16215 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
16216
16217 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
16218
16219 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
16220
16221 * configure.in: Add arm-pe and thumb-pe targets.
16222 * configure: Regenerate.
16223
16224 * thumb.c (arm_naked_function_p): New function: Determines if
16225 a function is naked (has no gcc generated prologue/epilogue).
16226 (is_called_in_ARM_mode): Return true if the func has the
16227 interfacearm attribute.
16228 (output_return): Do not generate a return for naked functions.
16229 (thumb_function_prologue): Do not generate a prologue for
16230 naked functions.
16231 (thumb_expand_prologue): Do not generate a prologue for naked
16232 functions.
16233 (thumb_expand_epilogue): Do not generate an epilogue for naked
16234 functions.
16235 (arm_valid_machine_decl_attribute): New function, copied from
16236 arm.c: Permit naked and interfacearm attributes.
16237
16238 * config/arm/pe.c: New file: Support code for arm-pe target.
16239 * config/arm/pe.h: New file: Header file for arm-pe target.
16240 * config/arm/tpe.h: New file: Header file for thumb-pe target.
16241 * config/arm/t-thumb-pe: New file: Makefile fragment for
16242 thumb-pe target.
16243
16244 1999-07-01 Mark Kettenis <kettenis@gnu.org>
16245
16246 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
16247 -fPIC or -fpic is specified.
16248
16249 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
16250
16251 * expr.c (emit_block_move): Use copy_to_mode_reg for
16252 !TARGET_MEM_FUNCTIONS case too.
16253
16254 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
16255 appropriate.
16256 * configure: Rebuilt.
16257 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
16258 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
16259 definitions made redundant by dbxelf.h inclusion. Delete
16260 lots of definitions related to assembly output that are
16261 specific to the SOM object format.
16262 * pa.c (output_function_prologue): Do not emit the function's
16263 name for OBJ_ELF.
16264 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
16265 * pa-pro.h: Deleted.
16266 * som.h: New file with SOM specific definitions.
16267 * elf.h: New file with ELF specific definitions.
16268
16269 * elfos.h (const_section): Output a tab before assembler directives.
16270 (ctors_section, dtors_section): Likewise.
16271 (ASM_OUTPUT_SECTION_NAME): Likewise.
16272
16273 * pa/pa1.h: Delete unused file.
16274
16275 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
16276
16277 * configure.in (hppa*-hp-hpux11*): New configuration.
16278 * configure: Rebuilt.
16279 * pa/pa-hpux11.h: New file.
16280 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
16281 command line.
16282
16283 * mips.md (leasi, leadi): New patterns.
16284
16285 * expr.c (emit_block_move): Properly handle case where one of the
16286 block move arguments has a queued increment or decrement.
16287 (clear_storage): Similarly. Fix formatting goof.
16288
16289 1999-06-28 "David O'Brien" <obrien@NUXI.com>
16290
16291 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
16292 semicolon from the BSD VA_LIST replacement expression.
16293
16294 * fixinc/inclhack.sh: regen
16295 * fixinc/fixincl.x: regen
16296
16297 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
16298 now use the fixincl program.
16299
16300 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
16301
16302 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
16303 case. Also make the PIC register call_used.
16304
16305 * m68k.h (FINALIZE_PIC): Delete.
16306 * m68k.c (finalize_pic): Delete.
16307
16308 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
16309
16310 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
16311 to memory.
16312
16313 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
16314
16315 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
16316
16317 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
16318
16319 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
16320
16321 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
16322
16323 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
16324
16325 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
16326
16327 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
16328
16329 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
16330
16331 * rs6000.c (output_toc): Always use hex values for floating-point
16332 constants. Store single-precision values in upper-half of TOC
16333 entry in 64-bit mode.
16334 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
16335 to final constraints.
16336 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
16337 (fctiwz): Improve accuracy of RTL for pattern.
16338
16339 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
16340
16341 * expr.c (expand_expr): Allow RTL_EXPR's through the
16342 MAX_INTEGER_COMPUTATION_MODE checks.
16343
16344 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
16345
16346 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
16347 such that MASK_SUPPORT_ARCH is not negative.
16348
16349 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
16350
16351 * loop.c (verify_dominator): Properly handle ADDR_VEC and
16352 ADDR_DIFF_VEC insns that appear inside loops.
16353
16354 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
16355 Jeff Law <law@cygnus.com>
16356
16357 * rs6000.md (movdf_hardfloat32): Revert previous patch.
16358 Handle LO_SUM the same as offsettable in cases 1 and 2.
16359 * rs6000.c (find_addr_reg): Revert previous patch.
16360
16361 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
16362
16363 * system.h (strstr): New external function declaration.
16364 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
16365 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
16366 * config.in, configure: Rebuilt.
16367
16368 1999-06-24 Tom Tromey <tromey@cygnus.com>
16369
16370 * gcc.c (main): Read user-specified specs files after computing
16371 additional startfile_prefixes.
16372
16373 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
16374
16375 Revert these two patches:
16376
16377 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16378 * loop.c (strength_reduce): When doing biv->giv conversion, update
16379 reg note of NEXT->insn.
16380
16381 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16382 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
16383 reg_biv_class.
16384 (recombine_givs): Set ix field after sorting.
16385
16386 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16387
16388 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
16389 for the parts of an UNSPEC / UNSPEC_VOLATILE.
16390
16391 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
16392
16393 *fixinc/inclhack.def: Add fix development commentary
16394 (read_ret_type): reactivate and add selection clause
16395 (zzz_*): tweak output file name to match what is used in hackshell.tpl
16396 *fixinc/{fixincl.x|inclhack.sh}: regen
16397
16398 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
16399
16400 * expr.c (expand_expr): STRIP_NOPS before checking against
16401 MAX_INTEGER_COMPUTATION_MODE
16402 (check_max_integer_computation_mode): Likewise.
16403
16404 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
16405
16406 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
16407
16408 1999-06-22 Jim Wilson <wilson@cygnus.com>
16409
16410 * expr.c (store_expr): When target is a promoted subreg, return a
16411 promoted subreg as a result.
16412
16413 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
16414
16415 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
16416 coding standards.
16417 (dwarf2out_define): Mark unused parameters appropriately.
16418 (gen_unspecified_parameters_die): Ditto.
16419 (gen_subprogram_die): Fix signed/unsigned warnings.
16420 (gen_variable_die): Ditto.
16421
16422 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
16423
16424 * fixinc/inclhack.def(end_else_label): combined else_label
16425 and endif_label and fixed the sed expression.
16426 *fixinc/{fixincl.x|inclhack.sh}: regen
16427
16428 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
16429
16430 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
16431 'x' when handling non-offsettable addresses
16432
16433 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
16434
16435 * final.c (shorten_branches): Don't try to split an insn that has
16436 been deleted.
16437
16438 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
16439
16440 * config/mips/mips.c (symbolic_expression_p): New function.
16441 (mips_select_rtx_section): Put symbolic expressions in the
16442 data section, not the read-only data section.
16443
16444 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
16445
16446 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
16447
16448 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
16449
16450 * collect2.c (main): Log frame table count.
16451 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
16452 (scan_prog_file) [COFF]: Handle frame tables.
16453
16454 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
16455 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
16456 * alpha/elf.h: Undef them again.
16457 * alpha/vms.h: Remove their definitions.
16458
16459 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16460
16461 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
16462 remove the clobber of r0 and change the REG_UNUSED note to
16463 REG_INC.
16464
16465 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
16466
16467 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
16468 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
16469 fits in HOST_WIDE_INT and one uses union to access a long constant
16470 as double.
16471
16472 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
16473
16474 * sparc.c (sparc_override_options): Don't allow profiling for
16475 code models other than medlow.
16476 (sparc_function_profiler): New function from old FUNCTION_PROFILER
16477 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
16478 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
16479 (sparc_block_profiler): Likewise.
16480 (sparc_function_block_profiler_exit): Likewise.
16481 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
16482 (FUNCTION_BLOCK_PROFILER): Likewise.
16483 (BLOCK_PROFILER): Likewise.
16484 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
16485 (MCOUNT_FUNCTION): New.
16486 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
16487 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
16488 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
16489 (MCOUNT_FUNCTION): New.
16490 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
16491 (BLOCK_PROFILER): Delete.
16492 (MCOUNT_FUNCTION): New.
16493
16494 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
16495
16496 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
16497
16498 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
16499
16500 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16501 Add the macros.
16502
16503 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16504 Ditto.
16505
16506 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16507 Ditto.
16508
16509 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16510 Ditto.
16511
16512 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
16513
16514 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
16515 types.
16516
16517 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
16518
16519 * i386/djgpp.h (LIB_SPEC): New.
16520 (STARTFILE_SPEC): New.
16521
16522 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
16523
16524 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
16525
16526 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
16527 compiler flags.
16528
16529 * system.h (WSTOPSIG): New macro.
16530
16531 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
16532
16533 * c-pragma.c (push_alignment): Don't ignore alignments greater than
16534 4 bytes.
16535 (insert_pack_attributes): Take into account member natural
16536 alignment.
16537
16538 * i386/winnt.c (exports_head): New static variable.
16539 (i386_pe_record_exported_symbol): New function.
16540 (i386_pe_asm_file_end): Use.
16541 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
16542 symbols to be emitted at end of assembly.
16543 (ASM_DECLARE_OBJECT_NAME): Likewise.
16544 (ASM_DECLARE_FUNCTION_NAME): Likewise.
16545
16546 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
16547 -iwithprefix.
16548
16549 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
16550
16551 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
16552 in last change.
16553
16554 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
16555
16556 * haifa-sched.c (sched_analyze_1): Use free_list instead of
16557 zapping reg_last_uses directly.
16558 (sched_analyze_2, sched_analyze_insn): Likewise.
16559 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
16560
16561 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
16562
16563 * rs6000.md (movdf_hardfloat32): Use worst case insn length
16564 attributes for cases 1 and 2.
16565
16566 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
16567
16568 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
16569 instead of set.
16570
16571 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
16572
16573 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
16574
16575 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
16576
16577 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
16578 PIC_OFFSET_TABLE_REGNUM for general alloaction.
16579 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
16580 must be stacked if it is used for PIC accesses.
16581 * arm.c (use_return_insn): Handle PIC register specially.
16582 (output_return_instruction): Likewise.
16583 (output_func_{prologue,epilogue}): Likewise.
16584 (output_expand_prologue): Likewise.
16585
16586 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
16587 (*strsi_predec): Renamed from *strqi_predec.
16588 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
16589 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
16590
16591 * arm.c (arm_override_options): Remove warning about PIC code
16592 not being supported.
16593
16594 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
16595
16596 * rs6000.c (find_addr_reg): New function.
16597 * rs6000.h (find_addr_reg): Declare.
16598 (offsettable_addr_operand): Delete.
16599 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
16600 from and stores to GPRs.
16601
16602 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
16603
16604 * alpha.c (alpha_expand_block_move): Use get_insns rather than
16605 gen_sequence as argument to emit_no_conflict_block.
16606
16607 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16608
16609 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
16610 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
16611 *fixinc/fixincl.x: regen
16612 *fixinc/inclhack.sh: regen
16613
16614 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
16615
16616 * added support for -mpcrel (PC relative addressing for m68k)
16617 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
16618 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
16619 * m68k.c (print_operand_address): Handle 32-bit PIC case.
16620 (comments for general_src_operand): Add some explanation
16621 about EXTRA_CONSTRAINTS.
16622 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
16623 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
16624 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
16625 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
16626 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
16627 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
16628 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
16629 if not already set.
16630 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
16631 * m68k.h (TARGET_PCREL): New target flag.
16632 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
16633 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
16634 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
16635 contains a SYMBOL_REF. Relax this constraint during reload, since
16636 we want to use the predicates, not reload's built-in concept of a
16637 valid memory address, to control what insns need reloading.
16638 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
16639 operands (essentially 'g', 'm', and 's' under normal circumstances).
16640 * m68k.c (print_operand): Cause printing of pc-relative addresses
16641 to include pc register.
16642 (print_operand_address): Ditto.
16643 (general_src_operand): Accept operands that are not only
16644 general_operands, but are also valid when used as a pc-relative
16645 source.
16646 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
16647 (memory_src_operand): Similar, for memory_operands.
16648 (pcrel_address): New predicate to accept the special case of a
16649 pc-relative address.
16650 * m68k.md (many patterns): Rewrite common SImode, HImode, and
16651 QImode insns to accept *_src_operand instead of *_operand where
16652 pc-relative operands can fit. For example, a pc-relative operand
16653 can be used as a memory source operand for addsi3, but not as a
16654 memory destination.
16655 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
16656
16657 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
16658
16659 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
16660 .thumb_set pseudo op to mark aliases of thumb functions.
16661
16662 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
16663
16664 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
16665 preference to ASM_OUTPUT_DEF, if it is defined.
16666
16667 * tm.texi: Document new, optional target macro
16668 ASM_OUTPUT_DEF_FROM_DECLS.
16669
16670 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16671
16672 * fixincludes: ISCNTL patch
16673 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
16674 (dgux_int_varargs): new for DG/UX
16675 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
16676
16677 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
16678
16679 * invoke.texi (ia32 options): Fix typo.
16680
16681 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16682
16683 * loop.c (strength_reduce): When doing biv->giv conversion, update
16684 reg note of NEXT->insn.
16685
16686 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
16687
16688 * loop.c (move_movables): Note issues with replacing REGs with
16689 SUBREGs.
16690 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
16691
16692 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
16693
16694 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
16695
16696 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
16697 the reference to `mcount' was not correct for the ELF on FreeBSD.
16698
16699 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16700
16701 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
16702 reg_biv_class.
16703
16704 (recombine_givs): Set ix field after sorting.
16705
16706 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
16707
16708 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
16709 to safe to extract a subword out of a REG.
16710
16711 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16712
16713 * sh.md (mulsi3): Don't add a no-op move at the end.
16714
16715 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16716
16717 * cse.c (cse_insn): Don't put hard register source into tables for
16718 the last insn of a libcall.
16719
16720 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16721
16722 * loop.c (strength_reduce): Insert sets of derived givs at every
16723 biv increment, even if it's the only one.
16724
16725 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
16726
16727 * dwarfout.c (add_incomplete_type): New fn.
16728 (output_type): Call it.
16729 (retry_incomplete_types): New fn.
16730 (dwarfout_finish): Call it.
16731
16732 From Eric Raskin <ehr@listworks.com>:
16733 (output_type): Output types for bases.
16734
16735 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
16736
16737 * mips.c (mips_output_conditional_branch): Add `break'
16738 between `default' label and `close braces'.
16739
16740 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
16741
16742 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
16743 specifications and make it realistic.
16744 (LIB_SPEC): Likewise.
16745
16746 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
16747
16748 * config/mips/mips.c (mips_secondary_reload_class): Check for
16749 (PLUS (SP) (REG)) and return appropriate register class.
16750 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
16751 Handle (PLUS (SP) (REG)).
16752 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
16753 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
16754 of emit_insn for tablejump.
16755
16756 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
16757
16758 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
16759 asm_fprintf format string by itself.
16760 (output_function_profiler): Likewise.
16761
16762 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
16763
16764 * combine.c (simplify_logical, case AND): Only call
16765 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
16766 or the constant is positive.
16767
16768 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
16769
16770 * configure.in: Fix typo in rs6000-ibm-aix4 case.
16771 * configure: Regenerate.
16772
16773 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
16774
16775 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
16776 require a sub-version #.
16777 * configure: Rebuilt.
16778
16779 1999-06-14 Robert Lipe (robertlipe@usa.net)
16780
16781 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
16782
16783 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
16784
16785 * c-typeck.c (process_init_element): Detect excess elements in
16786 char array initializer.
16787
16788 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
16789
16790 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
16791
16792 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
16793
16794 * invoke.texi (Option Summary): Add -fpermissive flag.
16795
16796 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
16797
16798 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
16799 that require PIC code sequences.
16800
16801 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
16802
16803 * configure.in: Add new target: thumb-elf.
16804 * configure: Regenerate.
16805 * config/arm/t-thumb-elf: New file: Makefile fragment for
16806 thumb-elf build.
16807 * config/arm/telf.h: New file: Header file for thumb-elf
16808 build.
16809
16810 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
16811
16812 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
16813 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
16814 initializers is some circumstances.
16815
16816 * fixinc/inclhack.def (endif_label): Add additional selector for
16817 more bogus stuff after #endif statements.
16818 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
16819
16820 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
16821
16822 * i386/cygwin.h (SET_ASM_OP): Define.
16823
16824 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
16825
16826 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
16827
16828 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16829
16830 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
16831 latter.
16832
16833 * sh.md (ic_invalidate_line_i): Remove second alternative.
16834
16835 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16836
16837 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
16838 test for the presence of valid prototypes. Delete bypass expr.
16839 (ioctl_fix_ctrl): Correct the selection expression.
16840 (no_double_slash): Correct quoting rules
16841 *fixinc/fixincl.x: regen
16842 *fixinc/inclhack.sh: regen
16843
16844 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
16845
16846 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
16847
16848 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16849
16850 * rs6000.md (movsi_got_internal_mem): Delete.
16851 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
16852 (GOT_TOC_REGNUM): Delete.
16853 (PIC_OFFSET_TABLE_REGNUM): Define.
16854 (FINALIZE_PIC): Disable.
16855 * rs6000.c (rs6000_got_register): New code for fixed pic register.
16856 (rs6000_replace_regno): Delete.
16857 (rs6000_finalize_pic): Likewise.
16858 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
16859
16860 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16861
16862 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
16863 is a note; use <= for the compare; advance P while it is
16864 a NOTE.
16865
16866 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
16867
16868 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
16869 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
16870
16871 * varasm.c (remove_from_pending_weak_list): Verify t->name
16872 is non-NULL before passing it to strcmp.
16873
16874 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16875
16876 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
16877 the typed arguments are not part of a comment
16878 (ioctl_fix_ctrl): Added a purpose comment
16879 *fixinc/fixincl.x: regenerate
16880 *fixinc/inclhack.sh: regenerate
16881
16882 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16883
16884 * invoke.texi: Add C4x invocation docs.
16885
16886 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16887
16888 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
16889 Define new macros.
16890 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
16891 TARGET_EXPOSE_LDP.
16892 (c4x_legitimize_reload_address): New function.
16893 * config/c4x/c4x.md: Update docs.
16894
16895 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
16896
16897 * fixincludes: Avoid removing '.'.
16898 * fixinc/fixinc.svr4: Likewise.
16899 * fixinc/fixinc.winnt: Likewise.
16900 * fixinc/inclhack.tpl: Likewise.
16901 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
16902
16903 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16904
16905 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
16906 pattern.
16907 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
16908
16909 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
16910
16911 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
16912 correctly.
16913
16914 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
16915
16916 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
16917 * configure: Regenerate.
16918
16919 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
16920
16921 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
16922 values.
16923
16924 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
16925
16926 * fixinc/inclhack.def (avoid_bool): Also catch
16927 "typedef [unsigned] int bool".
16928 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
16929
16930 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
16931 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
16932 * configure: Rebuilt.
16933
16934 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
16935
16936 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
16937 such that we can override its definitions if necessary.
16938 (CPP_SPEC): New define. Support processor specific predefines via
16939 %(cpp_cpu).
16940 (CC1_SPEC): New define. Support processor specific compiler
16941 options via %(cc1_cpu).
16942 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
16943 -static.
16944
16945 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16946
16947 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
16948 between sed's -e flag, and the open-quote following it.
16949 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
16950
16951 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
16952 Jeffrey A Law (law@cygnus.com)
16953
16954 * varasm.c (assemble_start_function): Remove the function
16955 from the pending weak decls list when we define a function.
16956 (assemble_variable): Similarly for variables.
16957 (weak_finish): Ignore items on the list with a NULL name.
16958 (remove_from_ending_weak_list); New function to "remove" an item
16959 from the pending weak declarations list.
16960
16961 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
16962
16963 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
16964
16965 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
16966
16967 * c-lex.c (GETC): Redefine to call getch.
16968 (UNGETC): Redefine to call put_back.
16969 (putback_buffer): New structure type.
16970 (putback): New static structure.
16971 (getch): New function.
16972 (put_back): New function.
16973 (yylex): Replace unused bytes from bad multibyte character.
16974
16975 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
16976
16977 * cpplib.c (do_define): Cast `alloca' return value.
16978 (do_include, do_undef, do_pragma): Likewise.
16979 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
16980 values.
16981 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
16982 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
16983
16984 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
16985
16986 * sparc.md (abstf2): This should be an expand.
16987 (split after abstf2_notv9): Fix mode.
16988 (abstf2_hq_v9): New pattern.
16989 (abstf2_v9): Only use when no hard quad.
16990 (absdf2_v9): Fix if target is not the same as source.
16991 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
16992 Add correct output constraints.
16993
16994 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
16995
16996 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
16997 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
16998
16999 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
17000
17001 * mips.h (mips_output_conditional_branch): New function.
17002 (mips_adjust_insn_length): Likewise.
17003 (ASSEMBLER_SCRATCH_REGNUM): New macro.
17004 (ADJUST_INSN_LENGTH): Likewise.
17005 * mips.c (print_operand): Add `F' and `W' for floating-point
17006 comparison opcodes.
17007 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
17008 are now in bytes.
17009 (mips_adjust_insn_length): New function.
17010 (mips_output_conditional_branch): New function.
17011 * mips.md (length): Adjust attribute definition to handle
17012 conditional branches. Change lengths to bytes, rather than
17013 instructions throughout. Remove length attribute from
17014 instructions whose length is four bytes, and rely on the default
17015 instead.
17016 (dslot): Fix typo in comment.
17017 Reword conditional branch patterns to use
17018 mips_output_conditional_branch.
17019
17020 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17021
17022 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
17023 (LIB_SPEC): Likewise.
17024 Link with -lprof1_r for -g/-pg.
17025
17026 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
17027
17028 * loop.c (check_dbra_loop): Fix change of Jan 19.
17029
17030 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
17031
17032 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
17033 (STARTFILE_SPEC): Define, override the svr4.h version.
17034 (ENDFILE_SPEC): Likewise.
17035
17036 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
17037
17038 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
17039 * fixinc/fixincl.x: Regenerated.
17040 * fixinc/inclhack.sh: Regenerated.
17041
17042 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17043
17044 * sh.c (barrier_align): Don't return early for normal branch/barrier
17045 when optimizing for SH2.
17046
17047 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
17048
17049 * i386/udk.h (LINK_SPEC): Correct linker search path for
17050 system libraries.
17051
17052 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17053
17054 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
17055 (braf_label_ref_operand): Delete.
17056 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
17057 * sh.md (casesi_jump_2): Operand1 is now the inside of a
17058 label_ref, and has no predicate.
17059 The patten has a predicate to guard against invalid substitutions.
17060 (dummy_jump): Delete.
17061 (casesi): Update use of casesi_jump_2.
17062
17063 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17064
17065 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
17066 *fixinc/fixincl.x: regenerate
17067 *fixinc/inclhack.sh: regenerate
17068
17069 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
17070
17071 * dwarf2out.c (add_incomplete_type): New fn.
17072 (gen_struct_or_union_type_die): Call it.
17073 (retry_incomplete_types): New fn.
17074 (dwarf2out_finish): Call it.
17075
17076 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
17077
17078 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
17079 current block starts with a CODE_LABEL and ends with a CALL and
17080 we can not find all the argument setup instructions for the CALL.
17081
17082 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
17083
17084 Revert this change:
17085 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
17086 something is a candidate for optimize_bit_field_compare.
17087
17088 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17089
17090 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
17091
17092 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
17093
17094 * alpha.c (override_options): Thinko in last patch.
17095
17096 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
17097 (LIB_SPEC): Recognize -pthread.
17098
17099 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
17100
17101 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
17102 definition in config/arm/coff.h
17103 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
17104
17105 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17106
17107 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
17108 fixes that need "file=xxx\n" prepended before invocation
17109 (start_fixer - new): starting the fixer process is complex enough
17110 to warrent its own routine. It prepends the "file=xxx\n" stuff.
17111 (process): uses the new routine; omit usage of putenv()
17112 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
17113 * fixinc/fixincl.x: regenerate
17114
17115 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
17116
17117 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
17118 and version #s (1.1 -> 2.96) as needed.
17119 * README.g77: Kill way out of date file in the toplevel directory.
17120
17121 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
17122
17123 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
17124 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
17125 * configure: Rebuilt.
17126 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
17127 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
17128 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
17129 (SWITCH_TAKES_ARG): Likewise.
17130 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
17131 * config/t-freebsd: Moved from config/i386/ so it can used for all
17132 FreeBSD targets.
17133
17134 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
17135
17136 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
17137
17138 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
17139
17140 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
17141 * configure: Rebuilt.
17142
17143 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
17144
17145 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
17146 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
17147 * rs6000/rs6000.c (rs6000_file_start): Use putc.
17148 (rs6000_output_load_toc_table): Same.
17149 (output_prolog, output_mi_thunk): Same.
17150 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
17151 (ASM_GLOBALIZE_LABEL): Use putc.
17152
17153 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
17154
17155 * alpha.md (reload_*_help): New patterns and splitters.
17156 (reload_*): Use them.
17157 (mov[qh]i): Likewise.
17158
17159 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
17160
17161 * cccp.c (handle_directive): Handle backslash-newlines in quoted
17162 strings correctly.
17163
17164 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
17165
17166 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
17167
17168 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
17169
17170 * flow.c (mark_regs_live_at_end, insn_dead_p,
17171 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
17172 and HARD_FRAME_POINTER_REGNUM special treatment if reload
17173 hasn't run or the frame pointer is needed.
17174 * haifa-sched.c (attach_deaths): Likewise.
17175 * sched.c (attach_deaths): Likewise.
17176
17177 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
17178
17179 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
17180 calculate_can_reach_end returns nonzero.
17181
17182 * configure.in (native gas tests): Search for an assembler in the
17183 same manner that the installed compiler will.
17184 * configure: Rebuilt.
17185 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
17186
17187 * alias.c (find_base_term): Improve handling of addresses
17188 constructed from binary operations.
17189
17190 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
17191
17192 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
17193
17194 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
17195
17196 * function.h (cleanup_label, frame_offset): Declare.
17197 (tail_recursion_label, tail_recursion_reentry): Likewise.
17198 (arg_pointer_save_area, rtl_expr_chain): Likewise.
17199 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
17200 (tail_recursion_label, tail_recursion_reentry): Likewise.
17201 (arg_pointer_save_area, rtl_expr_chain): Likewise.
17202
17203 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
17204
17205 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
17206 defined.
17207 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
17208 (MAX_OFILE_ALIGNMENT): Define.
17209
17210 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
17211
17212 * fixincl.c: Replace local include scheme with #includes of
17213 gansidecl.h and system.h.
17214 * procopen.c: Likewise.
17215 * server.c: Likewise.
17216
17217 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
17218
17219 * i386/t-dgux (EXTRA_PARTS): Add crti.o
17220 (crti.o): Add build rule and dependencies.
17221 * fixinc/fixinc.dgux: Use modified _int_varargs.h
17222
17223 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17224
17225 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
17226 (LIB_LINUX_SPEC): Likewise.
17227 (LIB_LINUX_SPEC): Add support for -pthread
17228 (CPP_OS_LINUX_SPEC): Likewise.
17229 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
17230 specified.
17231
17232 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
17233
17234 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
17235 conditional move.
17236 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
17237 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
17238 for IEEE math and CC_FCOMI.
17239 (put_jump_code): No IEEE if CC_FCOMI is set.
17240
17241 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
17242
17243 * fold-const.c (fold_truthop): Make the field reference unsigned
17244 when converting a single bit compare.
17245
17246 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17247
17248 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
17249
17250 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
17251
17252 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
17253 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
17254 version did.
17255
17256 * reload.c (push_reload): Do not call remove_address_replacements
17257 when presented with identical optional reloads.
17258
17259 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
17260
17261 * alpha.h (MASK_FIX, TARGET_FIX): New.
17262 (MASK_*): Reorganize constants.
17263 (CPP_AM_FIX_SPEC): New.
17264 (TARGET_SWITCHES): Add FIX.
17265 (EXTRA_SPECS): Likewise.
17266 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
17267 (SECONDARY_MEMORY_NEEDED): Likewise.
17268 (REGISTER_MOVE_COST): Likewise.
17269 * alpha.c (override_options): Add FIX support. Always use
17270 ALPHA_TP_PROG for ev6.
17271 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
17272 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
17273 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
17274
17275 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
17276
17277 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
17278 something is a candidate for optimize_bit_field_compare.
17279
17280 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
17281
17282 * gcc.texi (Passes): Document branch-shortening.
17283 * invoke.texi (Debugging Options): Document the fact that `-dp'
17284 outputs length information for instructions.
17285
17286 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
17287
17288 * flow.c: Revert previous delta.
17289
17290 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
17291
17292 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
17293 FRAME_POINTER_REGNUM.
17294 (mark_set_1): Ditto.
17295 (mark_used_regs): Ditto.
17296
17297 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
17298
17299 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
17300 (GOT_PCREL): New macro. Define to 1 if not already defined.
17301 * arm/elf.h (GOT_PCREL): Define to 0.
17302 * arm.c (arm_finalize_pic): Take into account the setting of
17303 GOT_PCREL.
17304
17305 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
17306
17307 * output.h (STRIP_NAME_ENCODING): Provide default definition.
17308 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
17309
17310 * flow.c (mark_set_1): Do not record BLKmode stores as dead
17311 store elimination candidates.
17312
17313 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
17314
17315 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
17316 TARGET_GAS.
17317
17318 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
17319
17320 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
17321 Add use of x-aix41-gld.
17322
17323 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
17324
17325 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
17326 (ASM_OUTPUT_DESTRUCTOR): Define.
17327
17328 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
17329
17330 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
17331 last CODE_LABEL in a loop if we have previously passed a jump
17332 to the top of the loop.
17333
17334 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
17335
17336 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
17337 applying Philip's patch.
17338
17339 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
17340
17341 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
17342 are not VAR_DECLs.
17343
17344 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
17345
17346 * loop.c (strength_reduce): Grow reg_single_usage as needed.
17347
17348 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
17349
17350 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
17351 Also remove a useless comment.
17352
17353 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
17354
17355 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
17356
17357 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
17358
17359 * collect2.c (main): Only generate import or export file and add
17360 to link arguments if non-empty. Use xmalloc not alloca.
17361 (write_{export,import}_file): Delete.
17362 (write_aix_file): New function.
17363 (locatelib): Use xmalloc not malloc.
17364 (GCC_OK_SYMBOL): Do not check type if aix64.
17365
17366 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
17367
17368 Based on patch by Scott Bambrough and Pat Beirne:
17369 * config/arm/arm.c (making_const_table): New variable.
17370 * config/arm/arm.h (making_const_table): Declare.
17371 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
17372 appropriate.
17373 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
17374 Keep track of when we are building the constant table.
17375
17376 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
17377
17378 * config/arm/arm.c (arm_override_options): Fix erroneous warning
17379 message.
17380
17381 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
17382
17383 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
17384 defined.
17385
17386 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
17387
17388 * tm.texi (FUNCTION_ARG): Correct description of a stack element
17389 in a PARALLEL.
17390
17391 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
17392
17393 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
17394
17395 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17396
17397 * rs6000.c (output_mi_thunk): Enable full support again.
17398
17399 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17400
17401 * sh.h (BRANCH_COST): Define.
17402
17403 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
17404
17405 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
17406
17407 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
17408
17409 * function.c (assign_stack_local): Align stack slot propertly.
17410 (assign_outer_stack_local): Likewise.
17411
17412 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
17413
17414 * expr.h (lang_expand_constant): Declare.
17415 * toplev.c (lang_expand_constant): Define it.
17416 * varasm.c (output_constant): Use it.
17417
17418 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17419
17420 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
17421 Change function definitions to K&R style.
17422
17423 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17424
17425 * fixinc/fixincl.c: We must not ignore SIGCLD now.
17426
17427 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
17428
17429 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
17430 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
17431 (several places): omit static initialization
17432 (process): use single fd, since only the read fd is used
17433 * fixinc/gnu-regex.c: define 'const' away, if not supported
17434 * fixinc/procopen.c(several places): omit static initialization
17435 * fixinc/server.c: define 'volitile' away, if not supported
17436
17437 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
17438
17439 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
17440 asm_fprintf and %L to generate the label name.
17441 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
17442 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
17443
17444 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
17445
17446 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
17447 insn for a conditional jump can not be found.
17448
17449 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
17450
17451 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
17452 on variables in specific sections other than .sbss and .sdata.
17453
17454 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
17455
17456 * stmt.c (expand_return): Call start_cleanup_deferral and
17457 end_cleanup_deferral around conditional code.
17458
17459 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17460
17461 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
17462 filename lists. Utilizes new "krstr" AutoGen function.
17463 * fixinc/fixincl.x: Rebuilt.
17464
17465 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
17466
17467 * i386.c (output_float_compare): Avoid GNU-C extensions.
17468
17469 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
17470
17471 * version.c: Bump to distinguish mainline tree from the
17472 gcc-2.95 branch.
17473
17474 See ChangeLog.1 for earlier changes.