OSDN Git Service

* cpphash.c (macarg): Hoist all the flag diddling out of the
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
2
3         * cpphash.c (macarg): Hoist all the flag diddling out of the
4         function...
5         (macroexpand): ... and out of the loop that calls macarg.
6         Skip over the initial paren before macro arguments with
7         cpp_get_non_space_token; point may be some distance before
8         that paren.  Abort if it's not there.
9
10         * cpplib.c (parse_clear_mark): Delete function.
11         (parse_set_mark, parse_goto_mark): Make static.
12         (ACTIVE_MARK_P): New macro.
13         (skip_block_comment, skip_line_comment): Do not bump the line
14         if ACTIVE_MARK_P is true.
15         (cpp_pop_buffer): The buffer to be popped may not have an
16         active mark.
17         (cpp_get_token): When looking for the initial paren before
18         macro arguments, only set a mark in a file buffer, Always
19         return to that mark before proceeding to call macroexpand or
20         return a NAME token.
21
22         * cpplib.h: Remove prototypes of parse_set_mark,
23         parse_clear_mark, parse_goto_mark.
24         (struct cpp_options): Rename 'put_out_comments' to
25         'discard_comments' and invert its sense.
26         * cppinit.c, cpphash.c, cpplib.c: All users of
27         put_out_comments changed to use discard_comments, with
28         opposite sense.
29
30 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
31
32         * function.c (thread_prologue_and_epilogue_insns): Don't delete
33         the edge from a block that both jumps and falls through to the
34         fallthru block.
35
36 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
37
38         * config/arm/arm.md (movsi): In PIC mode, make sure that a
39         constant source address is legitimate.
40
41 2000-02-09  Philip Blundell  <pb@futuretv.com>
42
43         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
44         correctly.
45
46         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
47         generating PIC.
48         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
49
50 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
51
52         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
53         ends with a newline and a NUL.  Don't be so clever manipulating
54         strings.
55
56 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
57
58         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
59         not to BIGGEST_ALIGNMENT.
60
61 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
62
63         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
64         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
65         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
66         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
67         * frame.c (execute_cfa_insn): Handle 
68         DW_CFA_GNU_negative_offset_extended.
69
70 2000-02-08  Richard Henderson  <rth@cygnus.com>
71
72         * flow.c (tidy_fallthru_edges): Split out from ...
73         (delete_unreachable_blocks): ... here.
74         (find_basic_blocks): Use it.
75
76 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
77
78         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
79
80 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
81
82         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
83         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
84         (fix-header.o): Don't depend on cpphash.h.
85
86         * scan.c (hashstr): New function. 
87         * scan.h: Prototype it.
88         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
89         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
90         hashstr.  Report hash table statistics.  Add private     
91         definition of xrealloc.
92
93 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
94
95         * i386.h (TARGET_SWITCHES): Fix typo in option name.
96
97 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
98
99         * function.c (thread_prologue_and_epilogue_insns): Don't replace
100         jumps with returns unless they are jumps to the fallthru block.
101
102 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
103
104         * i386.md (addqi3_cc): Fix contraints.
105
106 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
107
108         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
109
110 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
111
112         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
113         carriage return after a macro name.
114
115 2000-02-07  Fred Fish  <fnf@be.com>
116
117         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
118         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
119
120 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
121
122         * cppfiles.c (deps_output): Count spacers in deps_column.
123
124 2000-02-07  Neil Booth  <NeilB@earthling.net>
125
126         * cppinit.c (initialize_dependency_output): If there is no
127         suffix, don't try to look for known suffixes.  Use strrchr.
128         (cpp_start_read): Remove duplicate initialization.
129
130 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
131
132         * calls.c (compute_argument_block_size): New argument
133         preferred_stack_boundary.
134         (expand_call): update cfun->preferred_stack_boundary, update call of
135         compute_argument_block_size
136         (emit_library_call): Increate cfun->preferred_stack_boundary
137         to PREFERRED_STACK_BOUNDARY
138         (emit_library_call_value): Likewise.
139         * explow.c (allocate_dynamic_stack_spave): Likewise.
140         * function.c (prepare_function_start): Set
141         cfun->preferred_stack_boundary
142         * function.h (struct function): Add preferred_stack_boundary field.
143         * integrate.c (expand_inline_function): Update
144         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
145         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
146         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
147
148 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
149
150         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
151         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
152         cpp_pedwarn, cpp_pedwarn_with_line,
153         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
154         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
155         v_cpp_error_with_line, v_cpp_warning_with_line,
156         cpp_message_from_errno, cpp_perror_with_name): Delete.
157
158         * cpperror.c (cpp_print_containing_files): Take starting
159         buffer as argument.
160         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
161         (v_cpp_message): Now called directly by all entry points.
162         Remove -1 case.
163         (cpp_pfatal_with_name, cpp_message): Delete.
164         (cpp_notice_from_errno, cpp_ice): New functions.
165         (cpp_notice): Is now for reporting error conditions, just
166         without an associated file.
167         (cpp_error, cpp_error_with_line): Don't do anything if
168         opts->inhibit_errors is on.
169         (cpp_pedwarn_with_file_and_line): Take column argument also.
170
171         * cpplib.h: Update prototypes of exported functions.
172         (struct cpp_options): Add inhibit_errors.
173
174         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
175         non-error messages.  Include intl.h.
176
177         * cppinit.c, cppmain.c: Likewise.  Also, use
178         cpp_notice_from_errno instead of cpp_perror_with_name or
179         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
180
181         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
182         report internal errors.
183
184         * cpplib.c (do_define): Switch bcopy to memcpy.
185         Give cpp_pedwarn_with_file_and_line a dummy column argument.
186
187         * cpplib.c (copy_rest_of_line): Revert previous change: don't
188         bail out early if we hit a line comment.
189
190 2000-02-06  Richard Henderson  <rth@cygnus.com>
191
192         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
193         * basic-block.h: Declare them.
194         * emit-rtl.h (active_insn_p): New.
195         (next_active_insn, prev_active_insn): Use it.
196         * rtl.h: Declare it.
197         * function.c (emit_return_into_block): New.
198         (thread_prologue_and_epilogue_insns): Insert return insns instead
199         of epilogues when possible.
200         * jump.c (jump_optimize_1): Remove code to insert a return insn
201         on the fallthru to the exit block.
202
203         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
204         and for non-empty stack frames.
205         * i386.md (return): Expand to return-pop as needed.
206
207 2000-02-06  Richard Henderson  <rth@cygnus.com>
208
209         * simplify-rtx.c (simplify_relational_operation): Canonicalize
210         constant to op1 for testing.
211
212 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
213
214         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
215         (fixuns_truncqfqi2): Use it.
216
217 2000-02-06  Richard Henderson  <rth@cygnus.com>
218
219         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
220         as a TYPE_LEA insn.
221
222         * i386.md (widening and peepholes): Mask the constant instead of
223         using gen_lowpart.
224
225 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
226
227         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
228         input pointer before possibly branching off to the backslash
229         code.
230         * cpphash.c (macroexpand): Correctly delete \r escapes when
231         stringifying parameters.
232         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
233         if we can; bail out early if we hit a line comment.
234         (handle_directive): Treat '# 123' in an .S file just like
235         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
236         Return 1 for '# not_a_directive'.
237         (get_directive_token): Pop macro buffers here, so that
238         cpp_get_token can't sneakily move past a newline.
239         Add sanity checks. 
240         (cpp_get_token): goto randomchar if handle_directive returns 0.
241
242         * cppalloc.c: Update copyright.
243         * cpplib.c: Merge all the static function prototypes into one
244         block.
245         * cpplib.h: Remove #if 0 block.
246
247         * cpperror.c: Remove #ifdef EMACS block.
248         * cppmain.c: Likewise.
249         * cpphash.c: Remove #if 0 blocks.
250         * cppinit.c: Remove #if 0 blocks, and the -lint option.
251         * cpplib.c: Remove #if 0 blocks and code referencing
252         pcp_inside_if or for_lint.  Remove duplicate error message.
253         Fix error messages for #else after #else or #elif.  Reformat.
254         Remove archaic TODO list.
255         * cpplib.h: Remove pcp_inside_if and for_lint flags.
256
257 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
258
259         * i386/osf1elf.h: Add missing backslash to multiline string.
260
261 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
262
263         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
264
265 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
266
267         * Makefile.in (c-common.o): Depend on $(EXPR_H).
268
269         * c-common.c: Include expr.h.
270
271         * c-pragma.c (mark_align_stack): Add prototype.
272
273         * caller-save.c (add_stored_regs): Likewise.
274
275         * combine.c (record_promoted_value): Likewise.
276
277         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
278         Likewise.
279
280         * cppinit.c (new_pending_define): Likewise.
281
282         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
283
284         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
285         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
286         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
287         class_scope_p): Likewise.
288
289         * dwarf2out.h (dwarf2out_set_demangle_name_func,
290         dwarf2out_add_library_unit_info): Likewise.
291
292         * ggc.h (ggc_page_print_statistics): Likewise.
293
294         * haifa-sched.c (propagate_deps): Likewise.
295
296         * reg-stack.c (next_flags_user, record_label_references): Likewise.
297
298         * rtl.h (set_stack_check_libfunc): Likewise.
299
300         * toplev.h (set_fatal_function): Likewise.
301
302         * toplev.c (set_fatal_function): Delete prototype.
303         
304         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
305         
306 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
307
308         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
309         (FUNC_END): Likewise.
310
311 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
312
313         * caller-save.c: Include tm_p.h.
314
315 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
316
317         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
318
319 2000-02-04  Neil Booth  <NeilB@earthling.net>
320
321         * cccp.c (main): Check 'dir' for a NULL pointer before passing
322         it to strcmp.
323
324 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
325
326         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
327         * genflags.c: Use the max_operand_1 logic from genemit.c to
328         calculate how many arguments gen_insn prototypes have.  Remove
329         NO_MD_PROTOTYPES ifdefs from the generated file.
330         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
331         file.  Cast gen_insn initializers to insn_gen_fn.
332         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
333         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
334
335 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
336
337         * fixinc/Makefile.in (HDR): Add machname.h.
338         (clean): Likewise.
339
340 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
341
342         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
343         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
344         (c4x_cpu_version): Ditto.
345         * config/c4x/c4x-protos.h: ... here.
346
347 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
348
349         * dwarf2out.c (add_abstract_origin_attribute): Don't call
350         gen_abstract_function on our context if we're a nested function.
351
352 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
353
354         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
355         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
356
357 2000-02-04  Bruce Korb  <bkorb@gnu.org>
358
359         * fixinc/genfixes(machname.h):
360         Move the functionality from gen-machine.h into this file.
361         UNdef MN_NAME_PAT if there are no names to change.
362         Also, be a little kinder when AutoGen is not present.
363
364         * fixinc/Makefile.in(machname.h):
365         Change the generation rule to use genfixes.
366
367         * fixinc/fixfixes.c(machine_name):
368         machine_name_fix's functionality now dependent upon whether
369         MN_NAME_PAT is defined.
370
371         * fixinc/fixtests.c(machine_name):
372         ditto.
373
374         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
375         of MN_NAME_PAT.
376
377         * fixinc/fixlib.h(mn_get_regexps):
378         ditto
379
380         * fixinc/gen-machine.h: DELETED
381
382 2000-02-04  Jan Hubicka  <jh@suse.cz>
383             Richard Henderson  <rth@cygnus.com>
384
385         * i386.c (SAVE_REGS_FIRST): Remove.
386         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
387         (ix86_compute_frame_size): Likewise.
388         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
389         (ix86_emit_restore_regs): Remove.
390         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
391         when a frame pointer is in use.
392         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
393         instead of pop to restore a register when profitable; emit leave
394         when profitable.
395         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
396         as a TYPE_LEA insn.
397         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
398         * i386.md (prologue_allocate_stack): Remove.
399         (epilogue_deallocate_stack): Remove.
400         (pro_epilogue_adjust_stack): New.
401
402 2000-02-04  Richard Henderson  <rth@cygnus.com>
403
404         * function.c (diddle_return_value): Rework to use a callback function.
405         Use current_function_return_rtx if it's been set up.
406         (do_clobber_return_reg, clobber_return_register): New.
407         (do_use_return_reg, use_return_register): New.
408         (expand_function_end): Use them.
409         * stmt.c (expand_null_return): Likewise.
410         * function.h: Declare them.
411         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
412         (mark_reg): Change arguments as appropriate for callback.
413         * integrate.c (expand_inline_function): Revert 19 Jan change.
414
415 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
416
417         * tm.texi (Values in Registers): Fix typo: "fo" "for".
418         (Misc): Say the scheduler, not the Haifa scheduler.
419
420 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
421
422         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
423         when in_mem is set.  Update all callers.
424
425 2000-02-04  Richard Henderson  <rth@cygnus.com>
426
427         * i386/openbsd.h (INT_ASM_OP): Define.
428
429 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
430
431         * tm.texi: Fix various typos.
432
433 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
434
435         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
436         (MD_STARTFILE_PREFIX_1): New macro.
437
438 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
439
440         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
441         destination when needed.
442         (strmovsi, strsetsi): New expander.
443         (strmovsi_1, strsetsi_1): New pattern.
444         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
445         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
446         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
447         * invoke.texi (align-stringops, inline-all-stringops): Document.
448
449 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
450
451         * i386/netbsd.h (INT_ASM_OP): Define.
452
453 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
454
455         * cpplib.h (cpp_reader): Add new flag, no_directives.
456         * cpphash.c (macarg): Set it.
457         * cpplib.c (handle_directive): If no_directives is on and we
458         find a directive, issue an error and discard the line.
459
460 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
461
462         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
463         FP constants.  Add ! TARGET_FPU check for FP constants.
464
465 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
466         
467         * flow.c (find_basic_blocks): Don't kill label_value_list
468         here.
469         (cleanup_cfg): Kill it here.
470
471 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
472
473         * expr.c (store_field): Ensure ALIGN is no stricter than the
474         alignment of EXP.
475
476 2000-02-02  Richard Henderson  <rth@cygnus.com>
477
478         * jump.c (delete_insn): Partially revert 19 Jan change; 
479         don't convert unused code labels to notes at -O0.
480
481 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
482
483         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
484         split_all_insns to recreate REG_LABEL notes for flow2 pass.
485
486 2000-02-01  Richard Henderson  <rth@cygnus.com>
487
488         * i386.c (general_no_elim_operand): New.
489         (nonmemory_no_elim_operand): New.
490         (ix86_expand_move): Copy eliminable operands before a push.
491         * i386-protos.h: Declare new functions.
492         * i386.h (CAN_ELIMINATE): Simplify.
493         (PREDICATE_CODES): Update.
494         * i386.md (push insns): Don't allow eliminable register operands.
495
496 2000-02-01  Richard Henderson  <rth@cygnus.com>
497
498         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
499         replace BLKmode with DECL_RTL's mode.
500
501 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
502
503         * frame.c (find_fde): Convert for loop to do-while so compiler
504         sees it's always executed at least once.
505         * libgcc2.c (BBINBUFSIZE): Kill.
506         (__bb_init_prg): Use fgets.
507         (__bb_exit_trace_func): Don't paste strings.
508         * unroll.c (unroll_loop): Initialize unroll_type, not
509         unroll_number, and tweak logic to match.
510
511         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
512         all failure paths.
513         (ix86_flags_dependant): Likewise.  Disentangle control flow.
514         (ix86_sched_reorder): Break guts out to
515         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
516         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
517         any possible use.
518
519         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
520         use string concatenation.  Don't save and restore esi.
521
522         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
523         (machname.h): Remove script to separate file.  Use two-step
524         sequence so target is not created if script fails.
525         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
526         identifiers are defined.
527         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
528         an empty string, machine_name doesn't need to do anything at
529         all.
530         (is_cxx_header): Add more cases to regexp.
531         * fixinc/fixlib.h: Update prototype.
532         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
533         mn_get_regexps.
534         * fixinc/fixincl.c: Define NO_BOGOSITY.
535
536         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
537         (hp_sysfile): Add missing comma.
538         (math_exception): Put the wrapper ifdefs at the beginning and
539         the end of the file.
540         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
541
542 2000-02-01  Richard Henderson  <rth@cygnus.com>
543
544         * sparc.c (fp_zero_operand): Turn into a normal predicate.
545         Use CONST0_RTX.  Update all callers.
546         * sparc.h, sparc-protos.h: Update accordingly.
547         * sparc.md (fp mov insns): Use fp_zero_operand directly
548         where applicable.
549
550 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
551
552         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
553         example.
554
555 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
556
557         * Makefile.in (specs.ready): New target.
558         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
559
560 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
561
562         * fixinc.irix: Use unique filenames for writing into /tmp,
563         * fixinc.ptx: Likewise.
564         * fixinc.sco: Likewise.
565         * fixinc.svr4: Likewise.
566         * fixinc.winnt: Likewise.
567
568 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
569
570         * tsystem.h: New file.
571
572         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
573         s-crtS): Depend on tsystem.h.
574
575         * crtstuff.c: Include tsystem.h.
576         * frame.c: Likewise.
577         * libgcc2.c: Likewise.
578
579 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
580
581         * builtins.c (expand_builtin_memset): Expand for variable sized
582         lengths too.
583
584 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
585
586         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
587         on ABI.
588
589 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
590
591         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
592
593         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
594
595 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
596
597         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
598         case 3->2 combining (combining with splitting) in which 2 is CC0
599         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
600         checked at the begining of the function with the aid of calling 
601         function 'can_combine_p'. 
602
603 2000-01-31  Dave Brolley  <brolley@redhat.com>
604
605         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
606
607 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
608
609         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
610         new label.
611
612 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
613
614         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
615         
616         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
617         PROTO -> PARAMS.
618
619 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
620
621         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
622         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
623         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
624         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
625         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
626         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
627         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
628         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
629         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
630         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
631         
632         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
633         Add %(cpp_cpu) to CPP_SPEC.
634
635         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
636         Add %(cc1_cpu) to CC1_SPEC.
637
638 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
639
640         * c-decl.c (c_decode_option): Accept optional numeric argument to
641         -Wformat and set warn_format.
642         * c-common.c: Don't emit warning about non-constant printf format
643         string unless warn_format > 1.
644
645 2000-01-30  Richard Henderson  <rth@cygnus.com>
646
647         * alpha.md (return_internal): Allow after reload only.
648
649 2000-01-30  Richard Henderson  <rth@cygnus.com>
650
651         * i386.c (ix86_compute_frame_size): Omit padding1 if the
652         local frame size is zero.
653
654 2000-01-30  Richard Henderson  <rth@cygnus.com>
655
656         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
657         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
658         * alpha.md (return): Turn into an expander.
659         (return_internal): Don't use $26.
660         (epilogue): Emit the return insn.
661
662 2000-01-30  Richard Henderson  <rth@cygnus.com>
663
664         * alpha.md (negtf2, abstf2): Fix word order thinko.
665         (extendsftf2): New.
666         (trunctfsf2): Avoid intermediate rounding errors.
667
668 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
669
670         * cppfiles.c (find_position): Drop 'colp' argument, return the
671         new line base.
672         (read_and_prescan): Adjust to match.  Don't ever manipulate
673         line or line_base except via find_position.
674
675 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
676
677         * c-parse.in: Apply Ulrich's changes from c-parse.y.
678         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
679         Regenerate.
680
681 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
682
683         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
684         just print "<command line>".  If 'filename' is null or an
685         empty string, print "<stdin>" for the filename.
686         * cpplib.c (do_define): Don't print the 'location of the
687         previous definition' message if we're still parsing the
688         command line.
689         (cpp_pedwarn_with_file_and_line): Always call
690         cpp_file_line_for_message.
691
692 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
693
694         * flow.c (mark_regs_live_at_end): Fix typo.
695
696 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
697
698         * c-common.c: Adjust variable names, comments, help strings to c99.
699         * c-lex.c: Likewise.
700         * c-parse.y: Likewise.
701         * c-tree.h: Likewise.
702         * cccp.c: Likewise.
703         * cpplib.h: Likewise.
704         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
705         * cppinit.c: Likewise.
706
707 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
708
709         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
710         * c4x.c: Define the optab rtx values.
711         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
712         (c4x_emit_libcall): Use new optab rtx values.
713         (c4x_emit_libcall3): Likewise.
714         (c4x_emit_libcall_mulhi): Likewise.
715         * c4x-protos.h: Add prototypes for optab rtx values and change
716         prototypes for above c4x_emit_libcall functions.
717
718 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
719
720         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
721         syntax is used.
722         (c4x_function_prologue): Use regnames intead of float_reg_names when
723         TI syntax is used.
724         (c4x_function_epilogue): Likewise.
725         (c4x_print_operand): Likewise.
726         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
727         * c4x.md (set_high): Disable for TARGET_TI.
728
729 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
730
731         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
732         of framepointer + constant to ADDR_REGS class.
733         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
734         * c4x.c (std_or_reg_operand): New function.
735         * c4x-protos.h (std_or_reg_operand): Prototype it.
736
737 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
738
739         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
740                 object names as libgcc2.c.
741         * libgcc.S: Use newly defined names.
742
743 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
744         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
745         function.
746         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
747         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
748         (FLOW_LOOP_LAST_BLOCK): Likewise.
749
750 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
751
752         * basic-block.h (struct loop): New fields 'first' and 'last'.
753         * flow.c (flow_loops_find): Compute loop->first and loop->last.
754         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
755         and loop->last to check for NOTE_INSN_LOOP_END.
756
757 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
758
759         * predict.c (estimate_probability): Use the new FIRST and LAST fields
760         of the loop descriptor rather than HEADER and LATCH. Also added
761         missing break statements as well making some coding style modifications
762         as suggested by Michael Hayes.
763
764 2000-01-28  Richard Henderson  <rth@cygnus.com>
765
766         * flow.c (find_basic_blocks): Remove do_cleanup argument.
767         Break out that code ...
768         (cleanup_cfg): ... here.
769         (commit_one_edge_insertion): Detect a return instruction being
770         emitted to an edge.  Emit a barrier following; clear fallthru.
771         (commit_edge_insertions): Verify CFG consistency.
772         * function.c (expand_function_start): Kill unused variable.
773         (expand_function_end): Likewise.
774         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
775         to insert the epilogue.
776
777         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
778         (delete_null_pointer_checks): Likewise.
779         * output.h: Likewise.
780         * reg-stack.c (reg_to_stack): Likewise.
781         * toplev.c (rest_of_compilation): Likewise.  Run
782         thread_prologue_and_epilogue_insns after rebuilding the CFG.
783
784 2000-01-28  Richard Henderson  <rth@cygnus.com>
785
786         * Makefile.in (flow.o): Revert 24 Jan change.
787         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
788         FUNCTION_VALUE result to DECL_RESULT's mode.
789
790         * haifa-sched.c (schedule_insns): Don't recompute reg info
791         after reload.
792
793 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
794
795         * configure.in: Make --enable-cpplib the default.
796         * configure: Regenerate.
797         * gcc.dg/990119-1.c: No longer expected to fail.
798
799 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
800
801         * jump.c (jump_optimize_1): Delete an optimization that is also done
802         by merge_blocks in flow.
803
804 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
805
806         * diagnostic.c (build_message_string, output_printf,
807         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
808         (build_location_prefix): Fix non-literal format string.
809
810 2000-01-27  Richard Henderson  <rth@cygnus.com>
811
812         * alpha.md (trunctfsf2): New.
813
814 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
815
816         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
817
818 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
819
820         * cppinit.c (cpp_handle_option): Recognize C++ comments under
821         -std=gnu89.
822         * cpplib.c (skip_block_comment, skip_line_comment): Split code
823         out of...
824         (skip_comment) ... here.  Permit C++ comments in system
825         headers always.  Warn about C++ comments in user code under
826         -std=gnu89 -pedantic.
827         (copy_comment): Use skip_comment.
828         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
829         return EOF.
830         (consider_directive_while_skipping, do_else, do_endif): Call
831         validate_else unconditionally.
832         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
833         text after the conditional in a system header.
834         * cpplib.h (struct cpp_buffer): Add flag
835         warned_cplusplus_comments.
836
837 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
838
839         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
840         Use unshare_all_rtl_1.
841         (unshare_all_rtl_again): New function.
842         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
843
844         * function.c (purge_addressof_1): Use unshare_all_rtl_again
845         rather than resetting the 'used' flags ourself.
846
847         * toplev.c (rest_of_compilation): Add current_function_decl
848         to the unshare_all_rtl call.
849         * tree.h: Prototype unshare_all_rtl.
850         * rtl.h: Prototype unshare_all_rtl_again here.
851
852 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
853
854         * genoutput.c (output_prologue): Include ggc.h in generated
855         files.
856         * Makefile.in (insn-output.o): Depends on ggc.h.
857
858 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
859             Hans-Peter Nilsson  <hp@bitrange.com>
860
861         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
862         Remove redundant include of xm-ns32k.h.
863         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
864         Remove redundant include of xm-ns32k.h.
865         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
866         Remove redundant include of xm-ns32k.h.
867         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
868
869         * ns32k/ns32k.h: Update comment on multiply-add instructions.
870         (TARGET_SWITCHES): Add documentation strings.
871         (DWARF_FRAME_REGNUM): Override default definition.
872         (REG_CLASS_CONTENTS): Add comments.
873         (SUBSET_P): Format to reduce line length.
874         (SMALL_REGISTER_CLASSES): Make a run time option.
875         (GO_IF_NONINDEXED_ADDRESS): Reformat.
876         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
877         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
878         (regclass_map): fix typo in comment.
879         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
880         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
881         (trace, reg_or_mem_operand): Delete, unused function.
882         (calc_address_cost): Small offsets are cheaper than large ones.
883         (expand_block_move): Generate more efficient code when bytes is a
884         known at compile time.
885         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
886         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
887         instead of reg_or_mem_operand.
888
889         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
890         not general_operand.  Similarly use "=rm" or stricter, not "=g".
891         For input operands, use stricter constraints than "g" if not
892         general_operand.  Similarly use stricter predicate than
893         "general_operand" when stricter constraints than "g" are present,
894         except for matching constraints.
895         (movstrsi): Use "memory_operand" for operands 0 and 1.
896         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
897         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
898         not reg_or_mem_operand.
899         (udivmoddisi4): Ditto.
900         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
901         Use nonimmediate_operand for operand 3, not register_operand.
902         (udivmoddiqi4_internal): Use register_operand for operand 1, not
903         reg_or_mem_operand.
904
905 2000-01-27  Fred Fish  <fnf@be.com>
906
907         * gthr-posix.h: Fix typo; compatibily -> compatibility.
908         * gthr-single.h: Likewise.
909         * gthr-solaris.h: Likewise.
910         * gthr-vxworks.h: Likewise.
911         * gthr-win32.h: Likewise.
912         * gthr.h: Likewise.
913
914 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
915
916         * cppinit.c: Add " (cpplib)" to end of string printed by
917         -v / --version.
918
919 2000-01-27  Richard Henderson  <rth@cygnus.com>
920
921         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
922         testing for a signed comparison.
923         (alpha_emit_floatuns): New.
924         * alpha-protos.h: Declare it.
925         * alpha.md (floatunsdisf2, floatunsdidf2): New.
926         (extendsfdf2): Tidy.
927
928 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
929
930         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
931         no -g option specifying debugging format, default to -gstabs+.
932
933 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
934
935         * calls.c (special_function_p): New argument fork_or_exec.
936         (expand_call): When profile_arc_flag is set and the function
937         is in the fork_or_exec group, call __bb_fork_func first.
938         * libgcc2.c, _bb module (__bb_fork_func): New function.
939         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
940         output file.
941         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
942         * tree.h (special_function_p): Update prototype.
943
944 2000-01-26  Richard Henderson  <rth@cygnus.com>
945
946         * alpha.c (alpha_split_tfmode_pair): New.
947         * alpha-protos.h: Declare it.
948         * alpha.md (abstf2, negtf2): New.
949         (movtf insn): Add input G constraint.
950         (movtf splitter): Use alpha_split_tfmode_pair.
951
952 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
953
954         * i386/cygwin.h: PROTO -> PARAMS.
955
956 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
957
958         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
959         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
960         using _Qp_cmp/_Q_cmp and testing the return value.
961         (print_operand): Call reverse_condition_maybe_unordered if
962         we are handling CCFPmode or CCFPEmode.
963         Handle ORDERED, UN* and LTGT comparisons.
964         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
965         if not TARGET_HARD_QUAD.
966         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
967         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
968         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
969         Adjust gen_b* calls so that they reflect return comparison of
970         sparc_emit_float_lib_cmp.
971
972 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
973
974         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
975         incoming operands array is large enough for one more operand.
976         (alpha_emit_xfloating_arith): Likewise.
977
978 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
979
980         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
981         file with one line and no trailing newline.
982         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
983         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
984         checking if the match is on the line.
985         * fixinc/gnu-regex.c: Provide regerror not __regerror.
986
987 2000-01-25  Richard Henderson  <rth@cygnus.com>
988
989         * sparc.c (output_cbranch): Fix accidental squashing of the
990         fp branch pre-delay nop.
991
992 2000-01-25  Richard Henderson  <rth@cygnus.com>
993
994         * tree.def (UNNE_EXPR): Remove.
995         * c-typeck.c (build_binary_op): Don't handle it.
996         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
997
998         * rtl.def (UNNE): Remove.
999         (LTGT): Add.
1000         * jump.c (reverse_condition): Update accordingly.
1001         (swap_condition): Likewise.
1002         (comparison_dominates_p): Handle unordered comparisons.
1003         (reverse_condition_maybe_unordered): New.
1004         * rtl.h (reverse_condition_maybe_unordered): Declare.
1005
1006         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
1007         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
1008         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
1009         * sparc.md (bltgt): New.
1010
1011 2000-01-25  Nick Clifton  <nickc@redhat.com>
1012
1013         * emit-rtl.c (emit_insn): Only check machine class insns for
1014         improper emission of a RETURN.
1015
1016 2000-01-25  Richard Henderson  <rth@cygnus.com>
1017
1018         * Makefile.in (flow.o): Depend on $(EXPR_H).
1019         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
1020         duplicate the structure of diddle_return_value for keeping regs live.
1021
1022 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1023
1024         * loop.c (current_loop_info): Delete.
1025         (consec_sets_invariant_p): Add loop argument, update callers.
1026         (get_condition_for_loop): Likewise.
1027         (count_nonfixed_reads, update_giv_derive): Likewise.
1028         (simplify_giv_expr, general_induction_var): Likewise.
1029         (consec_sets_giv, recombine_givs): Likewise.
1030         (move_movables): Delete loop_start and loop_end arguments,
1031         add loop argument, and update callers.
1032         (find_mem_givs, check_final_value): Likewise.
1033         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
1034         (loop_invariant_p): Rename from invariant_p, add loop argument, and
1035         update callers.
1036         (basic_induction_var): Add loop argument, delete loop_level argument,
1037         and update callers.
1038         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
1039         add loop argument, and update callers.
1040         (find_splittable_regs, find_splittable_givs): Likewise.
1041         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
1042         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
1043         (biv_total_increment): Delete loop_start and loop_end arguments;
1044         update callers.
1045         (precondition_loop_p): Delete loop_start and loop_info arguments;
1046         update callers.
1047         * loop.h (get_condition_for_loop): Add loop argument.
1048         (biv_total_increment): Delete loop_start and loop_end arguments.
1049         (precondition_loop_p): Delete loop_start and loop_info arguments;
1050         add loop argument.
1051         (final_biv_value): Delete loop_start and loop_end arguments;
1052         add loop argument.
1053         (final_giv_value, back_branch_in_range_p): Likewise.
1054
1055 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
1056
1057         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
1058
1059 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
1060
1061         * Makefile.in (c-gperf.h) : Change the "See" pointer to
1062         point to the new "generated_files" doc.
1063
1064 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
1065
1066         * config/fp-bit.c (_unord_f2): Fix typo.
1067
1068 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
1069
1070         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
1071         c-typeck.c, objc/objc-act.c: Remove all references to obstack
1072         functions obsoleted by GC, such as push_obstacks_nochange,
1073         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
1074         and code which existed only to decide whether or not to call
1075         them.  Remove now-unused NESTED argument from start_function;
1076         all callers changed.  Do not change behavior based on ggc_p.
1077         The use of the ixp_obstack in c-iterate.c and the util_obstack
1078         in objc/objc-act.c remain; these are not obsoleted by garbage
1079         collection.
1080         * c-tree.h: Update prototype for start_function.
1081
1082         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
1083
1084 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
1085
1086         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
1087         mips16.
1088
1089 2000-01-25  Richard Henderson  <rth@cygnus.com>
1090
1091         * sparc-protos.h (select_cc_mode): Declare.
1092         * sparc.c (select_cc_mode): New.  Handle unordered compares.
1093         (output_cbranch): Always reverse via code change.  Handle
1094         unordered compares.  Factor tests and string updates.
1095         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
1096         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
1097         * sparc.md (bunordered, bordered): New.
1098         (bungt, bunlt, buneq, bunge, bunle): New.
1099
1100 2000-01-25  Richard Henderson  <rth@cygnus.com>
1101
1102         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
1103         * ggc-common.c (ggc_add_rtx_varray_root): New.
1104         (ggc_mark_rtx_varray): New.
1105         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
1106         functions down below ggc_mark_foo.
1107         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
1108
1109 2000-01-25  Richard Henderson  <rth@cygnus.com>
1110
1111         * alpha.c (secondary_reload_class): Don't allocate a secondary
1112         for integral mode memories into FLOAT_REGS.  Rearrange the more
1113         complicated memory expression inward.
1114
1115 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
1116
1117         * inclhack.def: Fixes to play nicer with FreeBSD, and
1118         corrections to comments.
1119         (cxx_unready): Add select expression.
1120         (irix_sockaddr): Add bypass expression.
1121         (machine_ansi_h_va_list): New fix.
1122         (stdio_va_list): No need to edit _BSD_VA_LIST_.
1123         Split out addition of "#include <stdarg.h>" to...
1124         (stdio_stdarg_h): ... here.
1125         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
1126         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
1127         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
1128         size_t.
1129         (ultrix_ifdef): Tighten up select expression.
1130
1131         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
1132         re_ct and max_mach to avoid use of shell.  Make printed names
1133         match names in inclhack.def.  Use static copyright date.
1134         Don't count c_test and test expressions as requiring regex_t
1135         slots.  Add some commentary.
1136         * inclhack.tpl: Do not include the 'This script contains N
1137         fixup scripts' line if PROGRAM is defined.  Use static
1138         copyright date.
1139
1140 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
1141
1142         * dwarf2out.c: include "varray.h", not dyn-string.h.
1143         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
1144         (addr_const_to_string, addr_to_string): Lose.
1145         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
1146         (struct dw_val_struct): val_addr is now an rtx.
1147         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
1148         (used_rtx_varray): New varray.
1149         (dwarf2out_init): Initialize it.
1150         (save_rtx): New fn.
1151         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
1152         addr_to_string.
1153         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
1154         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
1155         * Makefile.in (dwarf2out.o): Update dependencies.
1156
1157 2000-01-24  Richard Henderson  <rth@cygnus.com>
1158
1159         * i386.c (i386_dwarf_output_addr_const): New.
1160         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
1161
1162         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
1163         if defined.
1164         * dwarfout.c (output_mem_loc_descriptor): Likewise.
1165         * i386.c (i386_simplify_dwarf_addr): New.
1166         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
1167
1168 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
1169
1170         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
1171         TYPE_STUB_DECL is NULL.
1172
1173 2000-01-24  Richard Henderson  <rth@cygnus.com>
1174
1175         * builtins.c (expand_tree_builtin): Move ...
1176         * c-common.c (expand_tree_builtin): ... here.
1177
1178 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1179
1180         * loop.h (LOOP_INFO): New accessor macro.
1181         * basic-block.h (struct loop): Rename field `info' to `aux'.
1182         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
1183         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
1184         * unroll.c (loop_iterations, unroll_loop): Likewise.
1185
1186 2000-01-24  Christopher Faylor <cgf@cygnus.com>
1187
1188         * config/i386/t-cygwin: Accomodate new winsup directory layout
1189         when searching for include files.
1190
1191 2000-01-24  Richard Henderson  <rth@cygnus.com>
1192
1193         * rtl.def: Add unordered fp comparisions.
1194         * tree.def: Likewise.
1195         * tree.h: Add ISO C 9x unordered fp comparision builtins.
1196
1197         * builtins.c (expand_tree_builtin): New function.
1198         * c-typeck.c (build_function_call): Use it.
1199         (build_binary_op): Support unordered compares.
1200         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
1201
1202         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
1203         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
1204         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
1205         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
1206         * jump.c (reverse_condition): Don't abort for UNLE etc, but
1207         return UNKNOWN.
1208         (swap_condition): Handle unordered compares.
1209         (thread_jumps): Check can_reverse before reversing.
1210         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
1211         reversed for FP.
1212
1213         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
1214         setcc is present before acking for cmp_optab.  Update all callers.
1215         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
1216         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
1217         * expr.c (expand_expr): Likewise.  Support unordered compares.
1218         (do_jump, do_store_flag): Likewise.
1219         * expr.h (enum libfunc_index): Add unordered compares.
1220
1221         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
1222         (DPBIT_FUNCS): Add _unord_df.
1223         * config/fp-bit.c (_unord_f2): New.
1224         * fp-test.c (main): Try unordered compare builtins.
1225
1226         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
1227         * alpha.c (alpha_comparison_operator): Check mode properly.
1228         (alpha_swapped_comparison_operator): Likewise.
1229         (signed_comparison_operator): Likewise.
1230         (alpha_fp_comparison_operator): New.
1231         (alpha_emit_conditional_branch): Handle unordered compares.
1232         * alpha.h (PREDICATE_CODES): Update.
1233         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
1234         (bunordered, bordered): New.
1235
1236 2000-01-24  Richard Henderson  <rth@cygnus.com>
1237
1238         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
1239         * alpha.md (movtf): New expander, insn, and splitter.
1240
1241 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
1242
1243         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
1244         dead registers.
1245
1246 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
1247
1248         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
1249         (FIXED_REGISTERS, CALL_USED_REGISTERS,
1250          REG_ALLOC_ORDER): Add frame pointer
1251         (FRAME_POINTER_REGNUM): Set to 20
1252         (HARD_FRAME_POINTER_REGNUM): New macro.
1253         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
1254         to HARD_FRAME_POINTER.
1255         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
1256         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
1257         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
1258         (HI_REGISTER_NAMES): Add "frame".
1259         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
1260         (debug_reg): Handle FRAME_POINTER_REGNUM.
1261         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
1262         GENERAL_REGS and INDEX_REGS.
1263         * i386.c (SAVED_REGS_FIRST): new macro.
1264         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
1265         (ix86_decompose_address, memory_address_length): Likewise.
1266         (regclass_map): Add frame pointer.
1267         (call_insn_operand): Handle frame_pointer_rtx.
1268         (reg_no_sp_operand): Likewise.
1269         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
1270         (print_operand, legitimize_pic_address): Fix formating.
1271         (ix86_compute_frame_size): Make static, update prototype, new
1272         parameters padding1, padding2, use ix86_nsaved_regs, use
1273         stack_alignment_needed.
1274         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
1275         to HARD_FRAME_POINTER_REGNUM conversions.
1276         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
1277         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
1278         (print_reg): Abort on FRAME_POINTER_REGNUM
1279
1280 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
1281
1282         * i386.h (PREDICATE_CODES): Add aligned_operand.
1283         * i386.c (aligned_operand): New function.
1284         (ix86_aligned_p): Kill.
1285         * i386.md (movhi_1): Emit mov for aligned operands.
1286         (promoting peep2s): Use aligned_operand.
1287
1288 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
1289
1290         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
1291         expression to allow underscores in macro names.
1292         (fix_char_macro_defines): Increment scanning pointer.
1293
1294 2000-01-23  Richard Henderson  <rth@cygnus.com>
1295
1296         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
1297         * alpha/osf5.h: New file.
1298         * configure.in (alpha-*-osf5): Add it to tm_file.
1299
1300         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
1301
1302         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
1303         (alpha_emit_xfloating_cvt, function_arg): Declare.
1304         * alpha.c (alpha_emit_conditional_branch): Call
1305         alpha_emit_xfloating_compare for TFmode compares.
1306         (alpha_lookup_xfloating_lib_func): New.
1307         (alpha_compute_xfloating_mode_arg): New.
1308         (alpha_emit_xfloating_libcall): New.
1309         (alpha_emit_xfloating_arith): New.
1310         (alpha_emit_xfloating_compare): New.
1311         (alpha_emit_xfloating_cvt): New.
1312         (print_operand): Add default abort case.
1313         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
1314         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
1315         (BIGGEST_ALIGNMENT): Increase to 128 bits.
1316         (RETURN_IN_MEMORY): True for TF/TCmode.
1317         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
1318         (FUNCTION_ARG): Move to function_arg.
1319         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
1320         (ASM_OUTPUT_LONG_DOUBLE): New.
1321         (ASM_OUTPUT_DOUBLE): Always output bits.
1322         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
1323         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
1324         (extenddftf2, trunctfdf2): New.
1325
1326 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1327
1328         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
1329         * config/sparc/sol2.h: ... here.
1330
1331 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1332
1333         * basic-block.h (struct loops): New field `levels'.
1334         * flow.c (flow_loops_level_compute): Traverse all outer loops.
1335         (flow_loop_level_compute): Initialise level to 1.
1336         (flow_loops_find): Set loops->levels.
1337         (flow_loops_dump): Print loops->levels.
1338
1339 2000-01-23  Richard Henderson  <rth@cygnus.com>
1340
1341         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
1342         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
1343
1344 2000-01-23  Richard Henderson  <rth@cygnus.com>
1345
1346         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
1347         * i386.h (DBX_REGISTER_NUMBER): Use them.
1348         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
1349         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
1350         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
1351         * i386/sequent.h: Kill incorrect comment.
1352
1353 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
1354
1355         * ggc-page.c (struct page_entry): Make `context_depth' an
1356         `unsigned short'.
1357         (struct globals): Likewise.
1358
1359 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
1360
1361         * loop.c (check_dbra_loop): When checking a loop for
1362         reversability, check the source of any stores to ensure
1363         they don't depend on an initial value.
1364
1365 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1366
1367         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
1368
1369 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
1370
1371         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
1372         'pz_scan' into scope of entire function.  Only affects
1373         compiles with -DDEBUG.
1374
1375 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
1376
1377         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
1378         section naming to that prior to 2000-01-07 patch.
1379         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
1380         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
1381         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
1382         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
1383         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
1384
1385 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
1386
1387         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
1388         constant.
1389
1390 2000-01-21  Jim Wilson  <wilson@cygnus.com>
1391
1392         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
1393         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
1394
1395 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
1396
1397         * cpphash.c (change_newlines): Delete function.
1398         (struct argdata): Delete 'newlines' and 'use_count' fields.
1399         (macroexpand): Remove code referencing those fields.
1400
1401 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1402
1403         * loop.c (loops_info): New variable.
1404         (loop_optimize): Allocate loops->array and free it on exit.
1405         Allocate memory for loops_info and assign to each loop,
1406         replacing alloca.
1407         (find_and_verify_loops): Do not allocate loops->array.
1408
1409 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
1410
1411         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
1412
1413 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
1414
1415         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
1416         pseudos if expanded after first flow.
1417         (movdi_pic_label_ref): Likewise.
1418
1419 2000-01-20  Richard Henderson  <rth@cygnus.com>
1420
1421         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
1422
1423 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
1424
1425         * Makefile.in (fixinc.sh): Depend on specs.
1426         * fixinc/Makefile.in: Add rule to create machname.h.
1427         (fixlib.o): Depend on machname.h.
1428         * fixinc/fixtests.c (machine_name): New test.
1429         * fixinc/fixfixes.c (machine_name): New fix.
1430         * fixinc/fixlib.c (mn_get_regexps): New helper function for
1431         the machine_name test and fix.
1432         * fixinc/fixlib.h: Prototype it.
1433         * fixinc/inclhack.def (machine_name): Use the C test and fix.
1434         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
1435
1436         * gcc.c (do_spec_1) [case P]: Take care not to create
1437         identifiers with three leading or trailing underscores.
1438
1439         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
1440         (fixincl): Don't specify libraries twice on link line.
1441         (gnu-regex.o): Remove special rule.
1442         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
1443         defined by config.h.  Do not define _REGEX_RE_COMP.
1444         (regcomp): Allocate and initialize a fastmap.
1445         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
1446
1447 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
1448
1449         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
1450
1451 2000-01-19  Richard Henderson  <rth@cygnus.com>
1452
1453         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
1454         arguments with BB.  Update all callers.  Tidy line wrapping.
1455
1456 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
1457
1458         * emit-rtl.c (try_split): Return last_insn if we split the
1459         last_insn.
1460
1461 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
1462
1463         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
1464         (ix86_initial_elimination_offset): Declare.
1465         * i386.c (ix86_nsaved_regs): Break out from ...
1466         (ix86_can_use_return_insn_p): ... here.
1467         (ix86_emit_save_regs): Break out from ...
1468         (ix86_expand_prologue): ... here.
1469         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
1470         out from ...
1471         (ix86_expand_epilogue): ... here.
1472         (ix86_compute_frame_size): Make static, add prototype.
1473         (ix86_initial_elimination_offset): Break out from ...
1474         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
1475
1476 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1477
1478         * recog.h (OUT_FCN): Delete.
1479
1480         * vax.md: Call `get_insn_template' instead of OUT_FCN.
1481
1482 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1483
1484         * cppalloc.c: PROTO -> PARAMS.
1485         * cpperror.c: Likewise.
1486         * cppfiles.c: Likewise.
1487         * cpplib.c: Likewise.
1488         * cpplib.h: Likewise.
1489
1490         * config/arm/arm-protos.h: PROTO -> PARAMS.
1491         * config/arm/arm.c: Likewise.
1492         * config/c4x/c4x.c: Likewise.
1493         * config/fr30/fr30-protos.h: Likewise.
1494         * config/nextstep.c: Likewise.
1495         * config/pa/pa.c: Likewise.
1496         * config/pj/pj.c: Likewise.
1497         * config/rs6000/rs6000.c: Likewise.
1498         * config/v850/v850-protos.h: Likewise.
1499         * config/v850/v850.c: Likewise.
1500
1501 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1502
1503         * i370-protos.h: New file.
1504
1505         * i370.c: Include tm_p.h.  Fix compile time warnings.
1506
1507         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
1508         warnings.
1509
1510         * i370.md: Likewise.
1511
1512 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1513
1514         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
1515         (target_isinf, target_isnan, eisnan): Mark parameter with
1516         ATTRIBUTE_UNUSED.
1517         (eiisinf): Wrap in INFINITY.
1518         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
1519         (ibmtoe): Remove unused variable `rndsav'.
1520
1521 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1522
1523         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
1524         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
1525
1526 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
1527
1528         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
1529         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
1530         (fix_char_macro_defines, fix_char_macro_uses): New functions.
1531
1532         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
1533         Recognize Emacs mode markers also.
1534         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
1535         C++ comments in C++ headers.  Call is_cxx_header only if
1536         necessary.
1537
1538         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
1539         bypass for ncurses.
1540         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
1541         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
1542         ... these, which use the new C fixes.
1543         (math_exception): Escape literal '+' in bypass expression.
1544
1545         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
1546         Regenerate.
1547
1548 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
1549
1550         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
1551         inside the MEM.
1552
1553 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1554
1555         * loop.c (loop_optimize): Allocate loop_info structure for each loop
1556         prior to calling scan_loop.
1557
1558 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1559
1560         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
1561         (split_branches, calc_live_regs): Likewise.
1562
1563 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1564
1565         * sh.md (fpu_single, fp_mode): New attributes.
1566
1567 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1568
1569         * loop.c (current_loop_info): Renamed from loop_info_data
1570         and changed to a pointer.
1571         (loop_optimize): Allocate loop_info structure for each loop
1572         and initialise to zero.
1573         (scan_loop): Set current_loop_info.
1574
1575         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
1576         on iteration_var.
1577
1578 2000-01-19  Richard Henderson  <rth@cygnus.com>
1579
1580         * stupid.c: Die die die.
1581         * Makefile.in (OBJS): Remove stupid.o.
1582         (stupid.o): Likewise.
1583
1584         * except.c (emit_eh_context): Don't emit USEs for stupid.
1585         * explow.c (probe_stack_range): Likewise.
1586         * flags.h (obey_regdecls): Remove.
1587         * flow.c (find_basic_blocks): Don't run try_merge_blocks
1588         when not optimizing.
1589         (life_analysis): Limit data collection when not optimizing.
1590         (mark_regs_live_at_end): Always mark the return value registers.
1591         (mark_used_regs): Remove dummy RETURN case.
1592         (print_rtl_with_bb): Don't consult obey_regdecls.
1593         * function.c (use_variable, use_variable_after): Remove.
1594         (assign_parms): Consult optimize not obey_regdecls.
1595         (expand_function_start): Don't emit USEs for stupid.
1596         (expand_function_end): Likewise.
1597         * global.c (build_insn_chain): Export.
1598         * integrate.c (expand_inline_function): Kill return-value USE
1599         handling code.
1600         * jump.c (jump_optimize_1): Do simple jump optimizations and
1601         dead code elimination.
1602         (calculate_can_reach_end): Remove check_deleted argument.
1603         (delete_insn): Patch out insns even when not optimizing.
1604         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
1605         * rtl.h (use_variable, use_variable_after): Remove declarations.
1606         (build_insn_chain): Declare.
1607         * stmt.c (expand_value_return): Don't emit USEs for stupid.
1608         (expand_end_bindings): Likewise.
1609         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
1610         * toplev.c (obey_regdecls): Remove.
1611         (rest_of_compilation): Don't set it.  Kill stupid in favour of
1612         flow1, local-alloc, and reload.
1613         (main): Don't set obey_regdecls.
1614
1615         * config/nextstep.c (handle_pragma): Likewise.
1616
1617         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
1618
1619         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
1620
1621 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1622
1623         * alpha-protos.h: PROTO -> PARAMS.
1624         * alpha.c: Likewise.
1625         * elf.h: Likewise.
1626         * h8300.c: Likewise.
1627         * i386-protos.h: Likewise.
1628         * i386.c: Likewise.
1629         * m32r-protos.h: Likewise.
1630         * m32r.c: Likewise.
1631         * mips.c: Likewise.
1632         * mips.md: Likewise.
1633         * gmon-sol2.c: Likewise.
1634         * sparc.c: Likewise.
1635
1636 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1637
1638         * ns32k-protos.h: New file.
1639
1640         * ns32k.c: Fix compile time warnings.
1641
1642         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
1643         warnings.
1644
1645         * ns32k.md: Likewise.
1646
1647 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1648
1649         * vax-protos.h: New file.
1650
1651         * vax.c: Fix compile time warnings.
1652
1653         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
1654         warnings.
1655
1656         * vax.md: Likewise.
1657
1658         * vaxv.md: Likewise.
1659
1660 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1661
1662         * romp-protos.h: New file.
1663
1664         * romp.c: Fix compile time warnings.
1665
1666         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
1667         warnings.
1668
1669         * romp.md: Likewise.
1670
1671 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1672
1673         * we32k-protos.h: New file.
1674
1675         * we32k.c: Fix compile time warnings.
1676
1677         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
1678         warnings.
1679
1680 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1681
1682         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
1683
1684         * except.c (eh_regs): Likewise.
1685
1686         * final.c (output_operand): Likewise.
1687
1688         * fold-const.c (target_isinf, target_isnan): Likewise.
1689
1690 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
1691
1692         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
1693         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
1694
1695         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
1696         when optimize_size.
1697         (clrstrsi): Rewrite.
1698         (strsethi, strsetqi): New expanders.
1699         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
1700         (cmpstrsi): Emit compare insn before cmpstrsi_1
1701         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
1702         (strlensi_1): Likewise.
1703         (cmpstrsi_1): Likewise; do not output compare.
1704         (strlen expander): Do not unroll when optimizing for size.
1705         (*subsi3_carry): Rename to subsi3_carry
1706         (addqi3_cc): New pattern.
1707         * i386.h (processor_costs): Add move_ratio field.
1708         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
1709         * i386.c (*_cost): Set move_ratio.
1710         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
1711         (x86_expand_strlensi_1): Rewrite the main loop.
1712
1713 2000-01-17  Richard Henderson  <rth@cygnus.com>
1714
1715         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
1716         * cse.c (find_comparison_args, fold_rtx): Likewise.
1717         * integrate.c (subst_constants): Likewise.
1718         * loop.c (get_condition): Likewise.
1719
1720         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
1721
1722         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
1723
1724 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1725
1726         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
1727         (RESTORE_WARN_FLAGS): Unpack it.
1728         Change semantic type of extension to ttype.
1729         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
1730         * c-parse.y, c-parse.c, objc/objc-parse.y,
1731         objc/objc-parse.c: Regenerate.
1732
1733 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
1734
1735         * fixinc/fixlib.c: Add copyright notice.
1736         (compile_re): New function.
1737         * fixinc/fixlib.h: Prototype compile_re.
1738
1739         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
1740         Use compile_re to compile regular expressions.
1741
1742         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
1743         where the pattern matched.
1744
1745         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
1746         use 'replace'.
1747         (ultrix_ansi_compat): Likewise.
1748         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
1749         add egrep test.
1750         (interactv_add2, interactv_add3): Delete.
1751         (x11_sprintf): Don't use filename glob.
1752         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
1753         Regenerate.
1754
1755 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1756
1757         * print-rtl.c: PROTO -> PARAMS.
1758         * real.c: Likewise.
1759         * reg-stack.c: Likewise.
1760         * resource.c: Likewise.
1761         * sdbout.h: Likewise.
1762         * simplify-rtx.c: Likewise.
1763         * stor-layout.c: Likewise.
1764         * stupid.c: Likewise.
1765         * xcoffout.c: Likewise.
1766         * xcoffout.h: Likewise.
1767
1768 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1769
1770         * toplev.c: PROTO -> PARAMS.
1771         * toplev.h: Likewise.
1772         * tree.c: Likewise.
1773         * tree.h: Likewise.
1774         * unroll.c: Likewise.
1775         * varasm.c: Likewise.
1776         * varray.c: Likewise.
1777         * varray.h: Likewise.
1778
1779 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1780
1781         * reload.c: PROTO -> PARAMS.
1782         * reload.h: Likewise.
1783         * reload1.c: Likewise.
1784         * reorg.c: Likewise.
1785         * resource.h: Likewise.
1786         * rtl.c: Likewise.
1787         * rtl.h: Likewise.
1788         * rtlanal.c: Likewise.
1789         * sbitmap.h: Likewise.
1790         * sdbout.c: Likewise.
1791         * stack.h: Likewise.
1792         * stmt.c: Likewise.
1793         * system.h: Likewise.
1794
1795 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1796
1797         * machmode.h: PROTO -> PARAMS.
1798         * mbchar.h: Likewise.
1799         * mips-tdump.c: Likewise.
1800         * mips-tfile.c: Likewise.
1801         * optabs.c: Likewise.
1802         * output.h: Likewise.
1803         * prefix.c: Likewise.
1804         * profile.c: Likewise.
1805         * protoize.c: Likewise.
1806         * real.h: Likewise.
1807         * recog.c: Likewise.
1808         * recog.h: Likewise.
1809         * regclass.c: Likewise.
1810         * regmove.c: Likewise.
1811         * regs.h: Likewise.
1812
1813 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1814
1815         * ggc-common.c: PROTO -> PARAMS.
1816         * ggc-page.c: Likewise.
1817         * ggc-simple.c: Likewise.
1818         * ggc.h: Likewise.
1819         * global.c: Likewise.
1820         * graph.c: Likewise.
1821         * gthr-win32.h: Likewise.
1822         * haifa-sched.c: Likewise.
1823         * halfpic.h: Likewise.
1824         * integrate.c: Likewise.
1825         * integrate.h: Likewise.
1826         * jump.c: Likewise.
1827         * lcm.c: Likewise.
1828         * local-alloc.c: Likewise.
1829         * loop.c: Likewise.
1830         * loop.h: Likewise.
1831
1832 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1833
1834         * genattr.c: PROTO -> PARAMS.
1835         * genattrtab.c: Likewise.
1836         * gencheck.c: Likewise.
1837         * gencodes.c: Likewise.
1838         * genconfig.c: Likewise.
1839         * genemit.c: Likewise.
1840         * genextract.c: Likewise.
1841         * genflags.c: Likewise.
1842         * gengenrtl.c: Likewise.
1843         * genopinit.c: Likewise.
1844         * genoutput.c: Likewise.
1845         * genpeep.c: Likewise.
1846         * genrecog.c: Likewise.
1847
1848 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
1849
1850         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
1851
1852 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1853
1854         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
1855         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
1856         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
1857         * configure, config.in: Rebuilt.
1858
1859 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
1860
1861         * config/i386/i386.md: Add peephole to merge successive stack
1862         adjusts.
1863
1864 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
1865
1866         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
1867         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
1868         when walking backwards to find all the parameter loads when
1869         the basic block ends in a call.
1870
1871 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1872
1873         * loop.c (this_loop_info): Delete.
1874         (uid_loop): Add in place of uid_loop_num.  All uses updated.
1875         (loop_number_exit_count): Delete and replace with entry in loop
1876         structure.  All uses updated.
1877         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
1878         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
1879         (loop_outer_loop): Likewise.
1880         (loop_invalid, loop_number_exit_labels): Likewise.
1881         (loop_used_count_register): Delete and replace with entry in
1882         loop_info structure.
1883         (find_and_verify_loops): Add loops argument.
1884         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
1885         loop_end, etc. arguments with loop structure pointer.  All callers
1886         changed.
1887         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
1888         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
1889         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
1890         (insert_bct): Likewise.
1891         (basic_induction_var): New argument level.
1892         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
1893         vtop, and cont.  Add used_count_register.
1894         (uid_loop): Delete declaration.
1895         (loop_number_exit_count): Likewise.
1896         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
1897         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
1898         (loop_outer_loop, loop_used_count_register): Likewise.
1899         (loop_invalid, loop_number_exit_labels): Likewise.
1900         (unroll_loop): Replace loop_start and loop_end arguments
1901         with loop structure pointer.
1902         (loop_precondition_p, loop_iterations): Likewise.
1903         Include basic-block.h.
1904         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
1905         with loop structure pointer.
1906         (loop_precondition_p, loop_iterations): Likewise.
1907         * basic-block.h (struct loop): New entries vtop, cont,
1908         cont_dominator, start, end, top, scan_start, exit_labels,
1909         exit_count.
1910         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
1911
1912 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1913
1914         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
1915
1916 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
1917
1918         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
1919
1920 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1921
1922         * pdp11-protos.h: New file.
1923
1924         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
1925         time warnings.
1926
1927         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
1928         warnings.
1929
1930         * pdp11.md: Likewise.
1931
1932         * 2bsd.h: Likewise.
1933
1934 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1935
1936         * mn10300-protos.h: New file.
1937
1938         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
1939         time warnings.
1940
1941         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
1942         warnings.
1943
1944         * mn10300.md: Likewise.
1945
1946 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1947
1948         * mn10200-protos.h: New file.
1949
1950         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
1951         time warnings.
1952
1953         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
1954         warnings.
1955
1956         * mn10200.md: Likewise.
1957
1958 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1959
1960         * h8300-protos.h: New file.
1961
1962         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
1963         time warnings.
1964
1965         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
1966         warnings.
1967
1968         * h8300.md: Likewise.
1969
1970 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1971
1972         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
1973         (asm_emit_uninitialised): Likewise.
1974
1975 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
1976
1977         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
1978         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
1979
1980 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
1981
1982         * config/mips/mips.c (override_options): Don't turn on extra
1983         alignment for mips16.
1984
1985 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
1986
1987         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
1988         eabi, and make sure queued POSTINCREMENT rtl is emitted at
1989         the right point.
1990
1991 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
1992
1993         * builtins.c (PAD_VARARGS_DOWN): Define.
1994         (std_expand_builtin_va_arg): Use the above macro.
1995         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
1996         * tm.texi (Register Arguments): Document the above macro.
1997
1998 2000-01-14  Nick Clifton  <nickc@cygnus.com>
1999
2000         * emit-rtl.c (emit_insn): If checking is enabled, make sure
2001         that this function has not been used to emit a jump
2002         instruction.
2003
2004         * jump.c (return_jump_1): Cope with being passed a null rtx.
2005
2006 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2007
2008         * eh-common.h: PROTO -> PARAMS.
2009         * emit-rtl.c: Likewise.
2010         * errors.c: Likewise.
2011         * errors.h: Likewise.
2012         * except.c: Likewise.
2013         * except.h: Likewise.
2014         * explow.c: Likewise.
2015         * expmed.c: Likewise.
2016         * expr.c: Likewise.
2017         * expr.h: Likewise.
2018         * final.c: Likewise.
2019         * fix-header.c: Likewise.
2020         * flow.c: Likewise.
2021         * fold-const.c: Likewise.
2022         * function.c: Likewise.
2023         * function.h: Likewise.
2024         * gcc.c: Likewise.
2025         * gcov-io.h: Likewise.
2026         * gcov.c: Likewise.
2027         * gcse.c: Likewise.
2028
2029 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2030
2031         * sh-protos.h: New file.
2032
2033         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
2034         Add static prototypes.  Fix compile time warnings.
2035
2036         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
2037         * sh.md: Likewise.
2038         * elf.h: Likewise.
2039
2040 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2041
2042         * arc-protos.h: New file.
2043
2044         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
2045         time warnings.
2046
2047         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
2048         warnings.
2049
2050         * arc.md: Likewise.
2051
2052 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2053
2054         * dsp16xx-protos.h: New file.
2055
2056         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
2057         time warnings.
2058
2059         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
2060         warnings.
2061
2062         * dsp16xx.md: Likewise.
2063
2064 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2065
2066         * convex-protos.h: New file.
2067
2068         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
2069         time warnings.
2070
2071         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
2072         warnings.
2073
2074 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2075
2076         * elxsi-protos.h: New file.
2077
2078         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
2079         time warnings.
2080
2081         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
2082         warnings.
2083
2084         * elxsi.md: Likewise.
2085
2086 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
2087
2088         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
2089         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
2090         match the comment for MIPS16.
2091
2092 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
2093
2094         * flow.c (split_edge): Do not call set_block_for_insn if we
2095         do not have a basic_block_for_insn structure.
2096
2097         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
2098         and destination functions are 32bit aligned within the trampoline.
2099         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
2100         (TRAMPOLINE_ALIGNMENT): Define.
2101
2102         * cse.c (cse_insn): When changing (set (pc) (reg)) to
2103         (set (pc) (label_ref)), verify the change creates a valid insn.
2104
2105         * fr30.c (call_operand): Tighten and rework to match rules for
2106         call RTL expressions.
2107         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
2108         * fr30.md (call patterns): Improve constraints.
2109
2110 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
2111
2112         * fr30.c (fr30_expand_epilogue): Revert last change.
2113         Use emit_jump_insn for the return insn.
2114
2115 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
2116                           Stan Cox  <scox@cygnus.com>
2117
2118         * predict.c: New file. Preliminary infrastructure work for static
2119         branch prediction and basic block reordering.
2120         * basic-block.h: Add prototype for estimate_probability.
2121         * Makefile.in: Add rules for predict.o.
2122
2123 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
2124
2125         * fixincludes (va_list): Use __not_va_list__ for the dummy.
2126         * fixinc/*: Likewise.
2127
2128 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2129
2130         * cccp.c: PROTO -> PARAMS.
2131         * cexp.y: Likewise.
2132         * collect2.c: Likewise.
2133         * combine.c: Likewise.
2134         * convert.h: Likewise.
2135         * cse.c: Likewise.
2136         * dbxout.c: Likewise.
2137         * dbxout.h: Likewise.
2138         * diagnostic.c: Likewise.
2139         * doprint.c: Likewise.
2140         * dwarf2out.c: Likewise.
2141         * dwarf2out.h: Likewise.
2142         * dwarfout.c: Likewise.
2143         * dwarfout.h: Likewise.
2144         * dyn-string.h: Likewise.
2145
2146 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2147
2148         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
2149         macro conditionals guarding use.
2150
2151         * dwarf2out.c: Include "tm_p.h".
2152
2153         * function.c (locate_and_pad_parm): Mark parameter with
2154         ATTRIBUTE_UNUSED.
2155         (expand_function_end): Likewise for variable `context'.
2156
2157         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
2158
2159 2000-01-13  Nick Clifton  <nickc@cygnus.com>
2160
2161         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
2162         register to prevent compile time warnings.
2163
2164 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
2165
2166         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
2167         to avoid -Wtraditional warning.
2168
2169 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2170
2171         * 1750a-protos.h: New file.
2172
2173         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
2174         time warnings.
2175
2176         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
2177         warnings.
2178
2179         * 1750a.md: Likewise.
2180
2181 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2182
2183         * a29k-protos.h: New file.
2184
2185         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
2186         time warnings.
2187
2188         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
2189         warnings.
2190
2191 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2192
2193         * clipper-protos.h: New file.
2194
2195         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
2196         time warnings.
2197
2198         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
2199         warnings.
2200
2201 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2202
2203         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
2204
2205 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
2206
2207         * configure.in (--enable-new-gxx-abi): New option.
2208         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
2209         * Makefile.in (GXX_ABI_FLAG): New variable.
2210         * configure: Regenerate.
2211
2212 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2213
2214         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
2215         * tm.texi (FORCE_STRUCT_BLK): Document.
2216         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
2217
2218 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
2219
2220         * config/ns32k/ns32k.md: Revert Jan 9 change.
2221
2222         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
2223         to a mode-test, if the predicate is address_operand.
2224
2225 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
2226
2227         * combine.c (if_then_else_cond): Be careful about what kinds
2228         of RTL expressions are passed to operand_subword.
2229
2230         * flow.c (split_edge): If we have to insert a new jump, make
2231         sure to associate it with a basic block.
2232
2233         * flow.c (commit_one_edge_insertion): A block with one successor
2234         can end in a JUMP_INSN that is not a simplejump.
2235
2236 2000-01-12  Robert Lipe  <robertl@sco.com>
2237
2238         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
2239         (BUILD_VA_LIST_TYPE): Define.
2240         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
2241         with crtstuff.c.
2242
2243 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
2244
2245         * cccp.c (do_pragma): Add cast to (char *).
2246
2247 2000-01-12  Richard Henderson  <rth@cygnus.com>
2248             Fred Fish  <fnf@be.com>
2249             Jason Merrill  <jason@cygnus.com>
2250
2251         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
2252         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
2253         * i386/beos-elf.h, i386/beos-pe.h: New files.
2254
2255         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
2256         * cross-make (SYSTEM_HEADER_DIR): Define using
2257         CROSS_SYSTEM_HEADER_DIR.
2258
2259         * gcc.c (LIBRARY_PATH_ENV): Provide default.
2260         (process_command): Use it.
2261         (main): Likewise.  Kill trailing = from env vars.
2262         (build_search_list): Put it back.
2263         * collect2.c (main): Use LIBRARY_PATH_ENV.
2264
2265         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
2266         * toplev.c: Use NEED_DECLARATION_ENVIRON.
2267
2268         * tm.texi (Frame Layout): Document SMALL_STACK.
2269         * c-common.c (c_common_nodes_and_builtins): Check it.
2270
2271         * system.h: Undef alloca after including glibc's <stdlib.h>,
2272         if USE_C_ALLOCA is defined.
2273
2274         * gcc.c (set_input): New fn.
2275         (main): After all input files are compiled, reset the input file
2276         info to the first.
2277
2278         * aclocal.m4 (rindex, index): If already defined, don't attempt
2279         to redefine.
2280
2281         * ginclude/varargs.h: (__va_list__): Define ifndef.
2282         * ginclude/stdarg.h: Likewise.
2283
2284         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
2285         instead of unsigned char.
2286
2287         * hash.h (true, false, boolean): Undef before enum.
2288
2289         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
2290         proper type of "HOST_WIDE_INT *", rather than their natural type of
2291         "unsigned HOST_WIDE_INT *".
2292
2293 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2294
2295         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
2296
2297         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
2298
2299         * regclass.c (choose_hard_reg_mode): Likewise.
2300
2301         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
2302
2303         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
2304
2305 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2306
2307         * c-common.c: PROTO -> PARAMS.
2308         * c-common.h: Likewise.
2309         * c-decl.c: Likewise.
2310         * c-iterate.c: Likewise.
2311         * c-lang.c: Likewise.
2312         * c-lex.c: Likewise.
2313         * c-lex.h: Likewise.
2314         * c-parse.in: Likewise.
2315         * c-pragma.c: Likewise.
2316         * c-pragma.h: Likewise.
2317         * c-tree.h: Likewise.
2318         * c-typeck.c: Likewise.
2319         * objc/objc-act.c: Likewise.
2320         * objc/objc-act.h: Likewise.
2321
2322 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2323
2324         * m88k-protos.h: New file.
2325
2326         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
2327         time warnings.
2328
2329         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
2330
2331         * m88k.md: Likewise.
2332
2333         * tekXD88.h: Likewise.
2334
2335 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2336
2337         * m68k-protos.h: New file.
2338
2339         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
2340         time warnings.
2341
2342         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
2343
2344         * mot3300.h: Likewise.
2345
2346 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
2347
2348         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
2349         extract_bitlst.
2350         (extract_bitlist): Declare bitlen.
2351
2352 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
2353
2354         * cccp.c: Accept and ignore -lang-fortran.
2355
2356         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
2357         qualifiers don't match at any level of pointerness.
2358
2359 2000-01-12  Robert Lipe  <robertl@sco.com>
2360
2361         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
2362
2363 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
2364
2365         * reload1.c (reload_reg_unavailable): New static variable.
2366         (reload_reg_free_p): Test it.
2367         (reload_reg_free_for_value_p): Test it instead of
2368         reload_reg_used.
2369         (choose_reload_regs_init): Compute it.
2370
2371 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
2372
2373         * reorg.c (fill_slots_from_thread): Check modified_in_p
2374         before replacing.
2375
2376 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
2377
2378         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
2379         these nodes even if INTERNALS is not set.
2380
2381 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
2382
2383         * gcse.c (delete_null_pointer_checks_1): Cope when
2384         get_condition cannot determine the condition.
2385
2386 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
2387
2388         * toplev.h (set_message_length): Declare.
2389
2390         * diagnostic.c (obstack_chunk_alloc): Define macro.
2391         (obstack_chunk_free): Likewise.
2392         (struct output_buffer): New data structure.
2393         (vmessage): Remove.
2394         (output_maximum_width): New variable.
2395         (doing_line_wrapping, set_message_length, init_output_buffer,
2396         get_output_prefix, output_space_left, emit_output_prefix,
2397         output_newline, output_append, output_puts, dump_output,
2398         vbuild_message_string, build_message_string, build_location_prefix,
2399         voutput_notice, output_printf, line_wrapper_printf,
2400         vline_wrapper_message_with_location):  New functions. Implement
2401         automatic line wrapping.
2402         (v_message_with_decl): Make it handle automatic line wrapping.
2403         (v_error_with_file_and_line): Likewise.
2404         (v_warning_with_file_and_line): Likewise.
2405         (announce_function): Likewise.
2406         (default_print_error_function): Likewise.
2407
2408 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
2409
2410         * cpplib.h (struct cpp_options): Change lang_asm to char.
2411         Add lang_fortran.
2412         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
2413         done in cpp_handle_option now.
2414         (initialize_builtins): Take out special case code used only by
2415         __STDC_VERSION__.
2416         (cpp_handle_option): Turn off trigraphs and trigraph warnings
2417         if -traditional.  Recognize -lang-fortran and set
2418         lang_fortran, also turn off cplusplus_comments.
2419         (print_help): Document -lang-fortran.
2420         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
2421         lang_asm. Ignore all directives other than `# 123 "file"' if
2422         CPP_PREPROCESSED.
2423         (cpp_get_token): If -traditional, don't recognize directives
2424         unless the # is in column 1.
2425         (parse_string): If lang_fortran or lang_asm, silently
2426         terminate strings ('' or "") at end of line.
2427         Remove unnecessary braces.
2428
2429 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2430             Richard Henderson  <rth@cygnus.com>
2431
2432         * resource.c (mark_referenced_resources): Mark a set strict_low_part
2433         as used.
2434         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
2435         strict_low_part when possible.
2436
2437 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2438
2439         * alias.c: PROTO -> PARAMS.
2440         * basic-block.h: Likewise.
2441         * bitmap.c: Likewise.
2442         * bitmap.h: Likewise.
2443         * builtins.c: Likewise.
2444         * c-aux-info.c: Likewise.
2445         * caller-save.c: Likewise.
2446         * calls.c: Likewise.
2447
2448 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2449
2450         * Makefile.in (toplev.o): Depend on regs.h.
2451
2452         * output.h (tdesc_section): Prototype.
2453
2454         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
2455
2456         * sdbout.c: Include "tm_p.h".
2457
2458         * toplev.c: Include "regs.h".
2459
2460 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
2461
2462         * unroll.c (unroll_loop): Add EH support.
2463
2464 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2465
2466         * pa-protos.h: New file.
2467
2468         * pa.c: Include recog.h and tm_p.h.
2469         (compute_zdepwi_operands, compute_movstrsi_length,
2470         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
2471         find_addr_reg, import_milli): Add static prototypes.
2472         (pa_cpu_string, pa_arch_string): Constify a char*.
2473         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
2474         (read_only_operand): Add argument `mode'.
2475         (singlemove_string, output_move_double, output_fp_move_double,
2476         output_block_move, output_and, output_ior, output_ascii,
2477         remove_useless_addtr_insns, milli_names, output_mul_insn,
2478         output_div_insn, output_mod_insn, output_arg_descriptor,
2479         output_cbranch, output_bb, output_bvb, output_dbra, ,
2480         output_millicode_call, output_call, hppa_encode_label,
2481         output_parallel_movb, output_parallel_addb): Constify a char*.
2482         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
2483         (output_parallel_addb): Remove extra arg to `constrain_operands'
2484
2485         * pa.h:  Move all prototypes to pa-protos.h.
2486         (pa_cpu_string, pa_arch_string): Constify a char*.
2487         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
2488
2489         * pa.md: Call `function_label_operand' with mode argument.
2490         Likewise for `read_only_operand'.
2491         Fix nesting of parens in call to `symbolic_operand'.
2492
2493 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2494
2495         * i860-protos.h: New file.
2496
2497         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
2498         time warnings.
2499
2500         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
2501
2502         * i860.md: Likewise.
2503
2504 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
2505
2506         * i386.md (movstrsi expander): Rewrite.
2507         (movstrsi_1 insn): Deleted.
2508         (strmovhi, strmovqi expander): New expanders.
2509         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
2510         * i386.c (x86_single_stringop): New global variable.
2511         * i386.h (x86_single_stringop): Declare.
2512         (TARGET_SINGLE_STRINGOP): New macro.
2513
2514 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
2515
2516         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
2517         integer vararg POSTINCREMENT before the destination of the jump
2518         for the hard fp case.
2519         (function_arg_pass_by_reference): Pass a copy of CUM to
2520         FUNCTION_ARG.
2521
2522         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
2523         for CONSTANT_ADDRESS_P above while loop for subreg.
2524
2525 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
2526
2527         * flow.c (propagate_block): When a prologue/epilogue insn
2528         is marked dead, unconditionally clear libcall_is_dead and
2529         insn_is_dead, and only dump rtl if warnings aren't being
2530         suppressed.
2531
2532 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
2533
2534         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
2535         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
2536         (FIXED_REGISTERS): Set dirflag as fixed.
2537         (CALL_USED_REGISTERS): Set dirflag as used.
2538         (REG_ALLOC_ORDER): Set dirflag as last one.
2539         (DIRFLAG_REG): New macro.
2540         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
2541         (HI_REGISTER_NAMES): Add dirflag.
2542         (DEBUF_PRINT_REG): Handle dirflag.
2543         * i386.md (type attribute): New cld and str types.
2544         (length_opcode attribute): Set cld and str to 1.
2545         (memory attribute): Set str to unknown - it is not clear from the
2546         patterns.
2547         (pent_np function unit): Prefixed string operations takes 12 cycles
2548         minimally; cld takes 2 cycles.
2549         (ppro_uops attribute): Str is "many" and cld is "few".
2550         (ppro_p0 unit): Handle cld here.
2551         (k6_alux unit): Handle cld and str types.
2552         (k6_load unit): It is ocupied by str opcodes.
2553         (k6_store unit): It is ocupied by str opcodes.
2554         (athlon_decode): Str is vector decoded.
2555         (athlon_ieu): Handle str and cld.
2556         (cld pattern): New.
2557         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
2558         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
2559         cmpstrsi_nz_1 insn): Do not output cld instruction
2560
2561 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
2562
2563         * gcc.texi (G++ and GCC): Add Java and Chill.
2564         (Bug Critera): Don't list languages.
2565
2566         * gcc.texi (Incompatibilities): No longer claim most C compilers
2567         are K&R.
2568
2569         * gcc.texi (G++ and GCC): Update other front-ends list.
2570
2571 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
2572
2573         * i386.c (ix86_expand_setcc): Fix typo.
2574         (ix86_expand_movcc): Similarly.
2575
2576         * Band-aid until haifa's bitset implementation is nuked.
2577         * haifa-sched.c (extract_bitlst): New parameter for size of the
2578         bitset in bits.  All callers changed.  Avoid looking at undefined
2579         bits in the bitset.
2580         (edgeset_bitsize): New variable.
2581         (schedule_region): Initialize edgeset_bitsize.
2582
2583 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2584
2585         * Makefile.in (optabs.o): Depend on real.h
2586         (resource.o): Depend on insn-attr.h
2587
2588         * builtins.c (result_vector): Wrap prototype in macro conditions
2589         governing definition and use.
2590
2591         * c-common.c: Include tm_p.h.
2592
2593         * c-lex.c: Likewise.
2594
2595         * elfos.h: Constify a char*.
2596
2597         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
2598         (get_attr_length, shorten_branches, profile_after_prologue): Mark
2599         parameter with ATTRIBUTE_UNUSED.
2600
2601         * fold-const.c (exact_real_inverse): Wrap variable `i' in
2602         CHECK_FLOAT_VALUE.
2603
2604         * haifa-sched.c (schedule_insns): Mark parameter with
2605         ATTRIBUTE_UNUSED.
2606
2607         * optabs.c: Include real.h.
2608
2609         * real.h (ereal_atof): Add prototype arguments.
2610
2611         * resource.c: Include insn-attr.h.
2612
2613         * sdbout.c (sdbout_queue_anonymous_type,
2614         sdbout_dequeue_anonymous_types): Wrap in macro
2615         SDB_ALLOW_FORWARD_REFERENCES.
2616         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
2617         ATTRIBUTE_UNUSED.
2618
2619         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
2620
2621         * stupid.c: Include tm_p.h.
2622
2623         * tree.c (real_value_from_int_cst): Mark parameter with
2624         ATTRIBUTE_UNUSED.
2625
2626 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2627
2628         * i960-protos.h: New file.
2629
2630         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
2631         time warnings.
2632
2633         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
2634
2635 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2636
2637         * combine.c (expand_field_assignment): Do not discard SUBREGs
2638         while computing nonzero_bits.
2639
2640 2000-01-09  Nick Clifton  <nickc@cygnus.com>
2641
2642         * config/arm/arm.c: Fix compile time warnings about signed vs
2643         unsigned constants.
2644         * config/arm/arm.h: Fix compile time warnings about signed vs
2645         unsigned constants.
2646
2647 2000-01-09  Philip Blundell  <philb@gnu.org>
2648
2649         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
2650         than `ldm' with only one register.
2651         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
2652         only one register.
2653
2654         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
2655         clobbered.
2656
2657 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
2658
2659         * config/ns32k/ns32k.md (load or push effective address): Operand 1
2660         must have SImode.
2661
2662 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2663
2664         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
2665         assignment used as truth value.
2666
2667         * function.c (assign_temp): Mark parameter `dont_promote' with
2668         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
2669         PROMOTE_FOR_CALL_ONLY.
2670
2671         * genrecog.c (write_subroutine): Mark variable `operands' with
2672         ATTRIBUTE_UNUSED.
2673
2674         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
2675         ATTRIBUTE_UNUSED.
2676
2677         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
2678         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
2679
2680         * toplev.c (note_deferral_of_defined_inline_function): Likewise
2681         for `decl'.
2682
2683 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2684
2685         * config/c4x.h: Tidy up comments.
2686         * config/c4x.c: Likewise.
2687
2688 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
2689
2690         * fold-const.c (lshift_double, rshift_double): Handle
2691         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
2692
2693 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2694
2695         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
2696         in prepare_function_start().
2697
2698 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
2699
2700         * config/v850/v850.c (expand_epilogue): Interrupt functions no
2701         longer allocate extra stack for function calls.
2702
2703 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2704
2705         * config/c4x/c4x.md (*subqf3_set): Fix typo.
2706
2707 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2708
2709         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
2710
2711 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
2712
2713         * rs6000.c (processor_target_table): Add power3 as alias for 630.
2714         * aix43.h: Revert Aug 2 change.
2715         (HAS_INIT_SECTION): Define, not visible yet.
2716         (LD_INIT_SWITCH): Define, not visible yet.
2717         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
2718
2719         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
2720
2721         * collect2.c (main): Expand ld2 size further.
2722         (export_object_lst): Cast assignment to avoid warning.
2723         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
2724         (scan_prog_file, COFF): Do not collect initialization or
2725         finalization functions generated for entire shared object if
2726         init/fini support present.
2727
2728 2000-01-07  Nick Clifton  <nickc@cygnus.com>
2729
2730         * config/elfos.h: Tidy up formatting of marcos.  Make sure
2731         that .section directives are always prefixed by a tab.
2732
2733         * config/svr4.h: Add #include "elfos.h" and remove duplicate
2734         definitions.
2735
2736 2000-01-07  Matt Austern  <austern@sgi.com>
2737
2738         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
2739         expon.
2740
2741 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
2742
2743         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
2744         crtstuff.c.
2745         (crtbegin.o, s-crtS): Likewise.
2746
2747 2000-01-06  Richard Henderson  <rth@cygnus.com>
2748
2749         * alpha.md (adddi_2+1): Limit offset such that it will be
2750         loadable with a single ldah+lda pair.
2751         (adddi_2+2): Explicitly fail split if we can't make it work.
2752
2753 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
2754
2755         * protoize.c: Conditionally include unistd.h.
2756         (IS_SAME_PATH_CHAR): New macro.
2757         (IS_SAME_PATH): New macro.
2758         (CPLUS_FILE_SUFFIX): New macro.
2759         (cplus_suffix): New static variable.
2760         (is_abspath): New static function.
2761         (in_system_include_dir): Handle DOS style pathnames.
2762         (file_could_be_converted): Likewise.
2763         (file_normally_convertible): Likewise.
2764         (directory_specified_p): Likewise.
2765         (file_excluded_p): Likewise.
2766         (abspath): Likewise.
2767         (shortpath): Likewise.
2768         (referenced_file_is_newer): Likewise.
2769         (save_def_or_dec): Likewise.
2770         (do_processing): Likewise.
2771         (main): Likewise.
2772         (edit_file): Likewise. Use rename instead of link.
2773         (rename_c_file): Likewise. Don't rename syscalls file.
2774         (munge_compile_params): Define null device for DOS based systems.
2775         (process_aux_info_file): Use binary mode if appliable.
2776         (edit_file): Likewise.
2777         * invoke.texi (Running Protoize): Document C++ suffixes used.
2778
2779         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
2780         IS_DIR_SEPARATOR macros.
2781         * collect2.c: Likewise.
2782         * cppinit.c: Likewise.
2783         * dwarf2out.c: Likewise.
2784         * gcc.c: Likewise.
2785         * gcov.c: Likewise.
2786         * prefix.c: Likewise.
2787         * rtl.c: Likewise.
2788         * toplev.c: Likewise.
2789         * system.h: And move to here.
2790
2791         * prefix.c (update_path): Fix typo in variable name.
2792
2793 2000-01-06  Richard Henderson  <rth@cygnus.com>
2794
2795         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
2796         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
2797         (count_reg_sets_1, count_reg_references): Likewise.
2798         (flow_loops_level_compute): Start counting actual loop depth at 1.
2799         (flow_loops_find): Likewise.
2800         * local-alloc.c (update_equiv_regs): Likewise.
2801         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
2802
2803 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
2804
2805         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
2806         FIRST_PSEUDO_REGISTER
2807         * dwarf2out.c: Don't include frame.h
2808         * dwarfout.c: Likewise
2809         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
2810         frame.h
2811
2812 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
2813
2814         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
2815         dead registers.
2816
2817         * i386.c (movsf splitter): Fix typo in my last checkin.
2818
2819 2000-01-05  Nick Clifton  <nickc@cygnus.com>
2820
2821         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
2822         own definition of this macro.
2823         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
2824         flag_data_sections or UNIQUE_SECTION_P are true.
2825
2826         * tm.texi (UNIQUE_SECTION): Document that it can be called for
2827         unitialised data decls.
2828
2829         * config/i386/winnt.c (i386_pe_unique_section): Cope with
2830         being called for uninitialised data.
2831
2832         * config/i386/interix.c (i386_pe_unique_section): Cope with
2833         being called for uninitialised data.
2834
2835         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
2836         for uninitialised data.
2837
2838         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
2839         for uninitialised data.
2840
2841         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
2842         for uninitialised data.
2843
2844         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
2845         (UNIQUE_SECTION_P): Always generate a unique section if
2846         flag_data_sections is true.
2847         (UNIQUE_SECTION): Also generate unique sections for
2848         uninitialised data.
2849         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
2850         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
2851         named_section().
2852
2853 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2854
2855         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
2856         SI, or DI.
2857
2858 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2859
2860         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
2861         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
2862         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
2863         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
2864         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
2865
2866         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
2867
2868 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
2869
2870         * c-decl.c (finish_enum): Simplify code to determine minimum and
2871         maximum values of the enum, and calculate the type.  Remove check
2872         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
2873         the DECL_INITIAL of each enumeration constant with a copy converted
2874         to the enumeration type.  When updating variant types, don't bother
2875         updating the type itself.
2876
2877         * c-typeck.c (build_binary_op): Simplify conditional expressions
2878         when weeding out spurious signed-unsigned warnings.  Add new
2879         spurious warning category: if the unsigned quantity is an enum
2880         and its maximum value fits in signed_type(result_type).  Update
2881         commentary.
2882         (build_conditional_expr): Warn here if one alternative is signed
2883         and the other is unsigned.
2884
2885 2000-01-05  Nick Clifton  <nickc@cygnus.com>
2886
2887         * config/fr30/fr30.h: Remove extraneous comments.
2888
2889 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
2890
2891         * reload1.c (choose_reload_regs): When disabling a reload, also
2892         set reload_spill_index to -1.
2893
2894 2000-01-04  Joel Sherrill (joel@OARcorp.com>
2895
2896         * configure.in (m68*-*-rtemscoff*): New target, formal name for
2897         old m68*-*-rtems*.
2898         (m68*-*-rtemself*): New target.
2899         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
2900         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
2901         (sparc*-*-rtemself*): New target.
2902         (sparc*-*-rtems*): Now elf not a.out.
2903         * config/i386/rtems.h: Include config/rtems.h.
2904         * config/i386/rtemself.h: Include config/rtems.h.
2905         * config/i960/rtems.h: Include config/rtems.h.
2906         * config/m68k/rtems.h: Include config/rtems.h.
2907         * config/m68k/rtemself.h: Include config/rtems.h.
2908         * config/mips/rtems64.h: Include config/rtems.h.
2909         * config/pa/rtems.h: Include config/rtems.h.
2910         * config/rs6000/rtems.h: Include config/rtems.h.
2911         * config/sh/rtems.h: Include config/rtems.h.
2912         * config/sh/rtemself.h: Include config/rtems.h.
2913         * config/sparc/rtems.h: Include config/rtems.h.
2914         * config/sparc/rtemself.h: Include config/rtems.h
2915
2916 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
2917
2918         * final.c (shorten_branches): Correctly compute length of
2919         asms without operands.
2920
2921 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
2922
2923         * configure.in: Add pj target.
2924         * configure: Regenerate.
2925         * config/pj: New directory.
2926         * config/pj/lib1funcs.S: New file.
2927         * config/pj/linux.h: New file.
2928         * config/pj/pj.c: New file.
2929         * config/pj/pj.md: New file.
2930         * config/pj/pjl.h: New file.
2931         * config/pj/t-pj: New file.
2932         * config/pj/xm-pj.h: New file
2933
2934 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
2935
2936         * toplev.c (rest_of_compilation): Run shorten-branches before
2937         reg-stack for now.
2938
2939 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2940
2941         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
2942         macros so that they're consistent with their names.
2943         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
2944         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
2945
2946 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2947
2948         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
2949         modified inadvertently.
2950
2951 2000-01-04  Joel Sherrill <joel@OARcorp.com>
2952
2953         * configure.in (v850*-*-rtems*): New target.
2954         * configure: Regenerate.
2955         * config/v850/rtems.h: New file.
2956
2957 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
2958
2959         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
2960         (__gthread_key_create): Likewise.
2961         (__gthread_key_dtor):  Likewise.
2962         (__gthread_once): Fix logic.
2963         (__gthread_key_delete): Cast away constness.
2964
2965         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
2966         * invoke.texi: Document.
2967         * i386/mingw32.h (CPP_SPEC): Use.
2968         (LIBGCC_SPEC): Likewise.
2969         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
2970
2971 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
2972
2973         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
2974         (HANDLE_PRAGMA_PACK): Undefine.
2975         (SLOW_UNALIGNED_ACCESS): Define.
2976
2977 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
2978
2979         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
2980         to default definition.
2981         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
2982         (store_fixed_bit_field): Call macro with word_mode and alignment.
2983         (extract_bit_field): Call macro with relevant mode and alignment.
2984         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
2985         to default definition.
2986         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
2987         and alignment.
2988         (move_by_pieces_ninsns): Likewise.
2989         (clear_by_pieces): Likewise.
2990         (emit_push_insn): Likewise.
2991         (store_field): Call macro with relevant mode and alignment.
2992         (expand_expr): Likewise.
2993         (expand_expr_unaligned): Likewise.
2994
2995         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
2996         (SLOW_UNALIGNED_ACCESS): Define.
2997         (CASE_VECTOR_MODE): Always use 32-bit offsets.
2998         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
2999         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
3000         (toc_section): Likewise and .toc pseudo-op.
3001         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
3002         64-bit mode.
3003         (TEXT_SECTION_ASM_OP): Likewise.
3004         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
3005         32-bit offsets.
3006
3007         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
3008         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
3009         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
3010         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
3011         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
3012
3013 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
3014
3015         * regclass.c: Revert my Jan 4 change to loop cost computation.
3016
3017 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
3018
3019         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
3020         compilation.
3021
3022 2000-01-04  Stan Cox  <scox@cygnus.com>
3023
3024         * haifa-sched.c (build_control_flow): Change unreachable simple
3025         loop test to check if current block has only one predecessor.
3026         (find_rgns): Initialize degree.  Use dest as degree index, not src.
3027
3028 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3029
3030         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
3031
3032         * calls.c (expand_call): Likewise for
3033         `old_stack_arg_under_construction'.
3034
3035         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
3036
3037         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
3038         `save_constant'.
3039
3040         * gcc.c (execute): Likewise for `ut' and `st'.
3041
3042         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
3043
3044         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
3045
3046         * jump.c (jump_optimize_1): Likewise for `temp2'.
3047
3048         * local-alloc.c (block_alloc): Likewise for `r1'.
3049
3050         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
3051
3052         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
3053         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
3054
3055         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
3056         and `set2'.
3057
3058         * reload.c (find_reloads): Likewise for `goal_alternative_number'
3059         and `goal_earlyclobber'.
3060
3061         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
3062
3063         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
3064
3065         * stupid.c (stupid_life_analysis): Likewise for `chain'.
3066
3067         * unroll.c (copy_loop_body): Likewise for `copy'.
3068
3069         * varasm.c (output_constructor): Likewise for `byte'.
3070
3071 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
3072
3073         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
3074         all FP constants for constant->reg moves.
3075         (ix86_split_to_parts): Try to convert memory address into immediate
3076         when available in the constant pool.
3077         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
3078         moves.
3079         (LEGITIMATE_CONSTANT_P): Return 1.
3080         * i386.md (pushsf): New splitter to convert constant pool memory
3081         reference to immediate.
3082         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
3083         reload.
3084
3085 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
3086
3087         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
3088         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
3089         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
3090         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
3091         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
3092
3093 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
3094
3095         * ginclude/stdbool.h:  Support compilation as C++.
3096
3097 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3098
3099         * fold-const.c (make_range): Don't try to reverse an unbounded range.
3100
3101 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
3102
3103         * regclass.c (regclass): Properly compute loop_cost.  Adjust
3104         comments.
3105
3106         * regclass.c: Fix minor whitespace problems.
3107
3108 2000-01-03  Anthony Green  <green@cygnus.com>
3109
3110         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
3111         Restore the pic register if required.
3112
3113 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
3114
3115         * c-common.c (format_char_info): Update comment.
3116         (check_format_info): Recognize 'z' modifier in the same way 'Z'
3117         was recognized.  Emit warning for formats new in ISO C99 only
3118         if flag_isoc9x is not set.
3119
3120 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
3121
3122         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
3123
3124 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
3125
3126         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
3127         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
3128         (make_compound_operation): Choose cheaper alternative between
3129         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
3130
3131         * regclass.c (op_costs): Remove global variable.
3132         (record_reg_classes): New parameter "op_costs" and "reg_pref".
3133         (record_operand_costs): Break out from ...
3134         (scan_one_insn): ... here.
3135         (dump_regclass): Make dumps nicer.
3136         (regclass): Dump preferrences choosed and changes done during passes.
3137
3138 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
3139
3140         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
3141
3142 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
3143
3144         * config/sparc/sparc.c (gen_df_reg): New function.
3145         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
3146         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
3147         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
3148         movtf_cc_reg_sp64+1): Use it.
3149
3150 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
3151
3152         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
3153         copied LABEL_DECLs.
3154
3155 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3156
3157         * config/i386/i386.c (ix86_expand_unary_operator): Function
3158         definition made void.
3159         (ix86_expand_binary_operator): Update outdated preceding comment.
3160         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
3161         prototype.
3162
3163         * config/i386/i386.c (override_options): Fix option-name typo.
3164
3165 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
3166
3167         * system.h (CEIL): Define.
3168         * builtins.c (CEIL): Remove.
3169         * expmed.c (CEIL): Likewise.
3170         * expr.c (CEIL): Likewise.
3171         * stor-layout.c (CEIL): Likewise.
3172
3173 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3174
3175         * expr.c (store_constructor_field): Fix typo introduced with last
3176         gcc2 merge.
3177
3178 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
3179
3180         * tree.h (BINFO_N_BASETYPES): New macro.
3181
3182 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
3183
3184         * expmed.c (emit_store_flag): Prevent losing a pending stack
3185         adjust the same way we prevent losing queued increments.
3186
3187 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3188
3189         * function.c (update_temp_slot_address): Handle case where sum of
3190         temporary address plus offset in register is a valid address.
3191
3192 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
3193
3194         * genrecog.c (change_state) Corrected typo.
3195
3196 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3197
3198         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
3199         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
3200         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
3201
3202 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
3203
3204         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
3205         case, expand GT comparisons correctly.  Fix a comment before this
3206         part of the code.
3207
3208 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
3209
3210         * dwarfout.c: Include "frame.h"
3211         * dwarf2out.c: Likewise.
3212         * Makefile.in (dwarfout.o): Depend on frame.h
3213         (dwarf2out.o): Likewise.
3214
3215 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
3216
3217         Restore i386 binary compatibility in Dwarf EH info.
3218         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
3219         value of FIRST_PSEUDO_REGISTER.
3220         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
3221         (struct frame_state): Use DWARF_FRAME_REGISTERS.
3222         * dwarfout.c (output_reg_number): Ditto.
3223         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
3224         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
3225
3226 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
3227
3228         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
3229         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
3230         (<hack>_RE_CT): not needed
3231         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
3232         rewritten to scan the file text once only
3233         "template<..." test added
3234         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
3235         (is_cxx_header): declaration added
3236         * fixinc/fixtests.c(is_cxx_header): removed
3237         (apply_fix_p_t): removed
3238         (double_slash_test): is_cxx_header is only called once now
3239         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
3240         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
3241         within the templates.
3242         The borken spelling of "broken" was fixed.
3243         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
3244         The default level depends on FIXINC_DEBUG.
3245
3246 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3247
3248         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
3249         Otherwise provide a declaration for atexit.
3250         (init_dummy): Make sure dummy call to atexit is nevertheless
3251         called with correct number of args.
3252
3253         * frame.c: Update comments referring to other files.
3254
3255         * libgcc2.c: Likewise.
3256
3257 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3258
3259         * cse.c (free_element, get_element): Remove unused prototypes.
3260
3261         * fold-const.c (extract_muldiv): Initialize variables `op0' and
3262         `op1'.
3263
3264         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
3265         `else' clauses.
3266
3267 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
3268
3269         * configure.in,configure: case arm for mn10200-*-* now sets
3270         float_format=i32 so that float.h will correctly claim "double"
3271         to be 32 bits. Ran autoconf to generate configure from .in file.
3272
3273 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
3274
3275         * pa.md (conditional zero): If op1 is a register, force it into
3276         the same register as op0.
3277
3278 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
3279
3280         * tree.h (BINFO_BASETYPES): Improve documentation.
3281
3282 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3283
3284         * configure.in (--enable-checking): Use a more portable `for'
3285         loop syntax.
3286
3287 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3288
3289         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
3290         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
3291
3292         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
3293         Delete files.
3294
3295         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
3296         Delete descriptions.
3297
3298         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
3299         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
3300         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
3301         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
3302         xm-svr4.h: Remove all instances of sys_siglist handling.
3303
3304 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
3305
3306         * config/sparc/sparc.md (cmp_zero_qi,
3307         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
3308         cmp_zero_extendqidi2_andcc_set): New patterns.
3309
3310 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
3311
3312         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
3313         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
3314         (fpgnulib.c, xfgnulib.c): Add rules.
3315         * m68k/t-mot3300-gas: Likewise.
3316
3317 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
3318
3319         * configure.in: Avoid [[ by using test and changequote.  Add
3320         changequote required by 1999-12-14 change.
3321         * configure: Rebuild.
3322
3323 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
3324
3325         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
3326
3327 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
3328
3329         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
3330         * flow.c (find_use_as_address): Likewise.
3331         * function.c (fixup_var_refs_1): Likewise.
3332         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
3333         * jump.c (invert_exp, redirect_exp): Likewise.
3334         * loop.c (replace_call_address): Likewise.
3335         (count_nonfixed_reads): Likewise.
3336         * rtlanal.c (modified_between_p): Likewise.
3337         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
3338         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
3339         * unroll.c (remap_split_bivs): Likewise.
3340
3341 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3342
3343         * diagnostic.c (v_message_with_decl): Use .* format specifier
3344         instead of building the format specifier width manually.
3345
3346         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
3347         determining whether to provide a prototype.  Remove the
3348         sys_siglist clause in the conditional.
3349
3350 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3351
3352         * fold-const.c (operand_equal_p): Use memcmp to compare string
3353         constants.
3354         Suggested by D. J. Bernstein
3355
3356 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
3357
3358         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
3359         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
3360         compiling libgcc2.
3361         * config/mips/mips.h (TARGET_64BIT): Likewise.
3362         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
3363         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
3364         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
3365         dsps.  Give routines proper names if SI/DI modes are not used.
3366         * longlong.h: Use DWunion instead of DIunion.
3367
3368 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
3369
3370         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
3371         GC_CHECKING, GC_ALWAYS_COLLECT.
3372         * configure.in: Allow --enable-checking with an argument
3373         listing check modes to enable.
3374         * config.in, configure: Rebuilt.
3375         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
3376         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
3377         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
3378         ENABLE_GC_ALWAYS_COLLECT.
3379         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
3380         throughout.
3381         * tree.h, tree.c: Change ENABLE_CHECKING to
3382         ENABLE_TREE_CHECKING throughout.
3383
3384 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3385
3386         * fold-const.c (fold_truthop): Properly check for FP RHS.
3387
3388 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
3389
3390         * toplev.h (note_deferall_of_defined_inline_function): Declare.
3391         * toplev.c (note_deferral_of_defined_inline_function): New
3392         function, split out from ...
3393         (rest_of_compilation): ... here.  Use it.
3394
3395 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3396
3397         * expr.c (store_constructor): Don't call clear_storage if size is
3398         variable.
3399
3400 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3401
3402         * Makefile.in (toplev.o): Depend on loop.h.
3403
3404         * dwarfout.c: Include tm_p.h.
3405
3406         * emit-rtl.c (restore_emit_status): Mark parameter with
3407         ATTRIBUTE_UNUSED.
3408
3409         * final.c (final_scan_insn): Likewise.
3410
3411         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
3412         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
3413         flow_depth_first_order_compute, flow_loop_pre_header_find,
3414         flow_loop_tree_node_add, flow_loops_tree_build,
3415         flow_loop_level_compute, flow_loops_level_compute,
3416         flow_loop_outside_edge_p): Add prototypes.
3417         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
3418
3419         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
3420         Mark with ATTRIBUTE_NORETURN.
3421
3422         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
3423
3424         * local-alloc.c (no_conflict_p): Likewise.
3425
3426         * loop.c (insert_bct): Hide definitions of variables with hidden
3427         usage.
3428         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
3429
3430         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
3431         with ATTRIBUTE_UNUSED.
3432         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
3433         (reg_scan): Likewise.
3434
3435         * reload.c (find_reloads): Remove unused variables `changed'.
3436
3437         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
3438         away const-ness.
3439         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
3440         Remove unused variable `insn'.
3441
3442         * toplev.c: Include loop.h.
3443         (report_file_and_line): Remove unnecessary prototype.
3444
3445         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
3446
3447         * unroll.c (biv_total_increment): Likewise.
3448
3449 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3450
3451         * reload1.c (emit_input_reload_insns): Restore old behaviour
3452         wrt. 'special' reloads.
3453
3454 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
3455
3456         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
3457         hash.h.  (cse.c): Don't depend on hashtab.h.
3458
3459         * cse.c: Don't include hashtab.h.
3460         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
3461         of dead functions.
3462         * ggc-simple.c: Don't include hash.h.
3463
3464 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
3465
3466         * dwarf2out.c (add_abstract_origin_attribute): Call
3467         gen_abstract_function on our function context.
3468
3469 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
3470
3471         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
3472
3473 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3474
3475         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
3476         case in switch.
3477
3478 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3479
3480         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
3481         constraints to "a!r".
3482
3483 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
3484
3485         * Makefile.in (calls.o): Depend on function.h.
3486         (alias.o): Likewise.
3487
3488 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
3489
3490         * reload1.c (emit_reload_insns): Break out code and variables into...
3491         (input_reload_insns, other_input_address_reload_insns,
3492         other_input_reload_insns, input_address_reload_insns,
3493         inpaddr_address_reload_insns, output_reload_insns,
3494         output_address_reload_insns, outaddr_address_reload_insns,
3495         operand_reload_insns, other_operand_reload_insns,
3496         other_output_reload_insns): ... new static variables, and...
3497         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
3498         do_output_reload): ... new functions.
3499
3500 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3501
3502         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
3503
3504 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3505
3506         * md.texi: Add c4x constraints documentation.
3507
3508 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3509
3510         * config/i386/dgux.c (struct option): Rename to
3511         lang_independent_option.
3512         (struct m_options): Add description field.
3513         (output_options): Rename option type, add sep declaration, output
3514         ix86_cpu_string and ix86_arch_string only if set.
3515         (output_file_start): Rename option type.
3516
3517 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
3518
3519         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
3520         stmp-int-hdrs.
3521         (libgcc2.a): Similarly.
3522
3523 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
3524
3525         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
3526         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
3527         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
3528
3529 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
3530
3531         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
3532         Remove redundant initialization of "frexpon" and "expon".
3533
3534 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3535
3536         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
3537
3538         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
3539         (store_constructor_field, expand_expr): Pass new arg.
3540
3541 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
3542
3543         * Makefile.in (explow.o): Depend on function.h.
3544
3545         * stor-layout.c (set_sizetype): Fix typo.
3546
3547 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
3548
3549         * function.c (cfun): Renamed from current_function.  All users
3550         changed.
3551         * function.h (cfun): Rename declaration as well.
3552
3553         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
3554         to be of type regset_head, not regset.  All users changed by adding
3555         address operator.
3556         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
3557
3558 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3559
3560         * config/c4x/rtems.h: New file.
3561
3562 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
3563
3564         * reload1.c (spill_failure): Take class of failed reload as argument
3565         and print it.  Caller changed.
3566
3567 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3568
3569         * rs6000.h (SUBTARGET_DEFAULT): New macro.
3570         (TARGET_SWITCHES): Allow subtargets to default switches.
3571         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
3572
3573 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
3574
3575         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
3576         in a main program.
3577
3578 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
3579
3580         * cccp.c (main): Define __STDC_VERSION__ as necessary.
3581         * cppinit.c (cpp_handle_option): Likewise.
3582
3583         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
3584         determine when to define.
3585
3586 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
3587
3588         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
3589         cmove with mismatched test and data modes.
3590
3591 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
3592
3593         * c-typeck.c (c_expand_start_case): Don't warn for long switch
3594         in system headers.
3595
3596 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3597
3598         * alias.c: Minor reformatting.
3599         * flow.c: Likewise.
3600         * regs.h: Likewise.
3601         * stor-layout.c: Likewise.
3602         * fold-const.c: Likewise.
3603         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
3604         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
3605         not arg itself.
3606         (size_int_wide): Cache nodes even if garbage collecting.
3607         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
3608         of SAVE_EXPR has no side effects.
3609         * cse.c: Move a comment.
3610         * tree.c: Minor reformatting.
3611         (int_size_in_bytes): Return -1 if constant overflows.
3612
3613 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3614
3615         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
3616
3617 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
3618
3619         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
3620         after any change to c-parse.in, even if objc-parse.y didn't
3621         change.  Oops.
3622
3623 1999-12-18  David S. Miller  <davem@redhat.com>
3624
3625         * toplev.c (rest_of_compilation): Restore BLOCK tree
3626         reconstruction and branch shortening changes lost in
3627         December 18th change.
3628
3629 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
3630
3631         * config/arm/linux-elf.h: Change all instances of
3632         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
3633         * config/arm/uclinux-elf.h: Likewise.
3634
3635 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
3636
3637         * toplev.c (notice, vmessage, v_message_with_file_and_line,
3638         v_message_with_decl, file_and_line_for_asm,
3639         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
3640         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
3641         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
3642         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
3643         pfatal_with_name, fatal_io_error, need_error_newline,
3644         last_error_function, last_error_tick, announce_function,
3645         default_print_error_function, print_error_function,
3646         report_error_function, fnotice, error_with_file_and_line,
3647         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
3648         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
3649         warning_with_decl, warning_for_asm, warning, pedwarn,
3650         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
3651         diagnostic.c
3652         (compile_file): Use fnotice instead of notice.  Adjust call.
3653
3654         * diagnostic.c: New file.
3655
3656         * Makefile.in (OBJS): Include diagnostic.o
3657         (diagnostic.o): Define dependence.
3658
3659 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3660
3661         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
3662         Tweak formatting.
3663
3664 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3665
3666         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
3667
3668 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
3669
3670         * fixtests.c (is_cxx_header): New fn, split out of
3671         double_slash_test.
3672         (else_endif_label): Allow "#endif // comment" in C++ headers,
3673         as determined by is_cxx_header.
3674         * fixfixes.c (else_endif_label_fix): Update comment.
3675         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
3676         a tty.
3677         * genfixes: Correct double thinko in commandline parsing.
3678         * hackshell.tpl: Generate correct sh syntax for bypass
3679         entries.
3680
3681         * inclhack.def (all): Whenever an inserted preprocessor
3682         conditional is split over multiple lines, use double
3683         backslashes in this file so the fixed header will be readable.
3684
3685         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
3686         and add bypass entry for correct version of this header.
3687         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
3688         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
3689
3690         (hpux8_bogus_inlines): New fix, split from...
3691         (ultrix_atof_param) ... here.
3692         (math_expression): Add bypass entry keyed to glibc comment
3693         indicating the problem has been dealt with; disable
3694         unnecessary sed operations; update commentary.
3695         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
3696         add select and bypass entries, simplify shell operation.
3697         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
3698
3699         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
3700          ultrix_atof_param): Add select entry.
3701         (stdio_va_list, sunos_mather_decl): Add bypass entry.
3702         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
3703         comments with the fixes they describe.
3704
3705         * c-parse.in (string action): Do not warn about ANSI string
3706         concatenation in system headers.  Affects C parser only.
3707         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
3708
3709 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
3710
3711         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
3712         compiling libgcc2 the macro depends always on arch cpp defines.
3713
3714 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
3715
3716         * loop.c (insert_loop_mem): Don't record MEMs from inside
3717         EXPR_LISTs.
3718
3719 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
3720
3721         * regclass.c (regclass): Do not use flowgraph when not optimizing.
3722
3723         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
3724         notes too, create one when replacement failed, attempt to simplify
3725         resulting notes.
3726         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
3727         or REG_EQUIV notes.
3728
3729 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
3730
3731         * crtstuff.c (__dso_handle): Declare.
3732         (__cxa_finalize): Likewise.
3733         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
3734         non-NULL.
3735
3736         * invoke.texi: Document -fuse-cxa-atexit.
3737
3738         * tree.h (ptr_type_node): Document.
3739         (const_ptr_type_node): Likewise.
3740
3741 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3742
3743         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
3744         (optimize_reg_copy_2): Likewise.
3745         (optimize_reg_copy_3): Likewise.
3746         (fixup_match_2): Likewise.
3747         (regmove_optimize): Likewise.
3748         (fixup_match_1): Liekwise.
3749
3750         * i386.md (HI to SImode promoting splitters): Rewrite.
3751         (pushsf mem peep2): New.
3752         (testhi to andhi peep2): Remove.
3753         * i386.h (x86_promote_QImode): New.
3754         (TARGET_PROMOTE_QImode): New.
3755         (PREDICATE_CODES): Add promotable_binary_operator.
3756         * i386.c (x86_promote_QImode0: New.
3757         (promotable_binary_operator): New.
3758         * i386-protos.h (promotable_binary_operator): New.
3759
3760         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
3761         condition.
3762         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
3763
3764 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
3765
3766         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
3767         * function.c (insert_block_after_note): Remove.
3768         (retrofit_block): Likewise.
3769         (identify_blocks): Fix indentation.
3770         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
3771         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
3772         * function.h (insert_block_after_note): Remove prototype.
3773         (retrofit_block): Likewise.
3774         * integrate.c (expand_inline_function): Don't call
3775         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
3776         just expand_start_bindings.  Use the block_map to remap old
3777         NOTE_BLOCKs to new ones.
3778         (integrate_decl_tree): Keep track of remapped blocks.
3779         * integrate.h (struct inline_remap): Add block_map.
3780         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
3781         NOTE_BLOCK on the notes.
3782         (expand_start_bindings): Rename to ...
3783         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
3784         (expand_end_bindings): Set NOTE_BLOCK.
3785         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
3786         reconstruct the BLOCK tree.
3787         * tree.h (expand_start_bindings): Macroize.  Call ...
3788         (expand_start_bindings_and_block): New function.
3789
3790 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
3791
3792         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
3793         to match the format.
3794
3795 1999-12-16  David S. Miller  <davem@redhat.com>
3796
3797         * expr.c (emit_move_insn_1): Only emit clobbers if one of
3798         the outputs is a SUBREG.
3799         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
3800         change.
3801
3802         * config/sparc/sparc.c (epilogue_renumber): Add default case
3803         to switch stmt.
3804
3805 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3806
3807         * toplev.c (rest_of_compilation): Run branch shortening after
3808         reg-stack.
3809
3810         * regclass.c (loop_depth): Remove
3811         (scan_one_insn): Do not handle LOOP_NOTE insns.
3812         (regclass): Go through basic blocks and set loop_cost
3813
3814 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
3815
3816         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
3817
3818 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3819
3820         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
3821         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
3822         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
3823
3824 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
3825
3826         * loop.c (insert_loop_mem): Ignore memory clobbers.
3827
3828         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
3829         to (OP A B).
3830
3831 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
3832
3833         * profile.c: Remove redundant #include "output.h".
3834
3835         * h8300.md (HImode preinc peephole): Fix typo.
3836
3837 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
3838
3839         * function.c (retrofit_block): Abort if we don't find a suitable insn.
3840         (insert_block_after_note): Abort if we don't have a previous block.
3841         Remove FN parameter.
3842         * function.h: Adjust.
3843
3844 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
3845
3846         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
3847         argument more than once.
3848
3849 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
3850
3851         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
3852
3853 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
3854
3855         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
3856
3857 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3858
3859         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
3860         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
3861         update stack_alignment_needed.
3862         (prepare_function_start): Initialize stack_alignment_needed
3863         * function.h (struct function): Add field stack_alignment_needed.
3864
3865 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3866
3867         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
3868         Handle live_throughout / dead_or_set instead of live_before /
3869         live_after.
3870         (save_call_clobbered_regs): Get register livenessinformation from
3871         chain->live_throughout.
3872         (add_stored_regs): New function.
3873         (insert_restore, insert_save): Add restored / saved registers to
3874         dead_or_set.
3875         * global.c (reg_dies): New parameter chain.
3876         (reg_becomes_live): Third parameter is regs_set now.
3877         Changed all callers.
3878         (reg_dies): New parameter chain.  Changed all callers.
3879         (build_insn_chain): Set live_throughout instead of
3880         live_before / live_after.
3881         * reload.h (struct insn_chain): Replace members live_before /
3882         live_after with live_throughout / dead_or_set.
3883         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
3884         instead of live_before / live_after.
3885         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
3886         (order_regs_for_reload, find_reg, finish_spills): Likewise.
3887         (choose_reload_regs_init): Likewise.
3888         * stupid.c (current_chain, find_clobbered_regs): Delete.
3889         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
3890         instead of chain->live_before / chain->live_after.
3891         (mark_hard_ref): New function.
3892         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
3893
3894 1999-12-15  David S. Miller  <davem@redhat.com>
3895
3896         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
3897
3898 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3899
3900         * flow.c (calculate_loop_depth): Make global, remove prototype,
3901         rewrite to use new loop infrastructure.
3902         (find_basic_block): Remove calculate_loop_depth call.
3903         * toplev.c (rest_of_compilation): Call find_basic_block.
3904         * output.h (calculate_loop_depth): Declare.
3905
3906         * flow.c (dump_flow_info): Dump loop_depth.
3907         (flow_loops_nodes_find): Increase loop_depth for basic block in the
3908         body.
3909         (flow_loops_find): Initialize the loop_depth for each basic block.
3910
3911 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
3912
3913         * tree.c (decl_function_context): Handle virtual functions.
3914
3915         * tlink.c (scan_linker_output): Don't look in demangled name when
3916         looking for linker output keywords.
3917
3918         * dwarfout.c (output_type): We can defer namespace-scope classes.
3919
3920 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
3921
3922         * regclass.c (record_reg_classes): Update comment for merging
3923         register class preferences in reg->reg copies.  Tighten conditions
3924         for merging register class preferences in reg->reg copies.
3925
3926 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
3927
3928         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
3929
3930 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
3931
3932         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
3933         (INIT_SECTION_ASM_OP): Delete.
3934         (FINI_SECTION_ASM_OP): Delete.
3935         (STARTFILE_SPEC): Define to hold just crtbegin.o.
3936
3937 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
3938
3939         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
3940         the abstract origin wasn't emitted.
3941
3942         * dwarf2out.c (class_scope_p): New fn.
3943         (gen_subprogram_die): Use it.
3944         (gen_variable_die): Use it.  Tweak logic.
3945         (gen_struct_or_union_type_die): Check context_die to determine
3946         if we're function-local.
3947         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
3948
3949 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
3950
3951         * loop.c (check_dbra_loop): Can't reverse a biv that has
3952         maybe_multiple set.
3953
3954 1999-12-14  Nick Clifton  <nickc@cygnus.com>
3955
3956         * config/arm/arm.c: Add support for -mcpu=arm720 command line
3957         switch.
3958
3959 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3960
3961         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
3962         for givs made from biv increments.
3963
3964 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
3965
3966         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
3967         * alpha.c (override_options): Recognize -mcpu=ev67.
3968         * alpha.h (CPP_CPU_EV67_SPEC): New.
3969         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
3970         (EXTRA_SPECS): Update.
3971
3972 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
3973
3974         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
3975         appropriate for -lang-c89 and -std=*.
3976         * cppinit.c (cpp_handle_option): Likewise.
3977         (new_pending_define): New, split out from cpp_handle_option.
3978         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
3979         or enable trigraphs for -ansi/-std=*.
3980
3981         * ginclude/stdarg.h (__va_copy): New.
3982         (va_copy): Don't define for C89.
3983
3984 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
3985
3986         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
3987         for long long multiply-accumulate.
3988
3989 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3990
3991         * regclass.c (scan_one_insn): Set loop_cost to 1 when
3992         optimizing for size.
3993
3994 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
3995
3996         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
3997         if something changed.  Back out that part of yesterday's changes.
3998
3999         * loop.c (loop_max_reg): New static variable.
4000         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
4001         max_reg_num.
4002         (scan_loop): Call reg_scan_update whenever we may have added new
4003         registers, and update loop_max_reg.
4004
4005 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4006
4007         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
4008         when source does not die.
4009
4010         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
4011
4012 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
4013
4014         * config/sparc/linux64.h (TARGET_LIVE_G0,
4015         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
4016         variants on Linux.
4017         * config/sparc/linux.h (TARGET_LIVE_G0,
4018         TARGET_BROKEN_SAVERESTORE): Likewise.
4019         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
4020         TARGET_BROKEN_SAVERESTORE): Likewise.
4021
4022         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
4023         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
4024         not %g2.
4025         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
4026         as sparc64 block profiling register.
4027         * config/sparc/sparc.c (sparc_override_options): Allow block
4028         profiling with -m32.
4029         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
4030         profiling register.
4031         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
4032         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
4033         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
4034
4035         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
4036         for sparc64.
4037         * config/sparc/sparc.h: Likewise.
4038         * config/sparc/xm-sysv4-64.h: Likewise.
4039         * config/float-sparc.h: Likewise.
4040         * glimits.h: Likewise.
4041         * longlong.h: Likewise.
4042
4043         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
4044         (ASM_IDENTIFY_GCC): Remove.
4045
4046 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
4047
4048         * combine.c (combine_simplify_rtx): Don't make shared rtl.
4049         (simplify_logical): Likewise.
4050
4051 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
4052
4053         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
4054         * cppfiles.c (INO_T_EQ): Likewise.
4055
4056 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
4057
4058         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
4059         * i386/mingw32.h (LIB_SPEC): Likewise.
4060         (STARTFILE_SPEC): Likewise.
4061         * i386/uwin.h (LIB_SPEC): Likewise.
4062         (STARTFILE_SPEC): Likewise.
4063
4064         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
4065         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
4066
4067 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
4068
4069         * combine.c (combine_simplify_rtx): Fix order of checks for
4070         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
4071
4072 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
4073
4074         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
4075         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
4076
4077 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
4078
4079         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
4080         defined.
4081         * regclass.c (inv_reg_alloc_order): New array.
4082         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
4083
4084         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
4085         counted_for_groups, counted_for_nongroups.  Add fields rld and
4086         n_reloads.
4087         * reload.c (push_secondary_reload): Don't set nongroup field of
4088         new reloads.
4089         (push_reload): Likewise.
4090         (find_reloads): Delete code to compute nongroup fields.
4091         * reload1.c (reload_insn_firstobj): New static variable.
4092         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
4093         users changed.
4094         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
4095         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
4096         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
4097         functions.
4098         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
4099         functions.
4100         (struct hard_reg_n_uses): Deleted.
4101         (potential_reload_regs): Deleted.
4102         (init_reload): Initialize spilled_pseudos and pseudos_counted.
4103         (reload): Don't try to allocate reload registers if we already know
4104         we have to make another pass.  Call select_reload_regs.  Free memory
4105         starting with reload_firstobj when starting another pass.
4106         Don't allocate spilled_pseudos.
4107         (calculate_needs_all_insns): Call copy_reloads for an insn that
4108         needs reloads; don't call calculate_needs.
4109         (spill_cost): New static array.
4110         (used_spill_regs_local): New static variable.
4111         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
4112         to compute potential_reload_regs.
4113         (find_reload_regs): Completely rewritten to use find_reg.
4114         (allocate_reload_reg): Don't test counted_for_groups or
4115         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
4116         all cllers changed.
4117         (choose_reload_regs): Add fallback code that uses the existing
4118         register allocation from find_reload_regs.
4119
4120 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
4121
4122         * flow.c (create_edge_list): Cast xmalloc return value.
4123
4124 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
4125
4126         * doprnt.c: Remove incorrect comment closure.
4127
4128         * cse.c: Fix a few minor whitespace goofs.
4129
4130 1999-12-13  Don Bowman  <don@pixstream.com>
4131
4132         * mips/vxworks.h: Fix problem with comment termination.
4133         (EXTRA_SECTIONS): Add in_sbss.
4134         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
4135
4136 1999-12-12  David S. Miller  <davem@redhat.com>
4137
4138         * cse.c (struct cse_reg_info): Add hash_next member,
4139         reorder rest of struct for better packing on 64-bit
4140         hosts.
4141         (cse_reg_info_tree): Kill.
4142         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
4143         REGHASH_FN): New custom pow2 hash mechanism.
4144         (NBUCKETS): Kill.
4145         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
4146         use a pow2 hash table.
4147         (get_cse_reg_info): Rework to use new REGHASH.
4148         (new_basic_block): Likewise, use HASH_SIZE, and inline
4149         free_element call.
4150         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
4151         and inline free_element call.
4152         (lookup_as_function, insert, flush_hash_table, invalidate,
4153         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
4154         invalidate_for_call, use_related_value, find_comparison_args,
4155         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
4156         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
4157         get_element): Kill.
4158
4159 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
4160
4161         * cse.c (cse_basic_block): Free qty_table consistently.
4162
4163 1999-12-12  David S. Miller  <davem@redhat.com>
4164             Jakub Jelinek    <jakub@redhat.com>
4165
4166         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
4167         SUBREGs by hand, gen the appropriate hard reg directly.
4168         (movtf reg/mem split): Likewise and alter_subreg on destination
4169         if necessary.
4170         (movtf mem/reg split): Similarly.
4171         (movdf_cc_sp64): Rename from hidden pattern.
4172         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
4173         (movtf_cc_sp64, following split): New pattern and splitter.
4174         (movdf_cc_reg_sp64): Rename from hidden pattern.
4175         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
4176         TARGET_HARD_QUAD.
4177         (movtf_cc_reg_sp64, following split): New pattern and splitter.
4178
4179 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
4180
4181         * loop.c (load_mems): Don't hoist written floating point mem
4182         if -ffloat-store.
4183
4184 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
4185
4186         * except.h (struct eh_queue): Add `next' pointer.
4187         (struct eh_status): Make x_ehqueue a pointer.
4188         (push_ehqueue):  Declare.
4189         (pop_ehqueue): Likewise.
4190         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
4191         pointer.
4192         (expand_fixup_region_end): Likewise.
4193         (expand_leftover_cleanups): Likewise.
4194         (push_ehqueue): Define.
4195         (pop_ehqueue): Likewise.
4196         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
4197         than doing it inline.
4198         (expand_start_all_catch):  Adjust now that ehqueue is a
4199         pointer.
4200         (mark_eh_queue): Mark all level of the queue.
4201         (mark_eh_status):  Adjust now that ehqueue is a
4202         pointer.
4203         (init_eh_for_function): Allocate ehqueue.
4204         (free_eh_status): Free it.
4205         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
4206         expansion for a fixup.
4207
4208 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4209
4210         * gthr-single.h (__gthread_active_p): Add prototype arguments.
4211
4212         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
4213         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
4214         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
4215         function_ptr, getpagesize, __enable_execute_stack,
4216         __enable_execute_stack, __clear_insn_cache,
4217         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
4218         _cleanup, _exit, __default_terminate, __terminate_func,
4219         __terminate, __empty, __throw, new_eh_context,
4220         eh_context_initialize, eh_context_static, eh_context_specific,
4221         get_eh_context, __get_eh_context, __get_eh_info,
4222         init_reg_size_table, eh_threads_initialize,
4223         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
4224         __unwinding_cleanup, throw_helper, __throw, __rethrow,
4225         __pure_virtual): Add prototype arguments.
4226         (__bb_exit_func): Cast a sizeof to long when comparing against one.
4227         Cast a signed value to unsigned long when comparing against one.
4228         (new_eh_context): Wrap in _GTHREADS macro.
4229         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
4230         declaration.
4231         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
4232         (throw_helper): Initialize variables `handler_p' and `pc_p'.
4233
4234 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4235
4236         * combine.c (record_promoted_value): Remove unused variable
4237         `links2'.
4238
4239         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
4240
4241         * global.c (record_conflicts): Likewise for `j'.
4242
4243         * genoutput.c (output_insn_data): Don't unnecessarily cast away
4244         const-ness.
4245
4246 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4247
4248         * i386-protos.h (output_387_binary_op, output_fix_trunc,
4249         output_fp_compare): Constify a char*.
4250
4251         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
4252         static prototypes.
4253         (override_options, ix86_comp_type_attributes, print_operand,
4254         output_387_binary_op, output_fix_trunc, output_fp_compare):
4255         Constify a char*.
4256         (ix86_sched_reorder): Mark parameter `clock_var' with
4257         ATTRIBUTE_UNUSED.
4258
4259         * i386.h (DEBUG_PRINT_REG): Constify a char*.
4260
4261 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
4262
4263         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
4264         operand, for use in the Java front-end.
4265
4266 1999-12-10  Ben Collins  <bcollins@debian.org>
4267
4268         * configure.in: Fix typo for "-64" in 64bit as check.
4269         * configure: Rebuilt.
4270
4271 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
4272
4273         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
4274         appropriate.
4275
4276 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4277
4278         * c-parse.in (string): With -Wtraditional, warn if ANSI string
4279         concatenation is utilized.
4280
4281         * invoke.texi (-Wtraditional): Document it.
4282
4283 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4284
4285         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
4286         Cast a ptrdiff_t to long and pass it to printf with %ld.
4287
4288 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
4289
4290         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
4291         68881, we have no 68881 registers at all.
4292         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
4293         value in a 68881 register if it is available.
4294
4295 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
4296
4297         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
4298         for long long multiply-accumulate.
4299
4300 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
4301
4302         * loop.c (insert_loop_mem): Undo last change.
4303
4304 1999-12-10  David S. Miller  <davem@redhat.com>
4305
4306         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
4307         New functions.
4308         * config/sparc/sparc-protos.h: Add them.
4309         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
4310         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
4311         constraints which use those helpers.
4312         (EXTRA_CONSTRAINT): Use this new macro.
4313         * md.texi: Update sparc target constraints documentation.
4314         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
4315         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
4316         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
4317         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
4318         (movsf high/lo_sum split): Rework for new patterns.
4319         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
4320
4321 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
4322
4323         * c-common.c (c_common_nodes_and_builtins):
4324         Create __builtin_ptrdiff_t and __builtin_size_t.
4325
4326 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
4327
4328         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
4329
4330 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4331
4332         * regclass.c (globalize_reg): Re-instate test that allows
4333         fixed registers to be declared as a variable even after functions
4334         are defined.
4335
4336 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4337
4338         * i386.md (cpu attribute): Add "athlon".
4339         (athlon_decode): New attribute.
4340         (Athlon scheduling units definitions): New.
4341         (fcmp and shld patterns): Set athlon_decode to "vector".
4342         * i386.c (athlon_cost): New.
4343         (m_ATHLON): New.
4344         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
4345         x86_use_sahf): Set for Athlon.
4346         (x86_use_fiop): Unset for Athlon.
4347         (override_options): Define Athlon alignments and "athlon" name.
4348         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
4349         * i386.h (TARGET_ATHLON): New.
4350         (enum processor_type): Add PROCESSOR_ATHLON.
4351         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
4352         for CPU_DEFAULT==5
4353         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
4354
4355 1999-12-09  Andreas Jaeger  <aj@suse.de>
4356
4357         * loop.c (record_biv): Declare parameter as int.
4358
4359         * config/i386/i386-protos.h: Declare long_memory_operand.
4360
4361 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
4362
4363         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
4364         EXPR_WITH_FILE_LOCATION.
4365
4366 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
4367
4368         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
4369         in expander.
4370
4371         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
4372
4373         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
4374         updating code.
4375
4376 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
4377
4378         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
4379         default on linux64 again.
4380         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
4381         models for multilibing.
4382         * genmultilib: Accept | as alternative separator within a set in
4383         MULTILIB_OPTIONS.
4384
4385         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
4386
4387         * calls.c (precompute_arguments): Make sure initial_value contains
4388         value pseudo which CSE expects.
4389         * cse.c (struct set): New entry orig_src.
4390         (cse_insn): Set it early on entry, use it for libcall EQUIV note
4391         replacement.
4392
4393 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
4394
4395         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
4396
4397 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
4398
4399         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
4400
4401 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
4402
4403         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
4404         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
4405
4406         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
4407         if TARGET_ARCH32.
4408
4409         * longlong.h: Merge in changes from glibc.
4410         Also don't clobber %g2 register in 32bit SPARC assembly, so that
4411         -mno-app-regs libgcc can be compiled.
4412         * libgcc2.c: Add defines so that the updated longlong.h
4413         can be used in libgcc2.a. Also, make sure on most architectures
4414         (at least on all which have optimized code in longlong.h defined
4415         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
4416
4417 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4418
4419         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
4420         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
4421         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
4422         is GNU ld.
4423         * configure: Rebuilt.
4424
4425 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
4426
4427         * alpha.c (secondary_reload_class): For !BWX, sub-simode
4428         outputs require a register.
4429
4430 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
4431
4432         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
4433         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
4434         functions like dptoul will be resolved.
4435         (libgcc2.a): Make sure that the object files from DPBIT are named
4436         differently (prefix `_dp') from those that would be coming from
4437         FPBIT.
4438
4439 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
4440
4441         * configure.in: When target is sparc* and tm_file contains 64,
4442         test for 64bit support in assembler.  If not supported, remove
4443         sparc/t-sol2-64 from target-dependent Makefile fragments.
4444         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
4445         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
4446         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
4447         * acconfig.h (AS_SPARC64_FLAG): Added.
4448         * configure, config.in: Rebuilt.
4449         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
4450         support.  Use AS_SPARC64_FLAG.
4451
4452 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
4453
4454         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
4455         suitable for holding OFmode values so that gcc works with complex
4456         quad long doubles.
4457         (hard_64bit_mode_classes): Likewise.
4458
4459         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
4460         so that it is actually matched.
4461         (sethi_di_medlow): Likewise.
4462
4463         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
4464         as legitimate constant if -mvis.
4465         * config/sparc/sparc.md (movtf): Likewise.
4466         (clear_sf): Use const_double_operand.
4467         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
4468
4469         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
4470         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
4471         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
4472         routines, _Qp_* cannot be handled like that now.
4473         (INIT_TARGET_OPTABS): Likewise.
4474         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
4475         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
4476         sparc_emit_float_lib_cmp if ARCH64 and soft float.
4477         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
4478         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
4479         divtf3, sqrttf3): New expanders.
4480         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
4481         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
4482         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
4483         non-_hq patterns.
4484
4485         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
4486         * configure: Rebuilt.
4487         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
4488         -mcpu is given and we're doing 64bit compiles.
4489
4490 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
4491
4492         * loop.h (struct induction): Add multi_insn_incr.
4493         * loop.c (basic_induction_var): New multi_insn_incr argument.
4494         Set it if we search back through previous insns for the biv.
4495         (record_biv): New multi_insn_incr argument; fill in struct induction.
4496         (strength_reduce): Discard an iv with multiple bivs, any of
4497         which require multiple insns to increment.
4498
4499 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4500
4501         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
4502         documentation.
4503
4504 1999-12-06  David S. Miller  <davem@redhat.com>
4505
4506         * combine.c (check_promoted_subreg): Do not conditionalize this upon
4507         PROMOTE_FUNCTION_RETURN.
4508
4509 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
4510
4511         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
4512         and handle REG_UNUSED note on insn.
4513
4514         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
4515         inner_mask instead of mask.
4516
4517 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
4518
4519         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
4520         zero if there was an error.
4521
4522 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
4523
4524         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
4525         output string.
4526
4527         * longlong.h: Fix clobbers in SPARC asm statements.
4528
4529         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
4530         valid sethi operations when TARGET_ARCH64.
4531
4532         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
4533         always use move_by_pieces to avoid infinite recursion.
4534         (restore_fixed_argument_area): Likewise.
4535
4536         * combine.c (check_promoted_subreg, record_promoted_value): New
4537         functions.
4538         (combine_instructions): Use them to retain nonzero and sign bit
4539         information after SUBREGs are eliminated by optimizations in
4540         this pass if PROMOTE_FUNCTION_RETURN.
4541
4542         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
4543         .register declaration. Don't use variables with __ prefixes.
4544
4545 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4546
4547         * fold-const.c (optimize_bit_field_compare): Only use one mode
4548         for both RHS and LHS in non-constant case.
4549
4550 1999-12-06  Nathan Sidwell  <nathan@acm.org>
4551
4552         * frame.c (start_fde_sort): Only allocate erratic array, if
4553         linear one was allocated. Return allocated flag.
4554         (fde_insert): Only insert, if there's a valid array.
4555         (fde_end_sort): Split, sort and merge if linear and erratic
4556         arrays exist, else just sort linear one.
4557         (search_fdes): New function. Linear search through original fde
4558         structure.
4559         (frame_init): Permit multiple initializations. Cope with
4560         memory shortages.
4561         (find_fde): Fallback on linear search, if failed to sort array.
4562         (__deregister_frame_info): Only free sorted array, if we
4563         allocated it.
4564
4565 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
4566
4567         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
4568
4569 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
4570
4571         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
4572
4573 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
4574
4575         * tree.h (special_function_p): Declare.
4576         * calls.c (special_function_p): Make it global.  Don't take `name'
4577         as a parameter.  Fix typo in 1999-11-28 change.
4578         (expand_cal): Adjust.
4579
4580 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
4581
4582         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
4583         * tree.h (EXPR_WFL_FILENAME): Define in terms of
4584         EXPR_WFL_FILENAME_NODE.
4585         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
4586         the TREE_CHAIN.
4587         * print-tree.c (print_note): Print TREE_PRIVATE and
4588         TREE_PROTECTED.
4589
4590         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
4591         the original die cannot be found.
4592
4593         * varray.h (varray_head_tag): Add elements_used.
4594         (VARRAY_PUSH): New macro.
4595         (VARRAY_POP): Likewise.
4596         (VARRAY_TOP): Likewise.
4597         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
4598         types.
4599         * varray.c (varray_init): Initialize elements_used.
4600         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
4601         (INTEGRATE_H): New variable.
4602         (integrate.o): Depend on INTEGRATE_H.
4603         (unroll.o): Likewise.
4604
4605         * function.h (insert_block_after_note): Declare.
4606         * function.c (insert_block_after_note): Split out from ...
4607         (retrofit_block): ... here.
4608
4609         * stmt.c (expand_fixup): Fix typo in comment.
4610
4611 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4612
4613         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
4614         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
4615         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
4616         (regmove_optimize, fixup_match_1): Likewise.
4617
4618 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4619
4620         * flow.c (flow_loops_dump): Add missing argument when calling
4621         flow_loop_nested_p.
4622
4623 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
4624             Greg McGary  <gkm@gnu.org>
4625
4626         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
4627         (init_attributes): Add A_NO_LIMIT_STACK.
4628         (decl_attributes): Handle A_NO_LIMIT_STACK.
4629         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
4630         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
4631         Handle stack bounds checking.
4632         * flags.h (flag_stack_check): Use the word 'probe' rather than
4633         'check', because the flag doesn't actually cause any checking to
4634         be done.
4635         * function.c (expand_function_start): Set
4636         current_function_limit_stack.
4637         * function.h (struct function): Add limit_stack.
4638         (current_function_limit_stack): Define.
4639         * invoke.texi (Code Gen Options): Document new options.
4640         * rtl.h: Declare stack_limit_rtx.
4641         * toplev.c (stack_limit_rtx): New variable.
4642         (decode_f_option): Handle new options -fstack-limit-register=REG,
4643         -fstack-limit-symbol=IDENT, -fno-stack-limit.
4644         (main): Add stack_limit_rtx as GC root.
4645         * tree.h (DECL_NO_LIMIT_STACK): New macro.
4646         (struct tree_decl): New member no_limit_stack.
4647
4648         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
4649         stack_limit_rtx.
4650         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
4651         (conditional_trap+1): Get new mnemonic correct.
4652         (conditional_trap+2): New pattern for DImode traps.
4653
4654         * config/m68k/m68k.c (output_function_prologue): Handle
4655         stack_limit_rtx.
4656         * config/m68k/m68k.md (trap): New insn.
4657         (conditional_trap): New insn.
4658         * md.texi (Standard Names): Document `trap' and
4659         `conditional_trap'.
4660         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
4661         so a cc0 setter doesn't get emitted at some random place in the
4662         function.
4663
4664         * config/i960/i960.md (trap): New insn.
4665         (conditional_trap): New expander.
4666         (conditional_trap+1, conditional_trap+2): New insns for signed
4667         and unsigned cases.
4668         * config/i960/i960.c (i960_function_prologue): Use
4669         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
4670
4671 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
4672                           Geoffrey Keating  <geoffk@cygnus.com>
4673
4674         * flags.h (warn_padded, warn_packed): Add global var decls.
4675         * toplev.c (warn_padded, warn_packed): Add global var defns.
4676         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
4677         * stor-layout.c (layout_record): Add local variable `type'
4678         to hold often-used TREE_TYPE (field).  Add local variable
4679         `unpacked_align' to hold alignment that would be in force
4680         if no `packed' attribute were present.  Warn if `packed' attribute
4681         is unnecessary, or even harmful.  Warn when gcc inserts padding
4682         to satisfy alignment requirements of members.  Use NULL_TREE
4683         when checking whether var_size is set.
4684         * invoke.texi: Document new flags.
4685
4686 1999-12-03  Nathan Sidwell  <nathan@acm.org>
4687
4688         * frame.c (fde_split): Reimplement to avoid variable sized array.
4689
4690 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4691
4692         * combine.c (try_combine): Before fixing up LOG_LINKS for the
4693         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
4694
4695 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
4696
4697         * invoke.texi: Document the mips option -mno-crt0
4698
4699 1999-12-02  Mike Karr  <mkarr@mathworks.com>
4700
4701         * cccp.c (argdata): Added free_ptr member.
4702         (macroexpand): Initialize free_ptr of each argument. When an
4703         argument's buffers are freed, if the argument's free_ptr corresponds
4704         to a buffer on the input stack, then return the free_ptr to that stack
4705         frame, otherwise, free it.
4706         (macarg): If an argument begins and ends on the same input stack level,
4707         then transfer the free_ptr of that buffer to the argument in case
4708         the stack is popped during the processing of a subsequent argument.
4709
4710 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
4711
4712         * loop.c (note_reg_stored): New function.
4713         (struct note_reg_stored_arg): New structure.
4714         (try_copy_prop): Change to be more conservative; only replace within
4715         one extended basic block and stop replacing if a store to the
4716         replacement reg is seen.
4717
4718 1999-12-02  Nick Clifton  <nickc@cygnus.com>
4719
4720         * config/fp-bit.c: Initialise all fields of the NAN
4721         constants.
4722
4723         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
4724         to HANDLE_PRAGMA.
4725
4726 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
4727
4728         * i386.md (extend?f?f2): Force the input into a register, not
4729         the output.
4730
4731 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
4732
4733         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
4734         regclass' sake.
4735         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
4736         alternative because setting up 64bit constant is usually costly,
4737         especially when reload is in progress or completed.
4738         (movdf_const_intreg_sp64): Likewise.
4739         (movdf_const_intreg split): Fix building up constants when
4740         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
4741
4742 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
4743
4744         * combine.c (if_then_else_cond): Use const_true_rtx instead of
4745         const1_rtx for return values in EQ/NE comparison against (const_int 0)
4746         case.
4747
4748         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
4749         (asm_file_start): Emit .am33 into assembly file when compiling for
4750         the AM33.
4751         (print_operand_address): Handle POST_INC addresses.
4752         (can_use_return_insn, initial_offset): Check AM33 registers too.
4753         (expand_prologue): Check & save AM33 registers too.
4754         (expand_epilogue): Similarly.
4755         (secondary_reload_class): Handle AM33 specific secondary reloads.
4756         (output_tst): Emit efficient code for the AM33 too.
4757         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
4758         (TARGET_SWITCHES): Add -mam33 switch.
4759         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
4760         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
4761         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
4762         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
4763         (enum reg_class, REG_CLASS_NAMES): Likewise.
4764         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
4765         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
4766         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
4767         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
4768         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
4769         (HAVE_POST_INCREMENT): Define.
4770         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
4771         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
4772         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
4773         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
4774         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
4775         (zero_extend to SI from QI/HI): Likewise.
4776         (sign_extend to SI from QI/HI): Likewise.
4777         (mulsidi3, umulsidi3): New patterns for the AM33.
4778         (tstsi with zero extension from QI/HI): Add AM33 variants.
4779         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
4780         (return_internal_regs, store_movm): Handle new AM33 registers.
4781         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
4782         (LIBGCC, INSTALL_LIBGCC): Likewise.
4783         * invoke.texi: Document new flags.
4784
4785 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4786
4787         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
4788         (addsi3_carry): Likewise.
4789         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
4790         (sbbsi3_carry): Likewise.
4791         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
4792         (mulhi3): Likewise.
4793         (test?i_1): Ensure that only one operand is memory.
4794         (conditional move patterns): likewise.
4795         (shift and rotate patterns): Rewrite to expander, add
4796         "binary_operator_ok" to the condition.
4797
4798         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
4799         * i386.h (procesor_costs): Add movzbl_load field.
4800         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
4801         non-Q registers, accept DImode registers anywhere.
4802         (Q_CLASS_P): New.
4803         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
4804         * i386.c (*_cost): Set value for movxbl_load field.
4805
4806         * (addsi): New add to lea splitter.
4807         (ashlsi): Likewise.
4808         (lea to add/shift peep2): New.
4809
4810 1999-12-01  Mark Salter <msalter@cygnus.com>
4811
4812         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
4813         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
4814         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
4815
4816 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4817
4818         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
4819         * i386.md (movsi_xor): New.
4820         (movsi_or): New.
4821         (movsi_1, movhi_1, movqi_1): Remove.
4822         (movsi_2): Rename to movsi_1.
4823         (movhi_2): Rename to movhi_1.
4824         (movqi_2): Rename to movqi_1.
4825         (movdi_1): Remove; remove splitter.
4826         (movdi_2): Rename to movdi_1.
4827         (divmodsi4 splitter): Do not emit clobbers for move patterns.
4828         (long move peep2): Do not create QI or HI mode mov0s
4829         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
4830
4831         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
4832         rewrite splitters.
4833
4834         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
4835         (abs?f2_if): Likewise.
4836
4837 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
4838
4839         * ggc.h (ggc_test_and_set_mark): New macro.
4840         (ggc_mark_rtx): Use ggc_test_and_set_mark.
4841         (ggc_mark_tree): Likewise.
4842         (ggc_mark_rtvec): Likewise.
4843         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
4844
4845 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
4846
4847         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
4848         containing types.
4849         (decl_scope_table): Just an array of trees now.
4850         (push_decl_scope): Simplify.
4851         (dwarf2out_init): Adjust.
4852         (local_scope_p): New fn.
4853         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
4854         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
4855         (gen_typedef_die): Likewise.
4856         (gen_lexical_block_die): Don't call push/pop_decl_scope.
4857         (gen_inlined_subroutine_die): Likewise.
4858         (gen_abstract_function): Set current_function_decl temporarily.
4859         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
4860         Handle block extern declarations.  Don't call push/pop_decl_scope.
4861         (gen_decl_die): Fix logic for block externs.
4862
4863 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4864
4865         * calls.c (special_function_p): Remove `realloc' and add `strdup'
4866         to the list of functions which have attribute malloc by default.
4867
4868 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4869
4870         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
4871         integer constant does not match the traditional type, limit the
4872         warnings to cases where the base of the type is ten.
4873
4874         * invoke.texi (-Wtraditional): Document it.
4875
4876 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4877
4878         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
4879         * rs6000.md: Only access a CONST_INT with INTVAL
4880
4881 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
4882
4883         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
4884         (compute_nearerout): Likewise.
4885         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
4886         size_t to unsigned long for formatting.
4887
4888 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
4889
4890         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
4891         Allow the user to override call-used/fixed state of %g2-5
4892         registers from the command line (with the exception of %g4 for
4893         embedded model).
4894         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
4895         there is a higher chance of having a leaf function.
4896         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
4897         for ARCH64 which has %ccr register.
4898         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
4899         patterns.
4900         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
4901         insn accept into delay slot any insn which does not use %[ol]
4902         registers.  Accept some LO_SUM and shift left by 1 for the normal
4903         restore case.
4904         (output_function_epilogue): Likewise.
4905         (epilogue_renumber): Added argument which inhibits any renumbering
4906         and just tests if the rtx does not use any %[ol] registers.
4907         (output_return): Reflect above change.
4908
4909 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
4910
4911         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
4912         aggregate passing for sizes <= 16 bytes.
4913
4914 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
4915
4916         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
4917         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
4918         * reload.c (find_dummy_reload): Likewise.
4919         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
4920         * reload1.c (reload_as_needed): Likewise.
4921         * stupid.c (stupid_find_reg): Likewise.
4922         * tm.texi (Obsolete Register Macros): Delete section.
4923         * gmicro.h: Remove all traces of the two macros.
4924         * i386.h: Likewise.
4925         * m88k.h: Likewise.
4926         * mips.h: Likewise.
4927
4928 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
4929
4930         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
4931         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
4932         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
4933         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
4934         units for the sparclite86x chip.
4935         (flush): Revert October 14th change; add SImode specifically.
4936         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
4937         * invoke.texi: Document it.
4938
4939 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
4940
4941         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
4942         psimode_truncation_operand.
4943
4944         * config/mn10200/mn10200.c (psimode_truncation_operand): New
4945         function.  Return true if the operand is either a MEM valid
4946         for a PSImode address or not a MEM at all.
4947
4948         * config/mn10200/mn10200.md (truncsipsi2): Use
4949         psimode_truncation_operand.
4950
4951 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4952
4953         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
4954         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
4955         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
4956         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
4957         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
4958         (flow_loop_level_compute, low_loops_level_compute): Likewise.
4959         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
4960         * basic-block.h: Protect from multiple inclusion.
4961         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
4962         (struct loops, struct loop): Define structures.
4963         * sbitmap.c (sbitmap_a_subset_b_p): New function.
4964         * sbitmap.h: Protect from multiple inclusion.
4965         (sbitmap_a_subset_b_p): Add prototype.
4966         * Makefile.in (LOOP_H): New macro.
4967         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
4968
4969 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
4970
4971         * cppinit.c (CAT): The argument list of this macro may not contain
4972         spaces !
4973
4974 1999-11-29  David S. Miller  <davem@redhat.com>
4975
4976         Move quantity tables and register equivalence chains into
4977         per-qty and per-register structure arrays respectively.
4978         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
4979         qty_const_insn, qty_comparison_code, qty_comparison_const,
4980         qty_comparison_qty): Delete, replace with...
4981         (qty_table): this structure table.
4982         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
4983         (reg_eqv_table): this structure table.
4984         (make_new_qty): Add argument MODE.  Caller updated.
4985         Update to use qty_table and reg_eqv_table.
4986         (make_regs_eqv, delete_reg_equiv, insert_regs,
4987         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
4988         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
4989         cse_process_notes, cse_main, cse_basic_block): Likewise.
4990
4991 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4992
4993         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
4994         operation if C is negative.
4995         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
4996         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
4997         law for some divisions if constant is negative and change other
4998         divisions to the opposite rounding.
4999
5000         * expr.c (store_constructor_field): If bit position is not multiple
5001         of alignment of TARGET's mode, use BLKmode.
5002
5003         * expr.c (expand_expr_unaligned): Add more code from full case
5004         that is needed when OP0 is in a register.
5005
5006 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5007
5008         * dwarfout.c (field_byte_offset): Size can be zero if there was
5009         an error.
5010
5011 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
5012
5013         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
5014         (associate_trees): Delete unused var TEM.
5015         (extract_muldiv): Delete unused var CANCEL_P.
5016
5017         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
5018         (target_isinf, target_isnan, target_negative): Add return types to
5019         function definitions.
5020
5021 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
5022
5023         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
5024         * fixinc/hackshell.tpl: ditto
5025         * fixinc/fixtests.c(double_slash_test): more C++ header testing
5026         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
5027
5028 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
5029
5030         * reload.c (push_reload): When looking for a register to put into
5031         reg_rtx, make sure all hard regs in a multi-reg register are in the
5032         right class and nonfixed.
5033
5034         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
5035         pending_read_insns, pending_write_insns, pending_read_mems,
5036         pending_write_mems, pending_list_length, last_pending_memory_flush,
5037         last_function_call, sched_before_next_call): Move static variables
5038         into a structure.
5039         (bb_ prefixed versions): Replace with single array bb_deps.
5040         (struct deps): New structure.
5041         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
5042         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
5043         argument of type "struct deps *"; use that instead of global
5044         variables.  All callers changed.
5045         (init_rgn_data_dependencies): Delete function.
5046         (init_rtx_vector): Delete function.
5047         (init_deps): New function.
5048
5049         (free_pending_lists): Simplify, we always use the bb_deps array even
5050         if only one basic block.
5051         (compute_block_backward_dependences): Likewise.
5052         (schedule_region): Likewise.
5053
5054         (propagate_deps): New function, broken out of
5055         compute_block_backward_dependences.
5056         (compute_block_backward_dependences): Use it.
5057
5058         * alpha.md: Delete useless patterns that tried to work around
5059         register elimination problems.
5060
5061         * unroll.c (loop_iterations): Don't abort if iteration variable
5062         was made by loop.
5063
5064         From Joern Rennecke:
5065         * reload1.c (reloads_conflict): Reverse test comparing operand
5066         numbers when testing for conflict between output/outaddr reloads.
5067
5068 1999-11-29  David S. Miller  <davem@redhat.com>
5069
5070         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
5071         arg.
5072         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
5073
5074 1999-11-28  Robert Lipe  <robertl@cygnus.com>
5075
5076         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
5077         table from .fini into .dtor.
5078
5079 1999-11-28  Anthony Green  <green@cygnus.com>
5080
5081         * tree.h (struct tree_decl): Add malloc_flag.
5082         (DECL_IS_MALLOC): Define.
5083         * c-common.c (attrs): Add A_MALLOC attribute.
5084         (init_attributes): Add this attribute to the table.
5085         (decl_attributes): Handle malloc attribute.
5086         * calls.c (special_function_p): Check for the malloc attribute.
5087         * extend.texi (Function Attributes): Document malloc attribute.
5088
5089 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
5090
5091         * pa.md (reload shift-add patterns): Remove.
5092
5093 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5094
5095         * reorg.c (dbr_schedule) Print more statistics. Corrected
5096         problem when printing info when 3 delay slots are filled.
5097
5098 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
5099
5100         * combine.c (setup_incoming_promotions): Pass an outgoing
5101         regno to FUNCTION_ARG_REGNO_P which it expects.
5102
5103 1999-11-28  Andreas Jaeger  <aj@suse.de>
5104
5105         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
5106
5107 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
5108
5109         * cccp.c (do_include): Avoid initialization of automatic variable.
5110
5111         * integrate.c (mark_stores): Function definition made void, to match
5112         previous declaration.
5113         * regclass.c (dump_regclass): Ditto.
5114         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
5115
5116 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5117
5118         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
5119         known to be multiple of divisor.
5120
5121         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
5122
5123         * combine.c (try_combine): Add code to try to merge a set of a
5124         two-word pseudo to a constant with a setting of one of those words
5125         to a constant.
5126
5127         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
5128         (split_tree): Completely rework to make more general.
5129         (make_range, fold): Call negate_expr.
5130         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
5131         (fold, associate): Call new split_tree and associate_trees.
5132         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
5133
5134 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
5135
5136         * loop.c (try_copy_prop): Avoid GNU C extension.
5137
5138 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
5139
5140         * except.c (init_eh_for_function): Still zero eh_return_context,
5141         eh_return_stack_adjust, and eh_return_handler.
5142
5143         * except.h (eh_status): Adjust documentation for x_protect_list.
5144         (begin_protect_partials): New function.
5145         * except.c (enqueue_eh_entry): Fix formatting.
5146         (get_first_handler): Add consistency check.
5147         (add_partial_entry): Adjust usage of protect_list.
5148         (emit_cleanup_handler): Save and restore ehqueue.
5149         (expand_start_all_catch): Add comment.
5150         (begin_protect_partials): New function.
5151         (end_protect_partials): Adjust usage of protect_list.
5152         (init_eh_for_function): Use xcalloc.
5153
5154 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5155
5156         * c-common.c (check_format_info): Don't call a variadic function
5157         with a non-literal format string.
5158
5159         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
5160
5161         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
5162         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
5163         Likewise.
5164
5165         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
5166         Likewise.
5167
5168         * collect2.c (collect_wait): Likewise.
5169
5170         * dbxout.c (dbxout_type): Likewise.
5171
5172         * gcc.c (do_spec_1): Likewise.
5173
5174         * genemit.c (gen_insn, gen_expand): Likewise.
5175
5176         * genrecog.c (write_switch, write_subroutine): Likewise.
5177
5178         * mips-tfile.c (catch_signal, botch): Likewise.
5179
5180         * print-rtl.c (print_rtx): Likewise.
5181
5182         * toplev.c (default_print_error_function, report_error_function,
5183         _fatal_insn): Likewise.
5184
5185 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
5186
5187         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
5188
5189 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5190
5191         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
5192         operations when needed.
5193         * i386.md (fop_?f_comm): New.
5194         (fop_?f_1): Do not accept commutative operands.
5195
5196 1999-11-25  Andreas Jaeger  <aj@suse.de>
5197
5198         * config/mips/mips.md (casesi_internal): Add missing brace.
5199
5200 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
5201
5202         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
5203         (splice_child_die): Handle moving a child DIE from the declaration
5204         DIE of a class to its specification.
5205         (gen_struct_or_union_type_die): Use 'complete' consistently.
5206         (gen_decl_die): Generate the virtual context DIE first.
5207         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
5208
5209 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
5210
5211         * config/mips/mips.md (call_value_multiple_interanal1): New.
5212
5213 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
5214
5215         * dwarf2out.c (free_AT, free_die): New fns.
5216         (remove_children): Call them.
5217         (output_line_info): Disable removal of duplicate notes.
5218
5219         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
5220         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
5221         means pretend the type isn't defined.
5222         Don't defer emitting types.
5223         (gen_type_die_for_member): New fn.
5224         (gen_decl_die): Call it.
5225         (splice_child_die): New fn.
5226         (gen_member_die): Call it rather than generate duplicate dies.
5227
5228         Defer emitting information for the abstract instance of an inline
5229         until we either inline it or emit an out-of-line copy.
5230         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
5231         from output_inline_function if DECL_ABSTRACT is also set.
5232         (block_ultimate_origin): Likewise.
5233         (gen_abstract_function): New fn.
5234         (gen_decl_die, gen_inlined_subroutine_die): Call it.
5235         (gen_subprogram_die):  An abstract instance is not a declaration
5236         just because it doesn't match current_function_decl.  Don't abort
5237         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
5238         has an abstract origin.
5239         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
5240         abstract instance here.
5241
5242 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
5243
5244         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
5245         where we need to reload fpul from a system register.
5246
5247 1999-11-24  Andreas Jaeger  <aj@suse.de>
5248
5249         * config/mips/linux.h (CPP_PREDEFINES): Added.
5250         (LINK_SPEC): Remove -Y since this is only needed on sparc.
5251
5252 1999-11-24  Andreas Jaeger  <aj@suse.de>
5253
5254         * config/mips/linux.h (TARGET_VERSION): Added.
5255         (HANDLE_SYSV_PRAGMA): Added.
5256         (DEFAULT_VTABLE_THUNKS): Added.
5257
5258 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5259
5260         * local-alloc.c (qty): New structure and static variable.
5261         (qty_phys_reg): Remove, all references changed to qty.
5262         (qty_n_refs): Likewise.
5263         (qty_min_class): Likewise.
5264         (qty_birth): Likewise.
5265         (qty_death): Likewise.
5266         (qty_size): Likewise.
5267         (qty_mode): Likewise.
5268         (qty_n_calls_crossed): Likewise.
5269         (qty_alternate_class): Likewise.
5270         (qty_changes_size): Likewise.
5271         (qty_first_reg): Likewise.
5272         (alloc_qty): Rename variable QTY to QTYNO.
5273         (finf_free_reg): Likewise.
5274         (local_alloc): Allocate qty, do not allocate the removed variables.
5275
5276 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
5277
5278         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
5279         when -membedded-pic is passed.
5280
5281         * config/mips/mips.md (casesi): Handle 64-bit case too.
5282         (casesi_internal_di): New insn.
5283
5284         * config/mips/mips.c (embedded_pic_offset): Always make the
5285         embedded-pic subtractions relative to the name of the current
5286         function by use of the magic string "..CURRENT_FUNCTION".
5287         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
5288
5289 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
5290
5291         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
5292         of (const_int 0), when what we really care about is
5293         whether it's a zero constant anyway.
5294         (div_trap_mips16): Likewise.
5295
5296 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
5297
5298         * loop.c (loop_optimize): Always find_loop_tree_blocks and
5299         unroll_block_trees when generating debuggable code.
5300
5301         * tree.h (unsave_expr_1): New function.
5302         (lang_unsave): New variable.
5303         (get_callee_fndecl): New function.
5304         * tree.c (unsave_expr_now_r): New function.
5305         (lang_unsave): Define.
5306         (unsave_expr_1): Likewise.
5307         (unsave_expr_now_r): Split out from unsave_expr_now.
5308         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
5309         call unsave_expr_now_r.
5310         (get_callee_fndecl): Define.
5311
5312         * Makefile.in (gencheck): Don't depend on lang_tree_files.
5313         (gencheck.o): Do depend on lang_tree_files.
5314
5315         * integrate.h (copy_decl_for_inlining): New declaration.
5316         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
5317         (copy_decl_for_inlining): New function.
5318         (integrate_parm_decls): Use it.
5319         (integrate_decl_tree): Likewise.
5320
5321 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
5322
5323         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
5324         the second two from the first.
5325         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
5326         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
5327         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
5328         ISA_HAS_FP4.
5329         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
5330         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
5331         ISA_HAS_FP4.
5332
5333 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
5334
5335         * pa.md (call_internal_symref, call_value_internal_symref): No mode
5336         needed on the address operand.
5337         * pa.c (call_operand_address): Check for the correct mode.
5338
5339 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
5340
5341         * loop.c: Include "basic-block.h".
5342         (try_copy_prop, replace_loop_reg): New functions.
5343         (load_mems): Detect registers that just hold copies of the hoisted
5344         mem, and call try_copy_prop to eliminate them.
5345         * Makefile.in (loop.o): Update dependencies.
5346
5347 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
5348
5349         * Makefile.in (gencheck.o): Depend on gencheck.h.
5350         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
5351         (insn-peep.o): Depend on except.h and function.h.
5352         (insn-attrtab.o): Depend on RECOG_H.
5353         (insn-output.o): Depend on toplev.h and flags.h.
5354         (gengenrtl.o): Depend on real.h.
5355         (gen-protos.o): Depend on cpplib.h and cpphash.h.
5356         Unify all dependencies to be on RECOG_H rather than recog.h.
5357
5358 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5359
5360         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
5361         * configure.in: Try building a bi-arch 32/64-bit compiler on
5362         sparc-*-solaris2.7 and higher.
5363         * configure: Rebuild.
5364
5365 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
5366
5367         * config/freebsd.h: New, FreeBSD architecture independent file.
5368         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
5369         independent pieces.
5370         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
5371         directly by i386/freebsd.h.
5372         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
5373         independent configuration file.
5374         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
5375         directly by i386/freebsd.h.
5376         * configure: Rebuilt.
5377
5378         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
5379         which is in the user's namespace.
5380         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
5381         `i386' which is not in our namespace.
5382
5383 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
5384
5385         * invoke.texi (ARM Options): Add in -mno-alignment-traps
5386
5387 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
5388
5389         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
5390         (add_dwarf_attr, add_child_die): Just push onto the front.
5391         (reverse_die_lists): New fn.
5392         (add_sibling_attributes): Use it.
5393         (push_decl_scope): Reorganize.
5394         (add_name_and_src_coords_attributes): Don't set file and line for
5395         an artificial decl.
5396         (gen_subprogram_die): An artificial function doesn't need to match
5397         file and line.
5398         (gen_compile_unit_die): Return the generated die.  Only add
5399         AT_comp_dir if the filename is relative.
5400         (remove_AT): Simplify loop.  Also free string values.
5401         (output_die): A DIE ref can't be null.
5402         (output_value_format, value_format): Take a dw_attr_ref.
5403         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
5404         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
5405         AT_addr, AT_lbl): New fns.
5406         (various): Use them.
5407         (various): Constify.
5408
5409 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5410
5411         * combine.c (combine_simplify_rtx): When handling a SUBREG,
5412         take SUBREG_WORD into account.
5413         (if_then_else_cond): Likewise.
5414
5415 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
5416
5417         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
5418         clause from BSD license, pursuant with
5419
5420           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
5421
5422 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
5423
5424         * loop.c (load_mems): Reformat slightly.
5425         * basic-block.h (regset_head): New typedef.
5426         (INIT_REG_SET): New macro.
5427
5428 1999-11-22  Bruce Korb  <autogen@linuxbox.com
5429
5430         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
5431         (mips-dec-bsd*): non-functional code
5432         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
5433
5434         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
5435         added three replacement fixes
5436         (no_double_slash): removed comments that are not (any longer) pertinent
5437         (bad_lval): this fix currently runs against many files.
5438         The comment seems to indicate that we should select for files
5439         containing 'pragma extern_prefix'.
5440
5441         * fixinc/fixinc.x86-linux-gnu: deleted
5442         * fixinc/inclhack.sh:  regen
5443         * fixinc/fixincl.x:  regen
5444         * fixinc/fixincl.sh:  regen
5445
5446 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
5447
5448         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
5449         its code is INSN and it has no notes.
5450
5451 1999-11-22  Andrew Haley  <aph@cygnus.com>
5452
5453         * varasm.c (function_defined): Remove.
5454         (make_function_rtl): Don't set function_defined.
5455         (make_decl_rtl): Remove global register warning.
5456         * regclass.c (no_global_reg_vars): New variable.
5457         (globalize_reg): Warn if function has already been defined.
5458         (regclass_init): Set no_global_reg_vars.
5459
5460 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5461
5462         * regclass.c (reg_pref): New structure and static variable
5463         (prefclass): Delete.
5464         (altclass): Delete.
5465         (all uses of prefclass and altclass): Use reg_pref instead.
5466
5467 1999-11-21  Nick Clifton  <nickc@cygnus.com>
5468
5469         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
5470         -malignment-traps.
5471         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
5472         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
5473         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
5474
5475 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
5476
5477         * varasm.c (output_constructor): Solve problem with long long
5478         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
5479
5480 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5481
5482         * global.c (allocno): New structure and static variable.
5483         (allocno_reg): Remove, all references replaced by allocno.
5484         (allocno_size): Likewise.
5485         (hard_reg_conflicts): Likewise.
5486         (hard_reg_preferences): Likewise.
5487         (hard_reg_copy_preferences): Likewise.
5488         (hard_reg_full_preferences): Likewise.
5489         (regs_someone_prefers): Likewise.
5490         (allocno_calls_crossed): Likewise.
5491         (allocno_n_refs): Likewise.
5492         (allocno_live_length): Likewise.
5493         (find_reg): Rename ALLOCNO to NUM.
5494
5495         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
5496         references updated.
5497         (may_move_out_cost): New variable.
5498         (init_reg_sets_1): Initialize may_move_out_cost.
5499         (record_reg_classes): Use may_move_out_cost.
5500
5501         * regclass.c (dump_regclass): New function.
5502         (regclass): New parameter DUMP, call DUMP_REGCLASS.
5503         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
5504         pass rtl_dump_file to regclass.
5505         * rtl.h (regclass): Update prototype.
5506
5507 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5508
5509         * i386.md (neg, not and abs patterns): Revmap to use
5510         ix86_expand_unary_operator and ix86_unary_operator_ok.
5511         (add?f and sub?f expanders): Force operand 1 to register.
5512         * i386.c (ix86_expand_unary_operator): Rewrite.
5513         (ix86_unary_operator_ok): Ensure that memory operands
5514         match real opcode.
5515         (ix86_binary_operator_ok): Do not allow operand 1 to
5516         come into memory and operand 0 not.
5517         (ix86_expand_binary_operator): Ensure that
5518         src1 is not non-matching memory.
5519
5520         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
5521         to support integer registers and memory.
5522         (abss?2_integer): Likewise.
5523
5524         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
5525         (REG_CLASS_NAMES): Likewise.
5526         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
5527         and GENERAL_REGS.
5528         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
5529         (movsf): Likewise; unify 4th and 5th alternative.
5530         (pushdf): Likewise.
5531         (movdf_1): Likewise; rename to movdf_integer.
5532         (pushxf): Likewise; rename to pushxf_integer; fix output template;
5533         remove redundant splitter.
5534         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
5535         (movdf_nointeger): New.
5536         (movxf_nointeger): New.
5537         (pushxf_nointeger): New.
5538
5539         * i386.md (extend?f?f): Split to expander and pattern, refuse two
5540         memory operands in patterns.
5541         (fop*): Refuse two memory operands.
5542
5543         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
5544         on !TARGET_USE_CLTD CPUs.
5545
5546 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
5547
5548         * extend.texi: Document C++ restricted pointers and references.
5549
5550 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
5551
5552         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
5553         (invalidate_skipped_set): Call it unconditionally.
5554         (cse_set_around_loop): Likewise.
5555
5556 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
5557
5558         * rtl.texi (mem): Add documentation for alias-set argument
5559         to RTX `mem'.
5560
5561 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5562
5563         * i386.h (struct_processor_costs): New fields int_load, int_store,
5564         fp_move, fp_load and fp_store
5565         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
5566         fp->int moves
5567         (MEMORY_MOVE_COST): New macro.
5568         * i386.c (386_cost): Define new fields.
5569         (i486_cost): Likewise.
5570         (pentium_cost): Likewise.
5571         (pentiumpro_cost): Likewise.
5572         (k6_cost): Likewise.
5573
5574 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
5575                           Geoffrey Keating  <geoffk@cygnus.com>
5576
5577         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
5578
5579         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
5580         MASK_ALIGN_INT.
5581
5582         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
5583         (TARGET_STRICT_ALIGNMENT): New macro.
5584         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
5585         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
5586         * invoke.texi (M680x0 Options): Document -mstrict-align.
5587
5588 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
5589                           Richard Henderson  <rth@cygnus.com>
5590
5591         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
5592         (ix86_split_long_move): Declare.
5593         * i386.c (split_xf, ix86_split_movdi): Remove.
5594         (ix86_split_to_parts, ix86_split_long_move): New.
5595         * i386.md (dimode move splitters): Use ix86_split_long_move.
5596         (dfmode move splitters): Likewise.
5597         (xfmode move splitters): Likewise.
5598         (movsf_1): Allow F->r.
5599         (movdf_1, movxf_1): Allow F->ro.
5600
5601 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
5602
5603         * except.h (struct eh_entry): Add goto_entry_p.
5604         (eh_region_from_symbol): Remove prototype.
5605         * except.c (find_func_region_from_symbol): New function.
5606         (emit_cleanup_handler): Likewise.
5607         (eh_region_from_symbol): Make it static.
5608         (add_new_handler): Verify the argument.
5609         (find_func_region): Update comment.
5610         (expand_eh_region_end): Expand handlers here, rater than waiting
5611         until expand_leftover_cleanups or start_all_catch.
5612         (expand_leftover_cleanups): Don't expand here.
5613         (expand_start_all_catch): Or here.
5614         (expand_rethrow): Check the return value from find_func_region.
5615         * function.c (expand_function_end): Emit the catch_clauses.
5616
5617 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
5618
5619         * integrate.c (expand_inline_function): Add necessary check for NULL.
5620
5621 1999-11-18  Nick Clifton  <nickc@cygnus.com>
5622
5623         * toplev.c (main): Correctly detect an unrecognised option.
5624
5625         * cppinit.c (cpp_handle_option): Do not claim to have consumed
5626         a -f option if it has not been recognised.
5627
5628 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
5629
5630         * basic-block.h (update_life_extent): Remove trailing comma on
5631         enumeration type list.
5632
5633 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5634
5635         * varasm.c (output_constructor) Solved problem with long long
5636         bitfields. Corrected calculating this_time and shift. Also
5637         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
5638
5639 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
5640
5641         * flow.c (split_edge): Take looping structure into account when
5642         determining where to put the new block note.
5643
5644 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
5645
5646         * Makefile.in (ggc-none.o): Provide host specific version if
5647         needed.
5648
5649 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
5650
5651         * cse.c (delete_trivially_dead_insns): Identify no-op insns
5652         containing subregs too.
5653
5654 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
5655
5656         * invoke.texi: Add documentation for -muninit-const-in-rodata.
5657         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
5658         (TARGET_UNINIT_CONST_IN_RODATA): Define.
5659         (text_section): Add switches -munint-const-in-rodata and
5660         -mno-uninit-const-in-rodata.
5661         (ASM_OUTPUT_COMMON): Remove.
5662         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
5663         const objects should be placed in read-only data. Otherwise declare
5664         them in common.
5665
5666 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
5667
5668         * jump.c (jump_optimize_1): Revert last change.
5669
5670 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
5671
5672         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
5673         test if optimizing for size.
5674
5675 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
5676
5677         * Makefile.in (toplev.o): Depend on except.h.
5678         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
5679
5680 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5681
5682         * i386.md (divmodsi4): Rewrite to expander.
5683         (*divmodsi4_nocltd): New.
5684         (*divmodsi4_cltd): New.
5685         (divmodsi4 splitter): Handle the case when input comes in edx.
5686         (udivmodhi4): Do not use constraints in exander.
5687         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
5688
5689 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
5690
5691         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
5692         for the common case.
5693
5694 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
5695
5696         * explow.c (hard_function_value): Add outgoing argument.
5697         * expr.h (hard_function_value): Declare it.
5698         * calls.c (expand_call, emit_library_call_value): Update callers.
5699         * function.c (aggregate_value_p): Ditto.
5700         (diddle_return_value): Must look at the outgoing registers
5701         on archs with register windows.
5702
5703 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
5704
5705         * alpha.c (alpha_build_va_list): Use make_lang_type and
5706         initialize TYPE_NAME for the va_list record.
5707
5708         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
5709
5710         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
5711         for printing.
5712         * ggc.h (struct ggc_statistics): Rearrange elements for better
5713         packing on 64-bit hosts.
5714         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
5715         (compute_nearerout): Likewise.
5716
5717 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
5718
5719         * config/rs6000/rs6000.c (first_reg_to_save): Save
5720         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
5721
5722 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
5723
5724         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
5725         notion of nesting to find the DIE for a type or function.
5726         DIEs can go in limbo even if we got a context_die.
5727         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
5728         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
5729         for local type.
5730         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
5731         (gen_type_die): Writing out the context doesn't cause member class
5732         template instantiations to be written out as well.
5733
5734 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
5735
5736         * rs6000.h (ASM_OUTPUT_DEF): New.
5737         Based on proposed addition from David Edelsohn.
5738
5739 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
5740             Bruce Korb  <autogen@linuxbox.com>
5741
5742         * fixinc/inclhack.def
5743         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
5744         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
5745                 in net/inet.h.
5746         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
5747         (svr4_endian): enabled with SVR5
5748         (svr4_mkdev): simplified syntax and enabled with SVR5
5749
5750 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
5751
5752         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
5753         * configure: Rebuilt.
5754         * config/t-freebsd-thread: New file.
5755
5756 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
5757
5758         * i386.c (ix86_decompose_address): Verify the base is a REG
5759         before trying to examine its register number.
5760
5761         * basic-block.h: Remove all #defines and prototypes related to
5762         integer lists.
5763         (free_bb_mem, compute_preds_succs): Remove prototype.
5764         * rtl.h (free_bb_mem): Remove prototype.
5765         * flow.c (alloc_int_list_node); Remove function.
5766         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
5767         (compute_preds_succs, free_bb_mem): Likewise.
5768         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
5769         * toplev.c (rest_of_compilation): Likewise.
5770         * haifa-sched.c (build_control_flow): Use flow generated edge
5771         list to build the haifa specific edge list.
5772         (find_rgns): Use new CFG data structures instead of pred/succ lists.
5773         (schedule_insns): Do not build pred/succ lists anymore.  Instead
5774         build the edge table.
5775
5776         * basic-block.h (dump_bb_data): Remove declaration.
5777         * flow.c (dump_bb_data): Remove function.
5778         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
5779         (sbitmap_union_of_predsucc): Likewise.
5780
5781         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
5782         argument.  All callers changed.
5783         (delete_null_pointer_checks_1): No longer need to compute the
5784         pred/succ lists.
5785
5786         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
5787         All callers changed.
5788         (pre_expr_reaches_here_p_work): Likewise.
5789         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
5790         * lcm.c (compute_laterin): Fix initialization of LATER.
5791         (compute_nearerout): Similarly for NEARER.
5792
5793 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5794
5795         * cse.c (set_nonvarying_address_components): Delete unused function.
5796         (refers_to_p): Likewise.
5797
5798 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
5799
5800         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
5801         needed.
5802
5803 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5804
5805         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
5806         definition in do while (0).
5807
5808 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
5809
5810         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
5811
5812 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
5813
5814         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
5815
5816 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
5817
5818         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
5819         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
5820         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
5821         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
5822
5823         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
5824         saved on the stack.  Output more accurate stack frame statistics
5825         into assembler file.
5826
5827 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
5828
5829         * genextract.c (record_insn_name): New function.
5830         (get_insn_name): No longer a stub.
5831         (main): Call record_insn_name for each insn.  After each label
5832         written, print the insn name in a comment.
5833
5834 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5835
5836         * output.h (const_section, init_section, fini_section): Add
5837         prototypes.
5838
5839         * alpha/elf.h (const_section): Delete declaration.
5840
5841         * svr4.h (const_section): Likewise.
5842
5843 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
5844
5845         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
5846         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
5847         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
5848         expressions.
5849         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
5850         variable-sized array bounds.
5851
5852 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
5853
5854         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
5855         ASM_OUTPUT_LABEL.
5856
5857 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5858
5859         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
5860         addresses the same way GO_IF_LEGITIMATE_INDEX does.
5861
5862 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5863
5864         * cse.c (hash_arg_in_struct): Delete.
5865         (struct table_elt): Delete elt in_struct.
5866         (struct set): Delete elt src_in_struct.
5867         (merge_equiv_classes): Don't set either hash_arg_in_struct or
5868         the corresponding in_struct elts.
5869         (canon_hash): Likewise.
5870         (safe_hash): Likewise.
5871         (find_best_addr): Likewise.
5872         (record_jump_cond): Likewise.
5873         (cse_insn): Likewise.
5874
5875 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
5876
5877         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
5878
5879         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
5880         unsigned types.
5881
5882 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
5883
5884         * function.c (diddle_return_value): Put back check that the DECL_RTL
5885         for the function is a register.
5886
5887         * function.c (diddle_return_value): Use hard_function_value to
5888         get an rtx suitable for use in the USE/CLOBBER insn.
5889
5890         * global.c (global_conflicts): Update comments.
5891         (record_conflicts): No need to record conflicts between pseudos here.
5892
5893 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
5894
5895         * fixinc/fixincl.c: Added verbose levels for status messages
5896
5897 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5898
5899         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
5900         operand as argument to expand_and or expand_binop.
5901
5902 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
5903
5904         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
5905         gcc_add_string_root.
5906
5907 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
5908
5909         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
5910
5911 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
5912
5913         * flow.c (compute_flow_dominators): Initially put all blocks on
5914         the worklist.
5915         * lcm.c (compute_antinout_edge, compute_available): Similarly.
5916         * gcse.c (compute_cprop_avinout): Remove.
5917         (compute_cprop_data): Use compute_available.
5918         (delete_null_pointer_checks_1): Use compute_available.
5919
5920         * basic-block.h (compute_available): Returns a void now.
5921         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
5922         to return a value anymore.
5923         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
5924         worklists.  Fix boundary cases. Compute maximal solutions.
5925         (compute_laterin, compute_nearerout): Similarly.
5926
5927         * dwarf2out.c (add_AT_location_description): Allow
5928         (mem (plus (pseudo) (...)) too.
5929
5930 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
5931
5932         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
5933
5934 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
5935                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5936
5937         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
5938
5939         * gansidecl.h: Likewise.
5940
5941         * rtl.c: Likewise.
5942
5943         * rtl.h: Likewise.
5944
5945         * toplev.h: Likewise.
5946
5947         * tree.c: Likewise.
5948
5949         * tree.h: Likewise.
5950
5951         * varray.c: Likewise.
5952
5953         * varray.h: Likewise.
5954
5955 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
5956
5957         * gcov.c (struct arcdata): Add hits and total, remove prob.
5958         (output_branch_counts): New.
5959         (process_args): Set output_branch_counts if -c.
5960         (calculate_branch_probs): Store hits and total instead of
5961         percentage.
5962         (output_data): Emit counts if output_branch_counts is true.
5963         * gcov.texi (Invoking Gcov): Document -c switch..
5964
5965 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
5966
5967         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
5968         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
5969
5970 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
5971
5972         * invoke.texi (C Dialect Options): Add missing builtins from
5973         c-common.c to list.
5974         * extend.texi (Other Builtins): Copy to this list.
5975
5976 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5977
5978         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
5979         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
5980         redundant bitmap.h.
5981
5982 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
5983
5984         * flow.c (compute_flow_dominators): No longer treat basic block 0
5985         or (n_basic_blocks - 1) specially.  Clear the AUX field before
5986         starting computation of doms/pdoms.  Fix initial state for pdoms.
5987
5988 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5989
5990         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
5991         match rtl.o's: added ggc.h and toplev.h
5992         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
5993         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
5994         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
5995
5996 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
5997
5998         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
5999         from HAVE_DOS_BASED_FILESYSTEM.
6000         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
6001         HAVE_DOS_BASED_FILESYSTEM.
6002         (main): Likewise.
6003         (split_directories): Only special-case DOS file names if
6004         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
6005         instead of explicit tests.  Conditionalize on !VMS.
6006         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
6007         tests.  Conditionalize on !VMS.
6008         (process_command): Only use make_relative_prefix if !VMS.
6009         (free_split_directories): Conditionalize on !VMS.
6010         (DIR_UP): Conditionalize on !VMS.
6011
6012 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
6013
6014         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
6015
6016 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
6017
6018         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
6019         case.
6020
6021 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
6022
6023         * invoke.texi (Environment Variables): Document relative path
6024         lookup.
6025         * gcc.c (DIR_UP): If not defined, define as "..".
6026         (standard_bindir_prefix): New static, holds target location to
6027         install binaries.
6028         (split_directories): New function to split a filename into
6029         component directories.
6030         (free_split_directories): New function, release memory allocated
6031         by split_directories.
6032         (make_relative_prefix): New function, make a relative pathname if
6033         the compiler is not in the expected location.
6034         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
6035         can figure out an appropriate prefix from argv[0].
6036         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
6037         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
6038         STANDARD_BINDIR_PREFIX.
6039
6040 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6041
6042         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
6043         in c4x.c.
6044         * config/c4x/c4x.h: Moved prototypes to c4x.h.
6045         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
6046         c4x_secondary_memory_needed) Delete.
6047         (fp_zero_operand): Add mode argument.
6048
6049 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
6050
6051         * reload1.c (reload_reg_free_for_value_p): Don't use a register
6052         that is in reload_reg_used.
6053
6054 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
6055
6056         * config/arm/arm-protos.h: New file: Prototypes for functions
6057         defined in arm.c and pe.c.
6058         * config/arm/arm.h: Fix compile time warnings.
6059         * config/arm/arm.c: Fix compile time warnings.
6060         * config/arm/pe.h: Fix compile time warnings.
6061         * config/arm/aout.h: Fix compile time warnings.
6062
6063 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
6064
6065         * config/m32r/m32r-protos.h: New file: Prototypes for functions
6066         defined in m32r.c
6067
6068         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
6069         Add support for subtargets.
6070         Add prototypes for new predicates.
6071         Add scheduling macros.
6072
6073         * config/m32r/m32r.c: Fix compile time warnings.
6074         (int8_operand): New predicate function.
6075         (reg_or_cmp_int16_operand): New predicate function.
6076         (extend_operand): New predicate function.
6077         (m32r_adjust_code): New scheduling function.
6078         (m32r_adjust_priorty): New scheduling function.
6079         (m32r_sched_init): New scheduling function.
6080         (m32r_sched_reorder): New scheduling function.
6081         (m32r_sched_variable_issue): New scheduling function.
6082         (direct_return): New codegen function.
6083         (m32r_not_same_reg): New rtl testsing function.
6084
6085         * config/m32r/m32r.md: Fix compile time warnings.
6086         Add support for pre decrement and post increment memory
6087         references.
6088         Add S<cc> patterns.
6089         Add fabs patterns.
6090
6091 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6092
6093         * global.c (EXECUTE_IF_CONFLICT): Don't define.
6094         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
6095         (find_reg): Likewise.
6096
6097 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
6098
6099         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
6100         to avoid assembler errors.
6101
6102 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
6103
6104         * config/v850/v850-protos.h: New file: Prototypes for functions
6105         defined in v850.c
6106         * config/v850/v850.h: Move prototypes to v850-protos.h
6107         * config/v850/v850.c: Move prototypes to v850-protos.h
6108         * config/v850/v850.md: Fix compile time warnings.
6109
6110         * config/fr30/fr30-protos.h: New file: Prototypes for functions
6111         defined in fr30.c
6112         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
6113         * config/fr30/fr30.c: Fix compile time warnings.
6114         * config/fr30/fr30.md: Fix compile time warnings.
6115
6116 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
6117
6118         * tree.h (get_containing_scope): Declare it.
6119         * tree.c (get_containing_scope): New fucntion.
6120         (decl_function_context): Use it.
6121         * toplev.c (rest_of_compilation): Use get_containing_scope.
6122
6123 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6124
6125         * Makefile.in (rtl.o): Depend on toplev.h.
6126
6127 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
6128
6129         * cse.c (delete_trivially_dead_insns): Replace alloca with
6130         xmalloc/xcalloc.
6131         * except.c (update_rethrow_references): Likewise.
6132         (init_eh_nesting_info): Likewise.
6133         * function.c (identify_blocks): Likewise.
6134         * gcse.c (dump_hash_table): Likewise.
6135         * graph.c (print_rtl_graph_with_bb): Likewise.
6136         * loop.c (combine_movables): Likewise.
6137         (move_movables): Likewise.
6138         (count_loop_regs_set): Likewise.
6139         (strength_reduce): Likewise.
6140         * profile.c (compute_branch_probabilities): New function, split
6141         out from ...
6142         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
6143         * regclass.c (regclass): Likewise.
6144         * regmove.c (regmove_optimize): Likewise.
6145         * toplev.c (compile_file): Likewise.
6146         (main): Don't mess with the stack rlimit.
6147
6148 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
6149
6150         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
6151         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
6152
6153 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
6154
6155         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
6156
6157 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
6158
6159         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
6160         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
6161         macro expansion.
6162
6163 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
6164
6165         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
6166
6167 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
6168
6169         * gcse.c (post_dominators): Kill.
6170         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
6171         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
6172         pass in a pdom array since we do not need pdoms.
6173         * haifa-sched.c (schedule_insns): Similarly.
6174         * flow.c (compute_dominators): Remove dead function.
6175         (compute_flow_dominators): Do not compute doms or pdoms if the
6176         caller does not request them.  Split up loop to build doms and
6177         pdoms.  Use a worklist to compute doms and pdoms.
6178         * basic-block.h (compute_dominators): Remove prototype.
6179
6180 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
6181
6182         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
6183         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
6184         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
6185         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
6186         (cant_move, fed_by_spec_load, is_load_insn): Remove.
6187         (schedule_region): Remove unused variable.
6188         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
6189
6190 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
6191
6192         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
6193         (update_equiv_regs): Likewise.
6194         (block_alloc): Likewise.
6195         * reg-stack.c (reg_to_stack): Likewise.
6196         (convert_regs_2): Likewise.
6197         * reload1.c (reload_as_needed): Likewise.
6198
6199 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
6200
6201         * Makefile.in (dbxout.o): Depend on ggc.h.
6202         (dwarf2out.o): Likewise.
6203         (xcoffout.o): Likewise.
6204         * dbxout.c: Include ggc.h.
6205         (dbxout_init): Register lastfile as a root.
6206         * dwarf2out.c: Include ggc.h.
6207         (dwarf2out_line): Register lastfile as a root.
6208         * xcoffout.c: Include ggc.h.
6209         (xcoffout_source_line): Register xcoff_lastfile as a root.
6210
6211 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
6212
6213         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
6214
6215 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
6216
6217         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
6218         defined.
6219         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
6220
6221 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6222
6223         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
6224         (EXECUTE_IF_CONFLICT): Likewise.
6225         (ALLOCNO_LIVE_P): Avoid signed division.
6226         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
6227         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
6228         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
6229
6230 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
6231
6232         * haifa-sched.c (schedule_block): Don't crash if there's no
6233         next insn for an interblock movement.
6234         (add_branch_dependences): Don't allow clobber insns to move either.
6235
6236 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
6237
6238         * i386.c (split_xf): New.
6239         * i386-protos.h: Declare it.
6240         * i386.md (movxf_1): Add general regs alternatives.
6241         (movxf_1+1): New splitter for same.
6242
6243 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
6244
6245         * function.c (purge_addressof_1): Add missing return values.
6246
6247 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
6248
6249         * function.c (is_addressof): New function.  Returns true if
6250         the given piece of RTL is an ADDRESSOF.
6251         (purge_addressof_1): Make boolean.  Return false if the
6252         ADDRESSOFs could not be purged.
6253         (purge_addressof): If ADDRESSOFs could not be purged from the
6254         notes attached to an insn, remove the offending note(s),
6255         unless they are attached to a libcall.
6256
6257 1999-11-05  Andreas Jaeger  <aj@suse.de>
6258
6259         * genoutput.c (null_operand =): Initialize all fields.
6260
6261         * errors.h: Add extern to prototypes.
6262
6263 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
6264
6265         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
6266         * configure: Rebuilt.
6267
6268 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6269
6270         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
6271         (mirror_conflicts): New function.
6272         (global_alloc): Call it.
6273         (expand_preferences): Remove redundant CONFLICTP test.
6274         (find_reg, dump_conflicts): Likewise.
6275         (prune_preferences): Process conflicts one word at a time.
6276
6277 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
6278
6279         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
6280         instead of an explicit loop.
6281
6282 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
6283
6284         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
6285         if REG_RETVAL check succeeds, then put classp in src_elt.
6286
6287 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
6288
6289         * function.c (pad_to_arg_alignment): Only update argument_pad
6290         if the argument's alignment is greater than STACK_BOUNDARY.
6291
6292 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
6293
6294         * bitmap.h (BITMAP_XFREE): New.
6295         * flow.c (life_analysis): Use it.
6296         (life_analysis_1): Free blocks.
6297
6298         * combine.c (undo_commit): New.
6299         (try_combine): Use it.  Don't zap undobuf.undos.
6300         (combine_instructions): Don't zap undobuf.undos; free the
6301         undobuf.frees list.
6302
6303         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
6304
6305         * stmt.c (cost_table_): New.
6306         (estimate_case_costs): Use it instead of xmalloc.
6307
6308         * toplev.c (compile_file): Reuse dumpname memory instead
6309         of strdup'ing it.
6310
6311 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
6312
6313         * reg-stack.c (convert_regs_1): Initialize target_stack->top
6314         after verifying an EH edge.
6315
6316         * haifa-sched.c (init_rgn_data_dependences): Correctly
6317         size bb_pending_lists_length when zeroing.
6318
6319 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
6320
6321         * function.c (diddle_return_value): New.
6322         (expand_function_end): Use it.
6323         * stmt.c (expand_null_return): Likewise.
6324         (expand_value_return): Likewise.
6325
6326         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
6327
6328         * reload1.c (reload): Don't remove return value clobbers.
6329
6330 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
6331
6332         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
6333
6334 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
6335
6336         * cse.c (cse_main): Use xmalloc, not alloca.
6337         (cse_basic_block): Likewise.
6338         * local-alloc.c (local_alloc): Likewise.
6339
6340 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
6341                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6342
6343         * rtl.c: Include toplev.h.
6344         (fatal): Remove declaration.
6345
6346 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
6347
6348         * haifa-sched.c (schedule_block): Fix thinko.
6349
6350 1999-11-03  James McKelvey <mckelvey@fafnir.com>
6351
6352         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
6353         S_IR* defined values
6354
6355 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
6356
6357         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
6358         call `malloc' instead.
6359
6360 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
6361
6362         * flags.h (flag_renumber_insns): Declare.
6363         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
6364         renumbering table.
6365         * rtl.h (renumber_insns): Change prototype.
6366         * toplev.c (flag_renumber_insns): Define.
6367         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
6368
6369 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
6370
6371         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
6372         and fpsqrtd.  Use them and create fdiv function unit to more
6373         accurately represent fpu sqrt pipeline semantics on UltraSparc.
6374         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
6375
6376 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
6377
6378         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
6379         3 on UltraSparc.
6380         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
6381         insn into ready list, do not use just a raw swap.
6382
6383 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
6384
6385         * rtl.h (renumber_insns): New function.
6386         (remove_unnecessary_notes): Likewise.
6387         * emit-rtl.c (renumber_insns): Define.
6388         (remove_unncessary_notes): Likewise.
6389         * toplev.c (rest_of_compilation): Remove dead code.
6390         Use renumber_insns and remove_unncessary_notes.
6391
6392         * gcse.c (struct null_pointer_info): New type.
6393         (get_bitmap_width): New function.
6394         (current_block): Remove.
6395         (nonnull_local): Likewise.
6396         (nonnull_killed): Likewise.
6397         (invalidate_nonnull_info): Take a null_pointer_info as input.
6398         (delete_null_pointer_checks_1): New function.
6399         (delete_null_pointer_checks): Use it.
6400
6401         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
6402         (split_edges): Likewise.
6403         (schedule_block): Likewise.
6404         (compute_block_backward_dependencies): Likewise.
6405         (schedule_region): Likewise.
6406         (schedule_insns): Likewise.
6407
6408 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
6409
6410         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
6411         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
6412         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
6413         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
6414         * jump.c (delete_unreferenced_labels): Don't delete if
6415         LABEL_ALTERNATE_NAME is set.
6416         * print-rtl.c (print_rtx): Dump alternate name.
6417         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
6418         * rtl.h (LABEL_ALTERNATE_NAME): Define.
6419         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
6420         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
6421
6422 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6423
6424         * fix-header.c (recognized_extern, recognized_function): Constify
6425         a char*.
6426
6427         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
6428         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
6429         (compute_available): Remove unused variable `last'.
6430         (compute_nearerout): Remove unused variable `temp_bitmap'.
6431         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
6432         Remove unused variable `x'.
6433
6434         * scan.h (recognized_function, recognized_extern): Constify a
6435         char*.
6436
6437         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
6438
6439 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6440
6441         * varasm.c (decode_rtx_const): Use XSTR to access the string
6442         of a SYMBOL_REF.
6443
6444 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
6445
6446         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
6447
6448 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6449
6450         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
6451
6452 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
6453
6454         * pa.c (ireg_operand): New function.
6455         * pa.h (PREDICATE_CODES): Handle ireg_operand.
6456         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
6457         Fix out of date comment.
6458
6459         * pa.md (negdi2): Turn into expander + anonymous pattern.
6460
6461         * reload.c (find_reloads): Fix typos in recent change.
6462
6463         * dwarf2out.c: Do not include ctype.h.
6464
6465 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6466
6467         * regclass.c (record_reg_classes): Always use may_move_cost when
6468         seeing how operand fits with various register classes.
6469
6470 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
6471
6472         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
6473         * toplev.c: Revert Nov 1 13:22 change.
6474
6475 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
6476
6477         * config/pa/pa.md (height reduction patterns): Add checks for
6478         overlapping operands to avoid semantic-destroying splits for
6479         height reduction patterns.
6480
6481 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6482
6483         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
6484         have been an hyphen, fixed.
6485         * configure: Rebuilt.
6486
6487 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
6488
6489         * config/arm/tpe.h: Add prototypes for exported functions.
6490         * config/arm/pe.c: Fix compile time warnings.
6491         * config/arm/semi.h: Fix compile time warnings.
6492         * config/arm/arm.c: Fix compile time warnings.
6493         * config/arm/arm.h: Fix compile time warnings.
6494         * config/arm/arm.md: Fix compile time warnings.
6495         * config/arm/thumb.c: Fix compile time warnings.
6496         * config/arm/thumb.h: Fix compile time warnings.
6497         * config/arm/thumb.md: Fix compile time warnings.
6498
6499 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
6500
6501         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
6502         detection code
6503
6504         * unroll.c (unroll_loop): Remove LOOP notes when loop is
6505         completely unrolled.
6506
6507 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6508
6509         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
6510
6511 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
6512
6513         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
6514         * rtl.h (rtx_equal_p): Move prototype.
6515         * rtl.c (rtx_equal_function_value_matters): Move from
6516         rtlanal.c
6517         (rtx_equal_p): Likewise.
6518         * rtlanal.c (rtx_equal_function_value_matters): Delete.
6519         (rtx_equal_p): Likewise.
6520
6521 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
6522
6523         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
6524         ! HAS_INIT_SECTION.
6525
6526 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
6527
6528         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
6529
6530         * pa.h (ADDR_VEC_ALIGN): Define.
6531
6532         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
6533         notes when presented with "if (foo) break; end_of_loop" and
6534         the break sequence gets moved out of the loop.
6535
6536         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
6537         Remove explicit zero initializations of entries within MAP.
6538
6539 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
6540
6541         * reg-stack.c (convert_regs_1): Handle EH edges specially.
6542
6543 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
6544
6545         * bitmap.h (BITMAP_XMALLOC): New macro.
6546         * flow.c (CLEAN_ALLOCA): Remove.
6547         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
6548         (life_analysis): Likewise.
6549         (update_life_info): Don't use CLEAN_ALLOCA.
6550         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
6551         (calculate_global_regs_live): Likewise.
6552         (print_rtl_with_bb): Likewise.
6553         (verify_flow_info): Likewise.
6554         * global.c (global_alloc): Likewise.
6555         (global_conflicts): Likewise.
6556         * integrate.c (save_for_inline_nocopy): Likewise.
6557         (expand_inline_function): Likewise.
6558         * jump.c (jump_optimize_1): Likewise.
6559         (duplicate_loop_exit_test): Likewise.
6560         (thread_jumps): Likewise.
6561         * loop.c (loop_optimize): Likewise.
6562         (combine_givs): Likewise.
6563         (recombine_givs): Likewise.
6564         * reorg.c (dbr_schedule): Likewise.
6565         * unroll.c (unroll_loop): Likewise.
6566
6567         * combine.c (combine_instructions): Use xmalloc instead of alloca.
6568
6569 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
6570
6571         * toplev.c (rest_of_compilation): Don't optimize the CFG
6572         when rebuilding, just before dbr.
6573
6574 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6575
6576         * output.h (assemble_end_function, assemble_destructor,
6577         assemble_constructor, assemble_gc_entry, assemble_global,
6578         assemble_label, output_constant_pool) Constify a char*.
6579
6580         * varasm.c (assemble_destructor, assemble_constructor,
6581         assemble_gc_entry, assemble_end_function, assemble_global,
6582         assemble_label, output_constant_pool): Likewise.
6583
6584 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
6585
6586         * config/arm/thumb.c (thumb_expand_prologue): Add comments
6587         explaining what is goin on in this function.
6588
6589 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6590
6591         * regclass.c (record_reg_classes): In matching case, recompute
6592         costs since the direction of movement is different.
6593
6594 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
6595
6596         * resource.c (mark_target_live_regs): For unconditional branches,
6597         the resources found at the branch target should be added to the
6598         resources found so far, not intersected.
6599
6600 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
6601
6602         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
6603         old cpp's.
6604         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
6605         (sys/mman.h): Include this file only if #HAVE_MMAP.
6606         (run_compiles): Initialize `esac_fmt' with one old KR string, not
6607         with automatically concatenated ANSI strings.
6608
6609 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
6610
6611         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
6612         (DIV_ROUND_UP): Robustify.
6613         (ggc_recalculate_in_use_p): New function.
6614         (release_pages): Don't inline it.
6615         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
6616         outer contexts.
6617         (ggc_pop_context): Use ggc_recalculate_in_use_p.
6618         (clear_marks): Always save in_use_p.
6619         (sweep_pages): Use ggc_recalculate_in_use_p.
6620         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
6621         Release pages before counting statistics.
6622
6623 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
6624
6625         * toplev.c (rest_of_compilation): Fix thinko in this change:
6626
6627         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
6628
6629         (rest_of_compilation): If inside an inlined external function,
6630         pretend we are just being declared.
6631
6632 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
6633
6634         * flow.c (calculate_global_regs_live): Fix thinko.
6635
6636         * integrate.c (expand_inline_function): Fix bugs in previous
6637         change from Oct 28, 1999.
6638
6639 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
6640
6641         * stmt.c (expand_value_return): Fix typo in this change:
6642
6643         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6644         (expand_value_return): Correctly convert VAL when promoting function
6645         return; support RETURN_REG being a PARALLEL.
6646
6647 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
6648
6649         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
6650
6651 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6652
6653         * hard-reg-set.h (reg_names): Constify a char*.
6654
6655         * regclass.c  (reg_names): Likewise.
6656
6657         * regs.h (reg_names): Likewise
6658
6659         * a29k/a29k.c (reg_names): Delete declaration.
6660
6661         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
6662
6663         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
6664         arc_output_function_epilogue): Likewise.
6665
6666         * elxsi/elxsi.c (reg_names): Likewise.
6667
6668         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
6669
6670         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
6671         Likewise.
6672
6673         * m88k/m88k.c (output_function_profiler): Likewise.
6674
6675         * sparc/sparc.c (sparc_flat_output_function_prologue,
6676         sparc_flat_output_function_epilogue): Likewise.
6677
6678 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
6679
6680         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
6681         warning from -Wuninitialized and put it under -W.
6682         * function.c (uninitialized_vars_warning): Warn only when the
6683         corresponding flag is set.
6684
6685 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
6686
6687         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
6688         is nonzero and the single set does not have an elt, then assign
6689         it an elt.
6690
6691         * simplify-rtx.c: New file.
6692         * Makefile.in (OBJS): Add simplify-rtx.o
6693         (simplify-rtx.o): Add dependencies.
6694         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
6695         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
6696         (cse_gen_binary, simplify_unary_operation): Delete.
6697         (simplify_binary_operation, simplify_plus_minus): Likewise.
6698         (check_fold_consts, simplify_relation_operation): Likewise.
6699         (simplify_ternary_operation): Likewise.
6700         (delete_trivially_dead_insns): Simplify the contents of the
6701         REG_EQUAL note before trying to substitute it into the source
6702         of the reg-reg copy at the end of a libcall sequence.
6703
6704         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
6705         references/callers changed.
6706
6707         * mn10200.c (mn10200_va_arg): Force the return value into a
6708         register.
6709
6710         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
6711
6712         * cccp.c (macroexpand): Avoid out of range accesses for omitted
6713         arguments.
6714
6715 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
6716
6717         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
6718
6719 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
6720
6721         * fold-const.c (fold): Fix thinko when optimizing comparisons
6722         against -0.0.
6723
6724 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
6725
6726         * gcc.texi (Passes): Update front-end files to their current
6727         location.
6728
6729 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
6730
6731         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
6732         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
6733         (PREDICATE_CODES): Add addition_operation.
6734         * alpha-protos.h (addition_operation): Declare.
6735         (secondary_reload_class): Likewise.
6736         * alpha.c (addition_operation): New.
6737         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
6738         * alpha.md (adddi3): Turn into expander.
6739         (*lda, *adddi_2): New.
6740         (movsf, movdf patterns): Don't preference integer regs.
6741         (movsi, movdi patterns): Don't preference fp regs.
6742
6743 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
6744
6745         * genrecog.c (write_switch): Check for duplicate CODE cases.
6746
6747 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
6748
6749         * ggc-common.c: Update pre-function commentary.
6750         * ggc-page.c: Likewise.
6751         (poison): Remove.
6752         (poison_pages): Use memset directly.
6753         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
6754         (ggc_collect): Poison before sweeping.
6755         * ggc-simple.c: Update pre-function commentary.
6756         (ggc_alloc_obj): Poison non-zeroed memory.
6757
6758 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
6759
6760         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
6761         match format string, even on 64-bit hosts.
6762         * gcc-page.c (ggc_page_print_statistics): Likewise.
6763
6764 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
6765
6766         * config/i386/i386.c (ix86_cpu): Revert last patch.
6767         * config/i386/i386.h (ix86_cpu): Ditto.
6768
6769 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
6770
6771         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
6772         TYPE_SIZE, convert type of result to sizetype.
6773
6774 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
6775
6776         * flow.c (count_or_remove_death_notes): Equate NULL with the
6777         universal set.
6778
6779         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
6780         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
6781         dbr_schedule.
6782
6783         * i386.c (pic_label_no): Delete.
6784         (ix86_attr_length_default): Don't use single_set to peek
6785         inside a parallel.
6786
6787         * recog.c (peephole2_optimize): Allow recog_next_insn to index
6788         the first insn after bb->end.
6789         * i386.md (push mem peeps): Scratch is live after evaluation
6790         of the memory.
6791         (cmp mem peep): Similarly.
6792
6793 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
6794
6795         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
6796         * function.c (pad_to_arg_alignment): Add missing braces.
6797
6798 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6799
6800         * alpha/alpha-protos.h (literal_section): Add prototype.
6801         (alpha_need_linkage, alpha_start_function,alpha_end_function):
6802         Constify a char*.
6803
6804         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
6805         prototype.
6806         (alpha_start_function, alpha_end_function, float_strings,
6807         alpha_need_linkage): Constify a char*
6808
6809         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
6810
6811         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
6812
6813         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6814
6815         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
6816
6817 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6818
6819         * flow.c (debug_flow_info): Add prototype.
6820
6821         * gcc.c (main): Likewise.
6822
6823         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
6824         Likewise.
6825
6826         * reload1.c (failed_reload, set_reload_reg): Likewise.
6827
6828         * mips-tfile.c (main): Likewise.
6829         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
6830         with ATTRIBUTE_NORETURN.
6831
6832 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
6833
6834         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
6835         DECL is not a memory ref.
6836
6837 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
6838
6839         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
6840         * config/i386/i386.c (ix86_cpu): Add extern attribute.
6841
6842 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
6843
6844         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
6845         * config/mips/elf64.h: ditto.
6846
6847 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
6848
6849         * expr.c (emit_push_insn): New argument alignment_pad.
6850         Update all callers.  Adjust stack pointer based on alignment pad.
6851         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
6852         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
6853         (locate_and_pad_parm): New argument alignment_pad.  Update all
6854         callers.
6855         * expr.h (emit_push_insn): Update prototype.
6856         (locate_and_pad_parm): Update prototype.
6857         * calls.c (arg_data):  Add new field alignment_pad.
6858         (initialize_argument_information): Initialize alignment_pad.
6859
6860 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
6861
6862         * except.c (free_eh_nesting_info): Free the info itself.
6863         * function.c (free_after_compilation): Don't free NULL.
6864         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
6865         (pre_edge_insert): Free inserted.
6866         * stmt.c (free_stmt_status): Don't free NULL.
6867
6868 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
6869
6870         * gcov.c (DIR_SEPARATOR): Provide default.
6871         (output_data): Add test for MS-DOS format absolute filename.
6872         (fancy_abort): Correct program name.
6873         (open_files): Open all files in binary mode.
6874         * libgcc2.c (__bb_exit_func): Likewise.
6875
6876         * profile.c (init_branch_prob): Specify binary when opening files.
6877
6878         * flags.h (flag_unwind_tables): New decl.
6879         * toplev.c (flag_unwind_table): New definition.
6880         (f_options): Add -funwind-tables.
6881         (decode_g_option): Clarify warning when unknown -g option is given.
6882         (rest_of_compilation): If inside an inlined external function,
6883         pretend we are just being declared.
6884
6885         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
6886         (dwarf2out_frame_finish): Likewise.
6887
6888 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
6889
6890         * fold-const.c (merge_ranges): If not in0, but in1, handle
6891         upper bounds equal like subset case.
6892
6893 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
6894
6895         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
6896         passed in a register but moved to the stack.
6897
6898 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
6899
6900         * gcc.c (pass_exit_codes, greatest_status): New variables.
6901         (struct option_map): Add entry for "--pass-exit-codes".
6902         (execute): Update greatest_status if error.
6903         (display_help): Add documentation for -pass-exit-codes.
6904         (process_command): Handle -pass-exit-codes.
6905         (main): Look at pass_exit_codes and greatest_status on call to exit.
6906
6907 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6908
6909         * reload.c (find_reloads): Refine test for no input reload
6910         case to not includes reloads emitted after insn.
6911
6912         * function.c (find_temp_slots_from_address): Handle sum involving
6913         a register that points to a temp slot.
6914         (update_temp_slot_address): Make recursive call if both old and
6915         new are PLUS with a common operand.
6916         * calls.c (expand_call): Mark temp slot for result as having
6917         address taken.
6918
6919         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
6920
6921         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
6922         component as well as "BINUTILS".
6923
6924         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
6925         * integrate.c (copy_rtx_and_substitute): Likewise.
6926         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
6927         All callers changed.
6928         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
6929
6930         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
6931         gdb extensions, write size of type; also be more consistent
6932         in using references when this is a subtype.
6933
6934         * pa.md (extv, extzv, insv): Use define_expand to reject constant
6935         that is out of range.
6936
6937         * loop.c (unknown_constant_address_altered): New variable.
6938         (prescan_loop): Initialize it.
6939         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
6940         (invariant_p, case MEM): Remove handling for volatile and readonly;
6941         check new variable if readonly.
6942         (check_dbra_loop): Chdeck unknown_constant_address_altered.
6943
6944         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
6945         (addr_affects_sp_p): Removed from note_mem_written and only
6946         define #ifdef AUTO_INC_DEC.
6947
6948         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
6949
6950         * regclass.c (record_reg_classes): Properly handle register move
6951         directions.
6952
6953         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
6954         Don't think valid if both operands are invalid.
6955         (struct constant_descriptor): New field RTL.
6956         (mark_const_hash_entry): Mark it.
6957         (record_constant{,_rtx}): Initialize it.
6958         (output_constant_def): Allocate RTL in permanent obstack and
6959         save in table.
6960         ({record,compare}_constant_1): Modes must match for
6961         CONSTRUCTOR of ARRAY_TYPE.
6962
6963         * c-common.h (initializer_constant_valid_p): Delete decl from here.
6964         * output.h (initializer_constant_valid_p): Move decl to here.
6965         * c-common.c (initializer_constant_valid_p): Delete function from here.
6966         * varasm.c (initializer_constant_valid_p): Move function to here.
6967
6968         * tree.h (STRIP_SIGN_NOPS): New macro.
6969         * fold-const.c (optimize_minmax_comparison): New function.
6970         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
6971         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
6972         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
6973         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
6974         widening conversions.
6975         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
6976         to look at size of mode, not precision of type; also add missing cases.
6977         (optimize_bit_field_compare, decode_field_reference): Don't try to
6978         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
6979
6980         * dwarf2out.c (ctype.h): Include.
6981         (dwarf2out_set_demangle_name_func): New function.
6982         (size_of_line_info): Deleted.
6983         (output_line_info): Compute size of line info table from difference
6984         of labels.
6985         (base_type_die, add_name_attribute): Call demangle function, if any.
6986         (field_byte_offset): Use bits per word for variable length fields.
6987         (gen_array_type_die): Add array name.
6988         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
6989         (dwarf2out_add_library_unit_info): New function.
6990
6991         * explow.c (set_stack_check_libfunc): New function.
6992         (stack_check_libfunc): New static variable.
6993         (probe_stack_range): Allow front-end to set up a libfunc to call.
6994
6995         * combine.c (simplify_comparison): When making comparison in wider
6996         mode, check for having commuted an AND and a SUBREG.
6997         (contains_muldiv): New function.
6998         (try_combine): Call it when dividing a PARALLEL.
6999         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
7000         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
7001         a PLUS.
7002         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
7003         use one of the CLOBBERs instead.
7004         (if_then_else_cond): If comparing against zero, just return thing
7005         being compared.
7006
7007         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
7008         Don't generate shifts and subtract if have conditional arithmetic.
7009
7010         * rtl.h (delete_barrier): New declaration.
7011         * jump.c (jump_optimize): Set up to handle conditional call.
7012         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
7013         (delete_barrier): New function.
7014
7015         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
7016
7017         * recog.c (nonmemory_operand): Accept ADDRESSOF.
7018
7019         * tree.c (build_type_attribute_variant): Push to obstack of
7020         ttype around type_hash_canon call.
7021
7022         * expr.c (placeholder_list): Move decl to file scope.
7023         (expand_expr): Don't force access to volatile just because its
7024         address is taken.
7025         If ignoring reference operations, just expand the operands.
7026         (expand_expr, case COMPONENT_REF): Propagate
7027         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
7028         Refine test for using bitfield operations vs pointer punning.
7029         (expand_expr, case CONVERT_EXPR): If converting to
7030         BLKmode UNION_TYPE from BLKmode, just return inner object.
7031         Use proper mode in store_field call.
7032         Properly set sizes of object to store and total size in store_field
7033         call for convert to union.
7034         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
7035         memory (like for ADDR_EXPR).  Also, don't put constant in register if
7036         we'll want it in memory.
7037         (readonly_fields_p): New function.
7038         (expand_expr, case INDIRECT_REF): Call it if LHS.
7039         (expand_assignment): Handle a RESULT_DECL where
7040         DECL_RTL is a PARALLEL.
7041         (do_jump, case WITH_RECORD_EXPR): New case.
7042         (get_inner_reference): Always go inside a CONVERT_EXPR
7043         and NOP_EXPR if both modes are the same.
7044         (store_field): Use bitfield operations if size of bitsize is not same
7045         as size of RHS's type.
7046         Check for bitpos not a multiple of alignment in BLKmode case.
7047         Do block move in largest possible alignment.
7048         (store_constructor): Set BITSIZE to -1 for variable size and properly
7049         in case of array of BLKmode.
7050         (expand_expr_unaligned): New function.
7051         (do_compare_and_jump): Call it.
7052
7053         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
7054         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
7055         does not include 'o'.
7056
7057         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
7058         both SET_DEST and SET_SRC reference a virtual register.
7059         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
7060
7061         * integrate.c (expand_inline_function): Handle case of setting
7062         virtual stack vars register (from built in setjmp); when parameter
7063         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
7064         (subst_constant): Add new parm, MEMONLY.
7065         (expand_inline_function, integrate_parm_decls): Pass new parm.
7066         (integrate_decl_tree): Likewise.
7067         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
7068         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
7069         (copy_rtx_and_substitute, case SET): Add explicit calls to
7070         copy_rtx_and_substitute for both sides.
7071
7072         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
7073         constraints.
7074         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
7075         within INDEX_TYPE, instead of before.
7076         (fixup_gotos): Use f->target_rtl, not the next insn,
7077         since latter may be from a later fixup.
7078         (expand_value_return): Correctly convert VAL when promoting function
7079         return; support RETURN_REG being a PARALLEL.
7080         (expand_return): When checking for result in regs and having
7081         cleanup, consider PARALLEL in DECL_RTL as being in regs.
7082
7083 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
7084
7085         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
7086         last_nominal_fname): Mark const.
7087         (struct include_hash: name, nshort, control_macro): Mark
7088         const.
7089         (struct macrodef: symnam): Mark const.
7090         (struct if_stack: fname): Mark const.
7091         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
7092         (IStable): New character-syntax array which encompasses all
7093         the old is_foo arrays.
7094         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
7095         is_space): New macros for interrogating IStable.
7096         (check_macro_name): Kill last argument.  All callers changed.
7097
7098         * cppinit.c (initialize_char_syntax): Delete.
7099         (is_idchar, is_idstart, is_hor_space, is_space,
7100         trigraph_table): Delete.
7101         (IStable): New.  Initialize with clever macros to avoid
7102         information duplication.
7103         (builtin_array): Table of builtins to get rid of explicit list
7104         in initialize_builtins.
7105         (initialize_builtins): Use builtins_array.
7106         (cpp_start_read): Call init_IStable, and set IStable['$'] if
7107         opts->dollars_in_ident.
7108
7109         * cppexp.c: Change all refs to is_xyz[] arrays to use new
7110         is_xyz() macros.
7111         (cpp_parse_expr): Avoid 'format string is not constant'
7112         warning. Use ISGRAPH to identify printable chars.
7113         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
7114         is_xyz() macros.
7115         (read_and_prescan): Map trigraphs to chars with open-coded
7116         if-else-if-... sequence, not a lookup table.
7117         * cpphash.c: Change all refs to is_xyz[] arrays to use new
7118         is_xyz() macros.
7119         * cpplib.c: Change all refs to is_xyz[] arrays to use new
7120         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
7121         (check_macro_name): Remove ability to report an invalid
7122         assertion name, which is never used.
7123         (do_line): Constify a couple of char *'s.
7124         * cppmain.c (main): Call cpp_cleanup before returning.
7125
7126 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
7127
7128         * ggc.h (struct ggc_statistics): New type.
7129         (ggc_get_size): New function.
7130         (ggc_print_statistics): Likewise.
7131         * ggc-common.c (ggc_stats): New variable.
7132         (ggc_mark_rtx_children): Keep statistics.
7133         (ggc_mark_tree_children): Likewise.
7134         (ggc_print_statistics): New function.
7135         * ggc-page.c (struct globals): Add bytes_mapped field.
7136         (alloc_anon): Update it.
7137         (release_pages): Likewise.
7138         (ggc_get_size): New function.
7139         (ggc_page_print_statistics): New function.
7140         * ggc-simple.c (ggc_get_size): New function.
7141
7142 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
7143
7144         * flow.c (propagate_block): When the last reference to a label
7145         before an ADDR_VEC is deleted because the reference is a dead
7146         store, delete the ADDR_VEC.
7147
7148 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
7149
7150         * resource.c (find_free_register): Don't use the frame pointer
7151         if frame_pointer_needed.
7152
7153 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
7154
7155         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
7156         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
7157
7158         * config/i960/i960.c (i960_va_start): New locals base, num.
7159         Use INDIRECT_REF instead of ARRAY_REF on valist.
7160         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
7161
7162 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
7163
7164         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
7165
7166 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
7167
7168         * tree.def (PLACEHOLDER_EXPR): Update comments.
7169
7170 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7171
7172         * c-common.c (check_format_info): Avoid non-literal format string
7173         warnings when `first_arg_num' is zero.
7174
7175 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7176
7177         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
7178
7179 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
7180
7181         * arm.md (casesi_insn): Add a clobber of the condition code
7182         register.
7183
7184 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
7185
7186         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
7187         used by both cc1 and cc1plus.
7188
7189 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
7190
7191         * config/arm/arm.c: Initialise arm_structure_size_boundary to
7192         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
7193         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
7194         to the value 32 if it has not already been defined.
7195         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
7196         Override definition in arm.h with a value of 8.
7197
7198 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
7199
7200         * c-pragma.c (push_alignment): Don't check the return value
7201         of xmalloc.
7202
7203 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
7204
7205         * sparc.h (ADJUST_COST): Fix thinko.
7206
7207 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
7208
7209         * cccp.c (rescan): Fixed obp pointer handling around call to
7210         check_expand subroutine.
7211
7212 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
7213
7214         * gcse.c (delete_null_pointer_checks): Only record non-null info
7215         for pseudos when examining stores.
7216
7217         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
7218         splitters for these patterns.  Use "#" for output templates.
7219         (addsi3_carryin_shift): New pattern.
7220
7221 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
7222
7223         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
7224         of the function return register into a plain REG until
7225         after function inlining is done.
7226
7227 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
7228
7229         * jump.c (jump_optimize_1): If we did cross-jumping, and
7230         the data will matter, rebuild the CFG.
7231         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
7232         not optimizing.  Don't run shorten_branches.
7233         * toplev.c (rest_of_compilation): Run shorten_branches after
7234         reg_to_stack.
7235
7236 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
7237
7238         * rtl.h (note_stores): Add additional paramter.
7239         * rtlanal.c (reg_set_p_1): Take additional paramter.
7240         (reg_set_last_1): Likewise.
7241         (reg_set_p): Adjust call to note_stores.
7242         (reg_set_last): Likewise.
7243         (note_stores): Pass data parameter to worker function.
7244         * alias.c (record_set): Take additional parameter.
7245         (init_alias_analysis): Pass it.
7246         * caller-save.c (mark_set_regs): Take additional parameter.
7247         (save_call_clobbered_regs): Pass NULL to note_stores.
7248         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
7249         parameter.
7250         (record_dead_and_set_regs_1): Likewise.
7251         (reg_dead_at_p_1): Likewise.
7252         (combine_instructions): Adjust calls to note_stores.
7253         (try_combine): Likewise.
7254         (record_dead_insn): Remove.
7255         (record_dead_and_set_regs): Adjust calls to note_stores.
7256         (reg_dead_at_p): Likewise.
7257         * cse.c (invalidate_skipped_set): Take additional parameter.
7258         (cse_check_loop_start): Likewise.
7259         (cse_check_loop_start_value): Remove.
7260         (cse_set_around_loop): Adjust calls to note_stores.
7261         * flow.c (notice_stack_pointer_modification): Take additional
7262         parameter.  Remove duplicate declaration.
7263         (record_volatile_insns): Adjust calls to note_stores.
7264         * gcse.c (record_set_info): Take additional parameter.
7265         (record_last_set_info): Likewise.
7266         (invalidate_nonnull_info): Likewise.
7267         (record_set_insn): Remove.
7268         (compute_sets): Adjust calls to note_stores.
7269         (last_set_insn): Remove.
7270         (compute_hash_table): Adjust calls to note_stores.
7271         (insert_insn_end_bb): Likewise.
7272         (delete_null_pointer_checks): Likewise.
7273         * global.c (mark_reg_store): Take additional parameter.
7274         (mark_reg_clobber): Likewise.
7275         (reg_becomes_live): Likewise.
7276         (global_conflicts): Adjust calls to note_stores.
7277         (build_insn_chain): Likewise.
7278         * integrate.c (note_modified_parmregs): Take additional parameter.
7279         (mark_stores): Likewise.  Make it static.
7280         (save_for_inline_nocopy): Adjust calls to note_stores.
7281         (try_constants): Likewise.
7282         * integrate.h (mark_stores): Remove declaration.
7283         * jump.c (mark_modified_reg): Take additional parameter.
7284         (thread_jumps): Adjust calls to note_stores.
7285         * local-alloc.c (validate_equiv_mem_from_store): Take additional
7286         parameter.
7287         (no_equiv): Likewise.
7288         (reg_is_set): Likewise.
7289         (validate_equiv_mem): Adjust calls to note_stores.
7290         (update_equiv_regs): Likewise.
7291         (block_alloc): Likewise.
7292         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
7293         (note_addr_stored): Take additional parameter.
7294         (note_set_pseudo_multiple_uses): Likewise.
7295         (record_initial): Likewise.
7296         (prescan_loop): Adjust calls to note_stores.
7297         (strength_reduce): Likewise.
7298         (check_dbra_loop): Likewise.
7299         * regmove.c (flags_set_1): Take additional paramter.
7300         (mark_flags_life_zones): Adjust calls to note_stores.
7301         * reload1.c (mark_not_eliminable): Take additional parameter.
7302         (forget_old_reloads_1): Likewise.
7303         (reload_cse_invalidate_rtx): Likewise.
7304         (reload_cse_check_clobber): Likewise.
7305         (reload_combine_note_store): Likewise.
7306         (move2add_note_store): Likewise.
7307         (reload): Adjust calls to note_stores.
7308         (reload_as_needed): Likewise.
7309         (emit_reload_insns): Likewise.
7310         (reload_cse_regs_1): Likewise.
7311         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
7312         (reload_combine): Adjust calls to note_stores.
7313         * resource.c (update_live_status): Take additional paramter.
7314         (mark_target_live_regs): Adjust calls to note_stores.
7315         * stupid.c (find_clobbered_regs): Take additional parameter.
7316         (stupid_life_analysis): Adjust calls to note_stores.
7317
7318 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
7319
7320         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
7321         definition.
7322
7323         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
7324         definition.
7325
7326         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
7327         of the variable arm_structure_size_boundary.
7328
7329 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
7330
7331         * alias.c (init_alias_analysis): Allocate reg_known_value and
7332         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
7333         and reg_seen.
7334         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
7335         * cse.c (cse_main): Call end_alias_analysis.
7336         * haifa-sched.c (schedule_insns): Likewise.
7337         * local-alloc. (update_equiv_regs): Likewise.
7338         * reload1.c (reload_cse_regs): Likewise.
7339
7340 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7341
7342         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
7343         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
7344         mapping from MASK_FPU.
7345
7346 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
7347
7348         * sparc.md (call): Don't bound structure return size to 0xfff.
7349
7350 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
7351
7352         * resource.c (mark_target_live_regs): Check that the target
7353         insn wasn't created after compute_bb_for_insn.
7354
7355 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
7356
7357         * ggc-page.c (poison_pages): Don't be overzealous.
7358
7359 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
7360
7361         * alias.c: Update comments for ADDRESS.
7362         (nonlocal_reference_p): Look inside the ADDRESS to determine if
7363         it is a local memory reference.
7364
7365         * c-typeck.c (build_function_call): Check that the built-in
7366         function is of class BUILT_IN_NORMAL before trying to recongize
7367         it as BUILT_IN_ABS.
7368         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
7369         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
7370
7371 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
7372
7373         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
7374         of alloca.
7375         (pre_gcse): Likewise.
7376         (hoist_expr_reaches_here_p): Likewise.
7377         (hoist_code): Likewise.
7378         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
7379         code to ...
7380         (pre_expr_reaches_here_p_work): ... here.
7381         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
7382         code to ...
7383         (expr_reaches_here_p_work): ... here.
7384
7385 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
7386
7387         * resource.c (find_basic_block): Delete.
7388         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
7389         (init_resource_info): Call compute_bb_for_insn.
7390
7391 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
7392
7393         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
7394         with already adjacent blocks, but no fallthru.
7395         (merge_blocks_move_successor_nojumps): Simplify.
7396         (debug_flow_info): New.
7397
7398         * toplev.c (rest_of_compilation): Open jump1 dump file before
7399         jump and close after, as opposed to just using dump_rtl.
7400
7401 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7402
7403         * reload.h (earlyclobber_operand_p): Declare.
7404         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
7405         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
7406         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
7407         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
7408
7409 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
7410                           Richard Henderson  <rth@cygnus.com>
7411
7412         * emit-rtl.c (emit_block_insn_before): New.
7413         (emit_block_insn_after): New.
7414         * basic-block.h: Declare them.
7415
7416         * bitmap.h: Protect from multiple inclusion.
7417
7418         * recog.c (scratch_operand): Handle VOIDmode correctly.
7419
7420         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
7421
7422         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
7423         * function.c (assign_parms): Likewise.
7424         * global.c (global_conflicts): Clarify STACK_REGS commentary.
7425
7426         * reg-stack.c (max_uid): Remove.
7427         (blocks, block_begin, block_end, block_drops_in): Remove.
7428         (block_stack_in, block_out_reg_set, block_number): Remove.
7429         (struct block_info_def, BLOCK_INFO): New.
7430         (enum emit_where): New.
7431         (current_block): New.
7432         (BLOCK_NUM): Remove.
7433         (mark_regs_pat, record_label_references): Remove.
7434         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
7435         (nan): New.
7436         (goto_block_pat, print_blocks, dump_stack_info): Remove.
7437         (reg_to_stack): Simplified test for existance of fp code.  Use
7438         flow.c code.  Call shorten_branches after cross-jump opt.
7439         (check_asm_stack_operands): Renamed from record_asm_reg_life.
7440         Return false if the asm doesn't use stack regs.  Don't do life
7441         analysis on the asm.
7442         (emit_pop_insn): Replace function pointer arg `when' with
7443         enum `where'.  Update all callers.
7444         (change_stack): Likewise.  Update basic block end.
7445         (emit_swap_insn): Use current_block->head to limit reverse search
7446         for start of block.  Use emit_block_insn_after.
7447         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
7448         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
7449         structure assignment instead of bcopy.
7450         (print_stack): New.
7451         (convert_regs_entry, convert_regs_exit): New.
7452         (convert_regs_1, convert_regs_2): Split out from convert_regs.
7453         Work on basic blocks and the CFG.
7454         (convert_regs): Use them.
7455
7456         * i386.c (output_fix_trunc): Remove code for DImode input operand
7457         not at top-of-stack.
7458         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
7459         appropriate mode.
7460         (fix_truncdi_1): Allow any mode scratch.
7461
7462 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
7463
7464         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
7465         * linux.h, netbsd.h, vms.h: Not here.
7466
7467 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
7468
7469         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
7470         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
7471         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
7472         CONDITIONAL_REGISTER_USEAGE): Use them.
7473         * config/mips/mips.c (mips_move_1word,mips_move_2words,
7474         gen_conditional_branch,override_options) : Use them.
7475         * config/mips/mips.md : Use them.
7476
7477 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
7478
7479         * i386.md (zero_extendqihi2): Use SImode register name with andl.
7480
7481 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
7482
7483         * integrate.c (function_cannot_inline_p): Don't allow inlining
7484         if setjmp is used.
7485
7486 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7487
7488         * c-parse.in (cast_expr): Constify.
7489
7490         * cccp.c (special_symbol): Likewise.
7491
7492         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
7493
7494         * dwarf2out.c (base_type_die): Likewise.
7495
7496         * global.c (allocno_compare): Likewise.
7497
7498         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
7499
7500         * regclass.c (fix_register): Likewise.
7501
7502         * rtl.h (fix_register): Likewise.
7503
7504         * stupid.c (stupid_reg_compare): Likewise.
7505
7506         * toplev.c (decode_f_option): Likewise.
7507
7508         * tree.c (build_complex_type): Likewise.
7509
7510 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
7511
7512         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
7513
7514 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7515
7516         * reload.c (find_reloads): Compute mode and nregs fields of all
7517         reloads.
7518         * reload1.c (calculate_needs_all_insns): Simplify a bit.
7519         (calculate_needs): Use precomputed mode/nregs values.
7520         (allocate_reload_reg): Likewise.
7521         Break out two...
7522         (failed_reload, set_reload_reg): ... new functions.
7523         (choose_reload_regs_init): New function, mostly broken out from...
7524         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
7525         Also lose one #if 0 block.
7526
7527 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
7528
7529         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
7530         substitution.
7531
7532 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
7533
7534         * tree.h (BLOCK_TYPE_TAGS): Remove.
7535         (BLOCK_END_NOTE): Likewise.
7536         (BLOCK_LIVE_RANGE_FLAG): Likewise.
7537         (BLOCK_LIVE_RANGE_START): Likewise.
7538         (BLOCK_LIVE_RANGE_END): Likewise.
7539         (tree_block): Remove live_range_flag, live_range_var_flag, and
7540         type_tags.  Remove end_note, live_range_start, and live_range_end.
7541         (remember_end_note): Remove prototype.
7542         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
7543         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
7544         remember_end_note.
7545         * ggc-common.c (ggc_mark_tree_children): Don't mark
7546         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
7547         * integrate.c (adjust_copied_decl_tree): Remove.
7548         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
7549         * stmt.c (last_block_end_note): Remove.
7550         (init_stmt): Don't add a GC root for it.
7551         (expand_fixup): Don't set it.
7552         (remember_end_note): Remove.
7553         (expand_end_bindings): Don't set last_block_end_note.
7554
7555 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7556
7557         * reload1.c (reload_reg_free_for_value_p): Show
7558         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
7559         reloads.
7560
7561 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
7562
7563         * expmed.c (extract_bit_field): Allow for the case of non-integer
7564         objects that are smaller than a word (like SFmode on a 64-bit
7565         machine).
7566
7567         * loop.c (basic_induction_var): A non-integer variable which is
7568         being set by a paradoxical subreg is probably not a biv.
7569
7570 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7571
7572         * prefix.c (translate_name) Check for empty prefix string.
7573
7574 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
7575
7576         * Makefile.in (CPP_CROSS_NAME): New variable.
7577         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
7578         xcpp.
7579         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
7580         names of the files to be uninstalled.
7581
7582 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
7583
7584         * collect2.c (IS_DIR_SEPARATOR): Define.
7585         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
7586
7587         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
7588         functions too.
7589
7590         * haifa-sched.c (add_dependence): Update the true dependency
7591         cache the first time we add a true dependence to the LOG_LINKS chain.
7592
7593 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
7594
7595         * fold-const.c (fold): Fix comment.
7596
7597 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7598
7599         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
7600         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
7601         dbxout_start_new_source_file, dbxout_source_file,
7602         dbxout_source_line, dbxout_finish, dbxout_type_fields,
7603         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
7604         Constify a char*.
7605         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
7606         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
7607         (dbxout_block): Initialize variable `blocknum'.
7608
7609         * dbxout.h (dbxout_init, dbxout_finish,
7610         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
7611         dbxout_args, dbxout_source_line): Constify a char*.
7612
7613         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
7614         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
7615         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
7616         low_pc_attribute, high_pc_attribute, body_begin_attribute,
7617         body_end_attribute, comp_dir_attribute, sf_names_attribute,
7618         src_info_attribute, mac_info_attribute, producer_attribute,
7619         lookup_filename, generate_macinfo_entry, fundamental_type_code,
7620         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
7621         dwarfout_undef): Constify a char*.
7622         (add_incomplete_type, retry_incomplete_types): Add prototypes.
7623
7624         * dwarfout.h (dwarfout_define, dwarfout_undef,
7625         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
7626
7627 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
7628
7629         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
7630         (MULTILIB_ISA_DEFAULT): New.
7631         (MULTILIB_DEFAULTS): Use it.
7632         * config/mips/mips.c (): Remove the now unnecessary definition
7633         of MIPS_ISA_DEFAULT.
7634         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
7635         unnecessary definition.
7636
7637 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
7638
7639         * arm.md (pic_load_addr): Add constraints to operand 1.
7640
7641 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
7642
7643         * fixinc/genfixes:  Provide a means for specifying -D options to
7644         AutoGen
7645
7646 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
7647
7648         * arm.c (arm_override_options): Correct initialization of
7649         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
7650         arm_is_strong, and arm_is_6_or_7.
7651
7652         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
7653         (note_set_pseudo_multiple_uses): New function.
7654         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
7655         if a pseudo set in the loop exit is used elsewhere.
7656
7657 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
7658
7659         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
7660
7661 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
7662
7663         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
7664         a single load-address pattern.
7665
7666 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
7667
7668         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
7669         depending on whether or not line-number notes are present.
7670
7671 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7672
7673         * cccp.c (progname, file_buf, default_include, include_file,
7674         macrodef, definition, hashval, wchar_type, user_label_prefix,
7675         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
7676         expand_to_temp_buffer, is_system_include, base_name,
7677         absolute_filename, read_name_map, open_include_file,
7678         record_control_macro, check_precompiled, check_preconditions,
7679         pcfinclude, pass_thru_directive, create_definition,
7680         check_macro_name, comp_def_part, collect_expansion,
7681         check_assertion, read_token_list, assertion_install,
7682         assertion_lookup, eval_if_expression, conditional_skip,
7683         validate_else, skip_quoted_string, quote_string, macarg1,
7684         error_from_errno, install, lookup, hashf, dump_defn_1,
7685         perror_with_name, pfatal_with_name, main, trigraph_pcp,
7686         check_white_space, rescan, handle_directive, monthnames,
7687         special_symbol, do_include, remap_include_file, write_output,
7688         arglist, do_assert, do_unassert, do_line, do_error, do_once,
7689         do_ident, do_sccs, do_xifdef, skip_if_group,
7690         output_line_directive, macroexpand, macarg, change_newlines,
7691         initialize_builtins, make_definition): Constify a char*.
7692
7693         * pcp.h (stringdef): Likewise.
7694
7695 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
7696
7697         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
7698         not of pattern.
7699
7700 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
7701                           Richard Henderson  <rth@cygnus.com>
7702
7703         * alias.c: Include ggc.h.
7704         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
7705         (record_set): Verify enough room in reg_base_value.
7706         (init_alias_analysis): Allocate reg_base_value with xcalloc.
7707         Register it as a GC root.
7708         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
7709         * Makefile.in (alias.o): Depend on ggc.h.
7710
7711         * unroll.c (unroll_loop): Verify the insn before a barrier
7712         is a JUMP_INSN before checking JUMP_LABEL.
7713
7714 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7715
7716         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
7717         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
7718         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
7719         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
7720         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
7721         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
7722
7723 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7724
7725         * output.h (ctors_section, dtors_section, bss_section): Prototype.
7726
7727         * alpha/alpha-interix.h (text_section): Delete prototype.
7728         * alpha/elf.h (text_section): Likewise.
7729         * arm/linux-elf.h (text_section): Likewise.
7730         * arm/linux-telf.h (text_section): Likewise.
7731         * c4x/c4x.h (text_section): Likewise.
7732         * dsp16xx/dsp16xx.h (bss_section): Likewise.
7733         * elfos.h (text_section): Likewise.
7734         * i386/aix386ng.h (text_section): Likewise.
7735         * i386/i386-interix.h (text_section): Likewise.
7736         * i386/sco5.h (text_section): Likewise.
7737         * i386/svr3gas.h (text_section): Likewise.
7738         * nextstep.h (text_section): Likewise.
7739         * psos.h (text_section): Likewise.
7740         * ptx4.h (text_section): Likewise.
7741         * svr3.h (text_section): Likewise.
7742         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
7743
7744 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7745
7746         * final.c (peephole): Delete prototype.
7747
7748         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
7749         (pre_insert_copies): Remove unused variable `bb'.
7750
7751         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
7752         prototypes.
7753
7754         * output.h (peephole): Add prototype.
7755
7756 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
7757
7758         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
7759         -O0.
7760
7761 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
7762
7763         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
7764         for inlined declarations.
7765
7766 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
7767
7768         * arm.c (logical_binary_operator): New fucntion.
7769         * arm.h (logical_binary_operator): Declare it.
7770         (PREDICATE_CODES): Handle logical_binary_operator.
7771         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
7772         output constraints.  Add appropriate splitters.
7773         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
7774         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
7775         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
7776
7777 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7778
7779         * genoutput.c (struct operand_data): New elt eliminable.
7780         (output_operand_data): Write it.
7781         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
7782         (compare_operands): Take it into account.
7783         * recog.h (struct insn_operand_data): New elt eliminable.
7784         * reload1.c (check_eliminable_occurrences, elimination_effects): New
7785         functions.
7786         (old_asm_operands_vec, new_asm_operands_vec): Delete.
7787         (eliminate_regs): Move code that detects changes to elimination
7788         target regs into new function elimination_effects.
7789         Delete one #if 0 block.
7790         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
7791         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
7792         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
7793         Only call eliminate_regs for real operands of the insn, not for parts
7794         of its structure or parts matched by things like match_operator.
7795         Use elimination_effects and check_eliminable_occurrences.  Use
7796         copy_insn to duplicate the pattern when not in the final pass.
7797
7798 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
7799
7800         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
7801         and fld.
7802
7803 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
7804
7805         * fixinc/README: document the "mach" machine matching test
7806         * fixinc/fixfixes.c: Implement the #else/#endif label fix
7807         * fixinc/fixtests.c: Implement the #else/#endif label test
7808         * fixinc/inclhack.def: utilize these tests and fixes
7809         * fixinc/inclhack.sh:  regen
7810         * fixinc/fixincl.x:  regen
7811         * fixinc/fixincl.sh:  regen
7812
7813 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
7814
7815         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
7816         depend on ggc.h.
7817
7818 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
7819
7820         * gcc.1: Document exit codes.
7821
7822 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7823
7824         * calls.c: Include tm_p.h later, so everything we need is defined.
7825         * expr.c: Likewise.
7826         * function.c: Likewise.
7827
7828         * except.c: Include tm_p.h.
7829
7830         * sparc.c: Likewise.
7831         (dwarf2out_cfi_label): Don't prototype.
7832         (check_return_regs, epilogue_renumber,
7833         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
7834         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
7835         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
7836         ultra_schedule_insn): Add static prototype.
7837         (data_segment_operand, text_segment_operand): Call itself with the
7838         proper number of arguments.
7839         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
7840
7841         * sparc.h: Move all declarations to sparc-protos.h.
7842         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
7843         symbolic_operand.
7844
7845         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
7846
7847         * config/svr4.h (text_section, ctors_section, dtors_section): Add
7848         Prototypes.
7849         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
7850         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
7851         ASM_OUTPUT_ASCII): Constify a char*.
7852
7853         * sparc-protos.h: New file for sparc prototypes.
7854
7855 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7856
7857         * function.c (record_insns, contains): Always declare and define.
7858         (record_insns): Mark with ATTRIBUTE_UNUSED.
7859
7860 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
7861
7862         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
7863         to .section when outputting a .bss section to deal with multiple
7864         .bss input sections (as happens with -fdata-sections)
7865         Also output %progbits, not @progbits so the assembler doesn't treat as
7866         a comment.
7867         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
7868
7869         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
7870         thumb parts even when building with non-thumb CPUs, by forcing
7871         thumb mode.
7872
7873 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
7874
7875         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
7876         (movdf_const_intreg_sp64): Similarly.
7877
7878         * local-alloc.c (update_equiv_regs): Check the correct insn
7879         for pre-existing REG_EQUIV notes.
7880
7881 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
7882
7883         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
7884         block reached by a branch if we're not going to actually process
7885         this block.
7886
7887 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
7888
7889         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
7890         a local extern function declaration.
7891
7892 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
7893
7894         * i386.c (ix86_expand_prologue): Properly wrap USE around
7895         reg for CALL_INSN_FUNCTION_USAGE.
7896
7897 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
7898
7899         * config/mips/mips.md (movdf_internal1a): Allow floating-point
7900         move between GP_REGs.
7901
7902 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
7903
7904         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
7905         the mode size when finding out if an offset is legal.
7906
7907 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
7908
7909         * basic-block.h (PROP_*): Move constants from ...
7910         * flow.c: ... here.
7911         (compute_bb_for_insn): Free the array before reallocating.
7912         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
7913         (allocate_reg_life_data): Reset all reg variables collected by
7914         propagate_block.
7915         (get_block_head_tail): Don't convert from bb to block.
7916         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
7917         (find_insn_reg_weight): Take block not bb.
7918         (schedule_block): Don't set block num for moved insns.
7919         (schedule_region): Don't update_life_info or find_insn_reg_weight.
7920         (schedule_insns): Do it here instead.
7921         * combine.c (combine_instructions): Invoke compute_bb_for_insn
7922         before update_life_info.
7923         * recog.c (split_all_insns, peephole2_optimize): Update for
7924         new arg to update_life_info.
7925         * rtlanal.c (remove_note): Cope with NULL note.
7926         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
7927         if we did sched1.
7928
7929 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
7930
7931         * jump.c (jump_optimize_1): More accurately detect casesi insns.
7932
7933         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
7934         block records so that merge_blocks_nomove will clean up correctly.
7935         (split_edge): Handle casesi insns.
7936
7937         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
7938
7939 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
7940
7941         * pa.md (call, call_value): Do not emit a blockage after restoring
7942         the PIC register.
7943
7944 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
7945
7946         * c-typeck.c (c_expand_asm_operands): Fix typo.
7947
7948 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7949
7950         * arm.c (fpu_rhs_operand): Verify modes.
7951         (fpu_add_operand): Likewise.
7952         (di_operand): Likewise.
7953         (soft_df_operand): Likewise.
7954
7955 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
7956
7957         * arm.c (arm_return_in_memory): APCS rules state that the elements
7958         of a structure returned in a register must be 'integer-like'.
7959
7960 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
7961
7962         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
7963         in the source tree when the generated targets are out of date
7964         * fixinc/genfixes: Alter it to run individual fixes for make.
7965         * fixinc/README: rewrite
7966         * fixinc/inclhack.def: moved initial comments to README
7967
7968 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
7969
7970         * toplev.c (main): Do not generate an error message if an
7971         unrecognised command line switch is recognisable by another
7972         language.  If extra_warnings are enabled, then generate a
7973         warning message instead.
7974
7975 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
7976
7977         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
7978         (insert_pack_attributes): Delete prototype.
7979
7980         * c-pragma.c (default_alignment): New static variable.
7981         (push_alignment): Initialize to current effective alignment.
7982         (pop_alignment): Use to set new alignment.
7983         (insert_pack_attributes): Delete function.
7984         (handle_pragma_token): Set default_alignment as well each time
7985         a #pragma pack(<n>) is encountered.
7986
7987 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
7988
7989         * reg-stack.c (stack_result): Aggregates are not returned in
7990         stack registers.
7991
7992 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
7993
7994         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
7995
7996 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
7997
7998         * basic-block.h (set_block_num): Declare.
7999         * flow.c (update_life_info): Don't call compute_bb_for_insn
8000         or free_basic_block_vars.
8001         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
8002         (insn_orig_block): Remove.
8003         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
8004         (schedule_block): Keep BLOCK_NUM up-to-date.
8005         (schedule_insns): Use compute_bb_for_insn.
8006         * recog.c (split_all_insns): Likewise.
8007         (peephole2_optimize): Likewise.
8008
8009 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
8010
8011         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
8012         if the pic register is used.
8013
8014 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8015
8016         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
8017         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
8018         if that tests TREE_PERMANENT.
8019
8020 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
8021
8022         * cse.c (invalidate_for_call): Do not remove memory references from
8023         the table here.  It's handled elsewhere.
8024
8025         * haifa-sched.c (add_dependence): Protect references to the
8026         true dependency cache with #ifdef INSN_SCHEDULING.
8027         (remove_dependence): Similarly.
8028
8029         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
8030         to the cfg code that this is a return instruction.
8031         * mn10300.md (return_internal): Similarly.
8032
8033         * combine.c (get_last_value): If the last set of a register
8034         is after subst_low_cuid, then we can not use it to determine
8035         the register's last value.
8036
8037 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
8038
8039         * Makefile.in: Back out previous change.
8040
8041 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
8042
8043         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
8044
8045         * haifa-sched.c (add_dependence): Only check/update the cache
8046         if it exists.
8047         (remove_dependence): Likewise.
8048         (schedule_insns): Only create the true_dependency_cache if the
8049         average number of instructions in a basic block is very large.
8050
8051 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
8052
8053         * Makefile.in (ggc-common.o): Depend on genrtl.h.
8054         (ggc-simple.o): Likewise.
8055         (ggc-page.o): Likewise.
8056
8057 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
8058
8059         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
8060         Prototype for exported functions.
8061         (pre_lcm, pre_rev_lcm): Remove prototypes.
8062         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
8063         (compute_available): Move to lcm.c, and change parameter order.
8064         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
8065         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
8066         (gcse_main): No longer call compute_preds_succs.  Rebuild the
8067         set table after reach pre pass.
8068         (pre_insert_map, pre_delete_map, edge_list): New.
8069         (alloc_pre_mem): Allocate edge vectors.
8070         (free_pre_mem): Delete edge vectors.
8071         (compute_pre_data): Call new edge based lcm routines.
8072         (process_insert_insn): New function.
8073         (insert_insn_end_bb): Use it.
8074         (pre_edge_insert): New function.
8075         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
8076         needed.
8077         (pre_insert_copies): Revamp using new edge based lcm outputs.
8078         (pre_delete): Likewise.
8079         (one_pre_gcse_pass): Insert & remove fake edges to the exit
8080         block.
8081         (compute_code_hoist_vbeinout): New new edge based routines.
8082         * lcm.c: Remove all the old LCM functions.  Replace with new ones
8083         that work with the new cfg datastructures and work with edges
8084         instead of blocks.
8085
8086 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8087
8088         * reload.h (struct reload): Add new fields "mode" and "nregs".
8089         * reload1.c: Change all occurrences of reload_mode and reload_nregs
8090         to reference the "mode" and "nregs" field within struct reload.
8091
8092 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
8093
8094         * haifa-sched.c (true_dependency_cache): New.
8095         (add_dependence): Use the true dependency cache to avoid expensive
8096         walks down the LOG_LINKS dependency list.  Add entries to the
8097         cache as necessary.
8098         (remove_dependence): Remove entries from the true dependency cache
8099         as needed.
8100         (schedule_insns): Allocate and initialize and free the true
8101         dependency cache.
8102
8103         * haifa-sched.c (schedule_insns): Do not remove inter-block
8104         dependencies anymore.
8105
8106 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
8107
8108         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
8109         * i386/t-winnt: Likewise.
8110
8111 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
8112
8113         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
8114
8115 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
8116
8117         * Makefile.in (LANGUAGES): Omit "proto".
8118         (clean): Remove stale comment about removing unprotoize.c.
8119
8120 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8121
8122         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
8123         using arithmetic on void pointers.
8124
8125 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
8126
8127         * haifa-sched.c (compute_block_forward_dependencies): Only check
8128         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
8129
8130 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
8131
8132         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
8133         (expr_equiv_p): Reject memories with different alias sets.
8134
8135 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
8136
8137         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
8138         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
8139         (f_options): Add "bounded-pointers" and "bounds-check" entries.
8140         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
8141         (lang_init): Set default for flag_bounds_check if still "unspecified".
8142
8143 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8144
8145         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
8146
8147 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8148
8149         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
8150         instructions.
8151
8152 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8153
8154         * config/c4x/c4x.md (*db_noclobber,
8155         *decrement_and_branch_until_zero_noclobber): New patterns and
8156         associated splitters.
8157
8158 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8159
8160         * config/c4x/c4x.md (parallel instruction patterns): Rework
8161         constraints to keep reload happy.
8162
8163 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8164
8165         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
8166         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
8167         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
8168         Add new patterns and associated post-reload splitters.
8169
8170 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8171
8172         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
8173
8174 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8175
8176         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
8177         if appropriate.
8178         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
8179
8180 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8181
8182         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
8183         memory mode.
8184
8185 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
8186
8187         * pa.c (move_operand): Rely on memory_address_p to determine the
8188         validity of non-indexed memory addresses.
8189         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
8190         operand in DFmode and SFmode when generating PA2.0 code.
8191
8192 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
8193
8194         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
8195
8196 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
8197
8198         * mips.c (function_prologue): Fix argument types.
8199         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
8200         (casesi_internal): Write to the scratch register.
8201
8202 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
8203
8204         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
8205         to U_CHAR **.
8206         (parse_charconst): Delete unnecessary cast when calling
8207         cpp_parse_escape.
8208         (cpplib.h): Kill prototype of cpp_parse_escape.
8209
8210 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
8211
8212         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
8213         * unroll.c (unroll_loop): Cast return value of alloca.
8214         * i370/i370.c: Include function.h and toplev.h.
8215         (i370_label_scan): Remove c++ commented abort.
8216         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
8217         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
8218         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
8219         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
8220
8221 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
8222
8223         * config/t-freebsd: Do not override USER_H.
8224         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
8225
8226 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
8227                           Mumit Khan  <khan@xraylith.wisc.edu>
8228
8229         * c-parse.in (component_decl): Support anonymous struct/union.
8230         (%expect): Update.
8231         * c-parse.y: Regenerate.
8232         * c-parse.c: Likewise.
8233         * objc/objc-parse.y: Likewise.
8234         * objc/objc-parse.c: Likewise.
8235         * c-decl.c (finish_struct): Don't sort the fields.
8236         (field_decl_cmp): Delete unused function.
8237
8238 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
8239
8240         * sparc.md (movsf_const_intreg): Revert last constraint change.
8241         (movdf_const_intreg_sp32): Likewise.
8242
8243 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
8244
8245         * cse.c: Include hashtab.h instead of splay-tree.h
8246         (struct cse_reg_info): No longer use variant union.  Add new
8247         field "regno".  All references changed to avoid union.
8248         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
8249         (free_cse_reg_info): Remove.
8250         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
8251         (get_cse_reg_info): Revamp to use expandable hash tables instead
8252         of splay trees.  Initialize new fields in cse_reg_info structure.
8253         (new_basic_block): Similarly.
8254
8255 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
8256
8257         * genrecog.c (message_with_line): Prototype.
8258         (validate_pattern): Pass along the set for the dest, not a flag.
8259         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
8260         Check for PC/CC0 as sources.
8261         (nodes_identical): Check for children position match before
8262         allowing the combination.
8263
8264         * rtl.c (read_rtx): Track line number across \\\n.
8265
8266 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
8267
8268         * mips.h (SPECIAL_MODE_PREDICATES): New.
8269         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
8270         (movdi+1, movsi+1): Add output reload constraint.
8271         (casesi_internal): Likewise.  Fix commentary.
8272         (return_internal): Use pmode_register_operand.
8273
8274 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
8275
8276         * 1750a.md (movstrqi): Add missing output reload constraint.
8277         (call_value): Likewise.
8278         * a29k.md (cpxxx patterns): Add missing match_operator mode.
8279         (jmpfdec): Add missing inout reload constraint.
8280         * elxsi.md (addsi patterns): Add missing output reload constraint.
8281         (move from sp): Use @ alternates.
8282         (call_value): No constraint on output.
8283         * fr30.md (movsi_pop): Add missing output reload constraint.
8284         (movsf_constant_store): Likewise.
8285         (splits): Remove constraints.
8286         (subsi3): Add missing mode.
8287         * i370.md (cmpstrsi+1): Add missing output reload constraint.
8288         (call_value): Likewise.
8289         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
8290         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
8291         * m32r.md (movsicc_internal): Add output reload constraint.
8292         (movstrsi_internal): Add inout reload constraints.
8293         * m88k.h (reg_names): Don't declare.
8294         (SPECIAL_MODE_PREDICATES): New.
8295         * m88k.md (*): Use register_operand not reg_or_0_operand
8296         on destinations.
8297         * mn10200.h (PREDICATE_CODES): New.
8298         * ns32k.md (ffs pattern): Add output reload constraint.
8299         * pdp11.md (sob pattern): Add inout reload constraint.
8300         * sh.md (splits): Remove constraints.
8301         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
8302         * v850.md (pattern_is_ok_for_epilogue): Likewise.
8303         * vax.md (jgequ pattern): Add inout reload constraint.
8304
8305 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
8306
8307         * configure.in (djgpp): Revert previous patch.
8308         * configure: Rebuit.
8309         * config/i386/djgpp.h: Revert previous patch.
8310
8311 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
8312
8313         * fixinc/inclhack.def: Restore patch lost during last merge of
8314         "no_bogosity" branch.
8315         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
8316
8317 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
8318
8319         * fixincludes: Add a HPUX 11 fix for inttypes.h.
8320         * fixinc/inclhack.def: Same.
8321         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
8322
8323 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
8324
8325         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
8326         as the base of a PLUS.
8327
8328 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8329
8330         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
8331         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
8332
8333 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
8334
8335         * pa.md (post_stw+1): Use pmode_register_operand.
8336         (dcacheflush, icacheflush): Likewise.
8337
8338         * i386.md (movstricthi_1): Allow r/r.
8339
8340 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
8341
8342         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
8343         to (not (and (arg0) (arg1))). Similary for and.
8344
8345         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
8346         fallthrough to associate code.
8347         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
8348         bits in common.
8349
8350         * combine.c (simplify_logical): Convert XOR to IOR if operands have
8351         no bits in common; remove XOR to ROTATE conversion.
8352
8353 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8354
8355         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
8356
8357 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8358
8359         * config/c4x/c4x.c (dst_operand): New.
8360         (PREDICATE_CODES): Update.
8361         * config/c4x/c4x.h (dst_operand): Declare it.
8362         * config/c4x/c4x.md:  Define mode for each unspec usage.
8363         (move patterns):  Use dst_operand predicate instead of src_operand.
8364         (movqi_update, movqf_update): Delete.
8365
8366 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
8367
8368         * recog.c (pmode_register_operand): New.
8369         * recog.h: Declare it.
8370         * genrecog.c (pred_codes): Likewise.
8371         (special_mode_pred_table): Likewise.
8372         (validate_pattern): Don't warn no mode for address_operand.
8373
8374         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
8375         if the operand is not insn-like.
8376
8377 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
8378                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
8379
8380         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
8381
8382 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
8383
8384         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
8385         instead of general_operand in a SET_DEST.  Use const_double_operand
8386         instead of an explicit test against CONST_DOUBLE.
8387         (movsf_const_lo): Add missing register mode.
8388         (goto_handler_and_restore): Add auxiliary test for Pmode.
8389         (flush): Adjust to use address_operand.
8390         (return_sf_no_fpu): Add missing output constraint.
8391
8392 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
8393
8394         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
8395         for call return value.
8396         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
8397
8398 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
8399
8400         * toplev.c (main): Only warn about options for other languages.
8401         * collect2.c (main): Pass -w to sub-gcc.
8402
8403 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
8404
8405         * flow.c (propagate_block): Add call-clobbered registers to
8406         significant too.
8407
8408         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
8409         zapping mem_set_list.
8410         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
8411         (mark_set_1, mark_used_regs): Likewise.
8412
8413 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
8414
8415         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
8416
8417 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8418
8419         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
8420         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
8421         options. Also add a new item "C-only Warning Options" to the
8422         option summary.
8423
8424 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
8425
8426         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
8427         from multiple calls.
8428
8429 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
8430
8431         * i386.md (call value patterns): Move to the end of the file.
8432         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
8433
8434 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
8435
8436         * configure.in (djgpp configuration): Define extra_objects..
8437         * configure: Rebuilt.
8438         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
8439         (DTORS_SECTION_ASM_OP): Define.
8440         (INIT_SECTION_ASM_OP): Define.
8441         (FINI_SECTION_ASM_OP): Define.
8442         (DATA_SECTION_ASM_OP): Define.
8443         (TEXT_SECTION_ASM_OP): Define.
8444         (EH_FRAME_SECTION_ASM_OP): Define.
8445         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
8446         (STARTFILE_SPEC): Add crtbegin.o.
8447         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
8448         to here from LINK_COMMAND_SPEC.
8449         (DO_GLOBAL_CTORS_BODY): Define.
8450         (CRTSTUFF_USE_FINI_SECTION): Define
8451         (HAS_INIT_SECTION): Delete.
8452
8453 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
8454
8455         * Makefile.in (all.cross): Depend on xcpp$(exeext).
8456
8457 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
8458
8459         * pa.h (PREDICATE_CODES): New.
8460
8461         * genrecog.c (validate_pattern): Condense the destination
8462         non-lvalue message.
8463
8464 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
8465
8466         * alpha.md (call-1): Supply missing mode for operator.
8467         (*): Add missing output reload constraints.  Remove constraints
8468         from define_splits.
8469
8470         * i386.h (SPECIAL_MODE_PREDICATES): New.
8471         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
8472         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
8473         (addsi_lea_3): Add missing mode for op 3.
8474         (prologue_set_got, prologue_get_pc): Add missing modes.
8475         (*) Add missing output reload constraints.
8476
8477 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
8478
8479         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
8480         check for member bit-size overflow and use var_size if it occurs.
8481         (layout_record): Use bitsize_int() to define the type size in bits.
8482         Likewise for computation and assignment to DECL_FIELD_BITPOS.
8483         (layout_decl): Likewise when assigning to DECL_SIZE.
8484
8485 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
8486
8487         * genrecog.c (validate_pattern): Typo last change.  Verify
8488         that output operands have output reloads.
8489
8490 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
8491
8492         * genrecog.c (special_mode_pred_table): New.
8493         (NUM_SPECIAL_MODE_PREDS): New.
8494         (find_operand): New.
8495         (validate_pattern): New argument `insn'.  Warn for assignment to
8496         any predicate accepting non-lvalues.  Conditionaly warn for
8497         match_operand without a mode.  Try much harder to match source
8498         and destination modes on a set.
8499         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
8500
8501 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
8502
8503         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
8504
8505 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
8506
8507         * combine.c (simplify_logical): Recognize xor pattern that encodes
8508         rotation.
8509
8510 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8511
8512         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
8513         alignment.
8514
8515 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
8516
8517         * ggc-page.c (MAP_FAILED): Provide default.
8518
8519 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
8520
8521         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
8522         * sparc.h (PREDICATE_CODES): Update.
8523
8524 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
8525
8526         * alpha.c (some_ni_operand): New.
8527         * alpha-protos.h: Declare it.
8528         * alpha.h (PREDICATE_CODES): Update.
8529         * alpha.md (sXaddq reload insns): Use some_ni_operand
8530         for SET_DEST instead of some_operand.
8531
8532 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
8533                           Jim Wilson  <wilson@cygnus.com>
8534
8535         * genrecog.c (maybe_both_true_2): Don't compare modes of
8536         two DT_pred tests.
8537         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
8538         after find_afterward.
8539         (debug_decision_1): Dump next and afterward codes.
8540
8541 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
8542
8543         * rtl.c (dump_and_abort): Remove.
8544         (fatal_with_file_and_line): New.
8545         (fatal_expected_char): New.
8546         (read_rtx_lineno, read_rtx_filename): New.
8547         (read_skip_spaces): Track line number.
8548         (read_name): Use fatal_with_file_and_line.
8549         (read_rtx): Use fatal_expected_char.  Track line number.
8550         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
8551
8552         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
8553         if it isn't a CODE_LABEL.
8554
8555         * genattr.c (main): Set read_rtx_filename.
8556         * genattrtab.c (main): Likewise.
8557         * gencodes.c (main): Likewise.
8558         * genconfig.c (main): Likewise.
8559         * genemit.c (main): Likewise.
8560         * genextract.c (main): Likewise.
8561         * genflags.c (main): Likewise.
8562         * genopinit.c (main): Likewise.
8563         * genoutput.c (main): Likewise.
8564         * genpeep.c (main): Likewise.
8565
8566         * genrecog.c (decision_test.u.insn): Add `lineno'.
8567         (pattern_lineno, error_count): New variables.
8568         (message_with_line): New.
8569         (add_to_sequence): Break out checking code to ...
8570         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
8571         (merge_insn): Use message_with_line.
8572         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
8573         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
8574
8575 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8576
8577         * expr.c (store_constructor): Clear union if constructor is empty.
8578
8579 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
8580
8581         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
8582         Add !endian checks.  Change %{...} to %(...).
8583
8584 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
8585
8586         * i386.md (*addsi3_cc): Renamed from addcsi3.
8587         (*addsi3_carry): Renamed from addxsi3.
8588         (*subsi3_cc): Renamed from subcsi3.
8589         (*subsi3_carry): Renamed from subxsi3.
8590         (*xorqi_cc_1): Renamed from xorcqi_1.
8591         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
8592         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
8593
8594 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
8595
8596         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
8597         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
8598
8599 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
8600
8601         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
8602         climb up the chain of insns.
8603
8604 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
8605
8606         * genrecog.c (write_subroutine): Careful for null trees.
8607         (process_tree): Don't elide empty functions.
8608
8609 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
8610
8611         * Makefile.in (genrtl.o): Depend on ggc.h.
8612         * configure.in (valloc): Probe for it.
8613         (with-gc): Use ggc-page if valloc present.
8614         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
8615         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
8616         (ggc_alloc_string): Moved from ggc-page.c.
8617         * ggc-none.c (ggc_alloc_obj): New.
8618         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
8619         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
8620         (struct globals): Likewise for dev_zero_fd.
8621         (init_ggc): Likewise for it's initialization.
8622         (ggc_allocated_p): Move careful dereference from ...
8623         (ggc_lookup_page_table): ... here.  Delete.
8624         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
8625         (alloc_anon): Use valloc if no mmap.
8626         (release_pages): Use free if using valloc.
8627         (ggc_alloc_obj): Renamed from alloc_obj.
8628         (ggc_set_mark): Renamed from mark_obj.
8629         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
8630         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
8631         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
8632         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
8633         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
8634         (ggc_collect): Use fp printing instead of our own rounding.
8635         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
8636         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
8637         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
8638         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
8639         (struct ggc_string, struct ggc_any): Delete.
8640         (offsetof): Provide default definition.
8641         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
8642         (PTR_KEY): New.
8643         (struct ggc_mem): New, from corpse of ggc_any.
8644         (struct ggc_status): Delete.
8645         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
8646         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
8647         (n_strings_collected, n_anys_collected): Delete.
8648         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
8649         (ggc_alloc_string, ggc_alloc): Delete.
8650         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
8651         (ggc_free_string, ggc_free_any): Delete.
8652         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
8653         (ggc_compare_addresses, ggc_mark_string): Delete.
8654         (ggc_mark_string_if_gcable, ggc_mark): Delete.
8655         (search_data): Delete.
8656         (struct globals): New.
8657         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
8658         (tree_insert, tree_lookup): New.
8659         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
8660         (clear_marks, sweep_objs): New.
8661         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
8662         (init_ggc): Set allocated_last_gc.
8663         (ggc_push_context): Gut.  Use G.context.
8664         (ggc_pop_context): Likewise.
8665         (ggc_pop_context_1): New.
8666         (debug_ggc_tree): New.
8667         (debug_ggc_balance, tally_leaves): New.
8668         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
8669         (ggc_mark_string_if_gcable): Remove decl.
8670         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
8671         (ggc_mark_rtvec_children): New.
8672         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
8673         (ggc_mark_if_gcable): New decl.
8674         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
8675         (ggc_alloc_tree, ggc_alloc): Likewise.
8676         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
8677         (ggc_alloc_obj): New decl.
8678         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
8679         (ggc_alloc_tree, ggc_alloc): Likewise.
8680         (ggc_set_mark): New decl.
8681         * rtl.h (struct rtx_def): Remove gc_mark.
8682         (struct rtvec_def): Likewise.
8683         * tree.h (struct tree_common): Likewise.
8684
8685 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
8686
8687         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
8688         float_format and thread_file definitions.
8689         * configure: Rebuilt.
8690
8691 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
8692
8693         * extend.texi (Function Names): Document types of function names.
8694
8695 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8696
8697         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
8698         an earlyclobbered output conflict with RELOAD_INPUT reloads.
8699
8700 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8701
8702         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
8703
8704 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8705
8706         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
8707
8708 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
8709
8710         * collect2.c (main): Do prelimnary link on AIX if rflag.
8711
8712 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
8713
8714         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
8715         __CTOR_LIST__ in opposite order, which is the correct order for sorted
8716         constructors.
8717         (__do_global_dtors): similarly for __DTOR_LIST__.
8718
8719 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8720                                 Diego Novillo <dnovillo@cygnus.com>
8721
8722         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
8723         FPUL_REGS.
8724
8725 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
8726
8727         * fixincl/*: Merged "no_bogosity" branch
8728         * fixincl/fixlib.h: protect against doubly defining t_bool
8729         * fixincl/server.h: protect against doubly defining t_bool
8730
8731 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
8732
8733         * genoutput.c: Include toplev.h.
8734
8735 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
8736
8737         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
8738         Undef.
8739         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
8740         * configure: Regenerate.
8741
8742 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
8743
8744         * gcse.c (delete_null_pointer_checks): Returns void.
8745
8746 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8747
8748         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
8749         * emit-rtl.c (copy_insn_1): Likewise.
8750
8751 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
8752
8753         * config/mips/mips.c (mips_build_va_list): Correct
8754         TREE_CHAIN setting when hard-float.
8755         (mips_va_start): Use corrected setting.
8756         (mips_va_arg): Likewise.  Also pass a tree to build of
8757         POSTINCREMENT_EXPR rather than a naked 'int'.
8758
8759 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
8760
8761         * ggc.h (ggc_push_context): Fix comment.
8762         (ggc_pop_context): Likewise.
8763         (mark_string_if_gcable): Likewise.
8764         * ggc-common.c (ggc_mark_rtx_children): Use
8765         ggc_mark_string_if_gcable.
8766         * ggc-page.c (ggc_lookup_page_table): New function.
8767         (ggc_allocated_p): Likewise.
8768         (mark_obj): Fix formatting.
8769         (ggc_mark_string_if_gcable): New function.
8770         * ggc-simple.c (ggc_allocated_strings): New variable.
8771         (ggc_strings_used): Likewise.
8772         (ggc_compare_addresses): New function.
8773         (ggc_pop_context): Pop the `any' memory too.
8774         (ggc_mark_string_if_gcable): New function.
8775         (ggc_collect): Initialize and tear down ggc_allocated_strings.
8776
8777 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
8778
8779         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
8780         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
8781         * rs6000.c (expand_block_move): Match movstrsi_?reg register
8782         changes.
8783
8784 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
8785
8786         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
8787         (sched_reg_live_length, sched_reg_basic_block): Delete.
8788         (current_block_num, bb_live_regs, old_live_regs): Delete.
8789         (dead_notes, struct sometimes): Delete.
8790         (sched_note_set, birthing_insn_p): Delete.
8791         (adjust_priority): Gut useless reg lifetime code.
8792         (create_reg_dead_note, attach_deaths): Delete.
8793         (attach_deaths_insn, new_sometimes_live): Delete.
8794         (finish_sometimes_live): Delete.
8795         (find_pre_sched_live, find_post_sched_live): Delete.
8796         (update_reg_usage): Delete.
8797         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
8798         (schedule_insns): Delete reg lifetime code.
8799         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
8800         (unlink_other_notes): Adjust REG_NOTE commentary.
8801         (reemit_notes): Use REG_SAVE_NOTE.
8802         (schedule_block): Likewise.
8803         (schedule_region): Allocate bitmap of blocks in region.  Use
8804         count_or_remove_death_notes.  Use update_life_info.
8805
8806         * rtl.h (REG_SAVE_NOTE): New.
8807         * rtl.c (reg_note_name): Update.
8808
8809 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
8810
8811         * combine.c (refresh_blocks, need_refresh): New.
8812         (combine_instructions): Allocate refresh_blocks.  Invoke
8813         update_life_info if needed.
8814         (distribute_notes): Mark refresh_blocks instead of installing
8815         USE insns.
8816         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
8817         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
8818
8819         * Makefile.in (recog.o): Depend on basic-block.h.
8820
8821 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
8822
8823         * genrecog.c (add_to_sequence): Thinko last change: delete
8824         shadowing allow_const_int variable.
8825
8826 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8827
8828         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
8829         __GNUC__ and __GNUC_MINOR__.
8830
8831         * gansidecl.h: Likewise.
8832
8833         * rtl.c: Likewise.
8834
8835         * rtl.h: Likewise.
8836
8837         * toplev.h: Likewise.
8838
8839         * tree.c: Likewise.
8840
8841         * tree.h: Likewise.
8842
8843         * varray.c: Likewise.
8844
8845         * varray.h: Likewise.
8846
8847 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8848
8849         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
8850         use one before a jump table.
8851
8852         * rtl.def (ADDRESS): Change documentation to match reality.
8853         * md.texi: Don't document it.
8854         * gmicro.md (load address pattern): Use 'p' constraint, delete use
8855         of ADDRESS rtx.
8856
8857         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
8858
8859 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
8860
8861         * genrecog.c (add_to_sequence): Move allow_const_int test outside
8862         known predicate block; default allow_const_int true.
8863         (debug_decision_list): New.
8864
8865 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
8866
8867         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
8868
8869 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
8870
8871         * gcse.c (gcse_main): Avoid global optimizations if we have a
8872         large number of basic blocks and the ratio of edges to blocks
8873         is high.
8874         (delete_null_pointer_checks): Likewise.
8875
8876 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
8877
8878         * c-common.c (check_format_info): Warn if format string isn't a
8879         string literal.
8880
8881 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
8882
8883         * configure.in (arm*-*-*): Don't let autoconf remove brackets
8884         * configure: regenerate
8885
8886 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
8887
8888         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
8889         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
8890         (peepholes): Re-enable.
8891
8892 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
8893
8894         * Makefile.in (flow.o): Depend on TREE_H.
8895         * basic-block.h (REG_SET_EQUAL_P): New.
8896         (XOR_REG_SET): New.
8897         (n_edges): Declare.
8898         (free_regset_vector): Remove declaration.
8899         (flow_delete_insn_chain): Declare.
8900         (enum update_life_extent): New.
8901         (update_life_info, count_or_remove_death_notes): Declare.
8902         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
8903         Verify register live at bb->global_live_at_start before adding USE.
8904         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
8905         (CLEAN_ALLOCA): New.
8906         (n_edges): New.
8907         (PROP_*): New flags.
8908         (find_basic_blocks_1): Use alloc_EXPR_LIST.
8909         (clear_edges): Zero n_edges.
8910         (make_edge): Increment n_edges.
8911         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
8912         (flow_delete_insn_chain): Export.
8913         (delete_block): Decrement n_edges.
8914         (merge_blocks_nomove): Likewise.
8915         (life_analysis): Give life_analysis_1 PROP flags.
8916         (verify_wide_reg_1, verify_wide_reg): New.
8917         (verify_local_live_at_start): New.
8918         (update_life_info): Rewrite to call into propogate_block.
8919         (mark_reg): New.
8920         (mark_regs_live_at_end): After reload, if epilogue as rtl,
8921         always mark stack pointer.  Conditionally mark PIC register.
8922         After reload, mark call-saved registers, return regsiters.
8923         (life_analysis_1): Accept PROP flags not remove_dead_code.
8924         Call mark_regs_live_at_end before zeroing regs_ever_live.
8925         Use calculate_global_regs_live.  Copy global_live_at_end before
8926         calling final propagate_block.  Zero reg_next_use on exit.
8927         (calculate_global_regs_live): New.
8928         (allocate_bb_life_data): Don't allocate bb->local_set.
8929         (init_regset_vector, free_regset_vector): Remove.
8930         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
8931         Test flags before every operation.  Warn if prologue/epilogue insn
8932         would have been deleted.
8933         (mark_set_regs, mark_set_1): Accept and use FLAGS.
8934         Use alloc_EXPR_LIST.
8935         (mark_used_regs): Accept and use FLAGS, not FINAL.
8936         Remove special handling for RETURN.
8937         (try_pre_increment): Use alloc_EXPR_LIST.
8938         (dump_flow_info): Dump n_edges.
8939         (unlink_insn_chain, split_hard_reg_notes): Remove.
8940         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
8941         (find_insn_with_note, new_insn_dead_notes): Remove.
8942         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
8943         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
8944         (replace_insns): Remove.
8945         (count_or_remove_death_notes): New.
8946         (verify_flow_info): Abort on error after all checks.
8947         (remove_edge): Decrement n_edges.
8948         (remove_fake_edges): Tweek format.
8949         * haifa-sched.c (schedule_insns): Use split_all_insns.
8950         * output.h (update_life_info): Remove declaration.
8951         * recog.c (split_all_insns): From the corpse of split_block_insns,
8952         do the whole function block by block.  Use update_life_info.
8953         (recog_last_allowed_insn): New.
8954         (recog_next_insn): Mind it.
8955         (peephole2_optimize): Set it.  Walk backwards through blocks.
8956         Use update_life_info.
8957         * rtl.h (update_flow_info, replace_insns): Remove declarations.
8958         (split_all_insns): Declare.
8959         * toplev.c (rest_of_compilation): Thread prologue before flow2.
8960         Use split_all_insns.
8961
8962         * i386.md (or -1 peep2s): Disable.
8963
8964 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
8965
8966         * config/mips/mips.md (movstrsi+[123]) : Combine these into
8967         a single pattern.  Scrap the 'd' versions as unnecessary.
8968
8969         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
8970         tablejump_mips162,tablejump_internal4): The operands to a
8971         label_ref must be VOIDmode.
8972
8973 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8974
8975         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
8976
8977 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
8978
8979         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
8980
8981 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
8982
8983         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
8984         cache every function if ggc_p.
8985
8986 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8987
8988         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
8989         instead of copy_rtx.  Accept sequences that contain asm statements.
8990         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
8991         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
8992         orig_asm_operands_vector, copy_asm_operands_vector,
8993         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
8994         variables.
8995         * rtl.h (copy_insn, copy_insn_1): Declare.
8996
8997 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8998
8999         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
9000
9001         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
9002         arguments to `current_file_function_operand'.
9003
9004         * genrecog.c: Include hard-reg-set.h and resource.h in the
9005         generated output file.
9006
9007         * real.c: Include tm_p.h.
9008
9009 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9010
9011         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
9012         output operand.
9013
9014 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
9015
9016         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
9017         before the fctiwz insn.
9018
9019 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9020                           Mark Mitchell  <mark@codesourcery.com>
9021
9022         * tree.c (make_lang_type_fn): New funtion pointer.
9023         (make_lang_type): Call it.
9024         * tree.h (make_lang_type): Declare.
9025         (make_lang_type_fn): Likewise.
9026         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
9027
9028 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
9029
9030         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
9031         make sure that HIGH instructions are copied into BASE_REGS.
9032
9033 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
9034
9035         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
9036
9037 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
9038
9039         * c-decl.c (finish_struct): Use simpler method of
9040         removing elements of a singly-linked list.
9041
9042 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
9043
9044         * alpha.md (peephole2's): Comment out peephole2's that generate
9045         buggy code.
9046
9047 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
9048
9049         * genrecog.c (add_to_sequence): Disable mode check for
9050         wildcard matches.
9051
9052 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9053
9054         * ggc-simple.c (init_ggc): Set empty_string.
9055
9056 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
9057
9058         * configure.in: Detect mmap.  Add --with-gc=foo to select
9059         garbage collector; default to page if mmap available.
9060         * Makefile.in (GGC): Substitute.
9061
9062 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
9063
9064         * c-decl.c (ggc_p): Enable.
9065
9066 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9067
9068         * flow.c (verify_flow_info): Make it extern & unconditionally define.
9069
9070 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
9071
9072         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
9073         string for little-endian-data.
9074
9075 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
9076
9077         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
9078         case somebody tries to compile --enable-checking code with gcc
9079         1.34 or such.
9080
9081 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
9082
9083         * genrecog.c (add_to_sequence): Verify operand to label_ref is
9084         VOIDmode.
9085
9086 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
9087
9088         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
9089         * jump.c (jump_optimize_1): Document why.
9090
9091 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9092
9093         * collect2.c (scan_prog_file, scan_libraries): Prototype function
9094         pointers and casts for `int_handler' and `quit_handler'.
9095
9096         * flow.c (verify_flow_info, split_hard_reg_notes,
9097         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
9098         remove_edge, remove_fake_successors): Add static prototypes.
9099         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
9100         (mark_set_1): Initialize variable `regno'.
9101         (unlink_insn_chain): Likewise for variable `curr'.
9102         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
9103
9104         * loop.c (strength_reduce): Initialize variable
9105         `unrolled_insn_copies'.
9106         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
9107         prototypes.  Change these functions to take const PTR parameters
9108         to avoid prototype conflict when used as the comparson argument
9109         for qsort.
9110         (check_dbra_loop): Initialize variable `comparison_val'.
9111
9112         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
9113         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
9114         (find_valid_class): Initialize variable `best_class'.
9115         (find_reloads): Call memcpy, not bcopy.
9116
9117         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
9118         (hard_reg_use_compare): Don't needlessly cast away const.
9119         (reload_reg_class_lower): Likewise.
9120         (choose_reload_regs): Initialize variable `regno'.
9121
9122 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
9123
9124         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
9125
9126 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
9127
9128         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
9129         ({,d}discard): Add forward declarations.  Declare parameter as
9130         unused.
9131         (main_without_main): Explicitly declare return type to be int.
9132         (memcpy): Properly declare.
9133
9134         * libgcc2.c (toplevel): If inhibit_libc is defined and not
9135         building the trampoline support, declare malloc, free, and
9136         atexit.
9137         (__clear_cache): Mark arguments as potentially unused.
9138
9139         * frame.c (toplevel): If inhibit_libc is defined, declare
9140         malloc and free.
9141
9142 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
9143
9144         * flow.c (make_edge): Accept an optional 2D bitmap in which
9145         to cache edge existence.  Update all callers.
9146         (make_label_edge, make_eh_edge): Pass through the edge cache.
9147         (make_edges): Provide the cache.
9148
9149 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9150
9151         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
9152         a char*.
9153         (local_mbtowc): Change the type of variable `i' from int to size_t.
9154
9155         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
9156         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
9157
9158 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
9159
9160         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
9161         after other includes that define the appropriate types.  Include
9162         tm_p.h for getting user prototypes.
9163         * ggc-callbacks.c (toplevel): Ditto.
9164         * ggc-none.c (toplevel): Ditto.
9165         * gcc-page.c (toplevel): Ditto.
9166         * ggc-simple.c (toplevel): Ditto.
9167
9168 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
9169                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
9170
9171         * config/mips/mips.c (mips_move_2words): Split doubles if
9172         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
9173
9174 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
9175
9176         * genrecog.c (struct decision_test): New.
9177         (struct decision): Remove test-related members, sort the rest by size.
9178         (IS_SPLIT): Simplify.
9179         (new_decision, new_decision_test): New.
9180         (add_to_sequence): Use them.  No special handling for args of
9181         non-MATCH codes.
9182         (maybe_both_true): Renamed from not_both_true; return sense changed.
9183         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
9184         of maybe_both_true and adjusted for decision_test.
9185         (position_merit): Remove.
9186         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
9187         (merge_accept_insn): New, broken out of merge_trees.
9188         (merge_trees): Use them.  No special case for c_test; no node
9189         splitting; use test type instead of position_merit.
9190         (factor_tests): New.
9191         (simplify_tests): New.
9192         (break_out_subroutines): Don't write code now.
9193         (find_afterward): New.
9194         (write_afterward, write_switch, write_cond): New.
9195         (write_action, is_unconditional): New.
9196         (write_node): New.  Use them.
9197         (write_tree_1): Rewrite.  Use the new functions above.
9198         (write_tree): Remove afterward processing.
9199         (write_subroutine): Simplify function variant emission.
9200         (write_subroutines): New.
9201         (same_codes, clear_codes): Remove.
9202         (same_modes, clear_modes): Remove.
9203         (write_header): New, broken out of main.
9204         (make_insn_sequence): Use new_decision and new_decision_test.
9205         (process_tree): New, broken out of main.
9206         (main): Adjust for merge_trees interface change.
9207         Don't #define operands in the output file.
9208         (record_insn_name): New, broken out of make_insn_sequence.
9209         (debug_decision_2, debug_decision_1, debug_decision_0): New.
9210         (debug_decision): New.
9211
9212 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
9213
9214         * resource.c (find_free_register): Mark class_str argument const.
9215         * resource.h: Update prototype to match.
9216
9217         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
9218         * i386.md: Give all anonymous insns names.
9219
9220 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
9221
9222         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
9223         blocks.
9224
9225 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
9226
9227         * toplev.c (dbr_sched_time): Unconditional.
9228         (peephole2_time): New.
9229         (compile_file): Add pass numbers to all of the dump file suffixes.
9230         Dump peephole2_time.  Don't dump times for non-applicable passes.
9231         (rest_of_compilation): Add pass numbers to dump file suffixes.
9232         Conditionalize calls to the scheduler.
9233         * invoke.texi: Update.
9234
9235 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
9236
9237         * flow.c (make_edges): Fix insn iteration.
9238         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
9239         (find_basic_blocks_1): Fix spelling mistake.
9240
9241 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
9242
9243         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
9244         always have side-effects.  Use memset not bzero.
9245         (make_node): Likewise.
9246
9247 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
9248
9249         * stmt.c (expand_anon_union_decl): When any of the elements of the
9250         union is addressable, so is the entire union.
9251
9252 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
9253
9254         * sbitmap.c (sbitmap_ones): Don't set too many bits.
9255
9256         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
9257         * bitmap.c (bitmap_operation): Return true iff TO changed.
9258         (bitmap_equal_p): New.
9259         (bitmap_bit_p): Tidy arithmetic.
9260         (debug_bitmap_file): Likewise.
9261
9262 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
9263
9264         * toplev.c (rest_of_compilation): Turn on cse_not_expected
9265         before cse2 instead of after.
9266
9267 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
9268
9269         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
9270         register offsets.
9271
9272 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9273
9274         * cppinit.c (is_idchar initializer): Loosen tests to accept
9275         gcc 2.>6 and >2.
9276
9277 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
9278
9279         * mips.md: Define conditional move patterns for floating point
9280         operands and DI mode conditions.
9281
9282 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
9283
9284         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
9285         always have side-effects.
9286
9287 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
9288
9289         * mn10200.c (asm_file_start): Fix typo.
9290
9291         * cppinit.c (is_idchar initializer): Tighten tests for when
9292         to put the table into initialized memory.
9293
9294         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
9295         not an array of rtunion.
9296         * gcc-page.c (ggc_alloc_rtvec): Similarly.
9297         * gcc-simple (ggc_free_rtvec): Similarly.
9298
9299         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
9300         of rtunions.
9301
9302         * mbchar.h: Add missing #endif.
9303
9304         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
9305         (FPBIT, DPBIT): Define.
9306
9307 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9308
9309         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
9310
9311         * profile.c (instrument_arcs, output_gcov_string,
9312         tablejump_entry_p): Add static prototypes.
9313         (output_gcov_string): Constify a char*.
9314
9315         * regmove.c (replacement_quality, fixup_match_2): Add static
9316         prototypes.
9317
9318         * resource.h (reg_dead_p): Add extern prototype.
9319
9320         * rtl.c (trim_filename): Add static prototype.
9321
9322         * scan-decls.c (skip_to_closing_brace): Likewise.
9323
9324         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
9325         (expand_end_case): Initialize variable `range'.
9326         (emit_case_nodes): Remove unused prototype `rtx_fn'.
9327
9328         * varasm.c (asm_emit_uninitialised): Add static prototype.
9329         (asm_emit_uninitialised, assemble_variable): Mark parameter with
9330         ATTRIBUTE_UNUSED.
9331
9332 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9333
9334         * cpplib.c (if_directive_nameo): Add static prototype.
9335
9336         * cse.c (cse_insn): Remove unused variable `p'.
9337
9338         * except.c (create_rethrow_ref, push_entry,
9339         receive_exception_label, new_eh_region_entry, find_func_region,
9340         clear_function_eh_region, process_nestinfo): Add static prototypes.
9341         (get_reg_for_handler): Hide definition.
9342         (process_nestinfo): Initialize variable `extra_handlers'.
9343
9344         * expr.h (expand_builtin_longjmp): Add extern prototype.
9345
9346         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
9347
9348         * function.c (prepare_function_start): Likewise.
9349         (pop_function_context_from): Mark parameter `context' with
9350         ATTRIBUTE_UNUSED.
9351         (push_temp_slots_for_block, flush_addressof): Hide definition.
9352
9353         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
9354         solve_program_flow_graph, calculate_branch_probs,
9355         function_summary, main, fancy_abort): Add prototypes.
9356
9357         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
9358         (add_hash): Constify a char*.
9359
9360         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
9361         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
9362         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
9363
9364         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
9365
9366         * lists.c (free_list, zap_lists): Likewise.
9367
9368 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9369
9370         * alias.c (nonlocal_reference_p): Add static prototype.
9371
9372         * bitmap.c (bitmap_element_allocate): Prototype args in function
9373         pointer cast.
9374
9375         * builtins.c (stabilize_va_list): Add static prototype.
9376         (expand_builtin_va_arg): Constify a char*.
9377
9378         * c-lex.c (getch, put_back, extend_token_buffer_to,
9379         read_line_number, token_getch, token_put_back): Add static
9380         prototypes.
9381
9382         * c-parse.gperf (hash, is_reserved_word): Likewise.
9383
9384         * cccp.c (is_dir_separator): Likewise.
9385
9386 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9387
9388         * graph.h: New file to prototype functions exported by graph.c.
9389
9390         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
9391
9392         * graph.c: Include graph.h.
9393
9394         * toplev.c: Likewise.  Remove redundant prototypes.
9395
9396 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
9397
9398         * invoke.texi: Removed duplicated description for -Q.
9399
9400 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
9401
9402         * extend.texi: Grammar fix in __extension__ text.
9403
9404 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
9405
9406         * md.texi (define_peephole2): New section.
9407
9408 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
9409
9410         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
9411         (mov $-1 to or peepholer): Enable for pentium when optimizing for
9412         speed.
9413
9414 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
9415
9416         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
9417
9418 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
9419
9420         * i386.md (ffs expander): Emit Pentium friendly code for
9421         TARGET_PENTIUM.
9422
9423 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
9424
9425         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
9426         for non-trees.
9427         (build1): Likewise.
9428
9429 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9430
9431         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
9432
9433 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
9434
9435         * config/m68k/m68k.c (use_return_insn): Return false if the pic
9436         register is in use.
9437
9438 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9439
9440         * md.texi (No Constraints): Delete section.
9441         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
9442         * final.c (final_scan_insn): We always have register constraints.
9443         * genattrtab.c: Don't include "insn-config.h".
9444         (write_attr_case): We always have register constraints.
9445         * genconfig.c (register_constraint_flag): Delete.
9446         (walk_insn_part): Don't check whether we have register constraints.
9447         (main): Don't write out "#define REGISTER_CONSTRAINTS".
9448         * genoutput.c (have_constraints): Delete.
9449         (main): Don't set it.
9450         (output_operand_data): We always have constraints.
9451         (scan_operands): Likewise.
9452         (compare_operands): Likewise.
9453         * local-alloc.c (block_alloc): We always have constraints.
9454         (requires_inout): Always compile this function.
9455         * recog.c (extract_insn): We always have constraints.
9456         (constrain_operands, reg_fits_class_p): Always compile these
9457         functions.
9458         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
9459         fields.
9460         (struct insn_operand_data): Likewise.
9461         * regclass.c (regclass): We always have constraints.
9462         (record_reg_classes, copy_cost, record_address_regs,
9463         auto_inc_dec_reg_p): Always compile these functions.
9464         * regmove.c (regmove_optimize): We always have constraints.
9465         * reload.c (find_reloads): Likewise.
9466         * reload1.c (reload): Likewise.
9467         (reload_cse_simplify_operands): Likewise.
9468         * i860.c (output_delay_insn): Likewise.
9469
9470 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
9471
9472         * iris6.h (BUILD_VA_LIST_TYPE): Define.
9473
9474 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9475
9476         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
9477         for the va_list record.
9478
9479 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
9480
9481         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
9482         prologues.
9483
9484 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
9485
9486         * alias.c: Include insn-flags.h.
9487         * Makefile.in (alias.o): Update.
9488
9489 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
9490
9491         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
9492         to LTU and GEU.  Handle more cases using sbb.
9493
9494 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
9495
9496         * i386.md (truncatexfdf splitters): Do not use subreg.
9497         (fop XFmode patterns): Fix mode in operand testing.
9498
9499 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
9500
9501         * jump.c (jump_optimize_1): Amend last change to test only the
9502         form of the operand, not the insn.
9503
9504         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
9505         not register_operand to determine when B may need preloading.
9506
9507 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
9508
9509         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
9510         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
9511         (call-value patterns): Move to end of file.
9512         (*): Remove mode from label_ref in (pc) context.
9513         (movstrqi): Use memory not general_operand for BLKmode operands.
9514         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
9515         to register_operand operands.
9516         (peep2 patterns): Convert from commented-out peephole patterns.
9517
9518 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9519
9520         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
9521         to BUILT_IN_INIT_DWARF_REG_SIZES.
9522         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
9523         Renamed from BUILT_IN_DWARF_REG_SIZE; call
9524         expand_builtin_init_dwarf_reg_sizes.
9525         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
9526         with __builtin_init_dwarf_reg_size_table.
9527         * dwarf2out.c (struct reg_size_range): Delete.
9528         (expand_builtin_init_dwarf_reg_sizes): New function.
9529         (expand_builtin_dwarf_reg_size): Delete.
9530         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
9531         (expand_builtin_dwarf_reg_size): Don't declare.
9532         * libgcc2.c (dwarf_reg_size_table_initialized): New.
9533         (dwarf_reg_size_table): New.
9534         (init_reg_size_table): New function.
9535         (copy_reg): Use dwarf_reg_size_table.
9536         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
9537         before use.
9538
9539 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
9540
9541         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
9542         Correctly build argument list to constructor and destructor functions.
9543
9544 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
9545
9546         * c-tree.h (warn_float_equal): Declare.
9547         * c-decl.c (warn_float_equal): Define.
9548         (c_decode_option): Recognize -W[no-]float-equal.
9549         * c-typeck.c (build_binary_op): Conditionally warn
9550         about equality tests of floating point types.
9551         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
9552         * invoke.texi: Add docs for -Wfloat-equal warning.
9553
9554 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
9555
9556         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
9557         generating RTL directly.
9558         * mips.h (INIT_TARGET_OPTABS): Likewise.
9559         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
9560
9561         * expr.h (init_mov_optab): Delete declaration
9562
9563         * h8300.c (WORD_REG_USED): Update to avoid useless register
9564         saves in interrupt functions and functions which never return.
9565
9566         * cse.c (struct set): Delete inner_dest_loc field.
9567         (cse_insn): Remove assignments to inner_dest_loc field.
9568
9569 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
9570
9571         * ggc-page.c: Don't include <unistd.h> etc taken care of
9572         by "system.h".  Include <sys/mman.h> afterward.
9573
9574 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
9575
9576         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
9577         ggc_alloc_string.
9578
9579 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
9580
9581         * xcoffout.c (xcoffout_declare_function): Add documentation.
9582         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
9583         TARGET_64BIT.  Compare constant to -1, not bit pattern.
9584         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
9585         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
9586         gen_movsi typos.
9587
9588 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
9589
9590         * dwarf2out.c (add_abstract_origin_attribute): Abort if
9591         origin_die is NULL.
9592         (gen_inlined_enumeration_type_die): Do not abort if the type has
9593         not been writeen out.
9594         (gen_inlined_structure_type_die): Do not abort if the type has
9595         not been writeen out.
9596         (gen_inlined_union_type_die): Do not abort if the type has
9597         not been writeen out.
9598         (gen_tagged_type_instantiation_die): Do not abort if the type
9599         has not been written out.
9600
9601 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9602
9603         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
9604         call it.
9605         * reg-stack.c (straighten_stack): Copy hard reg set with
9606         COPY_HARD_REG_SET.
9607
9608 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
9609
9610         * builtins.c (stabilize_va_list): Stabilize array type va_list
9611         to a pointer type, not the base record type.
9612         (expand_builtin_va_copy): Dereference the pointers explicitly;
9613         use the correct size for the copy.
9614
9615         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
9616         (rs6000_va_arg): Likewise.
9617
9618 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
9619
9620         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
9621
9622 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
9623
9624         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
9625         field.
9626         (DECL_BUILT_IN_CLASS): Adjust accordingly.
9627
9628 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
9629
9630         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
9631         (init_ggc): Use it instead of a constant.
9632         (ggc_collect): Bound allocated_last_gc by it.
9633
9634 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
9635
9636         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
9637         with va_list.
9638
9639 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
9640
9641         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
9642         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
9643         * configure:  Regen.
9644         * config/mips/openbsd.h:  New, OpenBSD little endian target.
9645         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
9646         * config/mips/xm-openbsd.h:  New, OpenBSD host.
9647
9648 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
9649
9650         * config/m68k/m68k.c (output_function_prologue,
9651         output_function_epilogue): Use
9652         current_function_uses_pic_offset_table instead of regs_ever_live
9653         to decide whether to save/restore pic register.
9654         (legitimize_pic_address): Don't modify regs_ever_live any more.
9655
9656 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
9657
9658         * function.h (struct function): Add x_dont_save_pending_sizes_p.
9659         * stor-layout.c (variable_size): Don't add sizes to the pending
9660         sizes list if x_dont_save_pending_sizes_p is set.
9661
9662 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
9663
9664         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
9665         for symbolic_operand().
9666         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
9667
9668 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9669
9670         * combine.c (gen_rtx_combine): Add missing call to va_end().
9671
9672         * final.c (asm_fprintf): Likewise.
9673
9674         * genattrtab.c (attr_rtx): Likewise.
9675
9676 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
9677
9678         * cse.c: Update comments.
9679         (cse_insn): When converting a conditional/computed jump into
9680         an unconditional jump, always make sure a BARRIER immediately
9681         follows the converted jump.  Do not delete unreachable code.
9682         (cse_basic_block): Do not delete unreachable code.
9683         * toplev.c (rest_of_compilation): Move call to
9684         delete_trivially_dead_insns after the conditional call to
9685         jump_optimize.
9686
9687 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9688
9689         * collect2.c (make_temp_file): Don't prototype.
9690
9691         * gcc.c (make_temp_file): Likewise.
9692
9693         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
9694
9695 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
9696
9697         * varasm.c (asm_emit_uninitialised): New function: Generate
9698         the assembler statements necessary to declare an uninitialised
9699         variable.
9700         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
9701         variable.
9702         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
9703         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
9704         section.
9705         (assemble_variable): Use asm_emit_uninitialised to emit an
9706         uninitialised variable.
9707
9708 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
9709
9710         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
9711         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
9712         <geoffk@cygnus.com>.
9713
9714 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9715
9716         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
9717         * c-common.h (builtin_function): Don't declare.
9718
9719         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
9720         DECL_BUILT_IN.
9721         (pushdecl): Likewise.
9722         (finish_decl): Likewise.
9723         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
9724         int.  All callers changed.
9725         Set the builtin's DECL_BUILT_IN_CLASS.
9726         * tree.h (enum built_in_class): New.
9727         (enum built_in_function): Delete NOT_BUILT_IN.
9728         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
9729         in a union.
9730         (DECL_SET_FUNCTION_CODE): Likewise.
9731         (DECL_BUILT_IN_CLASS): New macro.
9732         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
9733         (struct tree_decl): Split builtin function code field into a
9734         struct.
9735         (builtin_function): Declare.
9736
9737 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
9738
9739         * optabs.c (init_traps): Fix typo in last change.
9740
9741 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
9742
9743         * toplev.c (rest_of_decl_compilation): Update comment.
9744
9745 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
9746
9747         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
9748         in .sbss if appropriate.
9749         (EXTRA_SECTION_FUNCTIONS): Add sbss.
9750         (SBSS_SECTION_ASM_OP): New macro.
9751         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
9752         (EXTRA_SECTIONS): Add in_sbss.
9753         * config/mips/mips.h: Prototype sbss_section.
9754
9755 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
9756
9757         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
9758         to disappear.
9759
9760 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
9761
9762         * optabs.c (init_traps): Register trap_rtx as a GC root.
9763
9764 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9765
9766         * config/mips/mips.c (function_arg_pass_by_reference): Define
9767         unconditionally, since it's called unconditionally.
9768
9769 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
9770
9771         * toplev.c (documented_lang_options): Add -fshort-wchar.
9772         * c-decl.c (c_decode_option): Likewise.
9773         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
9774         for wchar_t.
9775         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
9776         * gcc.c (default_compilers): If -fshort-wchar,
9777         override __WCHAR_TYPE__.
9778         * tm.texi (C Dialect Options): Add -fshort-wchar.
9779
9780         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
9781         symbol for a variable.
9782
9783         * cpplib.h (CPP_PREPROCESSED): New macro.
9784         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
9785         we're seeing this input for a second time.
9786
9787 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
9788
9789         * emit-rtl.c (init_emit_once): Initialize modes first.
9790
9791 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
9792
9793         * config/i386/i386.c (pic_label_name): Change to char pointer.
9794         (global_offset_table): New variable.
9795         (load_pic_register): Fill global_offset_table if it hasn't
9796         already been done.  Allocate pic_label_name dynamically.
9797         * ggc.h (empty_string): New variable.
9798         * ggc-simple.c (empty_string): Likewise.
9799         (init_ggc): Allocate empty_string and add as root.
9800         * stmt.c (digit_strings): New variable.
9801         (init_stmt): Add last_block_end_note as root.  Allocate and
9802         initialize digit_strings.
9803         (expand_asm_operands): Use empty_string instead of string
9804         constant.  Use digit_strings instead of string constants.
9805         * profile.c (init_arc_profiler): Allocate string with
9806         ggc_alloc_string instead of xmalloc.
9807         (output_func_start_profiler): Likewise.
9808         * c-typeck.c (digest_init): Check if init is error_mark_node.
9809
9810 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
9811                           Richard Henderson  <rth@cygnus.com>
9812
9813         * ggc-page.c: New file.
9814         * Makefile.in (ggc-page.o): New.
9815
9816 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
9817
9818         * invoke.texi: Document -fdelete-null-pointer-checks
9819         * toplev.c (flag_delete_null_pointer_checks): New.
9820         (f_options): Add entry for -fdelete-null-pointer-checks.
9821         (rest_of_compilation): Conditionalize null pointer check
9822         elimination on flag_delete_null_pointer_checks.
9823         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
9824
9825 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
9826
9827         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
9828         copyright notice and special exception to GPL.
9829
9830 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9831
9832         * abi64.h (mips_function_value): Add prototype arguments.
9833
9834         * mips-protos.h: New file with mips prototypes.
9835
9836         * mips.c: Include "tm_p.h".
9837         (mktemp, lookup_name): Add prototype arguments.
9838         (extern_list, string_constant, mips_fill_delay_slot,
9839         mips_output_external, mips_output_external_libcall,
9840         mips_output_filename, mips_declare_object, function_prologue,
9841         mips_expand_prologue, function_epilogue, mips16_constant,
9842         build_mips16_function_stub, mips_output_conditional_branch):
9843         Constify a char*.
9844         (mips_va_start): Remove unused variable `u'.
9845         (mips_va_arg): Cast value to unsigned when comparing against one.
9846         (trace): Delete.
9847         (save_restore_insns, mips_expand_prologue): Add missing arg in
9848         call to `large_int'.
9849
9850         * mips.h: Move prototypes to mips-protos.h.
9851         (data_section, memory_address_p, rdata_section,
9852         readonly_data_section, simple_epilogue_p, text_section): Delete
9853         prototypes delcared elsewhere.
9854         (mips_epilogue_delay_slots, print_options): Delete unused decls.
9855         (trace): Delete.
9856         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
9857
9858         * mips.md: Delete extra args in call to `mips_move_2words'.
9859
9860         * xm-iris6.h (alloca): Add prototype argument.
9861
9862         * genpeep.c: Include "tm_p.h" in generated output file.
9863
9864 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
9865
9866         * basic-block.h (find_edge_index): Change parameters.
9867         * flow.c (verify_edge_list): Pass basic_block parameters to
9868         find_edge_index instead of integers.
9869
9870 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
9871
9872         * combine.c (simplify_comparison): Use an unsigned shift to adjust
9873         the constant.
9874
9875 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
9876
9877         * gcc.1: Fix a formatting error.
9878
9879 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9880
9881         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
9882         i786, mn10200, mn10300, pdp11, v850.
9883
9884 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
9885
9886         * libgcc2.c (num_digits): Add prototype with
9887         __attribute__((const)).
9888         (__terminate): Add prototype.
9889
9890 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
9891
9892         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
9893
9894         * alpha/alpha.c (print_operand): Fix type of `code'.
9895         (alpha_output_filename): Constify.
9896         * alpha/alpha.h: Move all function declarations ...
9897         * alpha/alpha-protos.h: ... here.  New file.
9898         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
9899         (SECTION_FUNCTION_TEMPLATE): Likewise.
9900
9901 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9902
9903         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
9904         * expr.c (expand_expr): Likewise.
9905         (do_jump): Likewise.
9906         (do_store_flag): Pass ccp_store_flag to can_compare_p.
9907         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
9908         accessor macros.
9909         (enum can_compare_purpose): New.
9910         (can_compare_p): Adjust prototype.
9911         (prepare_cmp_insn, prepare_operand): Declare.
9912         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
9913         * optabs.c (cmp_available_p): Deleted.
9914         (expand_abs): Pass ccp_jump to can_compare_p.
9915         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
9916         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
9917         Call can_compare_p rather than cmp_available_p.
9918         (prepare_operand): No longer static.
9919         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
9920         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
9921         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
9922         sequence to use emit_cmp_and_jump_insns.
9923         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
9924
9925 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
9926
9927         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
9928         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
9929         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
9930         (plus (reg) (const_int 0))
9931         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
9932
9933 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
9934
9935         * rs6000.c (expand_block_move): DImode loads and stores require
9936         word-aligned displacements.  Increment address registers with
9937         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
9938
9939 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
9940
9941         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
9942         is no name for the base type, rather than segfault.  If we are
9943         writing out a complex integer type, use DW_ATE_lo_user.
9944
9945         * expr.c (emit_move_insn_1): If we are copying a complex that fits
9946         in one word or less (complex char, complex short, or on 64 bit
9947         systems complex float) to/from a hard register, copy it through
9948         memory instead of dying in gen_{real,imag}part.  If we have a
9949         short complex type, prevent inlining since it allocates stack
9950         memory.
9951
9952         * tree.c (build_complex_type): If we are writing dwarf2 output,
9953         generate a name for complex integer types.
9954
9955 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
9956
9957         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
9958         * flow.c (remove_edge): Remove extra whitespace.
9959         (remove_fake_edges): Fix comment.
9960         (add_noreturn_fake_exit_edges): Use the correct name.
9961
9962 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
9963
9964         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
9965         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
9966         (clean): Depend on INTL_CLEAN.
9967         (maintainer-clean): Adjust.
9968
9969 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9970
9971         * configure.in (AC_PREREQ): Bump to 2.13.
9972         (AC_C_STRINGIZE): Call this instead of using a custom macro.
9973
9974         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
9975
9976         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
9977
9978         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
9979
9980         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
9981         (HAVE_STRINGIZE): Define.
9982
9983 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
9984
9985         * c-parse.in: save and restore warn_pointer_arith on __extension__
9986         along with pedantic.
9987         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
9988         Set the type of extension to itype rather than $<itype>1 kludge.
9989         * extend.texi (Alternate Keywords): Adjust documentation.
9990         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
9991
9992 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
9993
9994         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
9995         most assembler templates.
9996
9997         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
9998         FP loads and stores.
9999         (following_call): Always return zero for the PA8000.
10000         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
10001         FP loads and stores.
10002         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
10003
10004         * pa.h (BRANCH_COST): Define.
10005
10006         * pa.md (return, return_internal): Use bve for PA2.0.
10007
10008         * pa.md (fused multiply): Add variants which reduce height for the
10009         fused multiply, but which still generate 2 insns.
10010         (fnegabs): Similarly.
10011
10012         * pa.md (subsi3): Turn into an expander.  Create two anonymous
10013         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
10014         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
10015
10016         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
10017         for TARGET_PA_20.
10018         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
10019         code generation.
10020         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
10021         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
10022
10023         * regclass.c (init_regs): Add "top_of_stack" as a garbage
10024         collection root.
10025
10026         * flow.c (record_active_eh_regions): Terminate loop after finding
10027         the last insn in the last basic block.
10028
10029 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10030
10031         * config/c4x/c4x.md: Delete parallel instruction peepholes.
10032
10033 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10034
10035         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
10036
10037 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10038
10039         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
10040         splitting to not use output template.
10041
10042 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10043
10044         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
10045         * config/c4x/c4x.c (c4x_va_start): New function.
10046
10047 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
10048
10049         * genrecog.c (not_both_true): Handle correctly cases when called for
10050         tests with different positions in the insn.
10051
10052 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10053
10054         * machmode.h (HOST_PTR_PRINTF): Move from here ...
10055
10056         * system.h (HOST_PTR_PRINTF): ... to here.
10057
10058         * mips-tfile.c: Don't include machmode.h.
10059
10060         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
10061         (mips-tfile.o): Don't depend on machmode.h.
10062
10063 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10064
10065         * haifa-sched.c (sched_analyze): Rename local variable `region' to
10066         avoid conflicts with typedef struct `region' at the top level scope.
10067
10068 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
10069
10070         * basic-block.h (basic_block): Add eh_beg, eh_end.
10071         * flow.c (entry_exit_blocks): Update.
10072         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
10073         Call new functions.
10074         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
10075         lists.c functions to allocate insn lists.
10076         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
10077         edge creation ...
10078         (make_eh_edge): ... here.  New.
10079         (move_stray_eh_region_notes): New.
10080         (record_active_eh_regions): New.
10081         (delete_unreachable_blocks): Split out block merging ...
10082         (try_merge_blocks): ... here.  New.
10083         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
10084         Dump debugging data.
10085         (merge_blocks_move_successor_nojumps): Likewise.
10086         (merge_blocks): Use eh_beg+eh_end to validate block movement.
10087
10088 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10089
10090         * extend.texi (Bound member functions): Document unbound pmf
10091         conversion.
10092
10093 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
10094
10095         * flow.c (split_edge): Handle insertion on a fallthrough edge which
10096         has the EXIT_BLOCK as a dest.
10097
10098 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
10099
10100         * flow.c (remove_edge): New function to remove an edge from the
10101         flow graph.
10102         (remove_fake_successors): New function to remove fake successor edges.
10103         (remove_fake_edges): New function to remove all fake edges from the
10104         flow graph.
10105         (add_fake_exit_edges): New function to add fake edges from all blocks
10106         with no successors to the exit block.
10107         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
10108         prototypes for new functions.
10109
10110 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
10111
10112         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
10113         Use Pmode to determine whether to output .dword or .word.
10114
10115 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
10116
10117         * tree.c (built_in_filename): New variable.
10118         (BUILT_IN_FILENAME): New macro.
10119         (init_tree_codes): Allocate built_in_filename.
10120         (make_node): Use built_in_filename instead of string constant.
10121
10122 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
10123
10124         * configure.in: Add fr30 target.
10125         * configure: Regenerate.
10126         * config/fr30: New directory.
10127         * config/fr30/crti.asm: New file.
10128         * config/fr30/fr30.c: New file.
10129         * config/fr30/crtn.asm: New file.
10130         * config/fr30/fr30.h: New file.
10131         * config/fr30/fr30.md: New file.
10132         * config/fr30/lib1funcs.asm: New file.
10133         * config/fr30/t-fr30: New file.
10134         * config/fr30/xm-fr30.h: New file.
10135
10136 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
10137
10138         * flow.c (merge_blocks_move_successor_nojumps): Delete the
10139         BARRIER at the end of the successor, not the BARRIER before
10140         the successor.
10141
10142         * pa.c (pa_add_gc_roots): Fix thinko in last change.
10143
10144 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
10145
10146         * stmt.c (any_pending_cleanups): Don't crash when
10147         current_function->stmt is unset.
10148
10149 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10150
10151         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
10152         other initializations that may use it for relative offsets.
10153
10154 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10155
10156         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
10157         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
10158         * config/i386/sol2dbg.h: Removed.
10159         * config/i386/sol2gas.h: New file, to enable gas work-around.
10160         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
10161         Don't use sol2dbg.h.
10162         * configure: Rebuilt.
10163
10164 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
10165
10166         * invoke.texi (-fthis-is-variable): Remove documentation.
10167
10168 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
10169
10170         * basic-block.h (compute_bb_for_insn): Declare.
10171         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
10172         to use; set size of basic_block_for_insn directly.
10173         (find_basic_blocks): Update.
10174
10175 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10176
10177         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
10178
10179 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10180
10181         * crtstuff.c (ON_EXIT): Delete empty macro definition.
10182         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
10183
10184 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
10185
10186         * c-decl.c (c_decode_option): Extend comment.
10187
10188 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
10189
10190         * toplev.c (progname): Make 'const char *'
10191         (flag_print_mem): Move out of main.
10192         (version_flag): Move out of main.
10193         (filename): Move out of main.
10194         (debug_args): Remove g prefix from options.
10195         (documented_lang_options): Remove cpplib specific options.
10196         (display_help): Add g prefix to debug options.
10197         (check_lang_option): Delete this function.
10198         (decode_d_option): New function: Decode -d... option.
10199         (decode_f_option): New function: Decode -f... option.
10200         (decode_W_option): New function: Decode -W... option.
10201         (decode_g_option): New function: Decode -g... option.
10202         (independent_decode_option): New function: Decode a language
10203         independent command line option.
10204         (main): Invoke lang_decode_option and then
10205         independent_decode_option on each command line option in
10206         turn.
10207
10208 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
10209
10210         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
10211          * fold-const.c (fold_range_test): Do not try to fold the range
10212          test if the rhs or lhs has side effects.
10213
10214         * basic-block.h (compute_flow_dominators): Declare.
10215
10216         * gcse.c (alloc_code_hoist_mem): New function.
10217         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
10218         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
10219         (hoist_code, one_code_hoisting_pass): Likewise.
10220         (gcse_main): If optimizing for size, then hoist expressions
10221         computed in multiple dominated basic blocks.
10222
10223         * gcse.c (invalid_nonnull_info): New function.
10224         (delete_null_pointer_checks): Likewise.
10225         * rtl.h (delete_null_pointer_checks): Declare.
10226         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
10227
10228         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
10229         (merge-blocks_move_successor_nojumps): Likewise.
10230         (merge_blocks): Allow merging of some blocks, even if it requires
10231         physical movement of the blocks, but not if it requires new jumps.
10232
10233         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
10234         Callers and prototype changed.
10235         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
10236
10237 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10238
10239         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
10240         -YP when both -p and -pg are present.  From i386/sol2.h.
10241
10242 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10243
10244         * Makefile.in (distclean): Delete tm_p.h.
10245         * configure.in: Create a new file, "tm_p.h", from a list in
10246         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
10247         "i386/i386-protos.h".
10248
10249         * alias.c: Include "tm_p.h".
10250         * c-typeck.c: Likewise.
10251         * calls.c: Likewise.
10252         * cse.c: Likewise.
10253         * emit-rtl.c: Likewise.
10254         * explow.c: Likewise.
10255         * expmed.c: Likewise.
10256         * expr.c: Likewise.
10257         * final.c: Likewise.
10258         * flow.c: Likewise.
10259         * fold-const.c: Likewise.
10260         * function.c: Likewise.
10261         * gcse.c: Likewise.
10262         * global.c: Likewise.
10263         * haifa-sched.c: Likewise.
10264         * integrate.c: Likewise.
10265         * jump.c: Likewise.
10266         * local-alloc.c: Likewise.
10267         * loop.c: Likewise.
10268         * optabs.c: Likewise.
10269         * recog.c: Likewise.
10270         * reg-stack.c: Likewise.
10271         * regclass.c: Likewise.
10272         * regmove.c: Likewise.
10273         * reload.c: Likewise.
10274         * reload1.c: Likewise.
10275         * reorg.c: Likewise.
10276         * resource.c: Likewise.
10277         * stmt.c: Likewise.
10278         * stor-layout.c: Likewise.
10279         * toplev.c: Likewise.
10280         * tree.c: Likewise.
10281         * unroll.c: Likewise.
10282         * genattrtab.c (main): Make generated file include "tm_p.h".
10283         * genemit.c (main): Likewise.
10284         * genoutput.c (main): Likewise.
10285         * genrecog.c (main): Likewise.
10286
10287         * i386.h: Delete all prototypes.
10288         * i386.c: Include "tm_p.h".
10289         (ix86_attr_length_default): Call constant_call_address_operand
10290         with correct number of arguments.
10291         * i386-protos.h: New file.
10292         * i386.md (unnamed patterns): Call constant_call_address_operand
10293         with correct number of arguments.
10294         (exception_receiver): Call load_pic_register with correct number
10295         of arguments.
10296
10297 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
10298
10299         * c-pragma.c (mark_align_stack): Dereference the void* properly.
10300
10301 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
10302
10303         * rtl.h (insns_safe_to_move_p): New function.
10304         * loop.c (find_and_verify_loops): Use it.
10305         * rtlanal.c (insns_safe_to_move_p): Define it.
10306
10307 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
10308
10309         * c-pragma.c: Include ggc.h.
10310         * Makefile.in (c-pragma.o): Update.
10311
10312 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10313
10314         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
10315         (LIB_SPEC): Likewise.
10316         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
10317         Reindent -YP/-p/-pg.
10318         Copied from config/sparc/sol2.h.
10319
10320 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
10321
10322         * c-pragma.c (mark_align_stack): New.
10323         (init_pragma): New.
10324         * c-pragma.h (init_pragma): Declare it.
10325         * c-lex.c (init_parse): Call it.
10326
10327 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10328
10329         * configure.in: Pick up thread library on Solaris/x86 just
10330         like on Solaris/sparc.
10331         * configure: Rebuilt.
10332
10333 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
10334
10335         * rtl.h (global_rtx_index): New enum.
10336         (global_rtl): Change to array of rtx.
10337         (pc_rtx, cc0_rtx): Redefine accordingly.
10338         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
10339         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
10340         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
10341         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
10342         (const_int_rtx): Change to array of rtx.
10343         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
10344         accordingly.
10345         * emit-rtl.c (global_rtl): Change to array of rtx.
10346         (const_int_rtx): Change to aray of rtx.
10347         (gen_rtx_CONST_INT): Redefine accordingly.
10348         (init_emit_once): Allocate and initialize global_rtl.  Likewise
10349         for const_int_rtx.  Add both as GC roots.
10350         * genattrtab.c (global_rtl): Update declaration.
10351
10352 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
10353
10354         * Makefile (USER_H): Add iso646.h back.
10355
10356 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
10357
10358         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
10359         zapping the LOG_LINKS of sched_before_next_call.
10360
10361         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
10362         * pa.c (insn_refs_are_delayed): Renamed from
10363         insn_sets_and_refs_are_delayed.
10364
10365 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
10366
10367         * functiion.h (struct function): Add x_whole_function_mode_p.
10368         (retrofit_block): Declare.
10369         * function.c (retrofit_block): New function.
10370         (identify_blocks): Add assertions.  Allow an incomplete set of
10371         block notes if we're still generating code for the function.
10372         * integrate.c: Include loop.h.
10373         (expand_inline_function): Call find_loop_tree_blocks to map block
10374         notes to blocks when in whole-function mode.  Use retrofit_block
10375         to insert new BLOCKs for the inlined function, rather than
10376         insert_block.
10377         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
10378         * Makefile.in (integrate.o): Depend on loop.h.
10379
10380 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
10381
10382         * tree.h (warn_about_unused_variables): Declare.
10383         * stmt.c (warn_about_unused_variables): New function, split out
10384         from ...
10385         (expand_end_bindings): Here.
10386
10387 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
10388
10389         * stmt.c (preserve_subexpressions_p): Don't crash when
10390         current_function->stmt is unset.
10391
10392 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
10393
10394         * stmt.c (expand_start_bindings): Allow callers to pass a flag
10395         indicating that no NOTE_INSN_BLOCK_BEG note is required.
10396         (expand_start_target_temps): Use it.
10397         * except.c (expand_eh_region_start_for_decl): Likewise.
10398         * expr.c (expand_expr): Likewise.
10399
10400 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
10401
10402         * fold-const.c (operand_equal_p): Pay attention to side effects.
10403
10404 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
10405
10406         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
10407         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
10408
10409         * tlink.c (scan_linker_output): Look for keywords before accepting
10410         a mangled name in quotes.
10411
10412 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
10413
10414         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
10415         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
10416
10417 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
10418
10419         * alpha.md: Revert Thu Nov 26 change that came in through the
10420         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
10421         Avoid earlyclobber when possible.
10422
10423 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10424
10425         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
10426
10427         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
10428         Define HAVE_ON_EXIT.
10429
10430 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10431
10432         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
10433         CTYPE_CONV in all ctype macros.
10434
10435         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
10436         from system.h.
10437
10438         * cexp.y (initialize_random_junk): Likewise.
10439
10440         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
10441
10442         * i370.c (handle_pragma): Likewise.
10443
10444         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
10445
10446         * v850.c (override_options): Likewise.
10447
10448         * doprint.c (_doprnt): Likewise.
10449
10450         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
10451         Likewise.
10452
10453         * fixinc/server.c (load_data): Likewise.
10454
10455         * fold-const.c (real_hex_to_f): Likewise.
10456
10457         * genattr.c (write_upcase, gen_attr): Likewise.
10458
10459         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
10460         write_upcase): Likewise.
10461
10462         * genemit.c (print_code): Likewise.
10463
10464         * genopinit.c (gen_insn): Likewise.
10465
10466         * genpeep.c (print_code): Likewise.
10467
10468         * genrecog.c (print_code): Likewise.
10469
10470         * optabs.c (init_libfuncs): Likewise.
10471
10472 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
10473
10474         * haifa-sched.c (sched_analyze): Keep the list of notes organized
10475         in pairs.
10476         (reemit_notes): Likewise.
10477
10478 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
10479
10480         * ggc.h (ggc_root): Move to ggc-common.c.
10481         (roots): Remove.
10482         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
10483         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
10484         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
10485         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
10486         * ggc-common.c (ggc_root): Move from ggc.h.
10487         (roots): Declare, static.
10488         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
10489         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
10490         null or check/set mark bit.
10491         (ggc_mark_roots): New.
10492         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
10493
10494 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
10495
10496         * m32r.c: Include toplev.h.
10497         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
10498         (gen_compare): Rename swap_p to must_swap to match uses.
10499         Add default abort case.
10500         (m32r_output_function_epilogue): Remove unused variables.
10501         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
10502         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
10503         define to empty parameter list.  Update all uses.
10504         (predicate decls): Use enum machine_mode not int.
10505         * m32r.md (movsi): Call abort, not fatal_insn.
10506         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
10507
10508 1999-09-14  Andrew Haley  <aph@cygnus.com>
10509
10510         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
10511         use $0 instead of 0.
10512
10513 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10514
10515         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
10516         computation out of loop over hard regs.
10517
10518 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
10519
10520         * function.c (identify_blocks): Don't shadow a variable in an
10521         outer scope.
10522         * integrate.c (integrate_decl_tree): Don't use pushlevel,
10523         pushdecl, or poplevel to build up the new BLOCK tree.
10524         (expand_inline_function): Likewise.
10525         (integrate_parm_decls): Likewise.
10526
10527 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
10528
10529         * c-typeck.c (qualify_type): Merge qualifiers from both types.
10530
10531 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
10532
10533         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
10534         * invoke.texi: Document this change.
10535
10536 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
10537
10538         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
10539         Free the struct.
10540         (mark_emit_status): Renamed from mark_emit_state.
10541         * except.c (mark_eh_status): Renamed from mark_eh_state.
10542         Check not null before marking.
10543         (free_eh_status): New.
10544         * expr.c (mark_expr_status, free_expr_status): New.
10545         * function.c (free_machine_status): New.
10546         (free_after_parsing): New.
10547         (free_after_compilation): Move bits to free_after_parsing; call
10548         free_eh_status, free_expr_status; zero the marked members of the
10549         function state.
10550         (prepare_function_start): No can_garbage_collect.
10551         Call init_eh_for_function.
10552         (expand_dummy_function_end): Free up current_function state.
10553         (mark_function_status): Renamed from mark_function_state.
10554         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
10555         * function.h (struct function): No can_garbage_collect.
10556         (free_machine_status, free_after_parsing): Declare.
10557         (free_eh_status, free_expr_status): Declare.
10558         * ggc.h (mark_expr_status): Declare.
10559         * stmt.c (free_stmt_status): Free the struct.
10560         (mark_stmt_status): Renamed from mark_stmt_state.
10561         (init_stmt): Don't call init_eh.
10562         (init_stmt_for_function): Don't call init_eh_for_function.
10563         * toplev.c (compile_file): Call init_eh.
10564         (rest_of_compilation): Free basic block info before ggc_collect.
10565         Call free_after_parsing; conditionally call free_after_compilation.
10566         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
10567         Check not null before marking.
10568         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
10569
10570 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
10571
10572         * c-lex.c (yylex): Initialize warn.
10573
10574 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
10575
10576         * pa.c (emit_move_sequence): Properly set the mode of the scratch
10577         register when performing secondary reloads for the SAR register.
10578
10579 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
10580
10581         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
10582         (NOTE_BLOCK): New macro.
10583         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
10584         * function.h (identify_blocks): Change prototype.
10585         * function.c (identify_blocks): Simplify.
10586         (reorder_blocks): Likewise.
10587         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
10588         NOTE_INSN_BLOCK_{BEG,END}.
10589         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
10590         the list of saved notes if the note isn't a
10591         NOTE_INSN_BLOCK_{BEG,END}.
10592         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
10593         NOTE_BLOCK_NUMBER.
10594         (reemit_notes): Adjust recreation of notes to reflect new saved
10595         note structure.
10596         * print-rtl.c (print_rtx): Print the address of the BLOCK when
10597         printing a block note.
10598         * stmt.c (block_vector): Remove.
10599         (find_loop_tree_blocks): Simplify.
10600         (unroll_block_trees): Likewise.
10601         * tree.h (reorder_block): Change prototype.
10602
10603 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
10604
10605         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
10606         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
10607         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
10608         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
10609         (atexit, exit): Simplify.
10610         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
10611         * config/lots: Remove defns of HAVE_ATEXIT.
10612
10613 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
10614
10615         * calls.c (precompute_arguments): Fix typo in comment.
10616         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
10617         TARGET_EXPR.
10618
10619 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
10620
10621         * dsp16xx.c (override_options): Fix typos in GC root registration.
10622
10623 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
10624
10625         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
10626         from config/svr4.h.
10627         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
10628         (FUNCTION_PROFILER): Redefine appropriately for Linux.
10629         (CC1_SPEC): Likewise.
10630
10631 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10632
10633         * genattr.c (main): Add extern prototype.  Call return, not exit.
10634         * genattrtab.c (main): Likewise.
10635         * gencheck.c (main): Likewise.
10636         * gencodes.c (main): Likewise.
10637         * genconfig.c (main): Likewise.
10638         * genemit.c (main): Likewise.
10639         * genextract.c (main): Likewise.
10640         * genflags.c (main): Likewise.
10641         * gengenrtl.c (main): Likewise.
10642         * genopinit.c (main): Likewise.
10643         * genoutput.c (main): Likewise.
10644         * genpeep.c (main): Likewise.
10645         * genrecog.c (main): Likewise.
10646
10647         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
10648         * genattrtab.c (get_insn_name): Likewise.
10649         * gencodes.c (get_insn_name): Likewise.
10650         * genconfig.c (get_insn_name): Likewise.
10651         * genemit.c (get_insn_name): Likewise.
10652         * genextract.c (get_insn_name): Likewise.
10653         * genflags.c (get_insn_name): Likewise.
10654         * genopinit.c (get_insn_name): Likewise.
10655         * genpeep.c (get_insn_name): Likewise.
10656
10657         * gencheck.c (usage): Add static prototype.
10658         * genextract.c (print_path): Constify a char*.
10659         * genopinit.c (optabs): Likewise.
10660         * genoutput.c (operand_data, data, output_predicate_decls,
10661         compare_operands): Likewise.
10662         * genrecog.c (write_tree): Add default case in switch.
10663
10664 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10665
10666         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
10667
10668         * print-rtl.c (get_insn_name): Remove prototype.
10669
10670         * toplev.h (progname): Declare const.
10671
10672         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
10673         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
10674         dump_sched_info, dump_local_alloc, regset_release_memory,
10675         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
10676         error_with_file_and_line, error_with_decl, error_for_asm, error,
10677         fatal, warning_with_file_and_line, warning_with_decl, warning,
10678         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
10679         Remove redundant prototypes.
10680
10681         (notice, check_lang_option, report_file_and_line, vnotice,
10682         mark_file_stack): Add static prototype.
10683         (set_fatal_function): Add prototype.
10684         (vnotice, report_file_and_line, set_fatal_function,
10685         check_lang_option): Constify a char*.
10686         (main): Prototype.  Call return, not exit.
10687
10688 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10689
10690         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
10691
10692         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
10693
10694         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
10695
10696         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
10697
10698 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10699
10700         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
10701         behave as if it's zero in all cases.
10702         (expand_function_start): Adjust call to assign_parms.
10703         * tree.h (assign_parms): Adjust prototype.
10704         * objc/objc-act.c (hack_method_prototype): Adjust call to
10705         assign_parms.
10706
10707 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
10708
10709         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
10710         arg_pointer_rtx fixed if the argument pointer register is
10711         not fixed.
10712         (NONZERO_BASE_PLUS_P): Likewise.
10713
10714 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
10715
10716         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
10717         match_insn2 to match_insn.
10718         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
10719
10720 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
10721
10722         * Makefile.in (USER_H): Remove va-foo.h.
10723
10724         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
10725         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
10726         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
10727         va-spur.h,va-v850.h}: Remove.
10728
10729 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
10730
10731         * sparc/sparc.md (eligible_for_return_delay): New attribute.
10732         (in_return_delay): Use it instead of match_insn.
10733
10734 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10735
10736         * config/alpha/va_list.h (va-alpha.h): Do not include.
10737         (__gnuc_va_list): Typedef as in varargs.h.
10738
10739 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
10740
10741         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
10742         DECL_LIVE_RANGE_RTL.
10743
10744 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
10745
10746         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
10747         not NOTE_BLOCK_NUMBER.
10748         (expand_eh_region_end): Likewise.
10749         (find_exception_handler_labels): Likewise.
10750         (scan_region): Likewise.
10751         (exception_optimize): Likewise.
10752         (update_rethrow_references): Likewise.
10753         (set_insn_eh_region): Likewise.
10754         * final.c (final_scan_insn): Likewise.
10755         * flow.c (make_edges): Likewise.
10756         * integrate.c (expand_inline_function): Likewise.
10757         * print-rtl.c (print_rtx): Likewise.
10758
10759 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
10760
10761         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
10762         terms of builtin functions and types.
10763
10764         * mips.c (mips_build_va_list): New.
10765         (mips_va_start, mips_va_arg): New.
10766         * mips.h (BUILD_VA_LIST_TYPE): New.
10767         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
10768
10769         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
10770         (sh_build_va_list, sh_va_start, sh_va_arg): New.
10771         * sh.h (BUILD_VA_LIST_TYPE): New.
10772         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
10773
10774 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
10775
10776         * recog.h (struct recog_data): Make dup_num, operand_address_p,
10777         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
10778         (struct insn_data): Likewise with n_operands, n_dups,
10779         n_alternatives, output_format.
10780         * regclass.c (scan_one_insn): Cast n_operands to int before
10781         arithmetic inside comparison.
10782
10783 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
10784
10785         * toplev.c (compile_function): Unconditionally emit nop.
10786
10787 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10788
10789         * haifa-sched.c (actual_hazard): Move declaration of variable
10790         `this_cost' into the scope where it is used.
10791
10792 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10793
10794         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
10795         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
10796         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
10797
10798         * genrecog.c (make_insn_sequence): Call memset, not bzero.
10799
10800         * jump.c (find_insert_position): Don't declare or define unless
10801         !HAVE_conditional_arithmetic.
10802         (returnjump_p_1, delete_prior_computation): Add static prototypes.
10803
10804         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
10805
10806         * recog.c (offsettable_address_p): Prototype function pointer.
10807         (preprocess_constraints): Call memset, not bzero.
10808
10809         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
10810         (gcc_obstack_init): Don't declare.
10811         (fix_sizetype): Add static prototype.
10812         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
10813         (tree_cons): Call memset, not bzero.
10814
10815         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
10816         definition in macro ASM_WEAKEN_LABEL.
10817         (mark_const_hash_entry): Add static prototype.
10818
10819 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10820
10821         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
10822
10823         * unroll.c (find_common_reg_term, subtract_reg_term,
10824         loop_find_equiv_value): Add static prototypes.
10825         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
10826         (copy_loop_body): Remove unreachable break statement.
10827
10828         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
10829
10830         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
10831
10832 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10833
10834         Undo some changes from the gcc2 merge:
10835         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
10836         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
10837         pointers.
10838
10839         Undo this change:
10840         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
10841         * emit-rtl.c (gen_lowpart_common): Disable optimization of
10842         initialized float-int union if the value is a NaN.
10843
10844 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
10845
10846         * gthr-win32.h: New file.
10847
10848         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
10849         shared as a valid attribute.
10850         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
10851         * extend.texi: Document `shared' variable attribute.
10852
10853 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
10854
10855         * configure.in: Handle --enable-threads on FreeBSD.
10856         * configure: Rebuit.
10857
10858 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10859
10860         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
10861         thread support.
10862         * configure: Rebuilt.
10863
10864 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
10865                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
10866                           Rosimildo DaSilva <rdasilva@connecttel.com>
10867
10868         * configure.in (m68k-*-rtemscoff*): Added.
10869         * configure.in (mips64orion-*-rtems*): Converted to ELF.
10870         * configure.in (sparc-*-rtemsaout*): Added as alias for old
10871         sparc-rtems configuration.
10872         * configure.in (sparc-*-rtemself*): Added.
10873         * configure.in (sparc-*-rtems*): Now ELF not a.out.
10874         * config/i386/rtems.h: Added comment.
10875         * config/sparc/rtemself.h: New file.
10876
10877         * configure.in (m68k-rtemself): Added.
10878         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
10879         and DWARF_DEBUGGING_INFO.
10880         * config/m68k/crti.s: New file.
10881         * config/m68k/crtn.s: New file.
10882         * config/m68k/t-crtstuff: New file.
10883         * config/m68k/rtemself.h: New file.
10884
10885         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
10886         global ctor/dtor and C++ exception handling.
10887         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
10888         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
10889         ENDFILE_SPEC.
10890         * config/i386/t-rtems-i386: New File.
10891
10892 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
10893
10894         * stmt.c (expand_end_case): Return right away if the case stack is
10895         empty.
10896
10897 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
10898
10899         * Makefile.in (version.c): Remove rule incorrectly brought in from
10900         the gcc2 merge.
10901
10902 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
10903
10904         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
10905         * msdos/top.sed:  Take into account a prepended $(SHELL) to
10906         move-if-change.
10907         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
10908
10909         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
10910
10911 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10912
10913         * regmove.c (fixup_match_1): Don't change an unchanging register.
10914         (stable_but_for_p): Renamed to:
10915         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
10916         Changed all callers.
10917
10918 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
10919
10920         * loop.c (strength_reduce): Don't call reg_used_between_p if the
10921         insn from BL2 is after the insn from BL.
10922
10923 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
10924
10925         * recog.h (INSN_OUTPUT_FORMAT_*): New.
10926         (struct insn_data): Merge `template' and `outfun' into `output'.
10927         Add `output_format'.
10928         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
10929         (struct data): Remove `outfun'; add `output_format'.
10930         (name_for_index): Remove declaration.
10931         (output_insn_data): Handle output formats.
10932         (process_template): Emit the bare array for @.
10933         (gen_expand, gen_split): Set output_format to NONE.
10934         * output.h (get_insn_template): Declare.
10935         * final.c (get_insn_template): New.
10936         (final_scan_insn): Use it.
10937         * toplev.c (compile_file): Likewise.
10938
10939         * c4x/c4x.c (c4x_process_after_reload): Likewise.
10940         * i860/i860.c (output_delayed_branch): Likewise.
10941         (output_delay_insn): Likewise.
10942
10943 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10944
10945         * rtl.c (obstack_alloc_rtx): Removed.
10946
10947 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
10948
10949         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
10950
10951 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
10952
10953         * i386.c (call_insn_operand): Reject const_int.
10954         (expander_call_insn_operand): Use call_insn_operand.
10955
10956 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10957
10958         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
10959
10960 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
10961
10962         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
10963         Use DImode operation.
10964
10965 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
10966
10967         * gcc.c: Include sys/resource.h.
10968         (report_times): New flag.
10969         (execute):  If report_times is set, calculate and report the
10970         CPU time consumed by each subprocess.
10971
10972         (rus, prus): New globals.
10973         (option_map): Add --time.
10974         (display_help): Document -time.
10975         (process_command): Set report_times if -time is given.
10976         Turn off -pipe if -time is given.
10977
10978         * invoke.texi: Document new option -time.
10979
10980         * configure.in: Check for getrusage.  Check if we have to
10981         prototype getrusage.
10982         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
10983         * configure: Regenerate.
10984         * config.in: Regenerate.
10985
10986 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
10987
10988         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
10989         fields.
10990
10991 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
10992
10993         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
10994         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
10995         (nan): Return _thenan_sf or _thenan_df as appropriate.
10996         (L_thenan_sf): Define _thenan_sf.
10997         (L_thenan_df): Define _thenan_df.
10998
10999         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
11000         (DPBIT_FUNCS): Add _thenan_df.
11001
11002 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
11003
11004         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
11005         TYPE_SIZE_UNIT.
11006
11007 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11008
11009         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
11010
11011         * gcc.h: New file.
11012         (lang_specific_driver): Don't take a function pointer parameter.
11013         All callers changed.
11014
11015         * gcc.c: Include gcc.h.
11016         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
11017         lang_specific_extra_outfiles, fatal): Don't declare.
11018         (multilib_defaults_raw): Constify.
11019         (read_specs): Call memset, rather than bzero.
11020         (main): Call return, not exit.
11021         (lookup_compiler): Call memcpy, not bcopy.
11022         (fatal): Make extern.
11023
11024         * cppspec.c: Include gcc.h.
11025         (lang_specific_driver): Initialize variable `quote'.  Constify a
11026         char*.  All calls to the function pointer parameter now
11027         explicitly call `fatal'.
11028
11029         * gccspec.c (lang_specific_driver): Include gcc.h.
11030
11031 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
11032
11033         * arm.c (note_invalid_constants): Use recog_data.operand_type
11034         for recog_op_type.
11035
11036 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11037
11038         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
11039         Declare.
11040
11041         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
11042         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
11043         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
11044         reload_secondary_in_reload, reload_secondary_out_reload,
11045         reload_secondary_in_icode, reload_secondary_out_icode,
11046         reload_reg_rtx, reload_when_needed): Delete declarations.
11047         (struct reload): New structure.
11048         (rld): Declare new array.
11049         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
11050         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
11051         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
11052         reload_secondary_in_reload, reload_secondary_out_reload,
11053         reload_secondary_in_icode, reload_secondary_out_icode,
11054         reload_reg_rtx, reload_when_needed): Delete definitions.
11055         (rld): New array.
11056         (whole file): Replace uses of the deleted arrays with uses of rld.
11057         * reload1.c (whole file): Replace uses of the deleted arrays with
11058         uses of rld.
11059         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
11060         explicit loops, not with bcopy.
11061
11062 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
11063
11064         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
11065         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
11066         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
11067         insn_name): Delete and consolidate into new structures.
11068         (insn_operand_predicate_fn): New.
11069         (insn_output_fn): New.
11070         (insn_gen_fn): New.
11071         (struct insn_operand_data): New.
11072         (struct insn_data): New.
11073         (insn_data): New.
11074         (OUT_FCN): Update for insn_data change.
11075         * builtins.c (expand_builtin_strlen): Likewise.
11076         (expand_builtin_memcmp): Likewise.
11077         * combine.c (make_extraction, simplify_comparison): Likewise.
11078         * cse.c (canon_reg, cse_insn): Likewise.
11079         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
11080         * expmed.c (store_bit_field, extract_bit_field): Likewise.
11081         (emit_store_flag): Likewise.
11082         * expr.c (convert_move, emit_block_move): Likewise.
11083         (clear_storage, emit_push_insn, expand_increment): Likewise.
11084         (do_store_flag): Likewise.
11085         * expr.h (GEN_FCN): Likewise.
11086         (insn_gen_function): Die.
11087         * final.c (final_scan_insn): Update for insn_data change.
11088         (output_asm_name): Likewise.
11089         * function.c (fixup_var_refs_1): Likewise.
11090         * loop.c (check_dbra_loop): Likewise.
11091         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
11092         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
11093         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
11094         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
11095         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
11096         * regmove.c (gen_add3_insn): Likewise.
11097         * reload.c (push_secondary_reload, combine_reloads): Likewise.
11098         (find_reloads, find_reloads_address_1): Likewise.
11099         (debug_reload_to_stream): Likewise.
11100         * reload1.c (emit_reload_insns, gen_reload): Likewise.
11101         * stmt.c (expand_end_case): Likewise.
11102         * toplev.c (compile_file): Likewise.
11103
11104         * c4x/c4x.c (c4x_process_after_reload): Likewise.
11105         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
11106
11107         * print-rtl.c (insn_name_ptr): Remove declaration.
11108         (get_insn_name): Declare.
11109         (print_rtx): Use it.
11110         * genoutput.c (insn_name_ptr): Remove.
11111         (next_operand_number): New.
11112         (struct operand_data): New.
11113         (null_operand, odata, odata_end): New.
11114         (struct data): Use struct operand_data.
11115         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
11116         (get_insn_name): Renamed from name_for_index.
11117         (output_prologue): Define NO_MD_PROTOTYPES.
11118         (output_predicate_decls): Break out from output_epilogue.
11119         Iterate over the operands list.
11120         (output_operand_data): Break out from output_epilogue.  Emit
11121         just the operands list.
11122         (output_insn_data): Break out from output_epilogue.  Emit just
11123         the insn data.
11124         (output_epilogue): Remove.
11125         (output_get_insn_name): New.
11126         (constraints, op_n_alternatives, predicates, address_p): Die.
11127         (modes, strict_low, seen): Die.
11128         (scan_operands): Take new param `d' instead of writing to
11129         seven global variables.
11130         (compare_operands): New.
11131         (place_operands): New.
11132         (validate_insn_alternatives): Update for struct data change.
11133         (gen_insn): Don't zero or copy 7 global arrays.  Update for
11134         scan_operands; call place_operands.
11135         (gen_peephole, gen_expand, gen_split): Likewise.
11136         (main): Update for new output routines.
11137
11138         * genattr.c (insn_name_ptr): Remove.
11139         (get_insn_name): New function.
11140         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
11141         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
11142         * genrecog.c: Likewise.
11143
11144         * alpha.md (adddi3): Make `pattern' array static.
11145
11146 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11147
11148         * config/c4x/c4x.h (c4x_rpts_cycles_string,
11149         c4x_cpu_version_string): Constify char *.
11150         * config/c4x/c4x.c (c4x_rpts_cycles_string,
11151         c4x_cpu_version_string): Likewise.
11152
11153 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
11154
11155         * tree.c (save_tree_status): Revert 10 Sep change.
11156         (restore_tree_status): Likewise.  Call obstack_free with NULL
11157         before freeing the obstack proper.
11158
11159 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
11160
11161         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
11162
11163         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
11164         surrounding context.
11165
11166 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
11167
11168         * tree.c (type_hash_canon): Put all types in the hash-table, when
11169         GC'ing.
11170
11171 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
11172
11173         * recog.h (struct recog_data, recog_data): New.
11174         (recog_foo variables): Kill.
11175         * recog.c (recog_operand, recog_operand_loc): Kill.
11176         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
11177         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
11178         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
11179         (recog_data): Define.
11180         (extract_insn): Update all recog_foo references to use recog_data.
11181         (preprocess_constraints, constrain_operands): Likewise.
11182         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
11183         * genattrtab.c (main): Likewise.
11184         * genextract.c (main): Likewise.
11185         * genoutput.c: Likewise.
11186         * genrecog.c (write_subroutine, main): Likewise.
11187         * local-alloc.c (block_alloc): Likewise.
11188         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
11189         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
11190         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
11191         * reload.c (find_reloads, find_reloads_toplev): Likewise.
11192         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
11193         (reload_cse_simplify_operands): Likewise.
11194
11195         * arc/arc.c (arc_final_prescan_insn): Likewise.
11196         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
11197         * h8300/h8300.c (notice_update_cc): Likewise.
11198         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
11199         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
11200         * mn10200/mn10200.c (notice_update_cc): Likewise.
11201         * mn10300/mn10300.c (notice_update_cc): Likewise.
11202         * romp/romp.c (update_cc): Likewise.
11203         * sparc/sparc.c (check_pic): Likewise.
11204         * v850/v850.c (notice_update_cc): Likewise.
11205
11206         * genemit.c (main): Don't declare recog_operand.
11207
11208 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
11209
11210         * ggc.h (rtvec_def): Forward declare.
11211         (tree_node): Likewise.
11212         (ggc_root): Define.
11213         (roots): Declare.
11214         (ggc_set_mark_rtx): Add prototype.
11215         (ggc_set_mark_rtvec): Likewise.
11216         (ggc_set_mark_tree): Likewise.
11217         * ggc-simple.c (ggc_root): Don't define.
11218         (roots): Don't declare.
11219         (ggc_mark_rtx): Remove.
11220         (ggc_mark_rtvec): Likewise.
11221         (ggc_mark_tree): Likewise.
11222         (ggc_mark_varray): Likewise.
11223         (ggc_mark_tree_hash_table_entry): Likewise.
11224         (ggc_mark_tree_hash_table): Likewise.
11225         (ggc_set_mart_rtx): New function.
11226         (ggc_set_mark_rtvec): Likewise.
11227         (ggc_set_mark_tree): Likewise.
11228         (ggc_add_root): Remove.
11229         (ggc_add_rtx_root): Likewise.
11230         (ggc_remove_tree_root): Likewise.
11231         (ggc_add_string_root): Likewise.
11232         (ggc_add_tree_varray_root): Likewise.
11233         (ggc_add_tree_hash_table_root): Likewise.
11234         (ggc_del_root): Likewise.
11235         (ggc_mark_rtx_ptr): Likewise.
11236         (ggc_mark_tree_ptr): Likewise.
11237         (ggc_mark_string_ptr): Likewise.
11238         (ggc_mark_tree_varray_ptr): Likewise.
11239         (ggc_mark_tree_hash_table_ptr): Likewise.
11240         * ggc-common.c: New file.
11241         * Makefile.in (OBJS): Add ggc-common.o.
11242         (ggc-common.o): List dependencies.
11243
11244 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
11245
11246         * cppalloc.c (xstrdup): Use memcpy.
11247         * cpperror.c (cpp_print_containing_files): Don't use
11248         cpp_notice.
11249         * cpplib.c (conditional_skip): Set temp->lineno.
11250         (do_endif): Make error message less obscure.
11251         (if_directive_name): New function.
11252         (cpp_get_token [case EOF]): Unwind the if stack and generate
11253         error messages for each unterminated conditional in this file.
11254         (parse_string):  Do not behave differently if -traditional.
11255
11256 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
11257
11258         * builtins.c (expand_builtin_va_arg): Cope with an array-type
11259         va_list decomposing to pointer-type.
11260         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
11261         (rs6000_va_arg): Likewise.
11262
11263 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
11264
11265         * except.c (start_dynamic_handler): Compute size using
11266         STACK_SAVEAREA_MODE.
11267
11268 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11269
11270         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
11271         include directory headers.  Don't define strrchr.  Don't provide
11272         my_* replacement functions.  Prefer PTR over `pointer_type'.
11273         Don't prototype system functions.  Don't redefine getopt.
11274
11275         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
11276         safe_read, safe_write, save_pointers, restore_pointers,
11277         is_id_char, in_system_include_dir, directory_specified_p,
11278         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
11279         find_corresponding_lparen, referenced_file_is_newer,
11280         save_def_or_dec, munge_compile_params, gen_aux_info_file,
11281         process_aux_info_file, identify_lineno, check_source,
11282         seek_to_line, forward_to_next_token_char, output_bytes,
11283         output_string, output_up_to, other_variable_style_function,
11284         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
11285         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
11286         find_static_definition, connect_defs_and_decs, add_local_decl,
11287         add_global_decls, needs_to_be_converted, visit_each_hash_node,
11288         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
11289         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
11290         scan_for_missed_items, edit_file, string_list_cons): Add static
11291         prototypes.
11292         (standard_exec_prefix, target_machine, target_version,
11293         default_syscalls_dir, string_list, string_list_cons, find_file,
11294         do_cleaning): Constify a char*.
11295         (safe_read, safe_write): Use PTR, not a char*.
11296         (is_id_char): Take an int, not a char.
11297         (main): Add prototype.  Call return, not exit.
11298
11299 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
11300
11301         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
11302         when comparing types.
11303
11304 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
11305
11306         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
11307         (strength_reduce): Release the varrays from the no-bivs early exit.
11308
11309         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
11310         the loop over the registers.
11311
11312         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
11313         for a new obstack.
11314         (restore_tree_status): Check that instead when freeing the obstack.
11315
11316 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
11317
11318         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
11319         as pointers.
11320
11321 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11322
11323         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
11324         operand size modifiers.
11325
11326 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11327
11328         * c-common.c (c_common_nodes_and_builtins): Don't build
11329         va_list_type_node.
11330         * c-common.h (enum c_tree_index and related accesor macros): Remove
11331         everything now declared in tree.h.
11332         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
11333         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
11334         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
11335         (error_mark_node, void_type_node, char_type_node, integer_type_node,
11336         unsigned_type_node, ptr_type_node, va_list_type_node,
11337         integer_zero_node, null_pointer_node, integer_one_node): Delete.
11338         (init_decl_processing): Call build_common_tree_nodes and
11339         build_common_tree_nodes_2 instead of building their nodes here.
11340         Don't add roots for these nodes.
11341         * stor-layout.c (size_zero_node, size_one_node): Delete.
11342         (set_sizetype): Make a new node for bitsizetype each time.
11343         * tree.c (global_trees): New variable.
11344         (init_obstacks): Add a gc root for it.
11345         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
11346         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
11347         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
11348         (build_common_tree_nodes): New function.
11349         (fix_sizetype): New function.
11350         (build_common_tree_nodes_2): New function.
11351         * tree.h (enum tree_index): New.
11352         (global_trees): Declare.
11353         Add accessor macros for all nodes now moved to global_trees.
11354         Delete their declarations.
11355
11356 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
11357
11358         * c-decl.c (finish_function): When processing a nested function,
11359         push and pop GC context around rest_of_compilation.
11360
11361 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
11362
11363         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
11364         Default ix86_arch to PROCESSOR_I386.
11365         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
11366         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
11367         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
11368         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
11369         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
11370         (EXTRA_SPECS): Remove deleted specs.
11371
11372 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
11373
11374         * function.c (assign_stack_local_1): Allocate from
11375         function->x_frame_offset, not frame_offset.
11376
11377 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
11378
11379         * ggc.h (lang_cleanup_tree): Remove.
11380         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
11381         * ggc-callbacks.c (lang_cleanup_tree): Remove.
11382
11383         * c-decl.c (finish_struct): Use ggc_alloc to allocate
11384         TYPE_LANG_SPECIFIC when garbage collecting.
11385         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
11386         (lang_cleanup_tree): Remove.
11387
11388 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
11389
11390         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
11391         * crtstuff.c: Not here.
11392         * dwarf2out.c: Or here.
11393         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
11394         info.
11395
11396 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
11397
11398         * function.h (free_after_compilation): Remove decl parameter.
11399         (free_varasm_status0: Likewise.
11400         (free_emit_status): Likewise.
11401         (free_stmt_status): Likewise.
11402         (free_after_compilation): Likewise.
11403         (init_lang_status): New variable.
11404         (free_lang_status): Likewise.
11405         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
11406         * function.c (init_lang_status): New variable.
11407         (free_lang_status): Likewise.
11408         (push_function_context_to): Don't set function::decl here.
11409         (free_after_copmilation): Make decl parameter implicit.  Call
11410         free_lang_status if defined.
11411         (prepare_function_start): Call init_lang_status if defined.
11412         (init_function_start): Set function::decl here.
11413         * profile.c (output_func_start_profiler): Don't call pushdecl
11414         until we've actually started the function.
11415         * stmt.c (free_stmt_status): Make decl parameter implicit.
11416         * toplev.c (rest_of_compilation): Don't pass decl to
11417         free_after_compilation.
11418         * varasm.c (free_varasm_status): Likewise.
11419
11420 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11421
11422         * except.c (call_get_eh_context): Add root when allocating static
11423         tree variable.
11424
11425 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
11426
11427         * arm.c: Include "ggc.h".
11428         (arm_add_gc_roots): New function.
11429         (arm_override_options): Call it.
11430         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
11431
11432         * arm.md (define_asm_attributes): Add a pool_range attribute.
11433
11434 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
11435
11436         * extend.texi (Volatiles): New node.
11437
11438 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
11439
11440         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
11441         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
11442         (struct ggc_any): Replace `mark' with `magic_mark'.
11443         (ggc_alloc_string): Use memcpy, not bcopy.
11444         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
11445         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
11446         (ggc_free_any): New.
11447         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
11448         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
11449         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
11450         Use IS_MARKED. Use ggc_free_any.
11451
11452 1999-09-09  Scott Bambrough <scottb@netwinder.org>
11453
11454         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
11455
11456 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
11457
11458         * toplev.c (main): Always init_ggc.
11459
11460 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
11461
11462         * except.c (find_all_handler_type_matches): Free the list if
11463         we found no matches.
11464
11465         * combine.c (SUBST): Break out to a real function do_SUBST.
11466         (SUBST_INT): Likewise.
11467         * gcse.c (free_pre_mem): Free `temp_bitmap'.
11468         (pre_insert): Free `inserted'.
11469         * loop.c (basic_induction_var): Always set `location'.
11470
11471         * function.c (expand_function_end): Add initial_trampoline as a root.
11472         * rtl.h (init_varasm_once): Declare.
11473         * toplev.c (compile_file): Call it.
11474         * ggc-simple.c (ggc_mark_string_ptr): New.
11475         (ggc_add_string_root): New.
11476         (ggc_collect): Disable collection avoidance temporarily.
11477         * ggc.h (ggc_add_string_root): Declare.
11478         * except.c (create_rethrow_ref): Use ggc_alloc_string.
11479         * optabs.c (init_libfuncs): Likewise.
11480         * varasm.c (named_section): Use ggc_alloc_string.
11481         (make_function_rtl): Likewise.
11482         (make_decl_rtl): Likewise.
11483         (assemble_static_space): Likewise.
11484         (assemble_trampoline_template): Likewise.
11485         (output_constant_def): Likewise.
11486         (force_const_mem): Likewise.
11487         (mark_const_hash_entry): New.
11488         (mark_pool_sym_hash_table): New.
11489         (mark_varasm_state): Use it.
11490         (init_varasm_once): New.
11491
11492         * expr.h (init_one_libfunc): Declare.
11493         * optabs.c (init_one_libfunc): New.
11494         (init_optabs): Use it.
11495         * config/gofast.h: Likewise.
11496         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
11497         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
11498
11499 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
11500
11501         * Makefile.in (cppexp.o): Depend on cpphash.h.
11502         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
11503         Include cpphash.h.
11504         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
11505         * cpplib.c (do_define): Generalise to handle poisoned definitions,
11506         redefining poisoned identifiers, etc.
11507         (do_undef): Don't allow poisoned identifiers to be undefined.
11508         (do_pragma): Add #pragma poison.
11509         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
11510
11511         * cccp.c: Add T_POISON node type.
11512         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
11513         poisoned xxx.
11514         (do_define): Generalise to handle poisoned definitions,
11515         redefining poisoned identifiers, etc.
11516         (do_undef): Don't allow poisoned identifiers to be undefined.
11517         (do_pragma): Add #pragma poison.
11518         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
11519
11520         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
11521         * c-pragma.h: Add ps_poison state.  We now always have generic
11522         pragmas.
11523
11524 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
11525
11526         * ggc.h (ggc_alloc): New function.
11527         (ggc_mark): Likewise.
11528         * ggc-simple.c (ggc_any): New structure.
11529         (ggc_status): Add anys.
11530         (n_anys_collected): New variable.
11531         (ggc_alloc): Define.
11532         (ggc_mark): Likewise.
11533         (ggc_collect): Collect the anys.
11534
11535 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11536
11537         * c-decl.c (mark_binding_level): Make static to match prototype.
11538
11539 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
11540
11541         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
11542
11543 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
11544
11545         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
11546         will use into account.  Expand the max width to 5.
11547         * rtl.c: Likewise.
11548
11549 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
11550
11551         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
11552         for the rtx length.
11553
11554 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
11555
11556         * alpha.md (call value patterns): Remove the result predicates.
11557
11558 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
11559
11560         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
11561         last change.
11562
11563 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11564
11565         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
11566         changed from extern char *, to extern PTR.  Also fix typo in
11567         NEED_DECLARATION_REALLOC test.
11568
11569         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
11570
11571 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11572
11573         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
11574         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
11575         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
11576         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
11577
11578         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
11579
11580         * cccp.c (pcfinclude): Likewise.
11581
11582         * global.c (allocno_compare): Likewise.
11583
11584         * haifa-sched.c (rank_for_schedule): Likewise.
11585
11586         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
11587
11588         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
11589
11590         * stupid.c (stupid_reg_compare): Likewise.
11591
11592         * tree.c (_obstack_allocated_p): Likewise.
11593
11594         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
11595
11596 1999-09-08  Bruce Korb  autogen@linuxbox.com
11597
11598         * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
11599         why "gperf -F" fails.
11600         * gcc/cp/Makefile.in: ditto
11601         * gcc/Makefile.in: ditto
11602         * gcc/java/Makefile.in: ditto
11603
11604 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
11605
11606         * lists.c: Include ggc.h.
11607         (zap_lists): New.
11608         (init_EXPR_INSN_LIST_cache): Install it.
11609
11610         * ggc-simple.c (init_ggc): Absorb the old init.
11611         (ggc_push_context): Use xcalloc.
11612         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
11613         (ggc_collect): Add [rvts] tags to the collection stats.
11614
11615 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
11616
11617         * cccp.c (main): Fix handling of -include and -imacros options.
11618
11619 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
11620
11621         * cpplib.c (cpp_push_buffer): Fix order of arguments.
11622
11623 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
11624
11625         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
11626         genrtl.c.
11627
11628 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
11629
11630         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
11631         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
11632         and SET_DEST. Update comment.
11633
11634 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11635
11636         * config/c4x/c4x.c: Include ggc.h.
11637         (c4x_add_gc_roots): New function.
11638         (c4x_override_options): Call c4x_add_gc_roots.
11639
11640 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
11641
11642         * defaults.h (TARGET_ESC): Move ...
11643         * system.h: ... here, where Linas had it in the first place.  Silly me.
11644
11645 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
11646
11647         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
11648         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
11649         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
11650         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
11651         * defaults.h (TARGET_ESC): Add default.
11652
11653 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
11654
11655         * configure.in: add i370-*-openedition, i370-*-mvs and
11656         i370-*-linux targets
11657
11658 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
11659
11660         * dsp16xxx.c: Include ggc.h
11661         (override_options): Mark GC roots.
11662         * mn10200.c: Include ggc.h.
11663         (asm_file_start): Mark GC roots.
11664         * tahoe.c: Include ggc.h.
11665         (extensible_operand): Mark GC roots.
11666
11667 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
11668
11669         * README: Add section discussing status of ELF ABI.
11670         * i370.c: Fix misc spelling mistakes.
11671         (i370_label_scan): Updated notes, exception handling.
11672         (i370_function_prolog): Simplify ELF stack handling.
11673         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
11674         (STACK_GROWS_DOWNWARD): ELF stack grows down.
11675         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
11676         * i370.md: (movdi): Add notes.
11677         (floatsidf2): Use stack not rtca for scratch float area.
11678         (iorsi3): Correct operand constraints.
11679         * x-oe: Restore TAROUTOPTS which are used by pax.
11680
11681 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
11682
11683         * rs6000.c: Include ggc.h.
11684         (rs6000_add_gc_roots): New function.
11685         (override_options): Call it.
11686
11687 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
11688
11689         * alpha.h (alpha_compare): New.
11690         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
11691         * alpha.c: Likewise for the definitions.
11692         (alpha_emit_conditional_branch): Update for alpha_compare.
11693         (alpha_emit_conditional_move): Likewise.
11694         * alpha.md (cmpdf, cmpdi): Likewise.
11695         (setcc patterns): Likewise.  Zero alpha_compare after use.
11696         (sne): Optimize (x != 0) into (0U < x).
11697
11698 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
11699
11700         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
11701         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
11702         (INIT_EXPANDERS): Remove.
11703         * alpha.c: Include ggc.h.
11704         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
11705         (alpha_init_machine_status, alpha_mark_machine_status): New.
11706         (override_options): Install them.
11707         (struct machine_function): Moved to alpha.h.
11708         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
11709         (alpha_init_expanders): Remove.
11710         (alpha_return_addr): Adjust to use current_function->machine.
11711         (alpha_ra_ever_killed): Likewise.
11712         (alpha_expand_epilogue): Likewise.
11713         * alpha.md (eh_epilogue): Likewise.
11714
11715 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
11716                           Melissa O'Neill  <oneill@cs.sfu.ca>
11717                           Geoffrey Keating  <geoffk@cygnus.com>
11718
11719         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
11720         call-used registers (call-saved registers must still be contiguous
11721         and end with r31, of course).
11722
11723 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
11724
11725         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
11726         (self_promoting_type_p): Delete.
11727         (self_promoting_args_p): Move ...
11728         * c-common.c: ... here.
11729         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
11730         (simple_type_promotes_to): New.
11731         * builtins.c (lang_type_promotes_to): New.
11732         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
11733         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
11734         * c-common.h: ... here.
11735         (self_promoting_args_p, simple_type_promotes_to): Declare.
11736         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
11737         (grokdeclarator): Likewise.
11738         * tree.h (lang_type_promotes_to): Declare.
11739
11740 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
11741
11742         Add some machine-dependent GC roots.
11743         * sparc.c: Include ggc.h.
11744         (sparc_add_gc_roots): New function.
11745         (mark_ultrasparc_pipeline_state): Likewise.
11746         (override_options): Call sparc_add_gc_roots.
11747         * pa.c: Include ggc.h.
11748         (pa_add_gc_roots): New function.
11749         (mark_deferred_plabels): Likewise.
11750         (override_options): Call pa_add_gc_roots.
11751         * mips.c: Include ggc.h.
11752         (mips_add_gc_roots): New function.
11753         (override_options): Use it.
11754
11755 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11756
11757         * cpperror.c (cpp_file_line_for_message): Constify a char*.
11758
11759         * cppexp.c (parse_number, parse_charconst, cpp_lex,
11760         cpp_parse_expr): Add static prototypes.
11761         (parse_charconst): Don't cast away const-ness.
11762         (token): Constify a char*.
11763
11764         * cppfiles.c (file_name_list, include_hash, find_include_file,
11765         finclude, initialize_input_buffer): Constify a char*.
11766         (file_cleanup, find_position): Add static prototypes.
11767
11768         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
11769         collect_expansion): Add static prototypes.
11770         (cpp_install, create_definition, monthnames): Constify a char*.
11771
11772         * cpphash.h (cpp_install): Likewise.
11773
11774         * cppinit.c (known_suffixes, default_include,
11775         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
11776         (base_name, dump_special_to_buffer, initialize_dependency_output):
11777         Add static prototypes.
11778
11779         * cpplib.c (my_strerror): Constify a char*.
11780         (null_underflow, null_cleanup, skip_comment, copy_comment,
11781         copy_rest_of_line, handle_directive, pass_thru_directive,
11782         get_directive_token, read_line_number, cpp_print_file_and_line,
11783         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
11784         v_cpp_warning_with_line, detect_if_not_defined,
11785         consider_directive_while_skipping): Add static prototypes.
11786         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
11787         cpp_pedwarn_with_file_and_line): Constify a char*.
11788
11789         * cpplib.h (cpp_options, include_hash, progname, definition,
11790         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
11791         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
11792         find_include_file, deps_output, include_hash): Constify a char*.
11793
11794         * cppmain.c (progname): Constify.
11795         (main): Add prototype.  Use return, not exit.
11796
11797         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
11798         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
11799         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
11800         check_protection): Add static prototype.
11801         (xfree): Remove.
11802         (progname, recognized_macrom, recognized_extern): Constify a char*.
11803         (main): Add prototype.
11804
11805         * gen-protos.c (progname): Constify a char*.
11806
11807 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
11808
11809         * emit-rtl.c (free_emit_status): Take decl as a parameter.
11810         (init_emit_once): Add more GC roots.
11811         * except.c (mark_func_eh_entry): New function.
11812         (mark_eh_node): Mark false_label and rethrow_label.
11813         (init_eh): Add more GC roots.
11814         * function.c (free_after_compilation): Take decl as a paramter.
11815         Call free_stmt_status.
11816         (mark_function_state): Don't assume x_parm_reg_stack_loc is
11817         non-NULL.
11818         * function.h (free_after_compilation): Change prototype.
11819         (free_varasm_status): Likewise.
11820         (free_emit_status): Likewise.
11821         (free_stmt_status): New function.
11822         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
11823         Remove, replacing with ...
11824         (ggc_status): New structure.
11825         (ggc_chain): New variable.
11826         (init_gcc): Define.
11827         (ggc_push_context): New function.
11828         (ggc_pop_context): Likewise.
11829         (ggc_alloc_rtx): Adjust for use of ggc_chain.
11830         (ggc_alloc_rtvec): Likewise.
11831         (ggc_alloc_tree): Likewise.
11832         (ggc_alloc_string): Likewise.
11833         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
11834         (ggc_mark_tree): Give language-dependent code a chance to mark
11835         `x' nodes.
11836         (ggc_mark_tree_varray): Handle empty arrays.
11837         (ggc_collect): Adjust for use of ggc_chain.  Clear
11838         bytes_alloced_since_last_gc.
11839         * ggc.h (ggc_pop_context): New function.
11840         (ggc_push_context): Likewise.
11841         * print-tree.c (print_node): Don't print obstacks when GC'ing.
11842         * stmt.c (free_stmt_status): New function.
11843         (init_stmt_for_function): Clear last_expr_value.
11844         * toplev.c (rest_of_compilation): Always call free_after_compilation.
11845         Conditionalize call to ggc_collect.
11846         (main): Call init_ggc.
11847         * tree.c (push_obstacks): Do the push, even when GC'ing.
11848         (push_obstacks_nochange): Likewise.
11849         (pop_obstacks): Liekwise.
11850         * varasm.c (free_varasm_status): Take decl as a parameter.
11851
11852 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11853
11854         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
11855         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
11856         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
11857         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
11858
11859 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
11860
11861         * pa/x-pa-mpeix: New file for the MPE port.
11862
11863         * pa/quadlib.asm: New file for long double support.
11864
11865         * configure.in: Add hppa1.0-*-mpeix for MPE port.
11866         * configure: Rebuilt.
11867
11868 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
11869
11870         * final.c (shorten_branches): Fix last change.
11871
11872 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
11873
11874         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
11875
11876 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
11877
11878         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
11879         details.
11880
11881 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11882
11883         * c-aux-info.c (concat): Don't define.
11884
11885         * cccp.c (my_strerror): Likewise.  All callers changed to use
11886         xstrerror instead.
11887         (do_include): Call xstrdup, not xmalloc/strcpy.
11888         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
11889         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
11890
11891         * collect2.c (my_strsignal): Likewise.  All callers changed to use
11892         strsignal instead.
11893         (locatelib): Call xstrdup, not xmalloc/strcpy.
11894
11895         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
11896
11897         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
11898
11899         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
11900
11901         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
11902
11903         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
11904
11905         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
11906
11907         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
11908         malloc/realloc.
11909         (find_all_handler_type_matches): Likewise.  Don't check return
11910         value.
11911         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
11912         xmalloc, not malloc.
11913         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
11914
11915         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
11916         (init_spec): Call xcalloc, not xmalloc/bzero.
11917         (set_spec): Call xstrdup, not save_string.
11918         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
11919         (find_a_file): Call xstrdup, not xmalloc/strcpy.
11920         (process_command): Call xstrdup, not save_string.
11921         (main): Call xcalloc, not xmalloc/bzero.
11922
11923         * gcov.c (xmalloc): Don't define.
11924         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
11925         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
11926         (output_data): Call xcalloc, not xmalloc/bzero.
11927
11928         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
11929
11930         * mips-tdump.c (xmalloc): Don't define.
11931         (print_symbol): Call xmalloc, not malloc.
11932         (read_tfile): Call xcalloc, not calloc.
11933
11934         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
11935         Don't define.  All callers of xfree/my_strsignal changed to use
11936         free/strsignal instead.
11937         (allocate_cluster): Call xcalloc, not calloc.
11938
11939         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
11940         Fix memory leak, free allocated memory.
11941
11942         * prefix.c (translate_name): Call xstrdup, not save_string.
11943         (update_path): Likewise.
11944
11945         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
11946
11947         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
11948         Don't define.  Callers of xfree/savestring2 changed to use
11949         free/concat instead.
11950
11951         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
11952         (init_elim_table): Likewise.
11953
11954         * resource.c (init_resource_info): Likewise.
11955
11956         * stupid.c (stupid_life_analysis): Likewise.
11957
11958         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
11959         (open_dump_file): Call concat, not xmalloc/strcpy/...
11960         (clean_dump_file): Likewise.
11961         (compile_file): Call xstrdup, not xmalloc/strcpy.
11962
11963 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
11964
11965         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
11966         * v850.c (v850_va_arg): New.
11967
11968 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11969
11970         * haifa-sched.c: Tidy comments.
11971
11972 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11973
11974         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
11975         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
11976         $(out_object_file)): Depend on ggc.h.
11977         * c-common.c: Include "ggc.h".
11978         (combine_strings): If doing GC, use ggc_alloc_string.
11979         * c-decl.c: Include "ggc.h".
11980         (ggc_p): Define with value 0.
11981         (mark_binding_level): New function.
11982         (init_decl_processing): Add GC roots.
11983         (mark_c_function_context): New function.
11984         (lang_mark_false_label_stack): New function.
11985         (lang_mark_tree): New function.
11986         (lang_cleanup_tree): New function.
11987         * c-lang.c: Include "ggc.h".
11988         (lang_init): Call c_parse_init.
11989         * c-lex.c: Include "ggc.h".
11990         (check_linenum): If doing GC, don't copy filenames to permanent
11991         obstack.
11992         * c-parse.in: Include "ggc.h".
11993         (c_parse_init): New function.
11994         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
11995         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
11996
11997         * except.c (mark_eh_state): Mark more state.
11998         * function.c (mark_function_state): Likewise.
11999         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
12000         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
12001         * toplev.c (mark_file_stack): New function.
12002         (compile_file): If doing GC, use ggc_alloc_string on input filename.
12003         (main): Add root for input_file_stack.
12004
12005         * i386.c: Include "ggc.h".
12006         (ix86_mark_machine_status): New function.
12007         (override_options): Set mark_machine_status.
12008
12009 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12010
12011         * tree.c (copy_node): Copy node contents also if doing GC.
12012
12013 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
12014
12015         * collect2.c (scan_libraries): Fix double-thinko :-).
12016
12017 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
12018
12019         * collect2.c (scan_libraries): Fix thinko.
12020
12021         * cse.c (delete_trivially_dead_insns): Do not skip the last
12022         insn if it is a real insn.
12023
12024 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
12025
12026         * Makefile.in (ggc-simple.o): Depend on hash.h.
12027         * ggc.h (ggc_add_tree_hash_table_root): Declare.
12028         (ggc_mark_tree_varray): Likewise.
12029         (ggc_mark_tree_hash_table): Likewise.
12030         * ggc-simple.c: Include hash.h.
12031         (ggc_mark_tree_hash_table_ptr): New function.
12032         (ggc_mark_tree_hash_table_entry): Likewise.
12033         (ggc_mark_tree_hash_table): Likewise.
12034         (ggc_add_tree_hash_table_root): Likewise.
12035         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
12036         rtx, when defining fields.
12037
12038 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
12039
12040         * profile.c (output_func_start_profiler): Remove apparently
12041         nonsensical call to start_sequence.
12042
12043 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
12044
12045         * clipper/clipper.c (clipper_va_start): Fix typos.
12046
12047         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
12048         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
12049         (spur_va_arg): New stub.
12050
12051         * configure.in: Comment out pyramid.
12052
12053 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
12054
12055         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
12056         don't conflict with the bits that win32, cygwin, and dgux
12057         defines.
12058
12059 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
12060                           Bernd Schmidt <bernds@cygnus.co.uk>
12061
12062         * integrate.c (function_cannot_inline_p): Do not inline
12063         functions with forced labels.
12064
12065 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
12066                           Bernd Schmidt <bernds@cygnus.co.uk>
12067                           Mark Mitchell  <mark@codesourcery.com>
12068
12069         * Makefile.in (ggc-simple.o): Depend on varray.h.
12070         (rtl.o): Depend on ggc.h.
12071         (genattrtab.o): Depend on ggc.h.
12072         (print-tree.o): Likewise.
12073         (fold-const.o): Likewise.
12074         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
12075         (make_insn_raw): Don't cache insns when GC'ing.
12076         (emit_insn_before): Likewise.
12077         (emit_insn_after): Likewise.
12078         (emit_insn): Likewise.
12079         (start_sequence): Use xmalloc to allocate the sequence_stack.
12080         (end_sequence): Add free to free it.
12081         (gen_sequence): Don't cache insns when GC'ing.
12082         (clear_emit_caches): Don't use sequence_element_free_list.
12083         (init_emit): Use xcalloc, not xmalloc+bzero.
12084         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
12085         * function.c (pop_function_context_from): Use free to free the
12086         fixup_var_refs_queue.
12087         (put_reg_into_stack): Allocate it with xmalloc.
12088         * genattrtab.c: Include ggc.h.
12089         (operate_exp): Don't use obstack_free when GC'ing.
12090         (simplify_cond): Likewise.
12091         (simplify_text_exp): Likewise.
12092         (optimize_attrs): Likewise.
12093         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
12094         GC'ing.
12095         (gencode): Generate a #include for ggc.h.
12096         * ggc-callbacks.c (ggc_p): Define it to zero.
12097         * ggc-none.c (ggc_p): Likewise.
12098         * ggc-simple.c: Include varray.h.
12099         (ggc_mark_tree_varray): New function.
12100         (ggc_add_tree_varray_root): Likewise.
12101         (ggc_mark_tree_varray_ptr): Likewise.
12102         * ggc.h (ggc_p): Declare.
12103         (varray_head_tag): Likewise.
12104         (ggc_add_tree_varray_root): Declare.
12105         * print-tree.c (print_node): Don't check for TREE_PERMANENT
12106         inconsistencies when GC'ing.
12107         * rtl.c: Include ggc.h.
12108         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
12109         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
12110         (rtx_free): Don't call obstack_free when GC'ing.
12111         * toplev.c (rest_of_compilation): Call ggc_collect after every
12112         pass, if GC'ing.
12113         * tree.c (push_obstacks): Do nothing, if GC'ing.
12114         (pop_obstacks_nochange): Likewise.
12115         (pop_obstacks): Likewise.
12116         (make_node): Use ggc_alloc_tree when GC'ing.
12117         (copy_node): Likewise.
12118         (get_identifier): Use ggc_alloc_string when GC'ing.
12119         (build_string): Likewise.
12120         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
12121         (tree_cons): Likewise.
12122         (build1): Likewise.
12123         (type_hash_canon): Don't call obstack_free when GC'ing.
12124
12125 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
12126
12127         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
12128         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
12129
12130 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
12131                           Bernd Schmidt <bernds@cygnus.co.uk>
12132                           Mark Mitchell  <mark@codesourcery.com>
12133
12134         * Makefile.in (stor-layout.o): Depend on ggc.h.
12135         (expr.o): Depend on ggc.h.
12136         (profile.o): Depend on ggc.h.
12137         (stor-layout.o): Depend on ggc.h.
12138         * emit-rtl.c (init_emit_once): Add gc roots.
12139         * expr.c: Include ggc.h.
12140         (emit_block_move): Add gc roots.
12141         (clear_storage): Likewise.
12142         * expr.h (init_stor_layout_once): New function.
12143         * profile.c: Include ggc.h.
12144         (init_arc_profiler): profiler_label is a root.
12145         * scan.c (make_sstring_space): Trust xrealloc to function
12146         correctly with first parameter NULL.
12147         * stor-layout.c: Include ggc.h.
12148         (set_sizetype): Add gc root.
12149         (init_stor_layout_once): New function.
12150         * toplev.c (compile_file): Call it.
12151
12152 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
12153                           Bernd Schmidt <bernds@cygnus.co.uk>
12154                           Mark Mitchell  <mark@codesourcery.com>
12155
12156         * Makefile.in (tree.o): Depend on ggc.h.
12157         (varasm.o): Likewise.
12158         (function.o): Likewise.
12159         (stmt.o): Likewise.
12160         (except.o): Likewise.
12161         (optabs.o): Likewise.
12162         (emit-rtl.o): Likewise.
12163         * emit-rtl.c: Include ggc.h.
12164         (sequence_element_free_list): Remove, and all references.
12165         (mark_sequence): New functions.
12166         (mark_emit_state): New function.
12167         * except.c: Include ggc.h.
12168         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
12169         (mark_tree_label_node): New functions.
12170         (mark_eh_state): New function.
12171         * function.c: Include ggc.h.
12172         (mark_temp_slot, mark_function_chain): New functions.
12173         (mark_function_state): New function.
12174         (init_function_once): New function.
12175         * function.h (init_function_once): New function.
12176         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
12177         * ggc.h (label_node): Declare.
12178         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
12179         (lang_mark_false_label_stack): New function.
12180         (mark_temp_slot): Remove declaration.
12181         (mark_function_chain): Likewise.
12182         (mark_eh_state): Adjust prototype.
12183         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
12184         Likewise.
12185         * optabs.c: Include ggc.h.
12186         (mark_optab): New function.
12187         (init_optabs): Add gc roots.
12188         * stmt.c: Include ggc.h.
12189         (mark_cond_nesting, mark_loop_nesting): New functions.
12190         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
12191         (mark_stmt_state): New function.
12192         * toplev.c (compile_file): Call init_function_once.
12193         * tree.c: Include ggc.h.
12194         (type_hash): Move declaration earlier in file.
12195         (TYPE_HASH_SIZE, type_hash_table): Likewise.
12196         (init_obstacks): Add gc roots.
12197         (mark_type_hash): New function.
12198         * varasm.c: Include ggc.h.
12199         (mark_pool_constant): New function.
12200         (mark_varasm_state): New function.
12201
12202 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12203
12204         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
12205
12206 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
12207
12208         * c-decl.c (struct language_function): Renamed from struct c_function.
12209         Delete elt NEXT.
12210         (c_function_chain): Delete.
12211         (push_c_function_context): New arg F.  Don't warn about nested
12212         functions here.  Fill LANGUAGE elt of F.  Delete code to update
12213         c_function_chain.  Don't call push_function_context.
12214         (pop_c_function_context): New arg F.  Restore from there instead of
12215         from c_function_chain.  Don't call pop_function_context.  Clear out
12216         LANGUAGE field of F when done.
12217         * c-lang.c: Include "function.h"
12218         (lang_init): Initialize save_lang_status and restore_lang_status.
12219         * c-parse.in (nested_function, nested_function_notype): Warn about
12220         nested functions.  Call push_function_context/pop_function_context
12221         instead of the _c_ variants.
12222         * c-tree.h (push_c_function_context, pop_c_function_context): Update
12223         prototype.
12224         * Makefile.in (c-lang.o): Update dependencies.
12225
12226         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
12227         regno_pointer_flag, regno_pointer_align.
12228         (gen_reg_rtx): Use xrealloc to enlarge them.
12229         (free_emit_status): New function.
12230         * function.c (mark_machine_status, mark_lang_status): New variables.
12231         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
12232         in some bits from assign_stack_local.  All callers changed to use new
12233         name.
12234         (assign_stack_local): Just call assign_stack_local_1.
12235         (free_after_compilation): New function.
12236         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
12237         (trampoline_address): Likewise.
12238         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
12239         (prepare_function_start): Explicitly clear some more variables.
12240         * function.h (struct function): New elt can_garbage_collect.
12241         (mark_machine_status, mark_lang_status): Declare variables.
12242         (free_after_compilation, free_emit_status, free_varasm_status,
12243         init_varasm_status): Declare functions.
12244         * toplev.c (rest_of_compilation): Call free_after_compilation when
12245         done with the current function.
12246         * varasm.c (free_varasm_status): New function.
12247
12248 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
12249
12250         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
12251         (EXPAND_BUILTIN_VA_ARG): Define.
12252         * sparc.c (sparc_va_start): New.
12253         (sparc_va_arg): New.
12254
12255 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12256
12257         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
12258
12259 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12260
12261         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
12262
12263 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
12264
12265         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
12266         (OBJS): Add $(GGC).
12267         (ggc-callbacks.o): New target.
12268         * ggc-callbacks.c: New file.
12269
12270 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12271
12272         * expr.h: Collapse individual optab and libfunc vars to arrays.
12273         (optab_index, libfunc_index): New enumerations.
12274         (optab_table, libfunc_table): New arrays.
12275         Add accessor macros for both.
12276
12277         * optabs.c (optab_table, libfunc_table): New.
12278         Delete declarations for individual optab and libfunc vars.
12279
12280 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
12281
12282         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
12283
12284 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
12285
12286         * Makefile.in (GGC, GGC_LIB): New.
12287         (HOST_RTL): Include ggc-none.o.
12288         (ggc-simple.o): New target.
12289         (ggc-none.o): Likewise.
12290         * tree.h (tree_common): Add gc_mark.
12291         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
12292         (struct rtvec_def): Add gc_mark.
12293         * emit-rtl.c (global_rtl): Update static initializers to contain
12294         enough initializers.
12295         * ggc.h, ggc-none.c, ggc-simple.c: New files.
12296         * toplev.c (gc_time): New variable.
12297         (all_time): New variable.
12298         (compile_file): Print gc time.
12299         (print_time): Calculate percentage of the whole.
12300
12301 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12302
12303         Change obstack memory management and varasm constant pool handling so
12304         that nested functions are treated like any other functions.
12305         * function.c (init_machine_status): New variable.
12306         (push_function_context_to): Set contains_functions for the outer
12307         function.  Don't call save_varasm_status.
12308         (pop_function_context_from): Don't call restore_varasm_status.  Don't
12309         set current_function_contains_functions.
12310         (prepare_function_start): Call init_varasm_status rather than
12311         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
12312         is non-null.
12313         * function.h (struct function) Add field varasm.  Delete fields
12314         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
12315         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
12316         (init_machine_status): Declare.
12317         (save_varasm_status, restore_varasm_status): Delete declarations.
12318         (save_tree_status, restore_tree_status): Delete last argument.
12319         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
12320         code.  All callers changed.
12321         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
12322         save_constants_in_decl_trees, restore_constants, save_constants,
12323         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
12324         functions.
12325         (inlining): New variable.
12326         (reg_map, label_map, insn_map, orig_asm_operands_vector,
12327         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
12328         variables.
12329         (save_for_inline_nocopy): Don't save constants.
12330         Don't set inl_emit field in current_function.
12331         (expand_inline_function): Use emit field, not inl_emit, of the inlined
12332         function.  Set new variable inlining before
12333         calling copy_rtx_and_substitute.
12334         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
12335         constant pool references if inlining is nonzero.
12336         Delete ADDRESS and (most of the) CONST cases.
12337         (output_inline_function): Save and restore current_function/
12338         current_function_decl.  Delete restore_constants code.  Don't call
12339         init_const_rtx_hash_table.
12340         * output.h (init_const_rtx_hash_table): Don't declare.
12341         * rtl.h (struct function): Declare.
12342         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
12343         * toplev.c (rest_of_compilation): Don't treat nested functions or
12344         functions containing them specially.  Delete all code to deal with
12345         save_for_inline_copying.
12346         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
12347         inline_obstacks): Delete variables.
12348         (save_tree_status): Lose arg CONTEXT.  All callers changed.
12349         Simply allocate a new function_maybepermanent_obstack for the new
12350         function, delete all the special cases.
12351         Don't save inline_obstacks.
12352         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
12353         Delete special handling for function_maybepermanent_obstack; simply
12354         free it if empty.
12355         Don't restore inline_obstacks.
12356         (permanent_allocation):  Delete code that frees inline_obstacks.
12357         (print_inline_obstack_statistics): Delete function.
12358         (dump_tree_statistics): Don't call it.
12359         * varasm.c (struct varasm_status): New.
12360         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
12361         last_pool, pool_offset, const_double_chain): Delete global
12362         variables, replace with accessor macros.
12363         (immed_double_const): Don't walk const_double_chain outside a
12364         function, but don't treat nested functions specially anymore.
12365         (immed_real_const_1): Likewise.
12366         (clear_const_double_mem): Don't treat nested functions specially.
12367         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
12368         (save_varasm_status, restore_varasm_status): Delete functions.
12369         (init_varasm_status): New function.
12370         (force_const_mem): Don't treat nested functions specially.
12371         (find_pool_constant): Accept new arg F, search for constants in
12372         that function's pool rather than the current one.  All callers
12373         changed.
12374         (get_pool_constant_for_function, get_pool_mode_for_function): New
12375         functions.
12376
12377         * i386.c (init_386_machine_status): New function, mostly from
12378         clear_386_stack_locals.
12379         (struct machine_functions): Rename element names to avoid name
12380         clashes.
12381         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
12382         macros, replacing global variables.
12383         (clear_386_stack_locals, save_386_machine_status,
12384         restore_386_machine_status): Delete functions.
12385         (override_options): Initialize init_machine_status.
12386         * i386.h (INIT_EXPANDERS): Delete macro.
12387         (save_386_machine_status, restore_386_machine_status,
12388         clear_386_stack_locals): Delete declarations.
12389
12390 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12391
12392         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
12393         (doloop_begin):  Simplify pattern and use emit_jump_insn.
12394         (doloop_end): Simplify pattern, switch operand order,
12395         and use emit_jump_insn.
12396
12397 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
12398
12399         * function.h (struct function): Add new element LANGUAGE.
12400         (save_lang_status): Declare new variable.
12401         (restore_lang_status): Likewise.
12402         * function.c (save_lang_status): Define.
12403         (restore_lang_status): Likewise.
12404         (push_function_context_to): Call language-specific save function.
12405         (pop_function_context_from): Call language-specific restore function.
12406
12407 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
12408
12409         * i386.md (movsf_1): Check REG_P before use of REGNO.
12410         (movdf_1): Likewise.
12411         (movxf_1): Likewise.
12412         (extendsfdf2): Likewise.
12413         (extendsfxf2): Likewise.
12414         (extenddfxf2): Likewise.
12415
12416 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12417
12418         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
12419         constants into memory.
12420         (c4x_shiftable_constant): New function.
12421         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
12422         (c4x_shiftable_constant): Declare.
12423         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
12424         ashlqi3_noclobber): Add new patterns and associated splitters.
12425
12426 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
12427
12428         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
12429         * dwarf2out.c (dwarf2out_frame_init): Likewise.
12430         * final.c (shorten_branches): Likewise.
12431         * global.c (global_alloc): Likewise.
12432         * haifa-sched.c (build_control_flow): Likewise.
12433         * stmt.c (check_for_full_enumeration_handling): Likewise.
12434         (estimate_case_costs): Likewise.
12435
12436 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
12437
12438         * rtl.h (RTL_CHECKC2): Fix typo in last change.
12439
12440 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
12441
12442         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
12443         (recompute_reg_usage): Likewise.
12444         * rtlanal.c (find_regno_fusage): Likewise.
12445
12446         * rtl.c (rtl_check_failed_code1): New function.
12447         (rtl_check_failed_code2): New.
12448         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
12449         (RTL_CHECKC1, RTL_CHECKC2): New.
12450         (XC*): New accessor macros.
12451         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
12452         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
12453         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
12454         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
12455         (TRAP_*, RANGE_INFO_*): Likewise.
12456
12457 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12458
12459         * Makefile.in (tlink.o): Don't depend on toplev.h.
12460
12461         * collect2.c (c_file, o_file, export_file, import_file, ldout,
12462         output_file, nm_file_name, ldd_file_name, strip_file_name,
12463         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
12464         add_prefix, prefix_from_env, prefix_from_string, do_wait,
12465         fork_execute, maybe_unlink, add_to_list,
12466         extract_init_priority, write_list, dump_list,
12467         dump_prefix_list, write_list_with_asm, write_c_file,
12468         write_c_file_stat, write_c_file_glob, scan_prog_file,
12469         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
12470         ignore_library, extract_string, notice, dump_file, target_machine,
12471         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
12472         read_file, print_load_command): Constify a char*.
12473         (fdopen, error, fatal, fatal_perror): Don't prototype.
12474         (my_strerror): Remove.  All callers use xstrerror instead.
12475         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
12476         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
12477         to xcalloc/strcpy/strcat/...  to one call to concat.
12478         (main, scan_prog_file, scan_libraries): Use an intermediate
12479         `const char **' to build an argv array.
12480         (mapfile, libselect, libcompare, locatelib): Add prototypes.
12481
12482         * collect2.h (collect_execute, collect_wait, dump_file,
12483         file_exists): Constify a char*.
12484         (ldout, c_file_name, temporary_obstack, permanent_obstack,
12485         temporary_firstobj, vflag, debug): Add extern declarations.
12486         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
12487
12488         * tlink.c: Don't include toplev.h.
12489         (vflag, debug, ldout, c_file_name, temporary_obstack,
12490         permanent_obstack, temporary_firstobj): Don't declare.
12491         (tlink_execute, frob_extension, symbol_hash_lookup,
12492         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
12493         recompile_files, read_repo_files, demangle_new_symbols,
12494         scan_linker_output): Constify a char*.
12495         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
12496         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
12497
12498 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
12499
12500         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
12501         (relative) rather than jsr (absolute) subroutine call insns.
12502         * config/m68k/m68k-coff.h: Ditto.
12503
12504 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
12505
12506         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
12507         now rework these too.
12508         (arm_reorg): If an insn can't reach the end of the current pool,
12509         ensure that we emit that pool before the insn.
12510
12511 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
12512
12513         * tlink.c (scan_linker_output): Skip the initial underscore in
12514         a mangled name if appropriate.
12515
12516 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12517
12518         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
12519         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
12520         error_with_ivar, gen_declarator, create_builtin_decl,
12521         my_build_string, generate_descriptor_table, generate_ivars_list,
12522         generate_dispatch_table, check_protocols, TAG_GETCLASS,
12523         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
12524         dump_base_name, lang_decode_option, build_encode_expr,
12525         start_class, finish_class, encode_pointer, really_start_method,
12526         gen_declaration, dump_interface, handle_class_ref, handle_impent):
12527         Constify.
12528         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
12529         Add static prototypes.
12530         (build_objc_string_decl, build_selector_reference_decl,
12531         encode_bitfield, build_class_reference_decl): Remove unused
12532         parameter, all callers changed.
12533         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
12534         (objc_printable_name): Likewise.  Change second parameter to type int.
12535         (init_objc): Use memcpy, not bcopy, to avoid casts.
12536
12537 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
12538
12539         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
12540         reg notes on a deleted insn.
12541         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
12542
12543 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
12544
12545         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
12546
12547 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12548
12549         * stmt.c (expand_asm_operands): Fix index into inout_mode when
12550         reading it.
12551
12552 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
12553
12554         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
12555         * tm.texi (MD_ASM_CLOBBERS): Document it.
12556
12557 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
12558
12559         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
12560         * except.c (expand_rethrow): Remove unused variable.
12561         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
12562         * flow.c (replace_insns): Likewise.
12563         (create_edge_list, verify_edge_list): Likewise.
12564         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
12565
12566         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
12567         is special code to run.
12568         (main): Don't define operands to emit_operand.
12569         * genrecog.c (main): Don't emit an empty peephole2_insn function.
12570
12571         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
12572
12573         * alpha/alpha.h (normal_memory_operand): Declare.
12574         (reg_no_subreg_operand): Declare.
12575         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
12576
12577 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
12578
12579         * c-parse.in (compstmt_primary_start): New, broken out of first
12580         part of compstmt handling in primary.
12581         (primary): Use it.  Add an error clause.
12582         (compstmt_nostart): Renamed from compstmt; remove all
12583         initial invocations of compstmt_start.
12584         (compstmt): New.
12585
12586 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
12587
12588         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
12589         needed.
12590
12591 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
12592
12593         * combine.c (simplify_shift_const): Remove extra semicolon.
12594         * dwarf2out.c (remove_AT): Likewise.
12595         * expmed.c (expand_mult): Likewise.
12596         * gcov.c (create_program_flow_graph): Likewise.
12597         * reorg.c (mostly_true_jump): Likewise.
12598
12599 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
12600
12601         * fold-const.c (fold_range_test): Do not try to fold the range
12602         test if the rhs or lhs has side effects.
12603
12604         * combine.c (simplify_rtx): Recognize another case of a synthesized
12605         sign extension.
12606
12607         * varasm.c (mark_constant_pool): When marking indirect references,
12608         only look at SYMBOL_REFs.
12609
12610         * except.c (expand_fixup_region_end): Do not peek at
12611         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
12612
12613 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
12614
12615         * flags.h: New variables align_loops, align_loops_log,
12616         align_jumps, align_jumps_log, align_labels, align_labels_log,
12617         align_functions, align_functions_log.
12618         * toplev.c: Define them.
12619         (f_options): Handle -falign-* when they have no argument.
12620         (main): Add logic to set variables for -falign-functions,
12621         -falign-jumps, -falign-labels, -falign-loops.
12622         Make it -fsched-verbose=<n> and -finline-limit=<n>.
12623         (display_help): Change help to match options.
12624         * final.c (LABEL_ALIGN): Default to align_labels_log.
12625         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
12626         (LOOP_ALIGN): Default to align_loops_log.
12627         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
12628         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
12629         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
12630         * varasm.c (assemble_start_function): Handle align_functions.
12631
12632         * config/sparc/sparc.h: Don't declare sparc_align_*.
12633         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
12634         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
12635         sparc.c.
12636         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
12637         it's a promise.
12638         * config/sparc/sparc.c: Delete sparc_align_loops,
12639         sparc_align_jumps, sparc_align_funcs and the corresponding string
12640         variables.
12641         (sparc_override_options): Default align_functions on ultrasparc.
12642         Delete -malign-* handling.
12643
12644         * config/mips/mips.c (override_options):  On 64-bit targets,
12645         try to align code to 64-bit boundaries.
12646         (print_operand): New substitution, %~,
12647         which aligns labels to align_labels_log.
12648         * config/mips/mips.md (div_trap_normal): Use %~.
12649         (div_trap_mips16): Likewise.
12650         (abssi): Likewise.
12651         (absdi2): Likewise.
12652         (ffssi2): Likewise.
12653         (ffsdi2): Likewise.
12654         (ashldi3_internal): Likewise.
12655         (ashrdi3_internal): Likewise.
12656         (lshrdi3_internal): Likewise.
12657         (casesi_internal): Likewise.
12658
12659 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
12660
12661         Merge new ia32 backend from the branch!
12662
12663         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
12664         See ChangeLog.P2 on new_ia32_branch for details.
12665
12666         * rtl.h (stack_regs_mentioned_p): Delete prototype.
12667         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
12668         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
12669         * i386/gas.h (ASM_FILE_START): Define.
12670         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
12671         for name change of ix86_valid_decl_attribute_p.
12672         (i386_pe_valid_type_attribute_p): Similarly.
12673
12674 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
12675
12676         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
12677         to step through CC modes.
12678
12679 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12680
12681         * regmove.c (fixup_match_1): Don't move INSN in front of P if
12682         it would end up in the shadow of a live flags regsiter.
12683
12684 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12685
12686         * reload1.c: Fix many indentation problems.
12687         * reload.c: Likewise.
12688
12689 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
12690
12691         * alias.c (non_local_reference_p): Constify fmt.
12692
12693 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
12694
12695         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
12696
12697 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
12698
12699         * cse.c (delete_trivially_dead_insns): Do not delete stores to
12700         the internal_arg_pointer.
12701
12702 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
12703
12704         Merge peephole2 from new_ia32_branch:
12705         * Makefile.in (STAGESTUFF): Add *.peephole2.
12706         (mostlyclean): Likewise.
12707         (recog.o): Depend on resource.h.
12708
12709         * final.c (peephole): Conditionalize decl on HAVE_peephole.
12710         (final_scan_insn): Likewise for the invocation of peephole.
12711         * genconfig.c (main): Look for peephole and peephole2 patterns.
12712         Emit HAVE_peephole* accordingly.
12713         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
12714         * flags.h (flag_peephole2): Declare.
12715         * toplev.c: New pass peephole2.  New flag -fpeephole2.
12716
12717         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
12718         * gencodes.c (main): Likewise.
12719         * genextract.c (main): Likewise.
12720         * genoutput.c (main): Likewise.
12721         * genemit.c (max_operand_1): Look for the max scratch operand.
12722         (gen_rtx_scratch): New.
12723         (gen_exp): Use it, and pass on new arg subroutine_type.
12724         (gen_expand): Take max scratch into account.
12725         (gen_split): Emit peephole2 functions.
12726         (output_peephole2_scratch): New.
12727         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
12728         * genrecog.c (routine_type): Add PEEPHOLE2.
12729         (IS_SPLIT): New.
12730         (make_insn_sequence): Match outer parallel for peep2.  Discard
12731         top level scratches and dups.
12732         (add_to_sequence): New args insn_type and top.  Update all callers.
12733         Handle toplevel peep2 matching insns.
12734         (write_subroutine): Handle peep2.
12735         (write_tree_1): Likewise.
12736         (write_tree): Likewise.
12737         (main): Likewise.
12738         (change_state): New arg afterward.  Update all callers.
12739         Handle matching separate insns.
12740         * recog.c (recog_next_insn): New.
12741         (peephole2_optimize): New.
12742         * rtl.def (DEFINE_PEEPHOLE2): New.
12743         * resource.c (find_free_register): New argument last_insn.  Use it
12744         to find a register available through the entire span.
12745         * resource.h (find_free_register): Update prototype.
12746
12747 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
12748
12749         * i386.c (output_strlen_unroll): Don't write xops[7]
12750         label if it wasn't set.
12751
12752 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
12753
12754         * cpplib.c (struct directive): Const-ify name pointer and
12755         function pointer prototype.
12756         (validate_else, do_define, do_line, do_include, do_undef,
12757         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
12758         do_elif, do_endif, do_sccs, do_assert, do_unassert,
12759         do_warning): Const-ify second arg.
12760         (directive_table): Mark const.  Reorder entries by frequency
12761         of usage, record statistics.
12762
12763 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
12764
12765         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
12766         bounds- check RTL accesses if --enable-checking.
12767         (RTVEC_ELT): Bounds check if --enable-checking.
12768         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
12769         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
12770         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
12771         GET_NUM_ELEM.
12772         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
12773         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
12774
12775         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
12776         (NOTE_SOURCE_FILE): Use X0STR.
12777         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
12778         MEM_ALIAS_SET): Use X0INT.
12779         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
12780         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
12781         Use X0EXP.
12782         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
12783         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
12784         (rtl_check_failed_bounds, rtl_check_failed_type1,
12785         rtl_check_failed_type2, rtvec_check_failed_bounds): New
12786         functions.
12787         (fancy_abort): Fix comment.
12788
12789         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
12790         (cse_insn): Decrement LABEL_NUSES for jump target before
12791         deleting jump insn.
12792         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
12793         * final.c (alter_subreg): Compute regno before changing x to
12794         REG; set REGNO(x) after changing it.
12795         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
12796         notes containing CONST_INTs.
12797         (delete_eh_regions): Use NOTE_EH_HANDLER.
12798         * function.c (put_reg_into_stack): Make reg a MEM before
12799         initializing it.
12800         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
12801         delete insn.
12802         (gen_mem_addressof): Make reg a MEM before initializing it.
12803         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
12804         X0WINT.
12805         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
12806         deleting an insn, not after.
12807         (block_alloc): Only look at PATTERN(insn) if we have to, and
12808         only if it's format class 'i'.
12809         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
12810         CONST_INT before using its INTVAL.
12811         * print-rtl.c (print_rtx): Use X0STR.
12812         * regmove.c (fixup_match_1): Don't look at PATTERN of
12813         non-class-'i' insn chain elements.
12814         * reload.c (loc_mentioned_in_p): Take address of
12815         in->fld[1].rtx directly.
12816         * reload1.c (reload): Change reg to a MEM before initializing
12817         it.
12818         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
12819         have no names.
12820         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
12821
12822 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
12823
12824         * config/mips/mips.c (machine_dependent_reorg): Force a
12825         barrier to output the local constant pool if a barrier hasn't
12826         been found at a natural point in the instruction stream.
12827
12828 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12829
12830         * c-parse.in (language_string): Constify.
12831
12832         * dwarf2out.c (language_string): Remove declaration.
12833
12834         * dwarfout.c (language_string): Likewise.
12835
12836         * toplev.c (language_string, init_parse, finish_parse): Likewise.
12837
12838         * tree.h (language_string, init_parse, finish_parse): Declare.
12839
12840         * i386/sun386.h (language_string): Remove declaration.
12841
12842         * mips.h (language_string): Likewise.
12843
12844         * nextstep.h (language_string): Likewise.
12845
12846         * nextstep21.h (language_string): Likewise.
12847
12848         * rs6000.c (language_string): Likewise.
12849
12850 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12851
12852         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
12853         (getpwd.o): Remove target.
12854
12855         * getpwd.c: Delete file.  Its in libiberty now.
12856
12857         * dbxout.c (getpwd): Don't prototype.
12858         * dwarf2out.c (getpwd): Likewise
12859         * dwarfout.c (getpwd): Likewise
12860         * final.c (getpwd): Likewise.
12861         * protoize.c (getpwd): Likewise.
12862
12863 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12864
12865         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
12866
12867 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
12868
12869         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
12870         mark_set_resources.
12871
12872 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
12873
12874         * fixinc/Makefile.in (subdir): New.
12875         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
12876         (Makefile): New.
12877
12878 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
12879
12880         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
12881         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
12882         be shared.
12883
12884         * invoke.texi: Fix typo.
12885
12886         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
12887         changed.  Handle autoincrement addressing modes.
12888
12889         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
12890         just like we would the virtual incoming args register when
12891         integrating.
12892
12893 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
12894
12895         * rs6000.h (ASM_FILE_START): Specify complete filename, including
12896         path, in .file directive.
12897
12898 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
12899
12900         * gcc.texi (External Bugs): Remove obsolete note about Perl on
12901         SunOS.
12902
12903 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
12904
12905         * stdbool.h: Make the typedef name _Bool, with bool a #defined
12906         alias.
12907
12908 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12909
12910         * tree.c (tree_code_name): Constify a char*.
12911
12912         * tree.h (tree_code_name, decl_printable_name): Likewise.
12913
12914         * function.h (struct function): Likewise.
12915
12916         * toplev.c (decl_name, decl_printable_name): Likewise.
12917
12918         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
12919
12920         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
12921         (init_objc): Remove function pointer cast.
12922
12923 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
12924
12925         * pa.md (interspace_jump): New pattern.
12926         (builtin_longjmp): New expander.
12927
12928 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
12929
12930         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
12931         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
12932         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
12933
12934 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
12935
12936         * jump.c (delete_prior_computation): Also check calls
12937         to constant functions.  Don't bother checking for a
12938         REG_UNUSED note before adding it.
12939         (delete_computation): Handle multi-word hard registers
12940         when synthesizing missing REG_DEAD notes for a register
12941         which is both set and used by an insn.
12942
12943 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12944
12945         * loop.c (this_loop_info): New variable.
12946         (loop_has_call, loop_has_volatile, loop_has_tablejump,
12947         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
12948         All uses updated.
12949         (prescan_loop, strength_reduce): New argument loop_info.  All callers
12950         updated.
12951         (scan_loop): New variable loop_info, initialise to address of
12952         this_loop_info.
12953         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
12954         Delete variable loop_has_multiple_exit targets and replace with
12955         field in this_loop_info.
12956         (find_and_verify_loops): Rename this_loop to this_loop_num.
12957         (strength_reduce): Delete loop_iteration_info.  Replace variable
12958         loop_info with function argument of same name.
12959         (insert_bct): Rework test for loop being completely unrolled.
12960
12961         * loop.h (struct loop_info): New fields num, loops_enclosed,
12962         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
12963         has_indirect_jump, and cont.  Redefine use of unroll_number.
12964         (loop_unroll_number): Delete.
12965
12966         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
12967         field of loop_info.
12968         (loop_iterations): Delete variable vtop and instead use
12969         loop_info->vtop computed in prescan_loop.
12970
12971 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
12972
12973         * fix-header.c (main): Do not pass a null pointer to strcmp.
12974
12975 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
12976
12977         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
12978         filenames.
12979         * configure: Rebuilt.
12980
12981 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
12982
12983         * jump.c (jump_optimize_1): Do not delete assignments to
12984         internal_arg_pointer.
12985         * cse.c (delete_trivially_dead_insns): Always consider a set of
12986         the internal_arg_pointer live.
12987
12988 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
12989
12990         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
12991         (update_life_info) [REG_WAS_0]: Search the original insns rather
12992         than the new insns for the note.  Fix typos finding note_dest.
12993         If no dest found, discard the note rather than abort.
12994         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
12995         (replace_insns): Remove the old insn list after update_life_info
12996         not before.
12997
12998 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
12999
13000         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
13001         sched_analyze_insn.
13002         (sched_analyze_1): Let add_dependence care for not adding dups.
13003         (sched_analyze_2): Likewise.
13004         (add_branch_dependences): Likewise.
13005
13006 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13007
13008         * i386/winnt.c (export_list): New type.
13009         (exports_head): Rename to
13010         (export_head):  this.
13011         (i386_pe_record_exported_symbol): Add is_data flag.
13012         (i386_pe_asm_file_end): Emit directive for exported variables.
13013         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
13014         prototype.
13015         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
13016         (ASM_DECLARE_OBJECT_NAME): Likewise.
13017         (ASM_DECLARE_FUNCTION_NAME): Likewise.
13018         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
13019
13020 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
13021
13022         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
13023
13024         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
13025         operand.
13026
13027 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
13028
13029         * config/openbsd.h: Define SET_ASM_OP.
13030         * tm.texi: cross-reference SET_ASM_OP in the index.
13031
13032 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
13033
13034         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
13035         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
13036         and class_narrowest_mode at compile time.  Kill init_rtl.
13037         Mark rtx_length, mode_class, mode_size, mode_unit_size,
13038         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
13039         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
13040         EXTRA_CC_NAMES.
13041         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
13042         format.
13043         * rtl.h: Declare rtx_length and rtx_format as const.
13044         * machmode.def: Define CC().  Use CC() to define CCmode.  If
13045         EXTRA_CC_MODES is defined, expand it here.
13046         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
13047         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
13048         const.  Kill all references to EXTRA_CC_MODES.
13049
13050         * toplev.c: Don't prototype or call init_rtl.
13051         * optabs.c: Don't call init_mov_optab.
13052         * genemit.c: Don't generate init_mov_optab.  Don't call
13053         init_rtl.
13054         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
13055         here.
13056         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
13057         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
13058         genrecog.c: Don't call init_rtl.
13059
13060         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
13061         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
13062         definition of EXTRA_CC_MODES.
13063
13064         * md.texi: Kill ref to EXTRA_CC_NAMES.
13065         * tm.texi: Document new way to define EXTRA_CC_MODES.
13066
13067         * genrecog.c: Do not look up the name of a define_split.
13068         (Unrelated bugfix.)
13069
13070 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
13071
13072         * config/v850/v850.md: Fix typo introduced by previous delta.
13073
13074 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13075
13076         * gcc.c (fatal): Make definition static to match prototype.
13077
13078 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13079
13080         * combine.c (get_last_value): Don't look for earlier sets if the last
13081         known set is somewhere in between the insns being combined.
13082
13083 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
13084
13085         * configure.in: Don't use shell ! to negate exit codes
13086         * configure: Regenerate
13087
13088 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
13089
13090         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
13091         the fact that ALIGN is measured in bits, not bytes.
13092
13093 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
13094
13095         * errors.c: New file; defines functions error, warning, and
13096         fatal, variables have_error and progname.
13097         * errors.h: New file; prototypes and decls for stuff in errors.c.
13098
13099         * Makefile: Add rules to build errors.o and
13100         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
13101         genopinit, genrecog, genextract, genpeep, genattr, and
13102         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
13103         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
13104         genpeep.o, genattr.o, and genoutput.o.
13105
13106         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
13107         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
13108         define or prototype fatal.  Set progname at beginning of main.
13109         * genoutput.c:  Likewise, and don't define or prototype error
13110         either.
13111
13112         * c-typeck.c (c_expand_start_case): Return immediately if exp
13113         is an ERROR_MARK.
13114         * fold-const.c (operand_equal_p): Return immediately if arg1
13115         or arg0 are ERROR_MARKs.
13116         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
13117         fields of type ERROR_MARK when calculating if the record can
13118         go in a register.
13119
13120 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
13121         with much help from Jeffrey A Law and Richard Henderson
13122
13123         * i386.md: In the 6 insns which call output_fix_trunc,
13124         earlyclobber operands[0].
13125
13126 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
13127
13128         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
13129         creating new registers.
13130
13131 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
13132
13133         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
13134         i386_reg_alloc_order, i386_regparm_string,
13135         i386_align_loops_string, i386_align_jumps_string,
13136         i386_align_funcs_string, i386_preferred_stack_boundary_string,
13137         and i386_branch_cost_string as type "const char *".
13138         * i386.c: Define all above strings as type "const char *".
13139
13140 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
13141
13142         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
13143         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
13144
13145 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
13146
13147         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
13148         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
13149
13150 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
13151
13152         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
13153         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
13154         (dwarf2out_line, dwarf2out_finish): Likewise.
13155         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
13156
13157 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
13158
13159         * tree.c (lang_unsave_expr_now) : Correct return type.
13160         * tree.h (lang_unsave_expr_now) : Same.
13161
13162 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
13163
13164         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
13165         instead of duplicating code.
13166
13167 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13168
13169         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
13170
13171 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
13172
13173         * tree.h: fancy_abort always takes three args.
13174         * resource.c: Move include of system.h before toplev.h.
13175
13176 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
13177
13178         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
13179         as SYMBOL_REFs.
13180
13181 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
13182
13183         * system.h: Don't redefine abort or trim_filename.
13184         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
13185         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
13186         whether or not __FUNCTION__ is available.
13187         * tree.h: Duplicate rtl.h's definition of abort, for files
13188         that don't include rtl.h.  Delete all code to perform type
13189         checking with a compiler other than GCC.
13190         * varray.h: Delete all code to perform type checking with a
13191         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
13192         its arguments exactly once, using a statement expression.
13193         Adjust the VARRAY_<type> accessor macros to match.
13194         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
13195         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
13196         caller's location.  Define fatal_insn and fatal_insn_not_found
13197         as macros that use _fatal_insn and _fatal_insn_not_found.
13198         (fancy_abort, trim_filename): Kill prototypes.
13199
13200         * rtl.c (trim_filename): Move here from toplev.c.
13201         (fancy_abort): New function.
13202         (DIR_SEPARATOR): Provide default definition.
13203         * tree.c (tree_check_failed, tree_class_check_failed): Go
13204         through fancy_abort.
13205         (tree_check, tree_class_check, cst_or_constructor_check,
13206         expr_check): Delete.
13207         * varray.c (varray_check_failed): New function.
13208         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
13209         _fatal_insn and _fatal_insn_not_found.  Go through
13210         fancy_abort.
13211         (trim_filename, fancy_abort): Delete.
13212
13213         * builtins.c (expand_builtin_args_info): Report ICE with abort.
13214         * except.c (start_catch_handler): Report ICE with error/abort
13215         combo.
13216         * final.c (output_operand_lossage): Likewise.
13217         * flow.c (verify_flow_info): Likewise.
13218
13219         * gcc.c: Prototype fatal.
13220         * gengenrtl.c: Undef abort after including rtl.h not system.h.
13221         * genattr.c, genattrtab.c, genemit.c, genextract.c,
13222         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
13223         Don't define fancy_abort.
13224
13225 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
13226
13227         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
13228         canonization.
13229
13230 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
13231
13232         * m88k.h (VERSION_INFO2): Kill.
13233         (VERSION_STRING): Kill.
13234         (TM_RCS_ID): Kill.
13235         (VERSION_INFO1): Tidy.
13236         (TARGET_VERSION): Update.
13237         * m88k/dgux.h (VERSION_INFO2): Kill.
13238         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
13239         * m88k/luna.h (VERSION_INFO1): Tidy.
13240         * m88k/sysv4.h (VERSION_INFO1): Likewise.
13241         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
13242         (output_file_start): Adjust for death of VERSION_STRING.
13243
13244 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
13245
13246         * cpplib.c (detect_if_not_defined): New function.
13247         (do_if): Use it to detect potential once-only headers.
13248
13249 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
13250
13251         * c-common.c (combine_strings): Always set TREE_CONSTANT.
13252
13253 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
13254
13255         * combine.c (nonzero_bits) : Allow single-ly set registers to be
13256         anywere in the function only if they are pseudos and set before
13257         being used (not live at the start of the function).
13258         (num_sign_bit_copies) : Same.
13259         (get_last_value_validate) : Same.
13260         (get_last_value) : Same.
13261
13262 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
13263
13264         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
13265         where N and M are constant and N is an integer multiple of M.
13266
13267 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13268
13269         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
13270         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
13271         sbitmap_union_of_preds): Add prototypes.
13272         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
13273         the intersection of successors with the new flow graph structures.
13274         (sbitmap_intersection_of_preds): New function to compute the
13275         intersection of predecessors with the new flow graph structures.
13276         (sbitmap_union_of_succs): New function to compute the union of
13277         successors with the new flow graph structures.
13278         (sbitmap_union_of_preds): New function to compute the union of
13279         predecessors with the new flow graph structures.
13280         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
13281         (expr_reaches_here_p): Use edge and basic_block structures instead
13282         of s_preds and s_succs.
13283         (compute_cprop_avinout): Use new sbitmap routines.
13284         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
13285         of s_preds and s_succs.
13286         * flow.c (compute_flow_dominators): Compute dominators using
13287         edges and basic blocks instead of s_preds and s_succs.
13288
13289 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13290
13291         * lists.c (unused_insn_list, unused_expr_list): New file for
13292         maintaining various types of lists. New statics for maintaining a
13293         cache of available INSN_LIST and EXPR_LIST nodes.
13294         (free_list): Static function for freeing a list of INSN/EXPR nodes.
13295         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
13296         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
13297         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
13298         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
13299         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
13300         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
13301         (free_INSN_LIST_node): Free an individual INSN_LIST node.
13302         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
13303         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
13304         (remove_dependence, free_pending_lists): Use new global routines.
13305         (flush_pending_lists, sched_analyze_insn): Use new global routines.
13306         (sched_analyze, compute_block_backward_dependences): Use new routines.
13307         (sched_analyze_1, sched_analyze_2): Use new routines.
13308         (schedule_insns): Use new global routines.
13309         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
13310         prototypes.
13311         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
13312         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
13313         prototypes.
13314         * toplev.c (rest_of_compilation): Initialize node cache.
13315         * Makefile.in (OBJS): Add lists.o to list of object files.
13316         (lists.o): Add dependancies.
13317
13318 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
13319
13320         * config/v850/v850.md: Fix compile time warning messages.
13321         * config/v850/v850.c: Fix compile time warning messages.
13322         * config/v850/v850.h: Fix compile time warning messages.
13323
13324 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13325
13326         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
13327         Remove unused prototype for `init_lengths'.
13328
13329 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13330
13331         * calls.c (emit_call_1): Mark parameter `stack_size' with
13332         ATTRIBUTE_UNUSED.
13333         (expand_call): Initialize variable `insn'.
13334         (emit_library_call): Likewise for variable `high_to_save'.
13335         (emit_library_call_value): Likewise.
13336         (store_one_arg): Likewise for variables `lower_bound' and
13337         `upper_bound'.
13338
13339         * combine.c (try_combine): Likewise for variables `i2_code_number'
13340         and `other_code_number'.
13341         (find_split_point): Likewise for variables `pos', `unsignedp' and
13342         `inner'.
13343         (simplify_if_then_else): Likewise for variables `op' and `c1'.
13344         (simplify_and_const_int): Remove unused variable `width'.
13345         (merge_outer_ops): Likewise.
13346
13347         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
13348         HOST_WIDE_INT' when comparing against one.
13349         (simplify_relational_operation): Likewise.
13350         (cse_insn): Initialize variables `src_eqv_volatile',
13351         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
13352
13353         * final.c (init_final): Constify parameter `filename'.
13354         (final_start_function): Mark parameter `optimize' with
13355         ATTRIBUTE_UNUSED.
13356         (profile_function): Likewise for parameters `first' and `optimize'.
13357         (output_source_line): Likewise for parameter `file'.
13358
13359         * integrate.c (subst_constants): Cast a value to `size_t' when
13360         comparing against one.
13361         (mark_stores): Initialize variable `mode'.  Cast a value to
13362         `size_t' when comparing against one.
13363
13364         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
13365
13366         * loop.c (move_movables): Initialize variable `first'.
13367         (strength_reduce): Likewise for variable `increment'.
13368         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
13369         value to `size_t' when comparing against one.
13370         (load_mems): Initialize variable `end_label'.
13371
13372         * output.h (init_final): Constify parameter.
13373
13374         * reload.c (decompose): Initialize variable `base'.
13375
13376         * reload1.c (reload): Likewise for variable `is_scalar'.
13377         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
13378         (choose_reload_regs): Initialize variable `mode'.
13379         (emit_reload_insns): Likewise for variable `store_insn'.
13380         (reload_cse_noop_set_p): Mark parameter `insn' with
13381         ATTRIBUTE_UNUSED.
13382         (reload_combine): Initialize variable `set'.
13383
13384         * unroll.c (unroll_loop): Likewise for variable `local_label'.
13385         (copy_loop_body): Cast a value to `size_t' when comparing against
13386         one.
13387
13388         * varasm.c (assemble_variable): Initialize variable `size_tree'.
13389         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
13390         (remove_from_pending_weak_list): Mark parameter `name' with
13391         ATTRIBUTE_UNUSED.
13392
13393 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13394
13395         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
13396         gcse dump file.
13397
13398 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
13399
13400         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
13401         (ASM_DECLARE_FUNCTION_NAME): Define.
13402         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
13403         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
13404         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
13405         not already defined.
13406
13407 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13408
13409         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
13410         of n_popped when call/call_value are not defined.
13411
13412 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
13413
13414         * tm.texi: GNU CC -> GCC conversion.
13415         (CC1_SPEC): Indicate it is used for all language front ends.
13416
13417 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
13418
13419         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
13420         NOTE_INSN_EH_REGION_END correctly.
13421
13422 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
13423                           Jeff Law <law@cygnus.com>
13424
13425         * loop.c (strength_reduce): Automatically unroll loops if the
13426         unrolled loop size is smaller than the rolled loop size.
13427
13428         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
13429         and delete comment that code should be rewritten.
13430
13431 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
13432
13433         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
13434         as reachable.
13435
13436         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
13437
13438 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13439
13440         * fixinc/mkfixinc.sh: Don't fix uwin headers.
13441         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
13442         (LINK_SPEC): Add -u _main when building executables.
13443         (ASM_DECLARE_FUNCTION): Update from Cygwin.
13444         (ASM_FILE_END): Use the default for ix86-pe.
13445         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
13446
13447 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
13448
13449         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
13450         and ASM_CLOSE_PAREN are empty strings.
13451
13452 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
13453                           Geoffrey Keating <geoffk@cygnus.com>
13454
13455         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
13456         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
13457         (unprotoize.o): Ditto.
13458         (test-protoize-simple): Don't define STD_PROTO_DIR.
13459         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
13460         changes to make 'test-protoize-simple' pass.
13461         (STD_PROTO_DIR): Remove define.
13462         (STANDARD_EXEC_PREFIX): Supply default define.
13463         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
13464         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
13465         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
13466         (GET_ENV_PATH_LIST): New macro.
13467         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
13468         (do_processing): Initialize default_syscalls_dir using new
13469         macros.  Use it to initialize syscalls_absolute_filename.
13470
13471 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
13472
13473         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
13474         B into a register before emit_conditional_move.
13475
13476 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
13477
13478         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
13479         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
13480         multiplicand out of (+ (* a b) (* c d)).
13481
13482 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
13483                           Richard Henderson  <rth@cygnus.com>
13484
13485         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
13486         (new_insn_dead_notes): Likewise.
13487         (update_n_sets): Likewise.
13488         (update_flow_info): Move to flow.c, renamed to update_life_info;
13489         extend to handle multiple source insns.
13490         * flow.c: Include resource.h
13491         (unlink_insn_chain): New.
13492         (split_hard_reg_notes): New.
13493         (maybe_add_dead_note): New.
13494         (maybe_add_dead_note_use): New.
13495         (find_insn_with_note): New.
13496         (new_insn_dead_notes): New.
13497         (update_n_sets): New.
13498         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
13499         (maybe_remove_dead_notes): New.
13500         (update_life_info): New.
13501         (prepend_reg_notes): New.
13502         (replace_insns): New.
13503         * output.h (update_life_info): Declare.
13504         * recog.c (split_block_insns): Use update_life_info.
13505         * resource.c (find_free_register): Use reg_alloc_order, don't use
13506         fixed regs, make sure the mode is supported, don't use new regs.
13507         (reg_dead_p): New.
13508         * rtl.h (replace_insns): Declare.
13509
13510 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
13511
13512         * expr.c (expand_expr): Cope with COND_EXPRs with one
13513         non-returning branch.
13514
13515 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
13516
13517         * expr.c (store_expr): Always pass down the target, even when not
13518         doing CSE.
13519
13520 1999-08-24  Nick Clifton  <nickc@cygnus.com>
13521
13522         * configure.in: Define target_cpu_default for v850 targets.
13523         * configure: Regenerate
13524
13525         * config/v850/v850.h (TARGET_CPU_generic): Define.
13526         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
13527         addresses are 4 byte aligned.
13528
13529         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
13530         addresses.
13531
13532 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13533
13534         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
13535         (main): Add prototypes.
13536
13537         * genattrtab.c (substitute_address, write_const_num_delay_slots,
13538         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
13539         (write_attr_get): Emit prototypes along with function definition.
13540         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
13541         (write_complex_function): Emit static prototype along with
13542         function definition.
13543
13544         * genemit.c (gen_split): Emit prototypes along with function
13545         definition.
13546
13547         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
13548         Likewise for predicates and `insn_operand_predicate'.
13549         (process_template): Emit static prototype along with function
13550         definition.
13551
13552         * genrecog.c (make_insn_sequence): Constify a char*.  Add
13553         prototypes for get_split_*().
13554         (write_subroutine): Emit prototypes along with function
13555         definition.
13556
13557 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13558
13559         * gcse.c (find_avail_set): Follow chains of register-register copies.
13560         Use oprs_not_set_p to guarantee that the returned value can be
13561         substituted.
13562         (cprop_insn): Don't verify the return value of find_avail_set with
13563         oprs_not_set_p.
13564
13565         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
13566         (cprop_cc0_jump): New function.
13567         (cprop_insn): Break out new function cprop_jump and use it.
13568         Also use cprop_cc0_jump for machines with CC0.
13569         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
13570
13571         * tree.h (current_function_calls_setjmp,
13572         current_function_calls_longjmp): Delete declarations.
13573         * dsp16xx.c: Include "function.h".
13574         * elxsi.c: Likewise.
13575         * gmicro.c: Likewise.
13576         * h8300.c: Likewise.
13577         * i370.c: Likewise.
13578         * m32r.c: Likewise.
13579         * mn10200.c: Likewise.
13580         * mn10300.c: Likewise.
13581         * ns32k.c: Likewise.
13582         * spur.c: Likewise.
13583         * v850.c: Likewise.
13584
13585         * rtl.h (rtx_equal_function_value_matters): Declare.
13586         * toplev.c (rtx_equal_function_value_matters): Don't declare.
13587         * cse.c: Likewise.
13588         * function.c: Likewise.
13589         * emit-rtl.c: Likewise.
13590
13591 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
13592
13593         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
13594         call.
13595
13596 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13597
13598         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
13599         exactly.
13600
13601 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
13602
13603         * cpp.texi: Add a node documenting macro varargs (copied
13604         from extend.texi).
13605
13606 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
13607
13608         * cppspec.c: Put a null pointer at the end of the new argv.
13609
13610 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
13611
13612         * configure.in: Remove code to select/de-select the haifa
13613         scheduler.  Every scheduled port gets haifa now.
13614         * configure: Rebuilt.
13615         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
13616         * sched.c Deleted.
13617         * Makefile.in: Corresponding changes.
13618
13619 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13620
13621         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
13622         All callers changed.
13623         (prepare_float_lib_cmp): Likewise.
13624         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
13625         * expr.h (emit_float_lib_cmp): Delete declaration.
13626         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
13627         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
13628         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
13629         specially.
13630         (cmptf): Now conditional on TARGET_HARD_QUAD.
13631
13632 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
13633
13634         * resource.c (mark_target_live_regs): Use
13635         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
13636
13637 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13638
13639         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
13640
13641         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
13642
13643         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
13644
13645 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13646
13647         * rtl.h (rtx_format): Constify a char*.
13648
13649         * rtl.c (rtx_format): Likewise.
13650         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
13651         (init_rtl): Use accessor macro, not `rtx_format'.
13652
13653         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
13654         char*.
13655
13656         * caller-save.c (mark_referenced_regs): Likewise.
13657
13658         * combine.c (subst, make_compound_operation, known_cond,
13659         gen_rtx_combine, update_table_tick, get_last_value_validate,
13660         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
13661
13662         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
13663         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
13664         count_reg_usage): Likewise.
13665
13666         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
13667         Likewise.
13668
13669         * final.c (leaf_renumber_regs_insn): Likewise.
13670
13671         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
13672         dump_edge_info, count_reg_references): Likewise.
13673
13674         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
13675         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
13676         Likewise.
13677
13678         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
13679         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
13680         add_label_notes): Likewise.
13681
13682         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
13683         clear_struct_flag, count_sub_rtxs, count_alternatives,
13684         compares_alternatives_p, contained_in_p, walk_attr_value,
13685         write_expr_attr_cache): Likewise.
13686
13687         * genconfig.c (walk_insn_part): Likewise.
13688
13689         * genemit.c (max_operand_1, gen_exp): Likewise.
13690
13691         * genextract.c (walk_rtx): Likewise.
13692
13693         * genflags.c (num_operands): Likewise.
13694
13695         * genoutput.c (scan_operands): Likewise.
13696
13697         * genpeep.c (match_rtx): Likewise.
13698
13699         * genrecog.c (add_to_sequence): Likewise.
13700
13701         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
13702         Likewise.
13703
13704         * integrate.c (save_constants, copy_for_inline,
13705         copy_rtx_and_substitute, subst_constants, restore_constants):
13706         Likewise.
13707
13708         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
13709         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
13710
13711         * local-alloc.c (contains_replace_regs, memref_referenced_p):
13712         Likewise.
13713
13714         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
13715         add_label_notes, replace_call_address, count_nonfixed_reads,
13716         invariant_p, find_single_use_in_loop, find_mem_givs,
13717         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
13718         Likewise.
13719
13720         * print-rtl.c (reg_names, print_rtx): Likewise.
13721
13722         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
13723
13724         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
13725         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
13726         print_blocks): Likewise.
13727
13728         * regclass.c (fix_register, record_address_regs,
13729         reg_scan_mark_refs): Likewise.
13730
13731         * regmove.c (stable_but_for_p): Likewise.
13732
13733         * reload.c (loc_mentioned_in_p, operands_match_p,
13734         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
13735         copy_replacements, refers_to_regno_for_reload_p,
13736         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
13737         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
13738         Likewise.
13739
13740         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
13741         delete_address_reloads_1, count_occurrences,
13742         reload_cse_mem_conflict_p, reload_combine_note_use,
13743         add_auto_inc_notes): Likewise.
13744
13745         * resource.c (mark_referenced_resources, mark_set_resources):
13746         Likewise.
13747
13748         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
13749         reg_mentioned_p, regs_set_between_p, modified_between_p,
13750         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
13751         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
13752         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
13753         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
13754
13755         * sched.c (sched_analyze_2, attach_deaths): Likewise.
13756
13757         * stupid.c (stupid_mark_refs): Likewise.
13758
13759         * unroll.c (remap_split_bivs): Likewise.
13760
13761         * varasm.c (mark_constants): Likewise.
13762
13763         * a29k/a29k.c (uses_local_reg_p): Likewise.
13764
13765         * alpha/alpha.c (summarize_insn): Likewise.
13766
13767         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
13768         eliminate_lr2ip): Likewise.
13769
13770         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
13771
13772         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
13773         reg_mentioned_in_mem): Likewise.
13774
13775         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
13776         symbolic_reference_mentioned_p): Likewise.
13777
13778         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
13779
13780         * sh/sh.c (regs_used, mark_use): Likewise.
13781
13782         * vax/vax.c (vax_rtx_cost): Likewise.
13783
13784 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13785
13786         * machmode.h (mode_name): Constify a char*.
13787
13788         * rtl.c (mode_name): Likewise.
13789
13790         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
13791
13792         * optabs.c (init_libfuncs): Constify a char*.
13793
13794         * print-tree.c (mode_name): Remove redundant declaration.
13795         (print_node): Use accessor macro, not `mode_name'.
13796
13797         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
13798         not `mode_name'.
13799         (new_spill_reg): Constify a char*.
13800
13801         * tree.c (mode_name): Remove redundant declaration.
13802
13803 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13804
13805         * rtl.c (rtx_name): Constify a char*.
13806
13807         * rtl.h (rtx_name, fix_sched_param): Likewise.
13808
13809         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
13810         (mypr): Use accessor macro, not `rtx_name'.
13811
13812         * genemit.c (print_code): Constify a char*.
13813
13814         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
13815
13816         * genpeep.c (print_code): Constify a char*.
13817
13818         * genrecog.c (print_code): Likewise.
13819
13820         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
13821         end_bb): Add static prototype.
13822         (draw_edge): Constify a char*.
13823         (end_bb): Remove unused parameter.
13824
13825         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
13826         print_block_visualization): Constify a char*.
13827
13828 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
13829
13830         * c-common.c (c_get_alias_set): Update comment.
13831
13832 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
13833
13834         * linux.h (LIB_SPEC): Added.
13835
13836 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13837
13838         * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
13839
13840 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
13841
13842         * tree.c (expr_check): Fix typo in last change.
13843
13844 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
13845
13846         * rtl.def (NOTE): Change format to "iuu0n".
13847         (ADDR_DIFF_VEC): Change format to "eEee0".
13848         (ADDRESSOF): Change format to "eit".
13849
13850         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
13851         (RTVEC_ELT): Change to match.
13852         (XVECEXP): Use XVEC and RTVEC_ELT.
13853         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
13854         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
13855         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
13856         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
13857         TRAP_CONDITION, TRAP_CODE): Use XEXP.
13858         (INTVAL): Use XWINT.
13859         (ADDRESSOF_DECL): Use XTREE.
13860         (SET_ADDRESSOF_DECL): Delete.
13861         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
13862         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
13863         ifdefed out since 2.6 at least.
13864         (gen_rtvec_vv): Delete prototype.
13865
13866         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
13867         not rtunion.
13868         (copy_most_rtx): Handle 't' format letter.
13869         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
13870         (gen_rtvec_vv): Delete function.  All callers changed to use
13871         gen_rtvec_v instead.
13872         * print-rtl.c (print_rtx): Move special casing of NOTEs to
13873         the '0' format letter.
13874
13875         * function.c (gen_mem_addressof): Don't use
13876         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
13877         instead.
13878         * integrate.c (copy_rtx_and_substitute): Likewise.
13879         Copy 't' slots with XTREE.
13880         (subst_constants): Treat 't' slots like '[swi]' slots.
13881         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
13882         * jump.c (rtx_equal_for_thread_p): Likewise.
13883         * rtlanal.c (rtx_equal_p): Likewise.
13884         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
13885         only four arguments.
13886         * gengenrtl.c (type_from_format): Provide correct types for
13887         'b' and 't' slots.
13888
13889
13890         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
13891         If a recent gcc is in use (always in stage2 and beyond), use
13892         statement expressions, so we don't make a function call unless
13893         the check fails.  Evaluate arguments exactly once.
13894         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
13895         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
13896         Delete.
13897         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
13898         they evaluate their arguments exactly once, irrespective of
13899         the compiler in use.
13900
13901         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
13902         is used by the currently-enabled check macros.  This is:
13903         (tree_check_failed, tree_class_check_failed): For gcc.
13904         (tree_check, tree_class_check, cst_or_constructor_check,
13905         expr_check): For other compilers.
13906
13907         * gencheck.c: Do not define any *_CHECK1 macros.
13908
13909 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
13910                           Mark Mitchell <mark@codesourcery.com>
13911
13912         * c-common.c (c_get_alias_set): Fix support for poitners and
13913         references.
13914
13915 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
13916
13917         * alias.c: Include tree.h.
13918         (nonlocal_reference_p, mark_constant_function): New functions.
13919         * flow.c (life_analysis): Call mark_constant_function.
13920         * rtl.h (mark_constant_function): Declare it.
13921
13922 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
13923
13924         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
13925         unrecognisable switches.
13926
13927 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13928
13929         * loop.c (recombine_givs): Set ix field after sorting.
13930         (recombine_givs): Remove bogus index / giv lockstep looping.
13931
13932 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13933
13934         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
13935         on CODE.
13936         (emit_store_flag_force): Use do_compare_rtx_and_jump.
13937         (do_cmp_and_jump): Formatting fixes.
13938         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
13939         do_compare_rtx_and_jump instead of compare_from_rtx.
13940         (do_compare_rtx_and_jump): New function; mostly copied from
13941         compare_from_rtx.
13942         (do_jump_for_compare): Delete.
13943         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
13944         MIN_EXPR.
13945         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
13946         of compare/do_jump_for_compare pairs.
13947         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
13948         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
13949         compare_from_rtx/do_jump_for_compare pairs.
13950         (do_jump_by_parts_equality): Likewise.
13951         (do_jump_by_parts_equality_rtx): Likewise.
13952         * expr.h (do_compare_rtx_and_jump): Declare.
13953         * optabs.c (prepare_cmp_insn): New function, contains most of the code
13954         that used to be in emit_cmp_insn.
13955         (cmp_available_p): New function.
13956         (prepare_operand): New function.
13957         (emit_cmp_and_jump_insn_1): New function, contains some code that used
13958         to be in emit_cmp_insn.
13959         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
13960         parameters to be pointers; don't emit final compare but modify some of
13961         the values pointed to by the args so the caller can perform the
13962         correct comparison.
13963         (expand_binop): Call emit_store_flag_force with signed forms of
13964         comparison code.
13965         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
13966         emit_jump_insn pair.
13967         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
13968         emit_cmp_and_jump_insn_1.  Call emit_queue.
13969         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
13970         arg.
13971         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
13972         jump sets cc0 before deleting it.
13973         * integrate.c (expand_inline_function): Likewise.
13974         * unroll.c (unroll_loop): Similar changes in several places.
13975         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
13976         before deleting it.
13977
13978 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13979
13980         * Makefile.in (insn-recog.o): Update dependencies.
13981         * genrecog.c (main): Make generated file include "function.h".
13982
13983 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
13984
13985         * cse.c (cse_insn): Call never_reached_warning when a jump is
13986         changed to be unconditional.
13987         * flags.h: Declare warn_notreached.
13988         * flow.c (delete_block): Call never_reached_warning when
13989         a block is deleted.
13990         * jump.c (delete_barrier_successors): Call never_reached_warning
13991         when we delete everything after a BARRIER.
13992         (never_reached_warning): New function.
13993         * rtl.h: Declare never_reached_warning.
13994         * toplev.c (warn_notreached): New variable.
13995         (lang_independent_options): Set warn_notreached
13996         when -Wunreachable-code.
13997         (compile_file): We need line numbers for -Wunreachable-code.
13998
13999 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
14000
14001         * haifa-sched.c (insn_unit): Fix typo on out of range test.
14002         * sched.c (insn_unit): Likewise.
14003
14004 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
14005
14006         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
14007
14008 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
14009
14010         * flow.c (create_edge_list): Use xmalloc, not malloc.
14011
14012 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
14013
14014         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
14015         C-style comments.  Do not lose the character before double slash.
14016
14017 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
14018
14019         * basic-block.h (struct edge_list): Stucture to maintain a vector
14020         of edges.
14021         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
14022          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
14023         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
14024         New function prototypes.
14025         * flow.c (create_edge_list): Function to create an edge list.
14026         (free_edge_list): Discards memory used by an edge list.
14027         (print_edge_list): Debug output showing an edge list.
14028         (verify_edge_list): Internal consistency check for an edge list.
14029         (find_edge_index): Function to find an edge index for a pred and succ.
14030
14031 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
14032
14033         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
14034         hashtable.
14035
14036 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
14037
14038         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
14039
14040 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
14041
14042         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
14043
14044 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
14045
14046         * toplev.c (rest_of_compilation): Allow machine dependent
14047         reorganisation pass to place information into the RTL dump
14048         file if it so wishes.
14049
14050 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
14051
14052         * explow.c (hard_function_value): Use VOIDmode instead of
14053         MAX_MACHINE_MODE.
14054         * stmt.c (expand_return): Likewise.
14055         * stor-layout.c (get_best_mode): Likewise.
14056
14057         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
14058         emit call instead of emit_insn call.
14059
14060 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
14061
14062         * configure.in: Handle --disable/enable-win32-registry.
14063         * install.texi: Document --disable/enable-win32-registry.
14064         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
14065         (WIN32_REGISTRY_KEY): New macro.
14066         * prefix.c: Use to enable/disable win32-specific code.
14067         (lookup_key): Use versioned key.
14068         * configure: Regenerate.
14069         * config.in: Likewise.
14070
14071 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
14072
14073         * cpplib.c (read_line_number): New fn, split out of...
14074         (do_line): Here.
14075
14076 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14077
14078         tree.c (lang_unsave_expr_now) : New.
14079         (unsave_expr_now): Call lang_unsave_expr_now.
14080         tree.h (lang_unsave_expr_now) : New.
14081
14082 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
14083
14084         * toplev.c (flag_new_exceptions): On by default.
14085
14086 1999-08-13  Michael Meissner  <meissner@cygnus.com>
14087
14088         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
14089
14090 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
14091
14092         * dwarfout.c (fundamental_type_code): Return FT_boolean for
14093         INTEGER_TYPE with precision==1, it's __java_boolean.
14094
14095 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14096
14097         * global.c (prune_preferences): Move some invariants out of the
14098         inner loop.
14099
14100 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
14101
14102         * configure.in (alpha*-dec-osf*): Add osf5.
14103
14104 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
14105
14106         * configure.in: Rework handling of ARM GNU/Linux slightly.
14107         (arm*-*-linux-gnuoldld): New target.
14108         * configure: Regenerate.
14109         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
14110         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
14111         * config/arm/linux-oldld.h: New file.
14112         * config/arm/linux-elf26.h: Don't include linux-elf.h.
14113         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
14114         Don't define.
14115         * config/arm/linux-elf.h (ASM_SPEC): Define.
14116         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
14117         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
14118         for 26-bit APCS and old linker.
14119         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
14120         `arm_elf'.
14121         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
14122         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
14123         don't define `arm' or `arm_elf'.
14124         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
14125         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
14126
14127 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
14128
14129         * rtl.texi: Fix typo.
14130
14131 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
14132
14133         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
14134
14135 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
14136
14137         * extend.texi (C++ Signatures): Remove node.
14138         * invoke.texi: Remove discussion of -fhandle-signatures,
14139         signature, sigof, __signature__, and __sigof__.
14140
14141 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
14142
14143         * Makefile.in (JAVAGC): Removed.
14144
14145 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
14146
14147         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
14148
14149 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
14150
14151         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
14152
14153 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
14154
14155         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
14156         a register that is already known to be a pointer.
14157
14158 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
14159
14160         * fixinc/inclhack.tpl: Only install assert.h conditionally.
14161         * fixinc/inclhack.sh: Regenerated.
14162         * fixinc/fixincl.sh: Regenerated.
14163
14164 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
14165
14166         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
14167         Fix documentation of -ansi flag to describe its C++ behavior.
14168         Remove bogus reference to GCC 2.9.
14169
14170 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
14171
14172         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
14173         note if it is non-NULL.
14174
14175 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
14176
14177         * except.h (eh_nesting_info): Add new structure defintion.
14178         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
14179         (reachable_handlers, update_rethrow_references): Add function
14180         prototypes.
14181         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
14182         a rethrow symbol instead of an integer exception region number.
14183         * flow.c (Make_edges): Use new exception nesting routines to determine
14184         which handlers are reachable from a CALL or asynchronous insn.
14185         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
14186         goto receivers.
14187         (delete_eh_regions): Update rethrow labels, and don't delete
14188         regions which are the target of a rethrow.
14189         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
14190         avoid overloading the SYMBOL_REF_USED flag.
14191         (rethrow_symbol_map): Use new rethrow_ref field.
14192         (rethrow_used): Use new rethrow_ref field.
14193         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
14194         of an integer.  Fix formatting.
14195         (output_exception_table_entry): Use new rethrow_ref field.
14196         (can_throw): Check for EH_REGION_NOTE before deciding
14197         whether a CALL can throw or not.
14198         (scan_region): Call rethrow_used() instead of accessing data structure.
14199         (update_rethrow_references): New function to make sure only regions
14200         which are still targets of a rethrow are flagged as such.
14201         (process_nestinfo): New static function to initialize a handler
14202         list for a specific region.
14203         (init_eh_nesting_info): New function to allocate and initialize
14204         the list of all EH handlers reachable from all regions.
14205         (reachable_handlers): New function to retrieve the list of handlers
14206         reachable from a specific region and insn.
14207         (free_eh_nesting_info): New function to dispose of a list of
14208         reachable handlers.
14209
14210 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
14211
14212         * flow.c (split_edge): Set JUMP_LABEL field.
14213         (commit_one_edge_insertion): Set head correctly for insert_before.
14214         When inserting insns, update insn block numbers if allocated.
14215
14216 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14217
14218         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
14219         retry_incomplete_types): Add static prototype.
14220         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
14221         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
14222         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
14223         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
14224         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
14225         Constify a char*.
14226
14227         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
14228         dwarf2out_start_source_file, dwarf2out_line): Likewise.
14229
14230 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14231
14232         * output.h (assemble_name): Constify a char*.
14233
14234         * varasm.c (UNIQUE_SECTION, assemble_start_function,
14235         assemble_variable, assemble_name): Likewise.
14236
14237         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
14238
14239         * arm/pe.c (arm_pe_unique_section): Likewise.
14240
14241         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
14242
14243         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
14244
14245         * i386/interix.c (i386_pe_unique_section): Likewise.
14246
14247         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
14248
14249         * i386/winnt.c (i386_pe_unique_section): Likewise.
14250
14251         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
14252
14253         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
14254
14255         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
14256
14257         * pa/pa.c (output_call): Likewise.
14258
14259         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
14260
14261         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
14262
14263         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
14264         Likewise.
14265
14266         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
14267         Likewise.
14268
14269         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
14270
14271         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
14272         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
14273
14274         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
14275
14276 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14277
14278         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
14279
14280 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14281
14282         * tree.h (lang_identify): Constify a char*.
14283         (print_error_function): Add extern prototype.  Constify a char*.
14284
14285         * c-lang.c (lang_identify): Constify a char*.
14286
14287         * objc/objc-act.c (lang_identify): Constify a char*.
14288
14289 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14290
14291         * genpeep.c (main): Make generated file include "function.h".
14292         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
14293
14294 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14295
14296         * Makefile.in: Update dependencies.
14297         * alias.c: Include "function.h"
14298         * c-decl.c: Likewise.
14299         * caller-save.c: Likewise.
14300         * calls.c: Likewise.
14301         * combine.c: Likewise.
14302         * cse.c: Likewise.
14303         * explow.c: Likewise.
14304         * final.c: Likewise.
14305         * global.c: Likewise.
14306         * graph.c: Likewise.
14307         * local-alloc.c: Likewise.
14308         * loop.c: Likewise.
14309         * optabs.c: Likewise.
14310         * profile.c: Likewise.
14311         * recog.c: Likewise.
14312         * regclass.c: Likewise.
14313         * regmove.c: Likewise.
14314         * reload.c: Likewise.
14315         * reorg.c: Likewise.
14316         * resource.c: Likewise.
14317         * sched.c: Likewise.
14318         * stupid.c: Likewise.
14319         * config/1750a/1750a.c: Likewise.
14320         * config/a29k/a29k.c: Likewise.
14321         * config/arc/arc.c: Likewise.
14322         * config/arm/arm.c: Likewise.
14323         * config/arm/thumb.c: Likewise.
14324         * config/c4x/c4x.c: Likewise.
14325         * config/clipper/clipper.c: Likewise.
14326         * config/convex/convex.c: Likewise.
14327         * config/fx80/fx80.c: Likewise.
14328         * config/i860/i860.c: Likewise.
14329         * config/m68k/m68k.c: Likewise.
14330         * config/m88k/m88k.c: Likewise.
14331         * config/mips/mips.c: Likewise.
14332         * config/pdp11/pdp11.c: Likewise.
14333         * config/pyr/pyr.c: Likewise.
14334         * config/romp/romp.c: Likewise.
14335         * config/sh/sh.c: Likewise.
14336         * config/tahoe/tahoe.c: Likewise.
14337         * config/vax/vax.c: Likewise.
14338         * config/we32k/we32k.c: Likewise.
14339         * config/sparc/sparc.c: Include "function.h".
14340         (mem_min_alignment): Test current_function rather than
14341         regno_pointer_align.
14342         * config/pa/pa.c: Likewise.
14343         (compute_frame_size): Delete declaration of
14344         current_function_outgoing_args_size.
14345         * config/arc/arc.h (current_function_varargs): Delete declaration.
14346         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
14347         declaration.
14348         * config/i370/i370.h (current_function_outgoing_args_size): Delete
14349         declaration.
14350         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
14351         current_function_uses_pic_offset_table.
14352         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
14353         of current_function_returns_pointer.
14354         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14355         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14356         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14357         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14358         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14359         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14360         * config/m88k/m88k.c: Include "function.h"
14361         (call_used_regs, current_function_pretend_args_size,
14362         current_function_outgoing_args_size, frame_pointer_needed): Delete
14363         declarations.
14364         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
14365         declaration.
14366         * config/mips/mips.h (current_function_calls_alloca): Delete
14367         declaration.
14368         * config/mn10200/mn10200.h (current_function_needs_context,
14369         rtx_equal_function_value_matters): Delete declarations.
14370         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
14371         flag_pic): Delete declarations.
14372         * config/pa/pa.h (current_function_pretend_args_size,
14373         current_function_decl): Delete declarations.
14374         * config/pa/som.h (current_function_varargs): Delete declaration.
14375         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
14376         declaration.
14377         * config/pyr/pyr.h (current_function_pretend_args_size,
14378         current_function_args_size, current_function_calls_alloca): Delete
14379         declarations.
14380         * config/sh/sh.h (current_function_varargs): Delete declaration.
14381         * config/sparc/sparc.h (current_function_outgoing_args_size,
14382         current_function_calls_alloca, current_function_decl): Delete
14383         declarations.
14384         * config/spur/spur.h (current_function_pretend_args_size,
14385         current_function_calls_alloca): Delete declarations.
14386         * config/v850/v850.c (current_function_outgoing_args_size): Delete
14387         declaration.
14388         * config/vax/vms.h (current_function_name): Delete declaration.
14389         * gcse.c: Include "function.h".
14390         (current_function_name, current_function_calls_setjmp): Delete
14391         declarations.
14392         * haifa-sched.c: Include "function.h".
14393         (forced_labels): Delete declaration.
14394         * jump.c: Likewise.
14395         * reg-stack.c: Likewise.
14396         * reload1.c: Likewise.
14397         * genemit.c (main): Make generated file include function.h.
14398         * genoutput.c (output_prologue): Likewise.
14399
14400         * builtins.c (saveregs_value, apply_args_value): Delete variables.
14401         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
14402         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
14403         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
14404         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
14405         macros for some of them.
14406         (emit_filename, emit_lineno): Delete declarations.
14407         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
14408         regno_pointer_* variables through current_function.
14409         (gen_inline_header_rtx): Delete function.
14410         (save_emit_status): Delete function.
14411         (set_new_last_label_num): New function.
14412         (clear_emit_caches): New function.
14413         (restore_emit_status): Just clear last_labelnum and call
14414         clear_emit_caches.
14415         (get_last_insn_anywhere): Variable sequence_stack is now accessed
14416         through macro seq_stack.
14417         (add_insn_after): Likewise.
14418         (add_insn_before): Likewise.
14419         (remove_insn): Likewise.
14420         (pop_topmost_sequence): Likewise.
14421         (in_sequence_p): Likewise.
14422         (start_sequence_for_rtl_expr): Likewise.
14423         (start_sequence): Likewise, and likewise for
14424         sequence_rtl_expr/seq_rtl_expr.
14425         (push_topmost_sequence): Likewise.
14426         (end_sequence): Likewise.
14427         (init_virtual_regs): Now takes a "struct emit_status *" argument.
14428         All callers changed.  Store into that pointer instead of globals.
14429         (init_emit): Allocate emit elt of current_function.
14430         Changes for sequence_rtl_expr/sequence_stack renaming.
14431         Call clear_emit_caches instead of doing it in-line.
14432         Access regno_pointer_* variables through current_function.
14433         (init_emit_once) Don't clear sequence_stack.
14434
14435         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
14436         Delete variables.
14437         (arg_pointer_save_area): Delete declaration.
14438         (finish_expr_for_function): Renamed from init_queue; no longer static.
14439         (init_expr): Don't call init_queue.
14440         (save_expr_status, restore_expr_status): Delete functions.
14441         (expand_expr): Changes to reflect new layout of struct function.
14442         Don't access current_function_check_memory_usage when current_function
14443         is 0.
14444         * expr.h (forced_labels, save_expr_regs, saveregs_value,
14445         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
14446         current_function_outgoing_args_size, current_function_arg_offset_rtx,
14447         current_function_uses_const_pool, function_call_count,
14448         current_function_uses_pic_offset_table, nonlocal_labels,
14449         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
14450         current_function_check_memory_usage, nonlocal_goto_handler_slots,
14451         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
14452         declarations.
14453         (finish_expr_for_function): Declare.
14454         * flags.h (current_function_has_nonlocal_label,
14455         current_function_has_nonlocal_goto, current_function_is_thunk,
14456         current_function_has_computed_jump): Delete declarations.
14457         * flow.c (forced_labels): Delete declaration.
14458         * function.c (current_function_pops_args,
14459         current_function_returns_struct, current_function_returns_pcc_struct,
14460         current_function_needs_context, current_function_calls_setjmp,
14461         current_function_calls_longjmp, current_function_has_nonlocal_label,
14462         current_function_has_nonlocal_goto, current_function_is_thunk,
14463         current_function_has_computed_jump, current_function_calls_alloca,
14464         current_function_contains_functions, current_function_returns_pointer,
14465         current_function_epilogue_delay_list, current_function_args_size,
14466         current_function_pretend_args_size, current_function_arg_offset_rtx,
14467         current_function_outgoing_args_size, current_function_varargs,
14468         current_function_stdarg, current_function_args_info, cleanup_label,
14469         current_function_name, current_function_uses_const_pool,
14470         current_function_instrument_entry_exit, current_function_return_rtx,
14471         current_function_uses_pic_offset_table, nonlocal_labels,
14472         current_function_internal_arg_pointer, current_function_cannot_inline,
14473         current_function_check_memory_usage, function_call_count,
14474         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
14475         nonlocal_goto_stack_level, return_label, save_expr_regs,
14476         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
14477         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
14478         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
14479         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
14480         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
14481         Delete variables.
14482         (push_function_context_to): Don't save them.  Don't call
14483         save_storage_status, save_emit_status or save_expr_status.
14484         (pop_function_context_from): Don't restore them.  Don't call
14485         restore_storage_status or restore_expr_status.
14486         (get_func_frame_size): New function.
14487         (get_frame_size): Use it.
14488         (assign_outer_stack_local): Reflect some member name changes in struct
14489         function.
14490         (put_reg_into_stack): Likewise.
14491         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
14492         seq_rtl_expr.
14493         (fixup_var_refs): Likewise.
14494         (fix_lexical_addr): Likewise.
14495         (trampoline_address): Likewise.
14496         (prepare_function_start): Clear field inlinable of current_function.
14497         (init_function_for_compilation): New function.
14498         (expand_dummy_function_end): New function.
14499         (expand_function_end): Call finish_expr_for_function.
14500         * function.h (struct emit_status): New; fields moved here from struct
14501         function and from global variables.  Add accessor macros for some of
14502         the fields.
14503         (struct expr_status): Likewise.
14504         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
14505         (struct function): Add fields expr and emit, inlinable, inl_emit,
14506         original_arg_vector, original_decl_initial, inl_last_parm_insn,
14507         inl_max_label_num.  Add many comments.
14508         Add accessor macros for all elts of struct function that no longer
14509         have a global variable.
14510         (cleanup_label, return_label, frame_offset, tail_recursion_label,
14511         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
14512         stack_slot_list): Delete declarations.
14513         (get_func_frame_size): Declare.
14514         (save_expr_status, restore_expr_status, save_emit_status,
14515         save_storage_status, restore_storage_status): Delete declarations.
14516         (init_virtual_regs): Declare.
14517         * output.h (current_function_pops_args,
14518         current_function_returns_struct, current_function_returns_pcc_struct,
14519         current_function_needs_context, current_function_calls_setjmp,
14520         current_function_calls_longjmp, current_function_calls_alloca,
14521         current_function_has_nonlocal_label, current_function_varargs,
14522         current_function_has_computed_jump, current_function_returns_pointer,
14523         current_function_contains_functions, current_function_args_size,
14524         current_function_pretend_args_size, current_function_stdarg,
14525         current_function_outgoing_args_size, current_function_args_info,
14526         current_function_name, current_function_return_rtx,
14527         current_function_epilogue_delay_list,
14528         current_function_uses_const_pool, current_function_cannot_inline):
14529         Delete declarations.
14530         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
14531         regno_reg_rtx): Delete declaration.
14532         (REGNO_POINTER_FLAG): Delete macro.
14533         * stmt.c (expand_goto): Changes to reflect that some fields in struct
14534         function were renamed.
14535         * stor-layout.c (save_storage_status, restore_storage_status): Delete
14536         functions.
14537         * toplev.c: Include "function.h".
14538         (current_function_decl): Delete declaration.
14539         (compile_file): Call init_dummy_function_start and
14540         expand_dummy_function_end around some initializations that need to
14541         emit rtl.
14542         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
14543         Call init_function_for_compilation.
14544         * unroll.c: Include "function.h"
14545         (unroll_loop): Access regno_pointer_* variables through
14546         current_function.
14547
14548         * tree.h (struct tree_decl): Add elt f to saved_insns member.
14549         (DECL_SAVED_INSNS): use it.
14550         (expand_dummy_function_end): Declare.
14551         (init_function_for_compilation): Declare.
14552         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
14553         that it's no longer an INLINE_HEADER.
14554         (expand_call): Likewise.
14555         * integrate.c (finish_inline): Delete function.
14556         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
14557         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
14558         args.  Don't generate an INLINE_HEADER rtx, just return the arg
14559         vector.  All callers changed.
14560         (save_for_inline_copying):  Create a duplicate struct emit_status to
14561         hold the emit state for compiling the current function.  Use this and
14562         the other new fields in struct function that are for integration
14563         instead of an INLINE_HEADER.
14564         Use memcpy instead of bcopy.
14565         Store the current struct function in DECL_SAVED_INSNS of fndecl.
14566         (save_for_inline_nocopy): Similar changes, except no new emit_status
14567         is needed here.
14568         (expand_inline_function): Get information from function structure,
14569         not from an inline header rtx.
14570         (output_inline_function): Lose code to extract the necessary
14571         information from an inline header; simply put back the function
14572         structure into current_function.  Clear its inlinable elt.
14573         * rtl.def (INLINE_HEADER): Delete.
14574         * rtl.h: Delete all accessors for an INLINE_HEADER.
14575         (gen_inline_header_rtx): Delete declaration.
14576         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
14577         Delete declarations.
14578         (REGNO_POINTER_ALIGN): Delete.
14579         (clear_emit_caches): Declare.
14580         (set_new_last_label_num): Declare.
14581
14582 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
14583
14584         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
14585
14586         * except.c (expand_eh_region_start_for_decl): Always start a new block.
14587         * stmt.c (is_eh_region): Make sure current_function is present, too.
14588
14589 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
14590
14591         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
14592         for 64bit PA targets.
14593
14594         * pa.h (SELECT_SECTION): Define.
14595         * som.h (SELECT_SECTION): Delete.
14596
14597 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14598
14599         * alias.c (init_alias_analysis): Wrap call to
14600         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
14601
14602 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
14603
14604         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
14605         <sys/asm.h> contains an asm comment with an apostrophe
14606         * fixinc/inclhack.sh:  regen
14607         * fixinc/fixincl.x:  regen
14608
14609 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
14610
14611         * function.c (init_function_start): Clear prologue & epilogue.
14612         (prologue_epilogue_contains): New function.
14613         * alias.c (init_alias_analysis): Use it.
14614         * rtl.h (prologue_epilogue_contains): Declare it.
14615
14616 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
14617
14618         * jump.c (onlyjump_p): New function.
14619         * rtl.h: Declare it.
14620         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
14621         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
14622
14623 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
14624
14625         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
14626         to invert loops.  Simplify block scanning.
14627
14628 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
14629
14630         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
14631         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
14632
14633 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14634
14635         * config/sparc/liteelf.h: New file to support sparclite-elf target
14636         * config/sparc/t-sp86x: New file to support sparc86x targets
14637         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
14638         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
14639         * configure.in: Support above target triplets
14640         * configure: Regenerated
14641
14642 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
14643
14644         * fixinc/server.c (server_setup): Do not prefix function used as
14645         parameter with `&'.
14646
14647 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
14648
14649         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
14650         Remove fp reg alternatives.
14651
14652 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
14653
14654         * Makefile.in (TAROUTOPTS): Kill.
14655         (install-headers-tar): Use "xpf" for tar headerfile extraction
14656         * i370/x-oe (TAROUTOPTS): Delete.
14657         * m68k/x-apollo68 (TAROUTOPTS): Delete.
14658         * m68k/x-hp320 (TAROUTOPTS): Delete.
14659         * m68k/x-hp320g (TAROUTOPTS): Delete.
14660         * gcc.texi: Update bug reporting text.
14661
14662 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14663
14664         * reg-stack.c (change_stack) Fixed problem with negative array index.
14665
14666 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
14667
14668         * extend.texi, install.texi: Fix spelling mistakes.
14669
14670         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
14671         (s-attrtab); No longer try to use pre-made insn-attrtab file.
14672         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
14673         PREMADE_ATTRTAB_MD.
14674         * mips/t-ecoff: Likewise.
14675         * mips/t-elf: Likewise.
14676         * mips/t-mips: Likewise.
14677         * mips/t-osfrose: Likewise.
14678         * mips/t-r3900: Likewise.
14679         * mips/t-svr3: Likewise.
14680         * mips/t-svr4: Likewise.
14681         * mips/t-ultrix: Likewise.
14682
14683         * gcc.texi: Document recommend means to provide software floating
14684         point libraries in libgcc.a
14685
14686 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
14687
14688         * c-lex.c (yylex): We can have a number with no digits.
14689
14690 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
14691
14692         * jump.c (delete_prior_computation): New function, broken
14693         out of delete_computation.  Check for side effects with
14694         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
14695         multi-word hard registers.
14696         (delete_computation): Use it.  Check for side effects with
14697         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
14698         missing REG_DEAD note for a register which is both set and
14699         used by an insn.
14700
14701 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
14702
14703         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
14704         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
14705         (ASM_FILE_START): Import _mcount with the right type.
14706         (ASM_DECLARE_FUNCTION_NAME): Define.
14707         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
14708         * pa.c (output_function_prologue): Always emit the function's label
14709         here.
14710         * pa.h (TEXT_SPACE_P): Define.
14711         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
14712         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
14713         * som.h (TEXT_SPACE_P): Delete.
14714         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
14715         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
14716
14717 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
14718
14719         * expr.c (emit_group_load): Allow src to be a CONCAT.
14720
14721 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14722
14723         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
14724         (___mulsi3): Use '!' comment character.
14725
14726 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14727
14728         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
14729
14730 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
14731
14732         * gcc.c: Update URLs and mail addresses.
14733         * gcc.texi: Likewise.
14734
14735 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
14736
14737         * rs6000.c (current_file_function_operand): Return zero for
14738         weak functions.
14739         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
14740         weak symbols.
14741         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
14742         for weak symbols.
14743
14744 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
14745
14746         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
14747         allocate space in the stack frame for the PIC register.
14748
14749 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
14750
14751         * m68k.md (xordi3, anddi3): These patterns are not available on
14752         the coldfire.
14753
14754 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
14755
14756         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
14757         (PUT_REAL): Likewise.
14758
14759 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14760
14761         * final.c (shorten_branches): Don't add an alignment for loops
14762         that have no label inside.
14763
14764 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14765
14766         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
14767         prototypes in macro HAVE_cmpstrsi.
14768
14769         * cpplib.c (cpp_get_token): Remove unused label `op3'.
14770
14771         * emit-rtl.c (operand_subword): Remove unused variable
14772         `bits_per_word'.
14773
14774         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
14775
14776         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
14777
14778 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
14779
14780         * cpphash.c (macroexpand): Delete leading whitespace when arg
14781         is concatenated before.
14782         (unsafe_chars): Correct test for whether + and - can extend a
14783         token.
14784
14785         * cppinit.c (cpp_start_read): Do dependencies for
14786         -include/-imacros files also.
14787
14788         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
14789         tokenizing non-directive lines.
14790         (cpp_expand_to_buffer): Temporarily disable no-output mode.
14791         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
14792         the input file.
14793
14794 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
14795
14796         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
14797
14798         * c-lex.c: Sync with C++ frontend.
14799         (linemode): New variable.
14800         (parse_float): imag, conversion_errno, and type are output only.
14801         (yylex): Adjust.  Move initial '.' case into main switch.
14802         Use linemode.
14803         (handle_generic_pragma): Just deal with tokens.
14804         (readescape): Use ISXDIGIT and ISGRAPH.
14805         * c-parse.in: Add END_OF_LINE token.
14806
14807         * c-lex.c (lang_init): Generalize.
14808         (nextchar): Remove.  Replace uses with UNGETC.
14809         (skip_white_space): Handle linemode here.  Optimize for cpplib.
14810         (skip_white_space_on_line): Remove.
14811         (extend_token_buffer_to): New fn.
14812         (extend_token_buffer): Use it.
14813         (read_line_number, check_newline): Just deal with tokens.
14814         (token_getch, token_put_back): New fns.
14815         (yylex): Use them.  More cpplib optimizations.  Simplify.
14816
14817 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
14818                           Jason Merrill  <jason@yorick.cygnus.com>
14819
14820         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
14821         (consume_string): Make this smart about USE_CPPLIB.
14822         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
14823         (yylex): Rewrite to be intelligent about USE_CPPLIB.
14824         Also, clean up cases where we redundantly set token_buffer[0].
14825         (read_line_number): New fn.
14826         (ignore_escape_flag): New variable.
14827
14828 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
14829
14830         * a29k/t-a29kbare: Fix some comments.
14831         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
14832         (FPBIT, DPBIT): Define.
14833         * a29k/t-vx29k: Likewise.
14834         * arc/t-arc: Likewise.
14835         * arm/t-arm-elf: Likewise.
14836         * arm/t-bare: Likewise.
14837         * arm/t-pe: Likewise.
14838         * arm/t-pe-thumb: Likewise.
14839         * arm/t-semi: Likewise.
14840         * arm/t-thumb: Likewise.
14841         * arm/t-thumb-elf: Likewise.
14842         * arm/t-thumb-linux: Likewise.
14843         * h8300/t-h8300: Likewise.
14844         * i960/t-i960: Likewise.
14845         * i960/t-vxworks960: Likewise.
14846         * m32r/t-m32r: Likewise.
14847         * mips/t-ecoff: Likewise.
14848         * mips/t-elf: Likewise.
14849         * mips/t-r3900: Likewise.
14850         * pa/t-pro: Likewise.
14851         * rs6000/t-aix43: Likewise.
14852         * rs6000/t-beos: Likewise.
14853         * rs6000/t-newas: Likewise.
14854         * rs6000/t-ppccomm: Likewise.
14855         * rs6000/t-rs6000: Likewise.
14856         * rs6000/t-winnt: Likewise.
14857         * rs6000/t-xnewas: Likewise.
14858         * rs6000/t-xrs6000: Likewise.
14859         * sh/t-sh: Likewise.
14860         * sparc/t-elf: Likewise.
14861         * sparc/t-sparcbare: Likewise.
14862         * sparc/t-sparclite: Likewise.
14863         * sparc/t-splet: Likewise.
14864         * v850/t-v850: Likewise.
14865         * mn10200/t-mn10200: Fix comments.
14866         * mn10300/t-mn10300: Likewise.
14867
14868         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
14869         dummy operand.  Allocate a new pseudo for the dummy operand.
14870         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
14871
14872         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
14873
14874 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
14875
14876         * configure: Rebuilt.
14877         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
14878
14879 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
14880
14881         * recog.c (preproces_constraints): Zero recog_op_alt before
14882         processing the constraints.
14883
14884         * arm.c (typedef minipool_node): Renamed from pool_node.
14885         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
14886         (add_minipool_constant): New function.
14887         (dump_minipool): New function.
14888         (find_barrier): Remove special case for getting the insn size of
14889         an insn that references the constant pool.
14890         (minipool_fixup): New structure.
14891         (push_minipool_barrier): New function.
14892         (push_minipool_fix): New function.
14893         (note_invalid_constants): New function.
14894         (add_pool_constant, dump_table, fixit, broken_move): Delete.
14895         (arm_reorg): Rewrite code to fix up the constant pool into a
14896         series of mini-pools embedded in the insn stream.
14897         (arm_output_epilogue): New function, made mainly from the body
14898         of output_func_epilogue.
14899         (output_func_epilogue): Move insn generation part of epilogue code
14900         to arm_output_epilogue.
14901         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
14902         * arm.md (pool_range): New attribute.
14903         (zero_extendqidi2): Add attribute pool_range.
14904         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
14905         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
14906         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
14907         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
14908         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
14909         (epilogue): New expand.
14910         (epilogue_insn): New insn.  Call arm_output_epilogue.
14911
14912         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
14913         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
14914
14915 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
14916
14917         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
14918
14919 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
14920
14921         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
14922
14923 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
14924
14925         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
14926
14927 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
14928
14929         * global.c: Fix comment.
14930
14931 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
14932
14933         * gcc.c (access_check): New static function.
14934         (find_a_file): Use it when searching a directory list.
14935         * collect2.c (find_a_file): Don't accept directories found when
14936         searching a directory list.
14937
14938 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
14939
14940         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
14941         function parameters with `&'.
14942         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
14943
14944 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
14945
14946         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
14947         or tidy_fallthru_edge if the last insn in the block is not
14948         an unconditional jump or a simple conditional jump.
14949
14950 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14951
14952         * Makefile.in (c-decl.o): Depends on defaults.h.
14953
14954 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
14955
14956         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
14957         PA1.1 and above.
14958         (CLASS_MAX_NREGS): Likewise.
14959
14960 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
14961
14962         * cse.c (cse_insn): Fix dumb thinko in last change.
14963
14964 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14965
14966         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
14967         "const char *".
14968
14969 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
14970
14971         * dwarf2out.c (add_location_or_const_value_attribute): Correct
14972         test for sizes of passed and declared parameter types.
14973
14974 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14975
14976         * fixincludes: Fix the return type of bsearch, char* -> void*.
14977
14978         * fixinc/inclhack.def: Likewise.
14979
14980 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
14981
14982         * invoke.texi (-fdump-translation-unit): New option.
14983
14984 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
14985
14986         * expr.h (PROMOTE_PROTOTYPES): Move ...
14987         * defaults.h: ... to here.
14988         * c-decl.c: Include defaults.h instead of expr.h.
14989         * c-typeck.c: Include defaults.h.
14990
14991 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
14992
14993         * toplev.h (errorcount): Declare.
14994         (warningcount): Likewise.
14995         (sorrycount): Likewise.
14996         * c-lex.c (errorcount): Don't declare.
14997         * dwarf2out.c (errorcount): Don't declare.
14998
14999 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
15000
15001         * config/libgloss.h: Add a note discouraging use with ELF.
15002         * configure.in: Don't use libgloss.h for ELF targets.
15003         Always use_collect2 on a.out targets.
15004
15005 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
15006
15007         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
15008         (force_to_mode, case ASHIFTRT): Add shiftrt label.
15009
15010 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15011
15012         * loop.c (strength_reduce): When doing biv->giv conversion, update
15013         reg note of NEXT->insn.
15014
15015 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
15016
15017         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
15018
15019 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
15020
15021         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
15022         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
15023         Ensure expr.h is included.
15024         * c-typecheck.c (convert_arguments): Ditto.
15025
15026         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
15027
15028         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
15029         * config/convex/convex.h: Ditto.
15030         * config/dsp16xx/dsp16xx.h: Ditto.
15031         * config/fx80/fx80.h: Ditto.
15032         * config/gmicro/gmicro.h: Ditto.
15033         * config/i370/i370.h: Ditto.
15034         * config/i386/i386.h: Ditto.
15035         * config/m32r/m32r.h: Ditto.
15036         * config/m68k/m68k.h: Ditto.
15037         * config/m88k/m88k.h: Ditto.
15038         * config/mips/mips.h: Ditto.
15039         * config/pa/pa.h: Ditto.
15040         * config/pyr/pyr.h: Ditto.
15041         * config/tahoe/tahoe.h: Ditto.
15042         * config/we32k/we32k.h: Ditto.
15043
15044         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
15045         based on arch size.
15046
15047         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
15048
15049         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
15050         from comment.
15051
15052         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
15053
15054 1999-08-02  Richard Henderson  <rth@cygnus.com>
15055
15056         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
15057         for the register spill block.
15058         (m32r_va_arg): New.
15059         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
15060         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
15061
15062         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
15063         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
15064         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
15065
15066 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
15067
15068         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
15069         MAX_WCHAR_TYPE defined in sparc.h.
15070         * config/sparc/linuxaout.h: Likewise.
15071         * config/sparc/linux64.h: Likewise.
15072         Also default to -mvis if CPU is UltraSPARC.
15073
15074 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
15075
15076         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
15077         (RTX_OK_FOR_OLO10): Likewise.
15078         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
15079         %lo(), allow it in addresses...
15080         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
15081         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
15082         does not make sense.
15083         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
15084         (sparc_output_scratch_registers): New function.
15085         (output_function_prologue, sparc_flat_output_function_prologue): Use
15086         it.
15087         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
15088         defined.
15089         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
15090         * configure.in: Add check for .register pseudo-op support in as and
15091         check for offsetable %lo().
15092         * acconfig.h: Add templates for the above checks.
15093         * configure: Regenerate.
15094
15095 1999-08-02  Richard Henderson  <rth@cygnus.com>
15096
15097         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
15098         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
15099         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
15100
15101 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15102
15103         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
15104         reg_biv_class.
15105
15106 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
15107
15108         * config/float-sparc.h: New file.
15109         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
15110         sparc-*-linux-gnu and sparc64-*-linux*.
15111
15112 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15113
15114         * rs6000.c (rs6000_va_list): Type is an array.
15115         (rs6000_va_start): Don't doubly adjust for varargs.
15116         (rs6000_va_arg): Evaluate long long GPR adjustment.
15117
15118 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
15119
15120         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
15121         -maix64 and -maix32.
15122         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
15123         LINK_SPEC): Change appropriately.
15124         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
15125         (u_short_cint_operand): Likewise.
15126         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
15127         for 64-bit hosts.
15128         * rs6000/t-aix43 (MULTILIB): Change to -m64.
15129
15130         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
15131
15132 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
15133
15134         * rs6000/rs6000.c (num_insns_constant_wide): Correct
15135         for type promotion.
15136         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
15137         (non_add_cint_operand): Likewise.
15138         (logical_operand): Likewise.
15139         (non_logical_cint_operand): Likewise.
15140         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
15141         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
15142         (rs6000_select_rtx_section): Suppress warning.
15143         (small_data_operand): Suppress warning.
15144         (rs6000_got_register): Suppress warning.
15145         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
15146         type, so `J' is generally the wrong constraint for a SImode value;
15147         use `L' instead.
15148         (andsi3_internal2): Likewise.
15149         (andsi3_internal3): Likewise.
15150         (iorsi3_internal1): Likewise.
15151         (xorsi3_internal1): Likewise.
15152         (movsi): Likewise.
15153         (movsf_softfloat): Likewise.
15154         (scc insns): Likewise.
15155         (movsi+2): Preserve sign bits of SImode constant.
15156         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
15157         (movdf+1): Sign-extend properly.
15158         (movdi_32+1): Sign-extend properly.
15159         (scc insns): Sign-extend properly.
15160
15161         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
15162         K, L, and T.
15163
15164 1999-08-02  Richard Henderson  <rth@cygnus.com>
15165
15166         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
15167         -mcpu parsing code.
15168         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
15169         * alpha.md (all fp insns): Likewise.
15170
15171 1999-08-02  Nick Clifton  <nickc@cygnus.com>
15172
15173         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
15174         already defined.
15175
15176 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
15177
15178         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
15179         pic_load_label generator directly.
15180         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
15181         No longer a named pattern.
15182
15183 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
15184
15185         * explow.c (force_reg): Call force_operand if X does not
15186         satisfy general_operand.
15187
15188 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
15189
15190         * fix-header.c (main): When testing for CONTINUED, use string
15191         equality, not pointer equality.
15192
15193 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
15194
15195         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
15196
15197 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
15198
15199         * cse.c (cse_insn): Fix loop which deletes insns after a jump
15200         that has become an unconditional jump.
15201
15202         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
15203         (output_function_epilogue): Similarly.
15204
15205 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15206
15207         * tree.h (init_dummy_function_start): Declare.
15208
15209 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15210
15211         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
15212         last_expr_type, last_expr_value, block_start_count, block_stack,
15213         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
15214         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
15215         dynamically in stmt elt of struct function for each function.
15216         (struct nesting): Rename function_call_count elt to n_function_calls,
15217         target_temp_slot_level to block_target_temp_slot_level.  All users
15218         changed.
15219         (struct stmt_status): New structure definition.
15220         Add many accessor macros for stmt_status elements which previously
15221         were global variables.
15222         (init_stmt_for_function): Allocate stmt elt for current_function.
15223         Reflect that block_start_count was renamed to
15224         current_block_start_count.
15225         (save_stmt_status, restore_stmt_status): Delete functions.
15226         (preserve_subexpressions_p): Don't access loop_stack when outside
15227         a function.
15228         (expand_start_bindings): Reflect that block_start_count was renamed to
15229         current_block_start_count.
15230         (expand_fixup): Likewise.
15231         (expand_decl): Don't access block_stack when outside a function.
15232         (expand_decl_cleanup): Likewise.
15233         (expand_dcc_cleanup): Likewise.
15234         (expand_dhc_cleanup): Likewise.
15235         (expand_anon_union_decl): Likewise.
15236         (set_file_and_line_for_stmt): New function.
15237         (in_control_zone_p): New function.
15238
15239         * function.h (struct function): Add new elt stmt.
15240         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
15241         case_stack, nesting_stack, nesting_depth, block_start_count,
15242         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
15243         emit_lineno, goto_fixup_chain.
15244         (save_eh_status, restore_eh_status, save_stmt_status,
15245         restore_stmt_status): Delete declarations.
15246         * function.c (push_function_context_to): Don't call save_stmt_status.
15247         (pop_function_context_to): Don't call restore_stmt_status.
15248         * tree.h (in_control_zone_p): Declare.
15249         * rtl.h (set_file_and_line_for_stmt): Declare.
15250
15251         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
15252         call set_file_and_line_for_stmt.
15253
15254 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
15255
15256         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
15257         Also update copyright.
15258
15259 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15260
15261         * c-pragma.c: Don't include "except.h".
15262         * emit-rtl.c: Likewise.
15263         * stor-layout.c: Likewise.
15264         * tree.c: Likewise.
15265         * varasm.c: Likewise.
15266
15267         * flow.c: Include "function.h".
15268         * tree.h (init_dummy_function_start): Declare new function.
15269
15270         * except.h (struct eh_status): New structure.
15271         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
15272         been included.
15273         (eh_return_stub_label, ehstack, catchstack, ehqueue,
15274         catch_clauses, false_label_stack, caught_return_label_stack,
15275         protect_list, current_function_ehc): Add accessor macros for the
15276         corresponding fields in current_function->eh; delete declarations
15277         for all items that used to be declared here.
15278         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
15279         catch_clauses, false_label_stack, caught_return_label_stack,
15280         protect_list, current_function_ehc): Delete variables.
15281         (init_eh_for_function): Allocate current_function->eh.
15282         (save_eh_status, restore_eh_status): Delete functions.
15283
15284         * function.h (struct function): Add fields next_global and eh.
15285         Delete all exception handling related fields.
15286         * function.c (current_function): New variable.
15287         (all_functions): New variable.
15288         (push_function_context_to): Don't allocate a struct function,
15289         use current_function instead.  Call init_dummy_function_start when
15290         outside a function.  Clear current_function before returning.
15291         (pop_function_context_from): Restore current_function.
15292         Don't free the restored struct function.
15293         (prepare_function_start): New function.
15294         (init_dummy_function_start): New function.
15295         (init_function_start): Break out some code into prepare_function_start
15296         and call it here.
15297
15298         * stmt.c (save_stmt_status): Don't call save_eh_status.
15299         (restore_stmt_status): Don't call restore_eh_status.
15300
15301         * Makefile.in: Update dependencies.
15302
15303 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
15304
15305         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
15306         of depending on a magic constant value.  Update comments.
15307         (hppa_expand_prologue): Similarly.
15308
15309         * pa.md (reload_indi, reload_outdi): Allow any register for the
15310         original reload register.
15311
15312 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
15313
15314         * cccp.c (print_help): Change marcos to macros.
15315
15316 1999-07-30  Richard Henderson  <rth@cygnus.com>
15317
15318         * c-typeck.c (initializer_constant_valid_p): Move ...
15319         * c-common.c (initializer_constant_valid_p): ... here.  Use
15320         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
15321         of label addresses.
15322         * c-common.h (initializer_constant_valid_p): Declare.
15323         * c-tree.h (initializer_constant_valid_p): Remove.
15324
15325 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
15326
15327         * config/i386/sol2-c1.asm: Align the stack.
15328         * config/i386/sol2-gc1.asm: Likewise.
15329
15330 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
15331
15332         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
15333         -Asparclite for sparc86x.
15334         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
15335         sparc86x.
15336         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
15337
15338 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
15339
15340         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
15341         the user if using the non-default arch size in BI_ARCH configuration.
15342         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
15343
15344         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
15345         Fix patterns so that they actually match.
15346         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
15347         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
15348         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
15349         TARGET_HARD_MUL32.
15350         (mulsidi3): Reflect this in the expand.
15351         (smulsi3_highpart): Only on TARGET_ARCH32.
15352         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
15353         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
15354         (umulsidi3): Reflect this in the expand.
15355         (umulsi3_highpart): Only on TARGET_ARCH32.
15356         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
15357         don't require g0 to be zero.
15358         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
15359         ({,u}divsi3): New expands.
15360         ({,u}divsi3_sp64): New patterns.
15361         (after lshrdi3_v8plus): Four new patterns to help combiner
15362         optimizing nested mixed mode shifts.
15363
15364         * config/sparc/sparc.c (sparc_override_options): Use deprecated
15365         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
15366         speed things up. Don't use them by default on plain v9 in 64bit
15367         mode, according to what SPAMv9 sais.
15368
15369         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
15370         top 32 bits of %[og][0-7] in signal handlers.
15371         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
15372
15373 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
15374
15375         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
15376         (ashlsi3): Corresponding changes.
15377
15378         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
15379
15380 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
15381
15382         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
15383
15384 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15385
15386         * arm.h (Hint): Delete macro.
15387         Substitute HOST_WIDE_INT for Hint in some prototypes.
15388         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
15389
15390 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
15391
15392         * builtins.c (expand_builtin_setjmp): Use force_operand to
15393         make sure that the buffer address is in a suitable form to be
15394         passed to force_reg.
15395
15396 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
15397
15398         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
15399         them here.
15400
15401 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
15402
15403         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
15404         proper mode in the condition string.
15405         (icacheflush, dcacheflush): Remove modes from match_operands.
15406
15407         * pa.c (emit_move_sequence): Always convert scratch_reg to the
15408         proper mode before using it.
15409
15410         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
15411         pair.
15412
15413         * pa.c (store_reg): Do not call add_high_const generator directly.
15414         (load_reg, set_reg_plus_d): Likewise.
15415         * pa.md (add_high_const): No longer a named pattern.
15416
15417         * pa.c (legitimize_address): Consistently use Pmode rather than
15418         SImode.  Do not call gen_pic2_highpart directly anymore.
15419         * pa.md (pic2_highpart): No longer a named pattern.
15420         (pic2_lo_sum): Similarly.  Reformat to make more readable.
15421
15422         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
15423         needed.
15424
15425         * README: Update.
15426
15427 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15428
15429         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
15430
15431 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
15432
15433         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
15434         and tag the spill mems.
15435         (hppa_va_start): New.
15436         (hppa_va_arg): New.
15437         * pa.h (EXPAND_BUILTIN_VA_START): New.
15438         (EXPAND_BUILTIN_VA_ARG): New.
15439
15440 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
15441
15442         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
15443         and tag the spill mems.
15444         (mn10300_va_start): New.
15445         (mn10300_va_arg): New.
15446         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
15447         (EXPAND_BUILTIN_VA_ARG): New.
15448
15449 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
15450
15451         * mn10200.c (mn10200_va_arg): New.
15452         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
15453
15454 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
15455
15456         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
15457         rather than play with TREE_INT_CST_LOW.
15458
15459 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
15460
15461         * config/arm/telf.h: Include dbxelf.h.
15462         (CPP_PREDEFINES): Only define if not already defined.
15463         (ASM_IDENTIFY_GCC): Likewise.
15464         (SUBTARGET_EXTRA_SECTIONS): Likewise.
15465         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
15466         * config/arm/thumb.h (LINK_SPEC): Only define if not already
15467         defined.
15468         (DBX_DEBUGGING_INFO): Don't define.
15469         * config/arm/linux-telf.h: New file.
15470         * config/arm/linux-tgas.h: New file.
15471         * config/arm/t-thumb-linux: New file.
15472         * config/arm/uclinux-elf.h: New file.
15473         * config/arm/uclinux-telf.h: New file.
15474         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
15475         thumb-*-uclinux): New targets.
15476         * configure: Regenerate.
15477
15478 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
15479
15480         * pa.md (post_store, pre_load): New expanders.
15481         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
15482         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
15483         need to directly generate RTL for them.
15484         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
15485         changes.
15486
15487 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
15488
15489         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
15490         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
15491         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
15492         (secndary_reload_class): Make TARGET_ELF conditional compile.
15493         (print_operand_address): Similar.
15494         (output_toc): Print all values as hex.
15495         (get_issue_rate): Rearrange and add RS64A and PPC630.
15496         * rs6000.h (processor_type): Add RS64A and PPC630.
15497         (PROCESSOR_POWERPC64): New.
15498         (PROMOTE_MODE): Use word_mode.
15499         (RTX_COSTS): Add RS64A and PPC630.
15500         * rs6000.md (scheduling information): Add lmul and ldiv
15501         representing 64-bit integer multiply and divide.  Add rs64a and
15502         PPC630 information.
15503         (ashldi3): Add support for "rldic" instruction.
15504         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
15505
15506 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
15507
15508         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
15509         instead of V8 for sparclite86x in cpu_table.
15510
15511 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15512
15513         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
15514         output_file_directive.
15515
15516 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
15517
15518         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
15519         tree for op1, not the rtl.
15520
15521 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
15522
15523         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
15524         to m88k_va_start, leaving only the register spill.
15525         (m88k_build_va_list): New.
15526         (m88k_va_start): New.
15527         (m88k_va_arg): New.
15528         * m88k.h (BUILD_VA_LIST_TYPE): New.
15529         (EXPAND_BUILTIN_VA_START): New.
15530         (EXPAND_BUILTIN_VA_ARG): New.
15531
15532 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
15533
15534         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
15535         Rename from expand_builtin_saveregs.
15536         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
15537
15538 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
15539
15540         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
15541         for the register spill block.
15542         (i960_build_va_list): New.
15543         (i960_va_start): New.
15544         (i960_va_arg): New.
15545         * i960.h (BUILD_VA_LIST_TYPE): New.
15546         (EXPAND_BUILTIN_VA_START): New.
15547         (EXPAND_BUILTIN_VA_ARG): New.
15548         * i960.md (store_multiple): Use change_address on individul mems.
15549
15550 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
15551
15552         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
15553         an ARRAY_TYPE.
15554         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
15555         (expand_builtin_va_end): Evaluate arg for side effects.
15556         * c-common.c (c_common_nodes_and_builtins): Construct a
15557         va_list_arg_type_node to handle array decomposition to pointer.
15558
15559 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
15560
15561         * except.c (start_dynamic_cleanup): Use force_operand on the
15562         buffer's address.
15563
15564 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
15565
15566         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
15567         * c4x.c (c4x_va_arg): New.
15568
15569 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
15570
15571         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
15572         has manual_pop set.
15573
15574 1999-07-26  Nathan Sidwell  <nathan@acm.org>
15575
15576         * eh-common.h (__eh_matcher): Prototype correctly.
15577
15578 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
15579
15580         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
15581         (TARGET_SINGLE_PIC_BASE): Likewise.
15582         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
15583         definitions.
15584         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
15585         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
15586         (TARGET_OPTIONS): Add -mpic-register=N.
15587         (OUTPUT_INT_ADDR_CONST): New macro.
15588         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
15589         LEGITIMATE_PIC_OPERAND_P): Likewise.
15590         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
15591         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
15592         output_addr_const directly.
15593         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
15594         ARM port.
15595         (thumb_pic_register, thumb_pic_register_string): Declare.
15596
15597         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
15598         from arm.c.
15599         (label_mentioned_p): New function: Imported from arm.c.
15600         (legitimize_pic_address): New function: Imported from arm.c.
15601         (is_pic):New function: Imported from arm.c.
15602         (thumb_finalize_pic):New function: Imported from arm.c.
15603         (add_constant): Cope with PIC constants.
15604         (fixit): Cope with PIC constants.
15605         (output_return): Do not treat the PIC register as live if
15606         TARGET_SINGLE_PIC_BASE is true.
15607         (thumb_function_prologue): Do not treat the PIC register as live if
15608         TARGET_SINGLE_PIC_BASE is true.
15609         (thumb_expand_prologue): Do not treat the PIC register as live if
15610         TARGET_SINGLE_PIC_BASE is true.
15611         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
15612         TARGET_SINGLE_PIC_BASE is true.
15613         (thumb_print_operand): Accept '|'.
15614         (thumb_override_options): Process PIC options.
15615
15616         * config/arm/thumb.md (movsi): Support PIC.
15617         (call_insn): Change "i" constraint to "X".
15618         (call_value_insn): Likewise.
15619         (consttable_4, consttable_8, consttable_end): Set and clear
15620         "making_const_table" as appropriate.
15621         (pic_load_addr, pic_add_dot_plus_four): New insns.
15622
15623         * invoke.texi (Thumb Options): Fix spelling.  Document new
15624         options -msingle-pic-base and -mpic-register=.
15625
15626 1999-07-26  Andrew Haley  <aph@cygnus.com>
15627
15628         * config/m32r/initfini.c (__init): Use a full word immediate for
15629         __fini: this allows it to be placed in any memory region.
15630
15631         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
15632         -mmodel=medium.  This is OK for all memory models.
15633
15634 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
15635
15636         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
15637         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
15638
15639 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
15640
15641         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
15642         defined.
15643
15644         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
15645
15646 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
15647
15648         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
15649         (BUILD_VA_LIST_TYPE): New.
15650         (EXPAND_BUILTIN_VA_START): New.
15651         (EXPAND_BUILTIN_VA_ARG): New.
15652         * i860.c (output_delayed_branch): Disable.
15653         (output_delay_insn): Likewise.
15654         (i860_saveregs): New.
15655         (i860_build_va_list): New.
15656         (i860_va_start): New.
15657         (i860_va_arg): New.
15658         * i860.md: Disable all peepholes using output_delayed_branch.
15659         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
15660
15661 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
15662
15663         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
15664         (BUILD_VA_LIST_TYPE): New.
15665         (EXPAND_BUILTIN_VA_START): New.
15666         (EXPAND_BUILTIN_VA_ARG): New.
15667         * clipper.c (clipper_builtin_saveregs): Only dump registers.
15668         Return the address of the save area.
15669         (clipper_build_va_list): New.
15670         (clipper_va_start): New.
15671         (clipper_va_arg): New.
15672
15673 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
15674
15675         * arc.h (EXPAND_BUILTIN_VA_START): New.
15676         (EXPAND_BUILTIN_VA_ARG): New.
15677         * arc.c (arc_setup_incoming_varargs): Set alias set of
15678         varargs save area.
15679         (arc_va_start): New.
15680         (arc_va_arg): New.
15681
15682 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
15683
15684         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
15685         (BUILD_VA_LIST_TYPE): New.
15686         (EXPAND_BUILTIN_VA_START): New.
15687         (EXPAND_BUILTIN_VA_ARG): New.
15688         * alpha.c (alpha_builtin_saveregs): Delete.
15689         (alpha_build_va_list): New.
15690         (alpha_va_start): New.
15691         (alpha_va_arg): New.
15692
15693 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
15694
15695         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
15696         column zero.
15697         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
15698         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
15699
15700         * gcc.texi: More changes related to list conversion.
15701         * invoke.texi: Likewise.
15702
15703 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
15704
15705         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
15706         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
15707         (expand_builtin_next_arg): Accept ARGLIST not EXP.
15708         (stabilize_va_list): New function.
15709         (std_expand_builtin_va_start): New function.
15710         (expand_builtin_va_start): New function.
15711         (get_varargs_alias_set): New function.
15712         (std_expand_builtin_va_arg): New function.
15713         (expand_builtin_va_arg): New function.
15714         (expand_builtin_va_end): New function.
15715         (expand_builtin_va_copy): New function.
15716         (expand_builtin): Call them.
15717         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
15718         __builtin_{varargs_start,stdarg_start,end,copy}.
15719         (build_va_arg): New function.
15720         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
15721         (build_va_arg): Declare.
15722         * c-decl.c (ptr_type_node, va_list_type_node): New.
15723         * c-parse.gperf (__builtin_va_arg): New.
15724         * c-parse.in (VA_ARG): New token.
15725         (unary_expr): Recognize it.
15726         * expr.c (expand_expr): Expand VA_ARG_EXPR.
15727         * expr.h (std_expand_builtin_va_start): Declare.
15728         (std_expand_builtin_va_arg): Declare.
15729         (expand_builtin_va_arg): Declare.
15730         (get_varargs_alias_set): Declare.
15731         * tree.def (VA_ARG_EXPR): New.
15732         * tree.h (BUILT_IN_VARARGS_START): New.
15733         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
15734         (ptr_type_node, va_list_type_node): Declare.
15735         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
15736         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
15737         * m88k.h, m88k.c: Likewise.
15738         * mn10300.h, mn10300.c: Likewise.
15739         * pa.h, pa.c: Likewise.
15740         * rs6000.h, rs6000.c: Likewise.
15741         * sh.h, sh.c: Likewise.
15742         * sparc.h, sparc.c: Likewise.
15743
15744         * emit-rtl.c (operand_subword): Copy alias set.
15745         (change_address): Likewise.
15746
15747 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
15748
15749         * pa.c (compute_frame_size): Scan all the used callee saved registers,
15750         not just the first one.
15751
15752 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
15753
15754         * config/arm/arm.h (TARGET_SWITCHES): Add
15755         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
15756         (TARGET_OPTIONS): Add -mpic-register=.
15757         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
15758         (arm_pic_register_string): Declare.
15759         (NEED_PLT_GOT): Delete, replace with ...
15760         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
15761         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
15762         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
15763         * config/arm/arm.c (arm_override_options): Add new option
15764         -mpic-register=N.
15765         (arm_pic_register_string): New variable.
15766         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
15767         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
15768         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
15769         (output_return_instruction): Likewise.
15770         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
15771         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
15772         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
15773
15774         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
15775         mention of -msched-prolog.  Document new options -msingle-pic-base
15776         and -mpic-register=.
15777
15778 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
15779
15780         * haifa-sched.c (reemit_notes): Tidy.
15781         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
15782         haifa's routine.
15783
15784 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
15785
15786         * explow.c (trunc_int_for_mode): New function.
15787         (plus_constant_wide): Use it.
15788         * combine.c (simplify_and_const_int): Likewise.
15789         (merge_outer_ops): Likewise.
15790         (simplify_shift_const): Likewise.
15791         * cse.c (simplify_unary_operation): Likewise.
15792         (simplify_binary_operation): Likewise.
15793         * emit-rtl.c (operand_subword): Likewise.
15794         * rtl.h: Declare it.
15795
15796 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15797
15798         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
15799         (use NUM_REGS instead of NUM_INTS).
15800
15801 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15802
15803         * builtins.c: New file.
15804         * expr.c (saveregs_value, apply_args_value):  Delete definition,
15805         moved into builtins.c.
15806         (string_constant): No longer static.
15807         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
15808         apply_args_size, apply_result_size, result_vector,
15809         expand_builtin_apply_args, expand_builtin_apply,
15810         expand_builtin_return): Delete functions, moved into builtins.c.
15811         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
15812         * expr.h (saveregs_value, apply_args_value): Declare variables.
15813         (expand_builtin, string_constant): Declare functions.
15814         * Makefile.in: Update to build builtin.o.
15815
15816 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
15817
15818         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
15819         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
15820         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
15821         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
15822         false.
15823         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
15824         Define to zero.
15825
15826 1999-07-21  Michael Meissner  <meissner@cygnus.com>
15827
15828         * print-rtl.c (print_rtx): Print the names of the virtual
15829         registers.
15830
15831 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
15832
15833         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
15834         introduced in previous delta.
15835
15836 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15837
15838         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
15839         to avoid name clash.
15840
15841 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15842
15843         * c-lex.c (yylex) : Correct the test for overflow when lexing
15844         integer literals.
15845
15846 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
15847
15848         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
15849         (adjust_priority): Always call ADJUST_PRIORITY.
15850         (schedule_insn): Only put insns into the ready at cost 0.
15851         (schedule_block): Remove redundant initial sort.  Give clock_var
15852         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
15853         is not 0.
15854         * tm.texi (MD_SCHED_REORDER): Update docs.
15855
15856         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
15857         * sparc.c (ultra_reorder_called_this_block): Delete.
15858         (ultrasparc_sched_init): Don't set it.
15859         (ultrasparc_sched_reorder): Don't check it.
15860
15861 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
15862
15863         * rs6000.h (struct rs6000_args): Add sysv_gregno.
15864         * rs6000.c (init_cumulative_args): Init sysv_gregno.
15865         (function_arg_boundary): Align DFmode.
15866         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
15867         to get fp reg and stack overflow correct.
15868         (function_arg): Likewise.
15869         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
15870         (setup_incoming_varargs): Restructure for ABI_V4; use
15871         function_arg_advance to skip final named argument.
15872         (expand_builtin_saveregs): Properly unskip the last integer arg
15873         when doing varargs.  Adjust overflow location calculation.
15874
15875         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
15876         explicitly unsigned.
15877         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
15878         (__VA_GP_REGSAVE): Similarly.
15879         (__va_longlong_p): Delete.
15880         (__va_arg_type_violation): New declaration.
15881         (va_arg): Restructure.  Flag promotion errors.  Align double.
15882         TFmode passed by reference.
15883
15884         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
15885         in the HOST_BITS_PER_WIDE_INT > 32 case.
15886
15887 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
15888
15889         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
15890
15891 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
15892
15893         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
15894         * toplev.c (documented_lang_options): Add -fpreprocessed.
15895         * cpplib.h (struct cpp_buffer): Add preprocessed.
15896         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
15897         (cpp_start_read): Don't expand macros or emit an initial #line
15898         directive if -fpreprocessed.
15899
15900 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
15901
15902         * cpplib.h (struct cpp_buffer): Added manual_pop for
15903         better C++ tokenization.
15904         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
15905         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
15906         * c-common.c (cpp_token): Make non-static.
15907
15908 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15909
15910         * c-common.h: New file.
15911         * c-common.c (permanent_obstack): Delete unused declaration.
15912         (c_global_trees): New array.
15913         (c_common_nodes_and_builtins): New function; split off common code
15914         from init_decl_processing in both c-decl.c and cp/decl.c.
15915         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
15916         c_global_trees and accessor macros defined in c-common.h.
15917         Include c-common.h.
15918         * c-decl.c: Delete definitions for tree nodes that were replaced by
15919         c_global_trees.
15920         (init_decl_processing): Build void_list_node.
15921         Call c_common_nodes_and_builtins; delete code to generate the common
15922         builtins here.
15923         * objc/objc-act.c (build_module_descriptor): Rename variable
15924         void_list_node to avoid clash with c-common.h.
15925
15926         * Makefile.in: Update dependencies.
15927         * objc/Make-lang.in: Likewise.
15928
15929 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
15930
15931         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
15932         (UNIQUE_SECTION_P): Likewise.
15933         (UNIQUE_SECTION): Likewise.
15934
15935 1999-07-19  Linas Vepstas  <linas@linas.org>
15936
15937         * config/i370/README: New file.
15938         * config/i370/linux.h: New file.
15939         * config/i370/mvs.h: New file.
15940         * config/i370/oe.h: New file.
15941         * config/i370/t-linux: New file.
15942         * config/i370/t-mvs: New file.
15943         * config/i370/t-oe: New file.
15944         * config/i370/x-oe: New file.
15945         * config/i370/xm-linux.h: New file.
15946         * config/i370/xm-mvs.h: New file.
15947         * config/i370/xm-oe.h: New file.
15948
15949         * i370.c (label_node_t): Add first_ref_page, label_addr,
15950         label_first_ref, label_last_ref members.
15951         (mvs_need_base_reload): Renamed from mvs_label_emitted.
15952         (MAX_MVS_LABEL_SIZE): Define.
15953         (MAX_LONG_LABEL_SIZE): Define.
15954         (alias_node_t, alias_anchor, alias_number): New.
15955         (mvs_function_table): Reorder for EBCDIC.
15956         (ascebc, ebcasc): Unconditionally define.
15957         (i370_branch_dest, i370_branch_length): New functions.
15958         (i370_short_branch, i370_label_scan): New functions.
15959         (mvs_get_label): Renamed from mvs_add_label.  Search for
15960         an existing label before creating a new one.
15961         (mvs_add_label): New function.
15962         (mvs_get_label_page): New function.
15963         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
15964         over the entire list.
15965         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
15966         (mvs_check_page) [TARGET_ELF_ABI]: New function.
15967         (mvs_add_alias, mvs_need_alias): New functions.
15968         (mvs_get_alias, mvs_check_alias): New functions.
15969         (handle_pragma): New function.
15970         (mvs_function_check): New function.
15971         (unsigned_jump_follows_p): Search harder.
15972         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
15973         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
15974         * i370.h (TARGET_VERSION): Delete.
15975         (CPP_SPEC, CPP_PREDEFINES): Delete.
15976         (mvs_label_emitted): Delete.
15977         (TARGET_EBCDIC): Delete.
15978         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
15979         (HANDLE_PRAGMA): Define.
15980         (HARD_REGNO_NREGS): Handle complex modes.
15981         (HARD_REGNO_MODE_OK): Likewise.
15982         (CLASS_MAX_NREGS): Likewise.
15983         (RET_REG): Likewise.
15984         (EXTRA_CONSTRAINT): Define.
15985         (RETURN_IN_MEMORY): True for DImode.
15986         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
15987         (FUNCTION_PROFILER): Delete.
15988         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
15989         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
15990         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
15991         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
15992         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
15993         (ASM_FILE_START): Add "RMODE ANY".
15994         (ASM_OUTPUT_EXTERNAL): Check for aliases.
15995         (ASM_GLOBALIZE_LABEL): Likewise.
15996         (ASM_OUTPUT_LABELREF): Likewise.
15997         (ASM_OUTPUT_COMMON): Likewise.
15998         (PRINT_OPERAND): Handle 'K', 'W', default.
15999         (PRINT_OPERAND_ADDRESS): New.
16000         (Lots of defines): Add support for TARGET_ELF_ABI.
16001         * i370.md (attr length): New.  Define for all patterns.
16002         (*): Lots of tweeks to assembly output and constraints.
16003
16004 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
16005
16006         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
16007         Disable patterns performing SImode comparisons with SImode values
16008         if TARGET_POWERPC64 and instruction does not sign-extend or does
16009         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
16010         differ for signed quantities.
16011         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
16012         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
16013         (decrement_and_branch_on_count): Add 64-bit variant.
16014
16015 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16016
16017         * final.c (output_asm_insn): When searching for the matching string
16018         for a given dialect, don't run past the end of the list of
16019         alternatives if there are fewer alternatives in the template than
16020         dialects.
16021
16022 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
16023
16024         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
16025         Removed paragraph about compression of files and size limitation,
16026         duplicated in the FAQ.  Use gcc-patches for posting patches.
16027         * gcc.c (main): Updated URL with bug reporting instructions to
16028         gcc.gnu.org.  Removed e-mail address.
16029         * system.h (abort): Likewise.
16030
16031 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16032
16033         * Makefile.in (stmp-multilib-sub): Make the files extracted
16034         from $(LIBGCC1) writable.
16035
16036 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
16037
16038         * config/arm/aout.h: Reformat for improved readability.
16039
16040         * config/arm/arm.h: Reformat for improved readability.
16041         Replace uses of fprintf with asm_fprintf where appropriate.
16042         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
16043         function declaration assembler actions.
16044         (NUM_INTS): New macro: Convert from bytes to words.
16045         (NUM_REGS): New macro: Compute number of registers required to
16046         hold a quanitity of tyep MODE.
16047         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
16048         types.
16049         (NUM_ARG_REGS): New macro: The number of argument registers
16050         available.
16051         (ARG_REGISTER): New macro: Compute the register number of the Nth
16052         argument register.
16053         (LAST_ARG_REGNUM): New macro: The number of the last argument
16054         register.
16055         (SP_REGNUM): New macro: Register number of the stack pointer.
16056         (FP_REGNUM): New macro: Register number of the frame pointer.
16057         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
16058         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
16059         CUMULATIVE_ARGS so that it counts registers not bytes.
16060
16061         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
16062         TARGET_INTERWORK.
16063         Replace uses of fprintf with asm_fprintf where appropriate.
16064         (output_ascii_pseudo_op): Replace with version from thumb.c
16065
16066         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
16067
16068         * config/arm/elf.h (CPP_PREDEFINES): Replace with
16069         SUBTARGET_CPP_SPEC.
16070         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
16071         (ASM_FILE_START): Emit ASM_APP_OFF.
16072
16073 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
16074
16075         * pa.c (compute_frame_size): Round frame according to
16076         STACK_BOUNDARY rather than a hardwired value.
16077
16078         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
16079
16080         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
16081         of "1".
16082         * configure: Rebuilt.
16083
16084         * configure.in (hppa*-*-linux*): New configuration.
16085         * configure: Rebuilt.
16086         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
16087         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
16088         * pa/pa-linux.h: New file.
16089         * pa/t-linux: New file.
16090         * pa/xm-linux.h: New file.
16091
16092         * pa.c (hppa_legitimize_address): Change references from SImode to
16093         either Pmode or word_mode as appropriate.
16094         (emit_move_sequence, store_reg, load_reg): Likewise.
16095         (set_reg_plus_d, hppa_expand_prologue): Likewise.
16096         (output_mul_insn): Likewise.
16097         * pa.h (PROMOTE_MODE): Likewise.
16098         (INITIALZE_TRAMPOLINE): Likewise.
16099         (Pmode): Define to word_mode.
16100
16101         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
16102         value of 4.  Allocate 8 bytes for each FP register save.
16103         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
16104         value of 4.
16105         (hppa_expand_prologue): Likewise.
16106         * pa.h (PROMOTE_MODE): Likewise.
16107         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
16108         (FUNCTION_ARG_BOUNDARY): Likewise.
16109
16110         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
16111
16112         * pa.c (out_of_line_prologue_epilogue): Delete.
16113         (override_options): Remove -mspace related code.
16114         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
16115         (compute_frame_size): Only allocate space for register that
16116         actually need to be saved.
16117         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
16118         (TARGET_SWITCHES): Remove -mspace, -mno-space
16119         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
16120         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
16121         * pa/ee.asm, pa/ee_fp.asm: Delete.
16122
16123         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
16124
16125         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
16126         directive in column zero.
16127
16128 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
16129
16130         * m68k.c (output_function_prologue): Fix computation of save mask
16131         when generating PIC code.
16132
16133 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
16134
16135         * tree.c (build_type_attribute_variant): Move current_obstack restore
16136         after build_qualified_type call.
16137
16138 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
16139
16140         * configure.in: Use t-iris6, even with GNU LD.
16141         * config/mips/iris6gld.h: Fix typo in linker spec.
16142         * config/mips/t-iris6gld: Remove.
16143
16144 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
16145
16146         * rs6000.md (insv, extzv): Remove SImode dependence in named
16147         patterns.  Explicitly generate DImode RTL if PowerPC64 and
16148         operand is DImode.
16149         (insvdi): Reverse start and size in instruction template.
16150
16151 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
16152
16153         * invoke.texi: Typo fixes.
16154
16155 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
16156
16157         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
16158         handle at this time instead of silently generating incorrect code.
16159         (gen_imagpart): Likewise.
16160
16161         * reload.c (find_reloads): Emit a USE for a pseudo register without
16162         a hard register if we could not create an optional reload for the
16163         pseudo.
16164
16165 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16166
16167         * c-typeck.c (output_init_element, process_init_element):
16168         When advancing constructor_unfilled_fields for a RECORD_TYPE,
16169         check for nameless bit fields.
16170
16171 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
16172
16173         * regclass.c (scan_one_insn): Notice subregs that change the
16174         size of their operand.
16175         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
16176
16177 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
16178
16179         * configure.in (alpha*-*-*): Include alpha/t-ieee.
16180         * configure: Rebuilt.
16181         * alpha/t-ieee: New file.
16182
16183 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
16184
16185         * rs6000.c (find_addr_reg): Do not select r0 as an address
16186         register.
16187
16188 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
16189
16190         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
16191
16192 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
16193
16194         * rs6000.md (movsf): Do not force easy FP constants into memory.
16195
16196         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
16197         immed_double_const to ensure they are properly truncated then
16198         sign extended.
16199
16200 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
16201
16202         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
16203         always unless NO_DEBUG is used.  Compile this code
16204         unconditionally.
16205         (replace_symbols_in_block): Compile it unconditionally.
16206
16207 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
16208
16209         * configure.in (i?86-*-elf*): New target.
16210         * configure: Rebuilt.
16211         * i386/i386elf.h, i386/t-i386elf: New files.
16212
16213 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
16214
16215         * toplev.c (main): Don't complain about saying -gdwarf.
16216         (rest_of_compilation): Remove redundant code.
16217
16218 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
16219
16220         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
16221
16222 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
16223
16224         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
16225         "Li960R:", to avoid name clash.
16226
16227 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16228
16229         * loop.c (check_dbra_loop): When reversing a loop, delete all
16230         REG_EQUAL notes referencing the reversed biv except those which are
16231         for a giv based on it.
16232
16233 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
16234
16235         * version.c: Drop "gcc-" prefix from version #.
16236
16237 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
16238
16239         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
16240         the label if we're being verbose.
16241
16242 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
16243
16244         * m68k.c (output_function_prologue): Add pic register to mask
16245         if live and flag_pic.
16246         (output_function_epilogue): Likewise.
16247
16248 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
16249
16250         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
16251         directives in column zero.
16252
16253         * pa/elf.h (ASM_FILE_START): Define.
16254         * pa/som.h (ASM_FILE_START): Include .level directives.
16255         * pa/hpux10.h (ASM_FILE_START): Delete.
16256         * pa/hpux11.h (ASM_FILE_START): Delete.
16257
16258         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
16259
16260 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16261
16262         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
16263         when reload_out equals reload_in.
16264
16265 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
16266
16267         * invoke.texi (Spec Files): New node: Describe the contents of
16268         spec files.
16269
16270 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
16271
16272         * invoke.texi (DEC Alpha Options): Put @end table at
16273         beginning of line, to avoid confusing texi2html.
16274
16275 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
16276
16277         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
16278         introduced in previous delta.
16279
16280 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16281
16282         * reload1.c (gen_reload): When synthesizing a 3 operand add
16283         sequence, improve test for when to reload OP1 into the reload
16284         register instead of OP0.
16285
16286 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
16287
16288         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
16289
16290 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
16291
16292         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
16293         string literal.
16294
16295 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
16296
16297         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
16298         (va_dcl): Use __builtin_va_alist_t.
16299
16300 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
16301
16302         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
16303         on the permanent_obstack.
16304         * dwarfout.c (output_type): Likewise.
16305
16306 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16307
16308         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16309         Merged from c-typeck.c and cp/typeck.c.
16310         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16311         Merged into c-common.
16312
16313 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
16314
16315         * c-lex.c (errorcount): Declare it.
16316         (finish_parse): Update errorcount when using CPPLIB.
16317
16318 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
16319
16320         * fixinc/inclhack.def(end_else_label): Double the backslash so
16321         sed gets a chance to see it.
16322         * fixinc/inclhack.sh: regen
16323         * fixinc/fixincl.x: regen
16324
16325 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
16326
16327         Add framework to support armv5 architecture when it becomes
16328         available:
16329
16330         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
16331         (arm_arch5): New variable.
16332         (all_architectures): Add armv5 line.
16333         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
16334         -march=armv5 is specified on the command line.
16335         (arm_arch5): Export this variable.
16336         * invoke.texi: Document new string accepted by -march= switch for
16337         ARM ports.
16338
16339         * config/arm/arm.h: Replace use of constant 12 as a register
16340         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
16341         * config/arm/arm.c: Replace use of constant 12 as a register
16342         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
16343
16344         * config/arm/elf.h: Tidy up.
16345         * config/arm/coff.h: Tidy up.
16346
16347 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
16348
16349         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
16350         * gcc/config/mips/t-iris6gld: New file.
16351         * gcc/config/mips/iris6gld.h: Likewise.
16352
16353 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16354
16355         * c-decl.c (widest_integer_literal_type_node,
16356         widest_unsigned_literal_type) : New.
16357         (init_decl_processing): Handle/use the two new types.
16358         * c-common.c (type_for_size,type_for_mode) : Same.
16359         * c-lex.c (yylex) : Same.
16360         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16361         Same.
16362         * c-tree.h (widest_integer_literal_type_node,
16363         widest_unsigned_literal_type) : New.
16364
16365 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
16366
16367         * dwarfout.c (field_byte_offset): Correctly compute the object's
16368         byte offset for the first bit of a field which crosses an alignment
16369         boundary on a !BYTES_BIG_ENDIAN target.
16370
16371 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
16372
16373         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
16374         ntohs.
16375
16376 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
16377                           Jeff Law <law@cygnus.com>
16378
16379         * ginclude/varargs.h (va_dcl): Use word_mode for type of
16380         __builtin_va_list.
16381
16382         * except.c: Include intl.h.
16383         (expand_eh_return): Set current_function_cannot_inline.
16384         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
16385         * function.h (struct function): Add eh_return_stub_label.
16386         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
16387         * Makefile.in (except.o): Depend on intl.h.
16388
16389 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
16390
16391         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
16392         same as offsettable in cases 1 and 2.
16393
16394 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
16395
16396         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
16397         (extlh, extwh): Likewise.
16398
16399 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16400
16401         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
16402
16403 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
16404
16405         * configure.in: Add arm-pe and thumb-pe targets.
16406         * configure: Regenerate.
16407
16408         * thumb.c (arm_naked_function_p): New function: Determines if
16409         a function is naked (has no gcc generated prologue/epilogue).
16410         (is_called_in_ARM_mode): Return true if the func has the
16411         interfacearm attribute.
16412         (output_return): Do not generate a return for naked functions.
16413         (thumb_function_prologue): Do not generate a prologue for
16414         naked functions.
16415         (thumb_expand_prologue): Do not generate a prologue for naked
16416         functions.
16417         (thumb_expand_epilogue): Do not generate an epilogue for naked
16418         functions.
16419         (arm_valid_machine_decl_attribute): New function, copied from
16420         arm.c:  Permit naked and interfacearm attributes.
16421
16422         * config/arm/pe.c: New file: Support code for arm-pe target.
16423         * config/arm/pe.h: New file: Header file for arm-pe target.
16424         * config/arm/tpe.h: New file: Header file for thumb-pe target.
16425         * config/arm/t-thumb-pe: New file: Makefile fragment for
16426         thumb-pe target.
16427
16428 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
16429
16430         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
16431         -fPIC or -fpic is specified.
16432
16433 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
16434
16435         * expr.c (emit_block_move): Use copy_to_mode_reg for
16436         !TARGET_MEM_FUNCTIONS case too.
16437
16438         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
16439         appropriate.
16440         * configure: Rebuilt.
16441         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
16442         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
16443         definitions made redundant by dbxelf.h inclusion.  Delete
16444         lots of definitions related to assembly output that are
16445         specific to the SOM object format.
16446         * pa.c (output_function_prologue): Do not emit the function's
16447         name for OBJ_ELF.
16448         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
16449         * pa-pro.h: Deleted.
16450         * som.h: New file with SOM specific definitions.
16451         * elf.h: New file with ELF specific definitions.
16452
16453         * elfos.h (const_section): Output a tab before assembler directives.
16454         (ctors_section, dtors_section): Likewise.
16455         (ASM_OUTPUT_SECTION_NAME): Likewise.
16456
16457         * pa/pa1.h: Delete unused file.
16458
16459 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
16460
16461         * configure.in (hppa*-hp-hpux11*): New configuration.
16462         * configure: Rebuilt.
16463         * pa/pa-hpux11.h: New file.
16464         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
16465         command line.
16466
16467         * mips.md (leasi, leadi): New patterns.
16468
16469         * expr.c (emit_block_move): Properly handle case where one of the
16470         block move arguments has a queued increment or decrement.
16471         (clear_storage): Similarly.  Fix formatting goof.
16472
16473 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
16474
16475         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
16476         semicolon from the BSD VA_LIST replacement expression.
16477
16478         * fixinc/inclhack.sh: regen
16479         * fixinc/fixincl.x: regen
16480
16481         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
16482         now use the fixincl program.
16483
16484 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
16485
16486         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
16487         case.  Also make the PIC register call_used.
16488
16489         * m68k.h (FINALIZE_PIC): Delete.
16490         * m68k.c (finalize_pic): Delete.
16491
16492 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
16493
16494         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
16495         to memory.
16496
16497 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
16498
16499         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
16500
16501 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
16502
16503         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
16504
16505 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
16506
16507         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
16508
16509 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
16510
16511         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
16512
16513 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
16514
16515         * rs6000.c (output_toc): Always use hex values for floating-point
16516         constants.  Store single-precision values in upper-half of TOC
16517         entry in 64-bit mode.
16518         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
16519         to final constraints.
16520         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
16521         (fctiwz): Improve accuracy of RTL for pattern.
16522
16523 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16524
16525         * expr.c (expand_expr): Allow RTL_EXPR's through the
16526         MAX_INTEGER_COMPUTATION_MODE checks.
16527
16528 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
16529
16530         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
16531         such that MASK_SUPPORT_ARCH is not negative.
16532
16533 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
16534
16535         * loop.c (verify_dominator): Properly handle ADDR_VEC and
16536         ADDR_DIFF_VEC insns that appear inside loops.
16537
16538 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
16539                           Jeff Law <law@cygnus.com>
16540
16541         * rs6000.md (movdf_hardfloat32): Revert previous patch.
16542         Handle LO_SUM the same as offsettable in cases 1 and 2.
16543         * rs6000.c (find_addr_reg): Revert previous patch.
16544
16545 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
16546
16547         * system.h (strstr): New external function declaration.
16548         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
16549         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
16550         * config.in, configure: Rebuilt.
16551
16552 1999-06-24  Tom Tromey  <tromey@cygnus.com>
16553
16554         * gcc.c (main): Read user-specified specs files after computing
16555         additional startfile_prefixes.
16556
16557 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
16558
16559         Revert these two patches:
16560
16561         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16562         * loop.c (strength_reduce): When doing biv->giv conversion, update
16563         reg note of NEXT->insn.
16564
16565         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16566         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
16567         reg_biv_class.
16568         (recombine_givs): Set ix field after sorting.
16569
16570 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16571
16572         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
16573         for the parts of an UNSPEC / UNSPEC_VOLATILE.
16574
16575 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
16576
16577         *fixinc/inclhack.def:  Add fix development commentary
16578         (read_ret_type): reactivate and add selection clause
16579         (zzz_*): tweak output file name to match what is used in hackshell.tpl
16580         *fixinc/{fixincl.x|inclhack.sh}: regen
16581
16582 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
16583
16584         * expr.c (expand_expr): STRIP_NOPS before checking against
16585         MAX_INTEGER_COMPUTATION_MODE
16586         (check_max_integer_computation_mode): Likewise.
16587
16588 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
16589
16590         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
16591
16592 1999-06-22  Jim Wilson  <wilson@cygnus.com>
16593
16594         * expr.c (store_expr): When target is a promoted subreg, return a
16595         promoted subreg as a result.
16596
16597 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
16598
16599         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
16600         coding standards.
16601         (dwarf2out_define): Mark unused parameters appropriately.
16602         (gen_unspecified_parameters_die): Ditto.
16603         (gen_subprogram_die): Fix signed/unsigned warnings.
16604         (gen_variable_die): Ditto.
16605
16606 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
16607
16608         * fixinc/inclhack.def(end_else_label): combined else_label
16609         and endif_label and fixed the sed expression.
16610         *fixinc/{fixincl.x|inclhack.sh}: regen
16611
16612 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
16613
16614         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
16615         'x' when handling non-offsettable addresses
16616
16617 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
16618
16619         * final.c (shorten_branches): Don't try to split an insn that has
16620         been deleted.
16621
16622 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
16623
16624         * config/mips/mips.c (symbolic_expression_p): New function.
16625         (mips_select_rtx_section): Put symbolic expressions in the
16626         data section, not the read-only data section.
16627
16628 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
16629
16630         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
16631
16632 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
16633
16634         * collect2.c (main): Log frame table count.
16635         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
16636         (scan_prog_file) [COFF]: Handle frame tables.
16637
16638         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
16639         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
16640         * alpha/elf.h: Undef them again.
16641         * alpha/vms.h: Remove their definitions.
16642
16643 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16644
16645         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
16646         remove the clobber of r0 and change the REG_UNUSED note to
16647         REG_INC.
16648
16649 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
16650
16651         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
16652         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
16653         fits in HOST_WIDE_INT and one uses union to access a long constant
16654         as double.
16655
16656 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
16657
16658         * sparc.c (sparc_override_options): Don't allow profiling for
16659         code models other than medlow.
16660         (sparc_function_profiler): New function from old FUNCTION_PROFILER
16661         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
16662         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
16663         (sparc_block_profiler): Likewise.
16664         (sparc_function_block_profiler_exit): Likewise.
16665         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
16666         (FUNCTION_BLOCK_PROFILER): Likewise.
16667         (BLOCK_PROFILER): Likewise.
16668         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
16669         (MCOUNT_FUNCTION): New.
16670         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
16671         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
16672         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
16673         (MCOUNT_FUNCTION): New.
16674         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
16675         (BLOCK_PROFILER): Delete.
16676         (MCOUNT_FUNCTION): New.
16677
16678 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
16679
16680         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
16681
16682 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
16683
16684         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16685         Add the macros.
16686
16687         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16688         Ditto.
16689
16690         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16691         Ditto.
16692
16693         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16694         Ditto.
16695
16696 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
16697
16698         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
16699         types.
16700
16701 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
16702
16703         * i386/djgpp.h (LIB_SPEC): New.
16704         (STARTFILE_SPEC): New.
16705
16706         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
16707
16708 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
16709
16710         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
16711         compiler flags.
16712
16713         * system.h (WSTOPSIG): New macro.
16714
16715 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16716
16717         * c-pragma.c (push_alignment): Don't ignore alignments greater than
16718         4 bytes.
16719         (insert_pack_attributes): Take into account member natural
16720         alignment.
16721
16722         * i386/winnt.c (exports_head): New static variable.
16723         (i386_pe_record_exported_symbol): New function.
16724         (i386_pe_asm_file_end): Use.
16725         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
16726         symbols to be emitted at end of assembly.
16727         (ASM_DECLARE_OBJECT_NAME): Likewise.
16728         (ASM_DECLARE_FUNCTION_NAME): Likewise.
16729
16730         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
16731         -iwithprefix.
16732
16733 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
16734
16735         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
16736         in last change.
16737
16738 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
16739
16740         * haifa-sched.c (sched_analyze_1): Use free_list instead of
16741         zapping reg_last_uses directly.
16742         (sched_analyze_2, sched_analyze_insn): Likewise.
16743         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
16744
16745 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
16746
16747         * rs6000.md (movdf_hardfloat32): Use worst case insn length
16748         attributes for cases 1 and 2.
16749
16750 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
16751
16752         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
16753         instead of set.
16754
16755 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
16756
16757         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
16758
16759 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
16760
16761         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
16762         PIC_OFFSET_TABLE_REGNUM for general alloaction.
16763         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
16764         must be stacked if it is used for PIC accesses.
16765         * arm.c (use_return_insn): Handle PIC register specially.
16766         (output_return_instruction): Likewise.
16767         (output_func_{prologue,epilogue}): Likewise.
16768         (output_expand_prologue): Likewise.
16769
16770         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
16771         (*strsi_predec): Renamed from *strqi_predec.
16772         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
16773         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
16774
16775         * arm.c (arm_override_options): Remove warning about PIC code
16776         not being supported.
16777
16778 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
16779
16780         * rs6000.c (find_addr_reg): New function.
16781         * rs6000.h (find_addr_reg): Declare.
16782         (offsettable_addr_operand): Delete.
16783         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
16784         from and stores to GPRs.
16785
16786 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
16787
16788         * alpha.c (alpha_expand_block_move): Use get_insns rather than
16789         gen_sequence as argument to emit_no_conflict_block.
16790
16791 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
16792
16793         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
16794         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
16795         *fixinc/fixincl.x: regen
16796         *fixinc/inclhack.sh: regen
16797
16798 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
16799
16800         * added support for -mpcrel (PC relative addressing for m68k)
16801         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
16802         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
16803         * m68k.c (print_operand_address): Handle 32-bit PIC case.
16804         (comments for general_src_operand): Add some explanation
16805         about EXTRA_CONSTRAINTS.
16806         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
16807         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
16808         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
16809         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
16810         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
16811         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
16812         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
16813         if not already set.
16814         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
16815         * m68k.h (TARGET_PCREL): New target flag.
16816         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
16817         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
16818         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
16819         contains a SYMBOL_REF.  Relax this constraint during reload, since
16820         we want to use the predicates, not reload's built-in concept of a
16821         valid memory address, to control what insns need reloading.
16822         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
16823         operands (essentially 'g', 'm', and 's' under normal circumstances).
16824         * m68k.c (print_operand): Cause printing of pc-relative addresses
16825         to include pc register.
16826         (print_operand_address): Ditto.
16827         (general_src_operand): Accept operands that are not only
16828         general_operands, but are also valid when used as a pc-relative
16829         source.
16830         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
16831         (memory_src_operand): Similar, for memory_operands.
16832         (pcrel_address): New predicate to accept the special case of a
16833         pc-relative address.
16834         * m68k.md (many patterns): Rewrite common SImode, HImode, and
16835         QImode insns to accept *_src_operand instead of *_operand where
16836         pc-relative operands can fit.  For example, a pc-relative operand
16837         can be used as a memory source operand for addsi3, but not as a
16838         memory destination.
16839         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
16840
16841 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
16842
16843         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
16844         .thumb_set pseudo op to mark aliases of thumb functions.
16845
16846 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
16847
16848         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
16849         preference to ASM_OUTPUT_DEF, if it is defined.
16850
16851         * tm.texi: Document new, optional target macro
16852         ASM_OUTPUT_DEF_FROM_DECLS.
16853
16854 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
16855
16856         * fixincludes: ISCNTL patch
16857         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
16858         (dgux_int_varargs): new for DG/UX
16859         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
16860
16861 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
16862
16863         * invoke.texi (ia32 options): Fix typo.
16864
16865 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16866
16867         * loop.c (strength_reduce): When doing biv->giv conversion, update
16868         reg note of NEXT->insn.
16869
16870 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
16871
16872         * loop.c (move_movables): Note issues with replacing REGs with
16873         SUBREGs.
16874         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
16875
16876 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
16877
16878         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
16879
16880         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
16881         the reference to `mcount' was not correct for the ELF on FreeBSD.
16882
16883 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16884
16885         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
16886         reg_biv_class.
16887
16888         (recombine_givs): Set ix field after sorting.
16889
16890 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
16891
16892         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
16893         to safe to extract a subword out of a REG.
16894
16895 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16896
16897         * sh.md (mulsi3): Don't add a no-op move at the end.
16898
16899 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16900
16901         * cse.c (cse_insn): Don't put hard register source into tables for
16902         the last insn of a libcall.
16903
16904 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16905
16906         * loop.c (strength_reduce): Insert sets of derived givs at every
16907         biv increment, even if it's the only one.
16908
16909 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
16910
16911         * dwarfout.c (add_incomplete_type): New fn.
16912         (output_type): Call it.
16913         (retry_incomplete_types): New fn.
16914         (dwarfout_finish): Call it.
16915
16916         From Eric Raskin <ehr@listworks.com>:
16917         (output_type): Output types for bases.
16918
16919 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
16920
16921         * mips.c (mips_output_conditional_branch): Add `break'
16922         between `default' label and `close braces'.
16923
16924 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
16925
16926         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
16927         specifications and make it realistic.
16928         (LIB_SPEC): Likewise.
16929
16930 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
16931
16932         * config/mips/mips.c (mips_secondary_reload_class): Check for
16933         (PLUS (SP) (REG)) and return appropriate register class.
16934         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
16935         Handle (PLUS (SP) (REG)).
16936         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
16937         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
16938         of emit_insn for tablejump.
16939
16940 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
16941
16942         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
16943         asm_fprintf format string by itself.
16944         (output_function_profiler): Likewise.
16945
16946 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
16947
16948         * combine.c (simplify_logical, case AND): Only call
16949         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
16950         or the constant is positive.
16951
16952 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
16953
16954         * configure.in: Fix typo in rs6000-ibm-aix4 case.
16955         * configure: Regenerate.
16956
16957 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
16958
16959         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
16960         require a sub-version #.
16961         * configure: Rebuilt.
16962
16963 1999-06-14  Robert Lipe  (robertlipe@usa.net)
16964
16965         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
16966
16967 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
16968
16969         * c-typeck.c (process_init_element): Detect excess elements in
16970         char array initializer.
16971
16972 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
16973
16974         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
16975
16976 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
16977
16978         * invoke.texi (Option Summary): Add -fpermissive flag.
16979
16980 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
16981
16982         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
16983         that require PIC code sequences.
16984
16985 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
16986
16987         * configure.in: Add new target: thumb-elf.
16988         * configure: Regenerate.
16989         * config/arm/t-thumb-elf: New file: Makefile fragment for
16990         thumb-elf build.
16991         * config/arm/telf.h: New file: Header file for thumb-elf
16992         build.
16993
16994 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
16995
16996         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
16997         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
16998         initializers is some circumstances.
16999
17000         * fixinc/inclhack.def (endif_label): Add additional selector for
17001         more bogus stuff after #endif statements.
17002         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
17003
17004 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17005
17006         * i386/cygwin.h (SET_ASM_OP): Define.
17007
17008 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17009
17010         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
17011
17012 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17013
17014         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
17015         latter.
17016
17017         * sh.md (ic_invalidate_line_i): Remove second alternative.
17018
17019 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17020
17021         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
17022         test for the presence of valid prototypes.  Delete bypass expr.
17023         (ioctl_fix_ctrl): Correct the selection expression.
17024         (no_double_slash): Correct quoting rules
17025         *fixinc/fixincl.x: regen
17026         *fixinc/inclhack.sh: regen
17027
17028 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
17029
17030         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
17031
17032 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17033
17034         * rs6000.md (movsi_got_internal_mem): Delete.
17035         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
17036         (GOT_TOC_REGNUM): Delete.
17037         (PIC_OFFSET_TABLE_REGNUM): Define.
17038         (FINALIZE_PIC): Disable.
17039         * rs6000.c (rs6000_got_register): New code for fixed pic register.
17040         (rs6000_replace_regno): Delete.
17041         (rs6000_finalize_pic): Likewise.
17042         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
17043
17044 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17045
17046         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
17047         is a note; use <= for the compare; advance P while it is
17048         a NOTE.
17049
17050 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
17051
17052         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
17053         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
17054
17055         * varasm.c (remove_from_pending_weak_list): Verify t->name
17056         is non-NULL before passing it to strcmp.
17057
17058 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17059
17060         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
17061         the typed arguments are not part of a comment
17062         (ioctl_fix_ctrl): Added a purpose comment
17063         *fixinc/fixincl.x: regenerate
17064         *fixinc/inclhack.sh: regenerate
17065
17066 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17067
17068         * invoke.texi: Add C4x invocation docs.
17069
17070 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17071
17072         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
17073         Define new macros.
17074         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
17075         TARGET_EXPOSE_LDP.
17076         (c4x_legitimize_reload_address): New function.
17077         * config/c4x/c4x.md: Update docs.
17078
17079 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
17080
17081         * fixincludes: Avoid removing '.'.
17082         * fixinc/fixinc.svr4: Likewise.
17083         * fixinc/fixinc.winnt: Likewise.
17084         * fixinc/inclhack.tpl: Likewise.
17085         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
17086
17087 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17088
17089         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
17090         pattern.
17091         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
17092
17093 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17094
17095         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
17096         correctly.
17097
17098 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
17099
17100         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
17101         * configure: Regenerate.
17102
17103 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
17104
17105         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
17106         values.
17107
17108 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
17109
17110         * fixinc/inclhack.def (avoid_bool): Also catch
17111         "typedef [unsigned] int bool".
17112         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
17113
17114         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
17115         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
17116         * configure: Rebuilt.
17117
17118 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
17119
17120         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
17121         such that we can override its definitions if necessary.
17122         (CPP_SPEC): New define.  Support processor specific predefines via
17123         %(cpp_cpu).
17124         (CC1_SPEC): New define.  Support processor specific compiler
17125         options via %(cc1_cpu).
17126         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
17127         -static.
17128
17129 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17130
17131         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
17132         between sed's -e flag, and the open-quote following it.
17133         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
17134
17135 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
17136                           Jeffrey A Law  (law@cygnus.com)
17137
17138         * varasm.c (assemble_start_function): Remove the function
17139         from the pending weak decls list when we define a function.
17140         (assemble_variable): Similarly for variables.
17141         (weak_finish): Ignore items on the list with a NULL name.
17142         (remove_from_ending_weak_list); New function to "remove" an item
17143         from the pending weak declarations list.
17144
17145 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
17146
17147         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
17148
17149 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
17150
17151         * c-lex.c (GETC): Redefine to call getch.
17152         (UNGETC): Redefine to call put_back.
17153         (putback_buffer): New structure type.
17154         (putback): New static structure.
17155         (getch): New function.
17156         (put_back): New function.
17157         (yylex): Replace unused bytes from bad multibyte character.
17158
17159 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
17160
17161         * cpplib.c (do_define): Cast `alloca' return value.
17162         (do_include, do_undef, do_pragma): Likewise.
17163         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
17164         values.
17165         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
17166         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
17167
17168 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
17169
17170         * sparc.md (abstf2): This should be an expand.
17171         (split after abstf2_notv9): Fix mode.
17172         (abstf2_hq_v9): New pattern.
17173         (abstf2_v9): Only use when no hard quad.
17174         (absdf2_v9): Fix if target is not the same as source.
17175         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
17176         Add correct output constraints.
17177
17178 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
17179
17180         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
17181         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
17182
17183 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
17184
17185         * mips.h (mips_output_conditional_branch): New function.
17186         (mips_adjust_insn_length): Likewise.
17187         (ASSEMBLER_SCRATCH_REGNUM): New macro.
17188         (ADJUST_INSN_LENGTH): Likewise.
17189         * mips.c (print_operand): Add `F' and `W' for floating-point
17190         comparison opcodes.
17191         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
17192         are now in bytes.
17193         (mips_adjust_insn_length): New function.
17194         (mips_output_conditional_branch): New function.
17195         * mips.md (length): Adjust attribute definition to handle
17196         conditional branches.  Change lengths to bytes, rather than
17197         instructions throughout.  Remove length attribute from
17198         instructions whose length is four bytes, and rely on the default
17199         instead.
17200         (dslot): Fix typo in comment.
17201         Reword conditional branch patterns to use
17202         mips_output_conditional_branch.
17203
17204 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
17205
17206         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
17207         (LIB_SPEC): Likewise.
17208         Link with -lprof1_r for -g/-pg.
17209
17210 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
17211
17212         * loop.c (check_dbra_loop): Fix change of Jan 19.
17213
17214 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
17215
17216         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
17217         (STARTFILE_SPEC):  Define, override the svr4.h version.
17218         (ENDFILE_SPEC):  Likewise.
17219
17220 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
17221
17222         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
17223         * fixinc/fixincl.x: Regenerated.
17224         * fixinc/inclhack.sh: Regenerated.
17225
17226 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17227
17228         * sh.c (barrier_align): Don't return early for normal branch/barrier
17229         when optimizing for SH2.
17230
17231 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
17232
17233         * i386/udk.h (LINK_SPEC): Correct linker search path for
17234         system libraries.
17235
17236 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17237
17238         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
17239         (braf_label_ref_operand): Delete.
17240         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
17241         * sh.md (casesi_jump_2): Operand1 is now the inside of a
17242         label_ref, and has no predicate.
17243         The patten has a predicate to guard against invalid substitutions.
17244         (dummy_jump): Delete.
17245         (casesi): Update use of casesi_jump_2.
17246
17247 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17248
17249         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
17250         *fixinc/fixincl.x: regenerate
17251         *fixinc/inclhack.sh: regenerate
17252
17253 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
17254
17255         * dwarf2out.c (add_incomplete_type): New fn.
17256         (gen_struct_or_union_type_die): Call it.
17257         (retry_incomplete_types): New fn.
17258         (dwarf2out_finish): Call it.
17259
17260 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
17261
17262         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
17263         current block starts with a CODE_LABEL and ends with a CALL and
17264         we can not find all the argument setup instructions for the CALL.
17265
17266 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
17267
17268         Revert this change:
17269         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
17270         something is a candidate for optimize_bit_field_compare.
17271
17272 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17273
17274         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
17275
17276 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
17277
17278         * alpha.c (override_options): Thinko in last patch.
17279
17280         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
17281         (LIB_SPEC): Recognize -pthread.
17282
17283 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
17284
17285         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
17286         definition in config/arm/coff.h
17287         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
17288
17289 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17290
17291         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
17292         fixes that need "file=xxx\n" prepended before invocation
17293         (start_fixer - new): starting the fixer process is complex enough
17294         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
17295         (process): uses the new routine; omit usage of putenv()
17296         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
17297         * fixinc/fixincl.x: regenerate
17298
17299 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
17300
17301         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
17302         and version #s (1.1 -> 2.96) as needed.
17303         * README.g77: Kill way out of date file in the toplevel directory.
17304
17305 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
17306
17307         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
17308         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
17309         * configure: Rebuilt.
17310         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
17311         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
17312         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
17313         (SWITCH_TAKES_ARG): Likewise.
17314         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
17315         * config/t-freebsd: Moved from config/i386/ so it can used for all
17316         FreeBSD targets.
17317
17318 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
17319
17320         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
17321
17322 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
17323
17324         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
17325         * configure: Rebuilt.
17326
17327 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
17328
17329         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
17330         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
17331         * rs6000/rs6000.c (rs6000_file_start): Use putc.
17332         (rs6000_output_load_toc_table): Same.
17333         (output_prolog, output_mi_thunk): Same.
17334         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
17335         (ASM_GLOBALIZE_LABEL): Use putc.
17336
17337 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
17338
17339         * alpha.md (reload_*_help): New patterns and splitters.
17340         (reload_*): Use them.
17341         (mov[qh]i): Likewise.
17342
17343 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
17344
17345         * cccp.c (handle_directive): Handle backslash-newlines in quoted
17346         strings correctly.
17347
17348 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
17349
17350         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
17351
17352 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
17353
17354         * flow.c (mark_regs_live_at_end, insn_dead_p,
17355         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
17356         and HARD_FRAME_POINTER_REGNUM special treatment if reload
17357         hasn't run or the frame pointer is needed.
17358         * haifa-sched.c (attach_deaths): Likewise.
17359         * sched.c (attach_deaths): Likewise.
17360
17361 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
17362
17363         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
17364         calculate_can_reach_end returns nonzero.
17365
17366         * configure.in (native gas tests): Search for an assembler in the
17367         same manner that the installed compiler will.
17368         * configure: Rebuilt.
17369         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
17370
17371         * alias.c (find_base_term): Improve handling of addresses
17372         constructed from binary operations.
17373
17374 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
17375
17376         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
17377
17378 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
17379
17380         * function.h (cleanup_label, frame_offset): Declare.
17381         (tail_recursion_label, tail_recursion_reentry): Likewise.
17382         (arg_pointer_save_area, rtl_expr_chain): Likewise.
17383         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
17384         (tail_recursion_label, tail_recursion_reentry): Likewise.
17385         (arg_pointer_save_area, rtl_expr_chain): Likewise.
17386
17387 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
17388
17389         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
17390         defined.
17391         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
17392         (MAX_OFILE_ALIGNMENT): Define.
17393
17394 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
17395
17396         * fixincl.c: Replace local include scheme with #includes of
17397         gansidecl.h and system.h.
17398         * procopen.c:  Likewise.
17399         * server.c:  Likewise.
17400
17401 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
17402
17403         * i386/t-dgux (EXTRA_PARTS): Add crti.o
17404         (crti.o): Add build rule and dependencies.
17405         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
17406
17407 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17408
17409         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
17410         (LIB_LINUX_SPEC): Likewise.
17411         (LIB_LINUX_SPEC): Add support for -pthread
17412         (CPP_OS_LINUX_SPEC): Likewise.
17413         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
17414         specified.
17415
17416 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
17417
17418         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
17419         conditional move.
17420         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
17421         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
17422         for IEEE math and CC_FCOMI.
17423         (put_jump_code): No IEEE if CC_FCOMI is set.
17424
17425 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
17426
17427         * fold-const.c (fold_truthop): Make the field reference unsigned
17428         when converting a single bit compare.
17429
17430 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17431
17432         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
17433
17434 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
17435
17436         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
17437         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
17438         version did.
17439
17440         * reload.c (push_reload): Do not call remove_address_replacements
17441         when presented with identical optional reloads.
17442
17443 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
17444
17445         * alpha.h (MASK_FIX, TARGET_FIX): New.
17446         (MASK_*): Reorganize constants.
17447         (CPP_AM_FIX_SPEC): New.
17448         (TARGET_SWITCHES): Add FIX.
17449         (EXTRA_SPECS): Likewise.
17450         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
17451         (SECONDARY_MEMORY_NEEDED): Likewise.
17452         (REGISTER_MOVE_COST): Likewise.
17453         * alpha.c (override_options): Add FIX support.  Always use
17454         ALPHA_TP_PROG for ev6.
17455         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
17456         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
17457         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
17458
17459 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
17460
17461         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
17462         something is a candidate for optimize_bit_field_compare.
17463
17464 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
17465
17466         * gcc.texi (Passes): Document branch-shortening.
17467         * invoke.texi (Debugging Options): Document the fact that `-dp'
17468         outputs length information for instructions.
17469
17470 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
17471
17472         * flow.c: Revert previous delta.
17473
17474 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
17475
17476         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
17477         FRAME_POINTER_REGNUM.
17478         (mark_set_1): Ditto.
17479         (mark_used_regs): Ditto.
17480
17481 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
17482
17483         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
17484         (GOT_PCREL): New macro.  Define to 1 if not already defined.
17485         * arm/elf.h (GOT_PCREL): Define to 0.
17486         * arm.c (arm_finalize_pic): Take into account the setting of
17487         GOT_PCREL.
17488
17489 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
17490
17491         * output.h (STRIP_NAME_ENCODING): Provide default definition.
17492         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
17493
17494         * flow.c (mark_set_1): Do not record BLKmode stores as dead
17495         store elimination candidates.
17496
17497 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17498
17499         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
17500         TARGET_GAS.
17501
17502 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
17503
17504         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
17505         Add use of x-aix41-gld.
17506
17507 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
17508
17509         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
17510         (ASM_OUTPUT_DESTRUCTOR): Define.
17511
17512 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
17513
17514         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
17515         last CODE_LABEL in a loop if we have previously passed a jump
17516         to the top of the loop.
17517
17518 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
17519
17520         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
17521         applying Philip's patch.
17522
17523 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
17524
17525         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
17526         are not VAR_DECLs.
17527
17528 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
17529
17530         * loop.c (strength_reduce): Grow reg_single_usage as needed.
17531
17532 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
17533
17534         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
17535         Also remove a useless comment.
17536
17537 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
17538
17539         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
17540
17541 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
17542
17543         * collect2.c (main): Only generate import or export file and add
17544         to link arguments if non-empty.  Use xmalloc not alloca.
17545         (write_{export,import}_file): Delete.
17546         (write_aix_file): New function.
17547         (locatelib): Use xmalloc not malloc.
17548         (GCC_OK_SYMBOL): Do not check type if aix64.
17549
17550 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
17551
17552         Based on patch by Scott Bambrough and Pat Beirne:
17553         * config/arm/arm.c (making_const_table): New variable.
17554         * config/arm/arm.h (making_const_table): Declare.
17555         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
17556         appropriate.
17557         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
17558         Keep track of when we are building the constant table.
17559
17560 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
17561
17562         * config/arm/arm.c (arm_override_options): Fix erroneous warning
17563         message.
17564
17565 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
17566
17567         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
17568         defined.
17569
17570 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
17571
17572         * tm.texi (FUNCTION_ARG): Correct description of a stack element
17573         in a PARALLEL.
17574
17575 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
17576
17577         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
17578
17579 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17580
17581         * rs6000.c (output_mi_thunk): Enable full support again.
17582
17583 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17584
17585         * sh.h (BRANCH_COST): Define.
17586
17587 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
17588
17589         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
17590
17591 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
17592
17593         * function.c (assign_stack_local): Align stack slot propertly.
17594         (assign_outer_stack_local): Likewise.
17595
17596 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
17597
17598         * expr.h (lang_expand_constant): Declare.
17599         * toplev.c (lang_expand_constant): Define it.
17600         * varasm.c (output_constant): Use it.
17601
17602 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17603
17604         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
17605         Change function definitions to K&R style.
17606
17607 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17608
17609         * fixinc/fixincl.c: We must not ignore SIGCLD now.
17610
17611 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
17612
17613         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
17614         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
17615         (several places): omit static initialization
17616         (process): use single fd, since only the read fd is used
17617         * fixinc/gnu-regex.c: define 'const' away, if not supported
17618         * fixinc/procopen.c(several places): omit static initialization
17619         * fixinc/server.c: define 'volitile' away, if not supported
17620
17621 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
17622
17623         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
17624         asm_fprintf and %L to generate the label name.
17625         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
17626         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
17627
17628 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
17629
17630         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
17631         insn for a conditional jump can not be found.
17632
17633 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
17634
17635         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
17636         on variables in specific sections other than .sbss and .sdata.
17637
17638 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
17639
17640         * stmt.c (expand_return): Call start_cleanup_deferral and
17641         end_cleanup_deferral around conditional code.
17642
17643 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17644
17645         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
17646         filename lists.  Utilizes new "krstr" AutoGen function.
17647         * fixinc/fixincl.x: Rebuilt.
17648
17649 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
17650
17651         * i386.c (output_float_compare): Avoid GNU-C extensions.
17652
17653 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
17654
17655         * version.c: Bump to distinguish mainline tree from the
17656         gcc-2.95 branch.
17657
17658 See ChangeLog.1 for earlier changes.