OSDN Git Service

* gensupport.c (process_rtx): Copy and post-process each member
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-05-08  Richard Henderson  <rth@cygnus.com>
2
3         * config/ia64/ia64.h (predicate_operator): Declare.
4
5         * config/ia64/ia64.md (extendsfdf2): Split the nop case out
6         of existance.
7
8         * gensupport.c (process_rtx): Copy and post-process each member
9         of the define_insn rtvec individually.
10
11 Mon  8 May 22:17:35 2000  Neil Booth  <NeilB@earthling.net>
12
13         * cpplex.c (spell_token): New function.
14         (TOKEN_LEN): Add 1 for whitespace.
15         (_cpp_lex_file): Update to use spell_token.
16         * cpplib.h (E): Remove.
17         (TTYPE_TABLE): Update CPP_VSPACE entry.
18
19 2000-05-08  Richard Henderson  <rth@cygnus.com>
20
21         * flow.c (init_propagate_block_info): Watch out for conditional
22         branch to next instruction, and thus one outgoing edge.
23
24         * config/ia64/ia64.c (ia64_encode_section_info): Exit early
25         for global register variables; don't special case __[CD]TOR_LIST__;
26         mind ggc_p for string allocation.
27
28 2000-05-08  Nick Clifton  <nickc@cygnus.com>
29
30         * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
31
32 2000-05-08  Bruce Korb  <bkorb@gnu.org>
33
34         * fixinc/mkfixinc.sh:  fixinc.sco is no longer used
35         i?86-*-msdosdjgpp* no longer uses fixincludes
36         * fixinc/genfixes:  inclhack.sh and fixincl.sh are no longer generated
37         * fixinc/inclhack.sh:  deleted
38         * fixinc/hackshell.tpl:  deleted
39         * fixinc/inclhack.tpl:  deleted
40         * fixinc/Makefile.in:  Remove dependencies on above
41         * fixinc/fixincl.sh:  "DO NOT EDIT" text modified
42
43 2000-05-08  Andreas Jaeger  <aj@suse.de>
44
45         * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
46         support.
47
48 2000-05-07  Zack Weinberg  <zack@wolery.cumb.org>
49
50         * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
51         substitutions.
52
53 Sun  7 May 08:43:53 2000  Neil Booth  <NeilB@earthling.net>
54
55         * cpplex.c: Move new lexer definitions and prototypes
56         to top.  Conditional include these and the code if
57         NEW_LEXER is defined.  Rename functions whose names
58         clash if this code included.
59
60 Sun May  7 00:54:57 EDT 2000  John Wehle  (john@feith.com)
61
62         * rtl.def (COND_EXEC): Clarify.
63
64         * i386.md (extendsidi2): Clobber (reg:CC 17) in the
65         same fashion as zero_extendsidi2.
66
67 2000-05-06  Richard Henderson  <rth@cygnus.com>
68
69         * config/ia64/ia64.c (predicate_operator): New.
70         (ia64_print_operand): Handle 'J'.
71         (rtx_needs_barrier): Handle COND_EXEC.
72         * config/ia64/ia64.h (BRANCH_COST): Define.
73         (PREDICATE_CODES): Update.
74         * config/ia64/ia64.md: Docuement used unspec values.
75         (attr predicable): New.
76         (movxf, movxf_internal): New.
77         (extendsfdf2): Don't comment out nop.
78         (floatdidf2): Remove.
79         (truncxfsf2, truncxfdf2, floatdixf2): New.
80         (abssi2, absdi2): Put the neg in the "true" slot.
81         (conditional branch instructions): Mark not predicable.
82         (cmov*_internal): Use predicate_operator.  Split to cond_exec.
83         (abs*_internal): Likewise.
84         (alloc, set_bsp): Mark not predicable.
85         (barrier, insn_group_barrier, flush_cache): Likewise.
86         (define_cond_exec): New.
87
88 2000-05-06  Richard Henderson  <rth@cygnus.com>
89
90         * c-decl.c: Include "tm_p.h".
91
92         * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
93         (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
94         (ia64_expand_op_and_fetch): Declare.
95         * config/ia64/ia64.c: Include "toplev.h".  Kill trailing whitespace.
96         (setjmp_operand): Constify variables for XSTR.
97         (ia64_encode_section_info): Likewise.
98         (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
99         values to int.
100         (ia64_asm_output_external): Constify name.
101         (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
102         (process_for_unwind_directive): Provide switch default.
103         (ia64_expand_compare_and_swap): Remove unused variables.
104         (ia64_expand_builtin): Likewise.
105         * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
106         for printing.
107
108         * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
109         (symbolic_operand, function_operand, setjmp_operand): Likewise.
110         (shift_count_operand, shift_32bit_count_operand): Likewise.
111         (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
112         (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
113         (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
114         (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
115         (ia64_expand_builtin): Likewise.
116         (call_multiple_values_operation): Make dest_regno unsigned.
117
118 2000-05-06  Richard Henderson  <rth@cygnus.com>
119
120         * rtl.def (DEFINE_COND_EXEC): New.
121         * md.texi: Document it.
122
123         * gensupport.c (input_file): Remove.
124         (struct queue_elem): Add lineno.
125         (rtx_ready_queue): Remove.
126         (errors): New.
127         (predicable_default): New.
128         (predicable_true, predicable_false): New.
129         (define_attr_queue, define_attr_tail): New.
130         (define_insn_queue, define_insn_tail): New.
131         (define_cond_exec_queue, define_cond_exec_tail): New.
132         (other_queue, other_tail): New.
133         (queue_pattern): New.
134         (process_rtx): Add patterns to the appropriate queues.
135         (is_predicable, identify_predicable_attribute): New.
136         (n_alternatives, collect_insn_data): New.
137         (alter_predicate_for_insn, alter_test_for_insn): New.
138         (shift_output_template, alter_output_for_insn): New.
139         (process_one_cond_exec, process_define_cond_exec): New.
140         (init_md_reader): Read the entire file.  Process define_cond_exec.
141         (read_md_rtx): Return elements from the queues.
142
143 2000-05-06  Richard Henderson  <rth@cygnus.com>
144
145         * flow.c (mark_set_1): Don't update conditional life info
146         if the register is not_dead.
147
148 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
149
150         * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
151         (mostlyclean): Also delete fixincl, fixinc.sh, and
152         specs.ready, and make clean in the fixinc subdir.
153
154 2000-05-06  Richard Henderson  <rth@cygnus.com>
155
156         * Makefile.in (gensupport.o): Compile for the host.
157         (host-prefix gensuuprt.o): Remove.
158         (genflags.o): Depend on gensupport.h and OBSTACK_H.
159         (genattrtab.o): Likewise.
160         (gencodes.o): Depend on gensupport.h.
161         (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
162         (genpeep.o, genattr.o, genoutput.o): Likewise.
163
164         * gensupport.c (obstack, rtl_obstack): New.
165         (init_md_reader): Initialize rtl_obstack.
166         * gensupport.h (rtl_obstack): Declare.
167         (message_with_line): Declare.
168
169         * genattr.c: Remove all traces of obstack manipulation.
170         * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
171         * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
172
173         * genattrtab.c (obstack, rtl_obstack): Remove.
174         (main): Don't init rtl_obstack.
175         * genflags.c: Likewise.
176
177         * genrecog.c (message_with_line): Move ...
178         * gensupport.c: ... here.
179
180 2000-05-06  Richard Henderson  <rth@cygnus.com>
181
182         * c-typeck.c (build_c_cast): Remove dead code.
183
184 2000-05-06  Richard Henderson  <rth@cygnus.com>
185
186         * flow.c (split_edge): Don't allocate global_live_at_start for
187         the new block unless the old blocks had them as well.
188
189         * flow.c (mark_set_1): Respect not_dead when updating reg_live.
190
191         * ifcvt.c (noce_process_if_block): Don't use an insn_b from
192         test_bb if a or b uses x.
193
194 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
195
196         * cpphash.h: Remove conditional #define of __extension__.
197         * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
198         RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
199         (ENABLE_RTL_CHECKING only).
200         * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
201         CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
202         (ENABLE_TREE_CHECKING only).
203         * varray.h: Add __extension__ to VARRAY_CHECK macro
204         (ENABLE_CHECKING only).
205
206 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
207
208         Use new tail-calling mechanism on ARM.
209         * arm.md (sibcall, sibcall_value): New expands.
210         (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
211         (tailcalling peepholes): Delete.
212         (push_multi): Simplify.
213         * arm.c (lr_save_eliminated): Delete definition.
214         (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
215         (output_return_instruction): Remove checks on lr_save_eliminated.
216         (output_arm_prologue): Remove old tail-calling code.
217         (arm_output_epilogue): New parameter, really_return.  All callers
218         changed.  Handle tail-calling epilogues.
219         * arm.h (lr_save_eliminated): Delete declaration.
220         (frame_pointer_needed): Delete declaration.
221         * arm-protos.h (arm_output_epilogue): Adjust prototype.
222
223         * arm.md (is_thumb): Examine symbol thumb_code, not expression
224         TARGET_ARM.
225         * arm.c (thumb_code): Define it.
226         (arm_override_options): Set it.
227         * arm.h (thumb_code): Declare it.
228         
229 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
230
231         * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
232
233 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
234
235         * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
236         bogus clobber to insns.
237         (load_multiple_operation, store_mulitple_operation): Don't check 
238         for it.
239         * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
240
241         * arm.md (and_scc, ior_scc): Add missing mode.
242
243         * arm.md (call_value_symbol): Remove predicate from op2.
244
245         * arm.h (SPECIAL_MODE_PREDICATES): Define.
246         
247 Sat May  6 06:25:56 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
248
249         * expr.c (get_subtarget): New function.
250         (force_operand, expand_expr, do_store_flag): Use it.
251
252         * toplev.c (compile_file): Don't take strlen of NAME if null.
253
254 2000-05-06  David Edelsohn  <edelsohn@gnu.org>
255
256         * xcoffout.c (xcoff_current_include_file,
257         xcoff_current_function_file, xcoff_lastfile): Constify char *.
258         (xcoffout_source_file, xcoffout_source_line): Make filename 'const
259         char *'.
260         (xcoffout_declare_function): Make name 'const char *'.
261         (xcoffout_end_epilogue): Make fname 'const char *'
262         * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
263         xcoffout_declare_function, xcoffout_source_line): Match above.
264
265         * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
266         -maix64 is error.
267         * rs6000.c (print_operand): Fix lossage typo.
268         (output_cbranch): Remove "cr" decoration for now.
269         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'. 
270
271 Sat May  6 06:55:32 2000  Denis Chertykov  <denisc@overta.ru>
272
273         * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
274         constant count.
275
276 2000-05-05  Bruce Korb  <bkorb@gnu.org>
277
278         * fixinc/genfixes: Improve the matching for make target names
279
280 2000-05-05  Catherine Moore  <clm@cygnus.com>
281
282         * c-common.c (decl_attributes):  For TYPE_DECLs attach the
283         attribute to the decl.
284         * c-decl.c (pushdecl): Propagate the USED attribute to the 
285         type copy.
286
287 2000-05-05  Richard Henderson  <rth@cygnus.com>
288
289         * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
290         same way emit_group_load does.
291
292 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
293
294         * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
295
296         * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
297         (main): Likewise.
298
299 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
300
301         * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
302
303 Fri May  5 10:29:21 2000  Marc Espie <espie@cvs.openbsd.org>
304
305         * config/openbsd.h (LINK_SPEC): pass correct flags to ld 
306         to support -shared, on platforms with dynamic libraries.
307
308 Fri May  5 10:27:06 2000  Philippe De Muyter  <phdm@macqel.be>
309
310         * system.h (S_ISBLK): Provide fallback definition.
311
312 2000-05-05  Geoff Berry  <geoffb@bops.com>
313
314         * extend.texi (Extended Asm): Document inability to give asm
315         statements access to condition codes.
316
317 2000-05-05  Marek Michalkiewicz  <marekm@linux.org.pl>
318
319         * varasm.c (asm_emit_uninitialised): Use 0, not NULL
320         as arg 2 of UNIQUE_SECTION.
321
322 Fri May  5 10:11:41 2000  Jeffrey A Law  (law@cygnus.com)
323
324         * predict.c: Remove May 4 change.
325         * bb-reorder.c (make_reorder_chain): Do not perform block movement
326         if we have predicted the branch at 50-50 probability.
327
328 2000-05-05  Richard Henderson  <rth@cygnus.com>
329
330         * flow.c (init_propagate_block_info): Fix merge error
331         in HAVE_conditional_execution code.
332
333 Fri May  5 07:43:50 2000  Denis Chertykov  <denisc@overta.ru>
334
335         * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
336         shift cycle for unknown shift count. Also generates dec + brpl.
337         (ashlqi3_out): Don't generate dec + brpl which now generates by
338         `out_shift_with_cnt'.
339         (ashlhi3_out): Likewise.
340         (ashlsi3_out): Likewise.
341         (ashrqi3_out): Likewise.
342         (ashrhi3_out): Likewise.
343         (ashrsi3_out): Likewise.
344         (lshrqi3_out): Likewise.
345         (lshrhi3_out): Likewise.
346         (lshrsi3_out): Likewise.
347
348 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
349
350         * gcc.c (free_split_directories): Correct typo in explanation
351         of make_relative_prefix.
352
353 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
354
355         * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
356         comparison codes to branch_comparison_operator.
357
358 2000-05-04  Richard Henderson  <rth@cygnus.com>
359
360         * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
361
362 2000-05-04  Richard Henderson  <rth@cygnus.com>
363
364         * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
365         (DPBIT_FUNCS): Remove _sf_to_usi.
366         (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
367
368         * ifcvt.c (noce_process_if_block): Fail if A or B modified
369         between condition and jump.
370
371         * libgcc2.c (near eh_context_specific): Comment #endif string.
372         * longlong.h: Don't use strings with embedded newlines.
373
374 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
375
376         * config/rs6000/rs6000-protos.h: Add output_cbranch.
377         * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
378         (print_operand): Delete %t and %T codes.
379         (output_cbranch): New function.  Support branch prediction.
380         * config/rs6000/rs6000.md: Use output_cbranch for
381         conditional branches and returns.
382
383 2000-05-04  Jason Merrill  <jason@casey.cygnus.com>
384
385         * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
386         * stor-layout.c (place_field): Likewise.
387         * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
388         * expr.c (store_expr): Make align unsigned.
389         * explow.c (plus_constant_wide): Make low words unsigned.
390         * expmed.c (choose_multiplier): Likewise.
391         * fold-const.c (fold):  Likewise.
392         * tree.h (build_int_2): Likewise.
393         * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
394         * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
395         (init_emit): Change cast to unsigned char*.
396         * varasm.c (compare_constant_1): Add cast to char*.
397         * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
398         * reload1.c (reload): Likewise.
399
400         * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
401
402 Thu May  4 14:37:23 2000  Jeffrey A Law  (law@cygnus.com)
403
404         * predict.c (estimate_probability): If no prediction was found, then
405         predict the successor that is the next physical block (if such a
406         successor exists).
407
408 2000-05-04  Richard Henderson  <rth@cygnus.com>
409
410         * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
411
412 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
413
414         * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
415
416 2000-05-04  Mumit Khan  <khan@xraylith.wisc.edu>
417
418         * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move 
419         attribute macros from here ...
420         (CPP_SPEC): to here.
421         * i386/mingw32.h (CPP_PREDEFINES): Likewise.
422         (CPP_SPEC): Likewise.
423         * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros. 
424
425         * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
426         (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
427
428 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
429
430         * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
431         
432         * diagnostic (vbuild_message_string, build_message_string,
433         build_location_prefix, output_get_prefix, init_output_buffer,
434         output_notice, vline_wrapper_message_with_location,
435         v_message_with_decl, default_print_error_function): De-constify.
436         (set_real_maximum_length): Prototype.
437
438         * diagnostic.h (struct output_buffer, init_output_buffer,
439         output_get_prefix, output_set_prefix): De-constify.
440
441         * function.c (init_function_start): Constify.
442
443         * gensupport.c (remove_constraints, process_rtx): Prototype.
444
445         * gthr-posix.h: Indent uses of #pragma.
446
447         * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
448         Prototype.
449
450         * predict.c (find_expected_value): Delete prototype.
451         (expected_value_to_br_prob): Initialize variable `ev_reg'.
452
453         * sbitmap.h (debug_sbitmap): Prototype.
454
455         * ssa.c (compute_coalesced_reg_partition): Prototype.
456
457         * stor-layout.c (debug_rli): Prototype.
458
459         * tree.h (round_down): Prototype.
460         (init_function_start): Constify.
461
462 2000-05-04  Zack Weinberg  <zack@wolery.cumb.org>
463
464         * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
465         (overly conservative).  Change extern inline wrappers to
466         static inline, define them always, use PARAMS properly.
467         * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
468         whitespace warnings for \f and \v at the beginning of a line.
469
470 Thu May  4 10:03:50 2000  Jeffrey A Law  (law@cygnus.com)
471
472         * haifa-sched.c (schedule_insns): Free the flow edge list when it
473         is no longer needed
474
475 2000-05-04  Bruce Korb  <bkorb@gnu.org>
476
477         * fixincl/inclhack.def: added broken_cabs -
478         Remove `extern double cabs' declarations from math.h
479         * fixincl/inclhack.sh: regen
480         * fixincl/fixincl.x: regen
481         * fixincl/fixincl.c: Remove BOGOSITY code
482         * fixincl/mkfixinc.sh: Remove code for installing "shell" version
483
484 Thu May  4 09:45:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
485
486         * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
487         MEM_ALIAS_SET.
488         * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
489         when calling MEM_COPY_ATTRIBUTES.
490         * emit-rtl.c (operand_subword, change_address): Likewise.
491         * explow.c (stabilize): Likewise.
492         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
493         * integrate.c (copy_rtx_and_substitute): Likewise.
494         * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
495         when calling MEM_COPY_ATTRIBUTES.
496         (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
497         Likewise.
498         * cse.c (gen_lowpart_if_possible): Likewise.
499         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
500         * optabs.c (gen_move_insn): Likewise.
501         * recog.c (validate_replace_rtx_1): Likewise.
502         * simplify-rtx.c (add_mem_for_addr): Likewise.
503         * stmt.c (expand_anon_union_decl): Likewise.
504         * config/arm/arm.md: Likewise.
505         * config/h8300/h7300.c (fix_bit_operand): Likewise.
506         * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
507         (block_move_no_loop, block_move_sequence): Likewise.
508         * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
509         * config/alpha/alpha.c (get_aligned_mem): Likewise.
510         Clear MEM_ALIAS_SET.
511         * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
512         MEM_COPY_ATTRIBUTES.
513
514 2000-05-03  Robert Lipe <robertlipe@usa.net>
515         
516         * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
517         to suppress libgcc1.
518         (i[34567]86-*-sco3.2v5*) Likewise.
519         (i[34567]86-*-sco3.2v4*) Likewise.
520         (i[34567]86-*-sco) Likewise.
521         (i[34567]86-*-solaris2) Likewise.
522         (i[34567]86-*-sysv5*) Likewise.
523         (i[34567]86-*-sysv4*) Likewise.
524         (i[34567]86-*-udk*) Likewise.
525         (i[34567]86-*-sysv*) Likewise.
526
527 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
528
529         * cpphash.h (U): New define, to correct type of string constants.
530         (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
531         routines, to do casts when passing unsigned strings to libc.
532         * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
533
534         * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
535         * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
536         * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
537         * cpplex.c (parse_ifdef, parse_include, validate_else): Make
538         second argument an U_CHAR *.
539
540         * cppinit.c (builtin_array): Make name and value U_CHAR *, add
541         length field, clean up initializer.
542         (ISTABLE): Add __extension__ to designated-
543         initializers version.
544         * cpplex.c (CHARTAB): Likewise.
545
546         * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
547         case so the file won't be empty.
548
549 Wed May  3 21:01:46 2000  Jason Eckhardt  <jle@cygnus.com>
550
551         * bb-reorder.c (struct reorder_block_def): Member succ removed.
552         (REORDER_BLOCK_SUCC): Removed.
553         (enum reorder_skip_type): Removed.
554         (skip_insns_between_block): Renamed to skip_insns_after_block.
555         Removed second argument. Removed dead code and cleaned up.
556         (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
557         (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
558         second parameter to skip_insns_after_block.
559
560 Wed May  3 13:29:54 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
561
562         * tree.c (staticp, case LABEL_DECL): New case.
563
564 2000-05-03  Richard Henderson  <rth@cygnus.com>
565
566         * Makefile.in (start.encap): Do not depend on LIBGCC1.
567
568         * mklibgcc1.in: Fix typo last change.
569
570 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
571
572         * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
573         (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
574         (GCC_CFLAGS): Use it.
575         (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
576         * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
577         objc/Make-lang.in: Use it.
578
579 2000-05-03  Jason R Thorpe  <thorpej@zembu.com>
580
581         * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
582
583 2000-05-03  Richard Henderson  <rth@cygnus.com>
584
585         * mklibgcc.in: Restrict OLDCC=GCC test to native.  Equate
586         LIBGCC1 empty with libgcc1.null.
587
588 Wed May  3 12:55:46 2000  Jim Wilson  <wilson@cygnus.com>
589
590         * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
591         change.
592
593 2000-05-03  Greg McGary  <gkm@gnu.org>
594
595         * tree.h (tree_common): Add bounded_flag member.  Remove
596         inaccurate comment about number of remaining bits.
597         (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
598         BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
599         MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
600         TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
601         TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
602         (TYPE_QUAL_BOUNDED): New constant.
603         (TYPE_QUALS): Handle bounded qualifier.
604         (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
605         (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
606         TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
607         TYPE_AMBIENT_BOUNDEDNESS): New macros.
608         (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
609         (tree_type): Add pointer_depth member.  Remove
610         inaccurate comment about number of remaining bits.
611         (DECL_POINTER_DEPTH): Add macro.
612         (tree_decl): Add pointer_depth member.
613
614 Wed May  3 22:52:53 2000  Denis Chertykov  <denisc@overta.ru>
615
616         * config/avr/avr-protos.h (test_hard_reg_class): Declared.
617         * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
618         (lshrhi3_out): Likewise.
619         (ashrsi3_out): bugfix in shift by 8.
620         (test_hard_reg_class): New function.
621         * config/avr/avr.md: Bugfix inside conditions in peepholes.
622         (ashlhi3): removed define_expand of this pattern.
623         (*ashlhi3_insn): renamed to ashlhi3.
624         (ashlsi3): removed define_expand of this pattern.
625         (*ashlsi3_insn): renamed to ashlsi3.
626         (ashrqi3): removed define_expand of this pattern.
627         (*ashrqi3_insn): renamed to ashrqi3.
628         (ashrhi3): removed define_expand of this pattern.
629         (*ashrhi3_insn): renamed to ashrhi3.
630         (ashrsi3): removed define_expand of this pattern.
631         (*ashrsi3_insn): renamed to ashrsi3.
632         (lshrhi3): removed define_expand of this pattern.
633         (*lshrhi3_insn): renamed to lshrhi3.
634         (lshrsi3): removed define_expand of this pattern.
635         (*lshrsi3_insn): renamed to lshrsi3.
636
637 2000-05-03  Rodney Brown  <RodneyBrown@pmsc.com>
638
639         * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
640         inclusion of "system.h".
641
642 Wed May  3 11:43:53 2000  Jim Wilson  <wilson@cygnus.com>
643
644         * config/ia64/ia64.c (ia64_encode_section_info): Add check for
645         TREE_ASM_WRITTEN.
646
647 2000-05-03  David Mosberger  <davidm@hpl.hp.com>
648
649         * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
650         if -mauto-pic is on.
651         (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
652         -mconstant-gp is in effect and function-descriptors are being used
653         to make indirect calls.
654         * config/ia64/ia64.h (MASK_CONST_GP): New macro.
655         (MASK_AUTO_PIC): Ditto.
656         (TARGET_CONST_GP): Ditto.
657         (TARGET_AUTO_PIC): Ditto.
658         (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
659         (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
660         -mno-pic is in effect.
661         (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
662         * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
663         -mauto-pic is in effect.
664         (gprel64_offset): New pattern.
665         (load_gprel64): Ditto.
666         (call): Handle -mauto-pic like -mno-pic (don't use fptr).  If
667         -mconstant-gp is in effect, no need to preserve gp around direct
668         calls.
669         (call_value): Ditto.
670         * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
671         (FUNCTION_PROFILER): Define.
672         * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
673         @fptr() directive when -mno-pic or -mauto-pic is in effect.
674         (ASM_OUTPUT_DESTRUCTOR): Ditto.
675
676 2000-05-03  Richard Henderson  <rth@cygnus.com>
677
678         * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
679         (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
680         (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
681         (mklibgcc, libgcc.mk): New targets.
682         (libgcc.a): Use libgcc.mk.
683         (stmp-multilib): Likewise.
684         (stmp-multilib-sub): Remove.
685         (mostlyclean): Don't delete libgcc2 temp files.
686         * configure.in (AC_PROG_CC_C_O): Add.
687         (NO_MINUS_C_MINUS_O): Substitute it.
688         (all_outputs): Add mklibgcc.
689         * mklibgcc.in: New file.
690
691 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
692
693         * cppexp.c (op_t): Make an int.
694
695         * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
696
697         * varasm.c (initializer_constant_valid_p): Fix parenthesis.
698
699         * gensupport.c (process_rtx): Fix macros used.
700
701 2000-05-03  Richard Henderson  <rth@cygnus.com>
702
703         * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
704         call-clobbered registers of a call.
705
706 Wed May  3 12:40:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
707
708         * gensupport.c: New file.
709         * gensupport.h: New file.
710         * Makefile.in (HOST_RTL): Depend on gensupport.
711         (gensupport.o) New rule.
712         * genattr.c: Use gensupport for reading .md files.
713         * genattrtab.c: Ditto. 
714         * gencodes.c: Ditto. 
715         * genconfig.c: Ditto. 
716         * genemit.c: Ditto. 
717         * genextract.c: Ditto. 
718         * genflags.c: Ditto. 
719         * genopinit.c: Ditto. 
720         * genoutput.c: Ditto. 
721         * genpeep.c: Ditto. 
722         * genrecog.c: Ditto.
723         * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
724         * md.texi (Insn Splitting): Document define_insn_and_split.
725
726 Tue May  2 00:20:30 2000  Jason Eckhardt  <jle@cygnus.com>
727
728         * flow.c (verify_flow_info): Added two more sanity checks. The
729         first checks that the blocks are numbered consecutively. The second
730         checks that n_basic_blocks is actually equal to the number of
731         basic blocks in the insn chain.
732
733 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
734
735         * cpplib.h: Add accessor macros for token lists.
736         * cpplib.c, cpphash.c, cpplex.c: Use them.
737
738 Wed May  3 09:29:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
739
740         * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
741         memory usage if not in a function.
742         * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
743         return address if static.
744
745 Wed May  3 13:14:49 MET DST 2000  Jan Hubicka  <jh@suse.cz>
746
747         * ifcvt.c (noce_try_cmove_arith):  Use may_trap_p to thest
748         whether address may trap.
749
750 Tue May  2 23:38:37 2000  Jason Eckhardt  <jle@cygnus.com>
751
752         * bb-reorder (chain_reorder_blocks): Changed code to test for
753         EDGE_FALLTHRU rather than making erroneous assumption that the
754         first outgoing edge is the fall-through edge.
755
756 Tue May  2 18:20:31 2000  Donald Lindsay  <dlindsay@hound.cygnus.com>
757
758         * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new 
759         ABI for varargs, across all MIPS. This is incompatible because the
760         va_list (__builtin_va_list) structure is different, so a compilation
761         unit passing a va_list and a compilation unit being passed one, should
762         both be compiled with the same ABI. (The old structure had two 
763         pointers, now it has three.)
764
765 Tue May  2 19:18:43 2000  Jason Eckhardt  <jle@cygnus.com>
766
767         * bb-reorder.c (struct reorder_block_def): Remove members end,
768         block_begin, and block_end.
769         (REORDER_BLOCK_OLD_END): Delete.
770         (REORDER_BLOCK_BEGIN): Delete.
771         (REORDER_BLOCK_END): Delete.
772         (chain_reorder_blocks): Remove dead code.
773
774 Tue May  2 17:06:53 2000  Jason Eckhardt  <jle@cygnus.com>
775
776         * bb-reorder.c (remove_scope_notes): Check for both types of scope
777         notes as the end of a basic block before deleting.
778
779 2000-05-02  Mumit Khan  <khan@xraylith.wisc.edu>
780
781         * final.c (final_start_function): Fix spelling of "necessary".
782
783 2000-05-02  Jason Merrill  <jason@casey.cygnus.com>
784
785         * toplev.c (debug_ignore_block): Return int.
786         * dwarf2out.c (dwarf2out_ignore_block): Likewise.
787         * toplev.h, dwarf2out.h: Adjust.
788         * emit-rtl.c (remove_unnecessary_notes): Test return value.
789
790         * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
791         * toplev.c, final.c, rtl.h: Adjust.
792
793 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
794
795         * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
796         * configure.in: Look for makeinfo in the unified tree, then
797         for a system makeinfo which is sufficiently new.
798         * Makefile.in: If configure says makeinfo is too old, don't
799         build or install Info documentation.
800
801 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
802
803         * cpphash.c (collect_params): Fix off-by-one error.
804         (dump_hash_helper): Dump all four macro nodetypes.
805
806 2000-05-02  Jakub Jelinek  <jakub@redhat.com>
807
808         * cpphash.c (trad_stringify): Adjust p after stringification as
809         well.
810
811 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
812
813         * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
814         (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
815
816         * cppfiles.c (file_cleanup): Delete.
817         * cpphash.c (macro_cleanup): Delete.
818         (collect_objlike_expansion, collect_funlike_expansion,
819         macarg, scan_arguments): Remove CPP_POP case.
820
821         * cpplex.c (null_cleanup): Delete.
822         (cpp_pop_buffer): Do the work that was done in the cleanups
823         here.  Call _cpp_unwind_if_stack from here.
824         (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
825         cpp_scan_buffer): Run until we see CPP_EOF and the top of
826         stack is the buffer _below_ the one we stacked.
827         (cpp_get_token): Always pop an exhausted buffer.  Return
828         CPP_EOF unless it's a macro buffer.  Don't call _cpp_handle_eof.
829         * cpplib.c (skip_if_group): Don't call cpp_get_token to
830         increment the line number.
831         (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
832
833         * fix-header.c (read_scan_file) [parsing getchar()]: Run until
834         we see CPP_EOF and the top of stack is the buffer _below_ the
835         one we stacked.
836         * scan-decls.c: Likewise.
837
838 2000-05-02  Andrew Haley  <aph@cygnus.com>
839
840         * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
841         where this function is called for the second time on a decl that
842         has had its section info changed in such a way as to move it out
843         of small data/bss.  
844         * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
845
846 2000-05-01  Richard Henderson  <rth@cygnus.com>
847
848         * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
849         the sequence we're moving, not to merge_bb->head.
850
851 2000-05-01  Richard Henderson  <rth@cygnus.com>
852
853         * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
854         reference to alpha/t-linux.
855         (alpha*-*-linux-gnu*): Likewise.
856         * configure: Rebuild.
857
858         * calls.c (expand_call): Don't emit reg notes for a sibcall.
859
860         * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
861         if not in SSA form.
862
863         * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
864
865 2000-05-01  Jason Merrill  <jason@casey.cygnus.com>
866
867         * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
868         TREE_THIS_VOLATILE.
869
870 2000-05-01  Richard Henderson  <rth@cygnus.com>
871
872         * ifcvt.c (noce_emit_cmove): Conditionally compile call to
873         emit_conditional_move.
874
875 2000-05-01  Jakub Jelinek  <jakub@redhat.com>
876
877         * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
878         as the dynamic linker.
879
880 2000-05-01  Zack Weinberg  <zack@wolery.cumb.org>
881
882         * cppfiles.c (open_include_file): Open file in blocking mode.
883         (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
884         Only exclude block devices and directories.
885
886         * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
887         static.  Allocate the hashnode and its string in the same
888         block of memory.
889         (del_HASHNODE): Don't free h->name.
890         (_cpp_lookup): If there is no entry for this string, create
891         one, of type T_VOID.
892         (_cpp_lookup_slot): Delete.
893         * cpphash.h: Update prototypes.
894
895         * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
896         not hp == NULL.
897         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
898         do_unassert, cpp_defined): Use _cpp_lookup.  Don't create a
899         node here, just fill in the value field properly.  "Delete"
900         entries by setting the value field to T_VOID.  Check for
901         hp->type == T_VOID, not hp == NULL.
902
903         * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
904         * cpperror.c, cppexp.c, cpplex.c, cpplib.c:  Don't include
905         hashtab.h.
906
907 2000-05-01  Alexandre Oliva  <aoliva@cygnus.com>
908
909         * config/mn10300/mn10300.c (print_operand_address): Do not add
910         zero to SP.
911
912         * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
913         adjusted by less than 256 bytes, use ret regardless of having any
914         callee-saved register to restore.
915
916 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
917
918         * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
919
920 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
921
922         * config/i386/djgpp.h (INT_ASM_OP): Define.
923         (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
924         (ASM_WEAKEN_LABEL): Define.
925         (MASK_BNU210): Define.
926         (SUBTARGET_SWITCHES): Define.
927         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
928         (MAKE_DECL_ONE_ONLY): Define.
929         (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
930
931 2000-05-01  Mumit Khan  <khan@xraylith.wisc.edu>
932
933         * i386/cygwin.h (INT_ASM_OP): Define.
934
935 Mon May  1 18:20:06 2000  Denis Chertykov  <denisc@overta.ru>
936
937         * config/avr/avr.c (address_cost): renamed to avr_address_cost.
938         * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
939
940 Mon May  1 17:50:44 2000  Denis Chertykov  <denisc@overta.ru>
941
942         * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
943         __tmp_reg__ and __zero_reg__ initialization.
944
945 2000-04-30  Richard Henderson  <rth@cygnus.com>
946
947         * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
948
949         * ifcvt.c (noce_process_if_block): Fail the conversion if X is
950         referenced bewteen the condition and the jump.  Don't delete
951         anything but the jump.
952
953 Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>
954
955         * bb-reorder.c (scope_def): New struct.
956         (scope_forest_info): New struct.
957         (struct reorder_block_def): New member "scope".
958         (REORDER_BLOCK_SCOPE): New macro.
959         (relate_bbs_with_scopes): New function and prototype.
960         (make_new_scope): Likewise.
961         (build_scope_forest): Likewise.
962         (remove_scope_notes): Likewise.
963         (insert_intra_1): Likewise.
964         (insert_intra_bb_scope_notes): Likewise.
965         (insert_inter_bb_scope_notes): Likewise.
966         (rebuild_scope_notes): Likewise.
967         (free_scope_forest_1): Likewise.
968         (free_scope_forest): Likewise.
969         (dump_scope_forest): Likewise.
970         (dump_scope_forest_1): Likewise.
971         (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
972         Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
973         block.
974         (reorder_basic_blocks): Added calls to build_scope_scope_forest
975         and remove_scope_notes before reordering is done. Added calls to
976         rebuild_scope_notes, free_scope_forest, and reorder_blocks after
977         after reordering is done.
978
979 2000-40-30  Bruce Korb  <bkorb@gnu.org>
980
981         * fixinc/inclhack.def:  Added definitions needed by OSR5,
982         removed two stale entries (defined away with OLD_CPP).
983         * fixinc/inclhack.sh: regen
984         * fixinc/fixincl.x: regen
985
986 2000-04-30  Richard Henderson  <rth@cygnus.com>
987
988         * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
989         from the last insn in the sequence.
990
991 2000-04-30  Zack Weinberg  <zack@wolery.cumb.org>
992
993         * cpplex.c (cpp_idcmp): New function.
994         * cpplib.h: Prototype it.
995         * scan_decls.c (scan_decls): Use it to inspect token names.
996         * fix-header.c (read_scan_file): Likewise.  Set system_header_p on
997         the file being run through the preprocessor.
998         (check_macro_names): Provide length of token to cpp_defined.
999
1000         * Makefile.in: Remove stale warning message.
1001
1002         * cppfiles.c (redundant_include_p): Provide length of token to
1003         cpp_defined.
1004         * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
1005         values are unsigned int.
1006         (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
1007         (_cpp_lookup_slot): Do not calculate the hash, either.
1008         * cpphash.h: Update prototypes.
1009         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
1010         Hashes are unsigned int.  Calculate hash here, pass by value
1011         to _cpp_lookup_slot.
1012
1013 2000-04-30  Bernd Schmidt  <bernds@cygnus.co.uk>
1014
1015         * simplify-rtx.c (check_value_useless): Delete function.
1016         (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
1017         by hand.
1018         (cselib_invalidate_regno): Likewise.
1019         (cselib_invalidate_mem_1): Likewise.
1020         (references_value_p): Recognize useless values by the fact that they
1021         have no locations.
1022         (discard_useless_values): Likewise.
1023         (cselib_record_set): This may turn a useless value
1024         into a useful one.
1025
1026 2000-04-30  Richard Henderson  <rth@cygnus.com>
1027
1028         * config/d30v: New port.
1029
1030         * configure.in (d30v-*): Set fp format.
1031         * configure: Rebuild.
1032
1033 2000-04-30  Richard Henderson  <rth@cygnus.com>
1034
1035         * ifcvt.c: New file.
1036         * Makefile.in (OBJS): Add it.
1037         (ifcvt.o): New target.
1038         * jump.c (jump_optimize_1): Remove all code related to if-conversion,
1039         and conditional arithmetic.
1040         (find_insert_position): Remove.
1041         * timevar.def (TV_IFCVT, TV_IFCVT2): New.
1042         * toplev.c (DFI_ce, DFI_ce2): New.
1043         (dump_file): Add ce and ce2 dumps.
1044         (rest_of_compilation): Run if_convert a couple o times.  Set
1045         cse_not_expected after cse2.  Don't set no_new_pseudos until
1046         after sched1 or recompute_reg_usage.
1047
1048 2000-04-30  Richard Henderson  <rth@cygnus.com>
1049
1050         * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
1051         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
1052
1053 2000-04-30  Richard Henderson  <rth@cygnus.com>
1054
1055         * flow.c (struct reg_cond_life_info): New.
1056         (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
1057         (init_propagate_block_info): Initialize them.
1058         (free_propagate_block_info): Destruct them.
1059         (mark_set_1): Consider conditional life before killing a register.
1060         (mark_regno_cond_dead): New.
1061         (free_reg_cond_life_info): New.
1062         (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
1063         (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
1064         (mark_used_reg): Record conditional life.
1065
1066         * haifa-sched.c (schedule_insns): Disable death counting
1067         sanity check for HAVE_conditional_execution.
1068
1069 2000-04-30  Richard Henderson  <rth@cygnus.com>
1070
1071         * Makefile.in (TIMEVAR_H): New.
1072         (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
1073         (timevar.h): Remove rule.
1074
1075 2000-04-29  Richard Henderson  <rth@cygnus.com>
1076
1077         * config/alpha/crtend.asm: Use C comments instead of #.
1078         * config/alpha/crtbegin.asm: Likewise.  Mark __dso_handle hidden.
1079
1080         * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
1081
1082 2000-04-29  Zack Weinberg  <zack@wolery.cumb.org>
1083
1084         * cpphash.h (enum node_type: Take out T_MCONST.
1085         (union hashval): Move into struct hashnode.
1086         (struct hashnode): Pack tighter.  Remove file, line, col
1087         members.
1088         * cpphash.c: Constify most of the macro-definition structures.
1089         (struct definition): Replace by struct object_defn
1090         and struct funct_defn.  Put file, line, column information
1091         here.  All users updated to match.
1092         (_cpp_create_definition, _cpp_macroexpand): Remove special
1093         case for #define WORD OTHERWORD.
1094         * cpplib.c (do_undef): Remove T_MCONST case.
1095
1096         * cpphash.h: Move struct reflist, struct definition, and the
1097         DEFINITION typedef to cpphash.c.  Use 'struct definition *' in
1098         union hashval.  _cpp_free_definition takes a HASHNODE pointer.
1099         * cpphash.c (_cpp_free_definition): Free data pointed to by
1100         MCONST, XCONST, MACRO, and FMACRO nodes properly.
1101         (_cpp_create_definition, del_HASHNODE): Just call
1102         _cpp_free_definition to clear out a hashnode.
1103         * cpplib.c (do_pragma_poison): Likewise.
1104
1105 Sat Apr 29 12:25:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
1106
1107         * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
1108         LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
1109         FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
1110         (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
1111         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
1112         REGNO_AM33_P): Redefine in terms of the new macros.
1113         (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
1114         (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
1115         STRUCT_VALUE): Likewise.
1116         (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
1117         ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise.  Moved.
1118
1119 Sat Apr 29 01:18:45 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1120
1121         * regmove.c (struct record_stack_memrefs_data): New.
1122         (record_stack_memrefs): New function.
1123         (combine_stack_adjustments_for_block): Use it.
1124
1125 Sat Apr 29 01:15:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1126
1127         * calls.c (calls_function_1):  Propertly handle TREE_LIST expressions;
1128         use special_function_p to detect alloca.
1129
1130 Fri Apr 28 16:30:33 2000  Marc Espie <espie@cvs.openbsd.org>
1131
1132         * gcc.texi: Fixes for makeinfo 4.0 --html.
1133
1134 2000-04-28  Zack Weinberg  <zack@wolery.cumb.org>
1135
1136         * pcp.h: Delete file.
1137
1138 2000-04-28  Kazu Hirata  <kazu@hxi.com>
1139
1140         * h8300.c (function_epilogue): Clean up flags when the last insn
1141         in a function is a barrier.
1142
1143 2000-04-28  Chris Demetriou  <cgd@sibyte.com>
1144
1145         * configure.in (sparc-hal-solaris2*): protect [] glob from
1146         my expansion.
1147         (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
1148         rather than hard-coded constants in target_cpu_default2.
1149         * configure: Regenerate.
1150
1151 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
1152
1153         * tree.c (get_callee_fndecl): Extract the initial value from
1154         a readonly decl.
1155
1156 2000-04-28  Richard Henderson  <rth@cygnus.com>
1157
1158         * varasm.c (record_constant_1): Record the CODE_LABEL when
1159         taking the address of a LABEL_REF.
1160
1161 2000-04-28  Richard Henderson  <rth@cygnus.com>
1162             Jan Hubicka  <jh@suse.cz>
1163
1164         * calls.c (combine_pending_stack_adjustment_and_call): Return the
1165         adjustment; don't do the stack adjust.
1166         (expand_call): Call compute_argument_block_size right before
1167         allocating the block; update comment; don't do alignment sanity
1168         checking for sibling call; use args_size instead of
1169         unadjusted_args_size before args_size is adjusted.  Use
1170         combine_pending_stack_adjustment_and_call to compute stack adjust
1171         for must_preallocate case.
1172
1173         * expr.c (push_block): Remove shadow `temp' in inner scope.
1174
1175 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
1176
1177         * toplev.c (rest_of_compilation): Call
1178         note_deferral_of_defined_inline_function even if the function
1179         can't be inlined.
1180
1181 2000-04-28  Scott Bambrough  <scottb@netwinder.org>
1182
1183         * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
1184
1185 2000-04-28  Richard Henderson  <rth@cygnus.com>
1186
1187         * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
1188
1189 2000-04-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1190
1191         * timevar.c (init_timevar): DeANSIfy function definition.
1192
1193 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
1194
1195         * Makefile.in (timevar.o): Depend on flags.h.
1196         * timevar.c (unused_stack_instances): New variable.
1197         (timevar_push): Take a timevar_stack_def from
1198         unused_stack_instances if available.
1199         (timevar_pop): Push the popped timevar_stack_def onto
1200         unused_stack_instances.
1201         (TIMEVAR_ENABLE): New macro.
1202         (timevar_def): Make standalone a 1-bit field.  Add field used.
1203         (get_time): Rename parameter to now.  Return after clearing it if
1204         not TIMEVAR_ENABLE.
1205         (init_timevar): Do nothing if not TIMEVAR_ENABLE.
1206         (timevar_pop): Likewise.
1207         (timevar_stop): Likewise.
1208         (timevar_push): Likewise.  Mark the timing variable as used.
1209         (timevar_start): Likewise.
1210         (timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
1211         timevars that were never used.
1212
1213 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
1214
1215         * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
1216         always TREE_READONLY.
1217
1218 2000-04-27  Ulrich Drepper  <drepper@cygnus.com>
1219
1220         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
1221         for call instruction with mode QImode.
1222
1223 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
1224
1225         * Makefile.in (OBJS): Add timevar.o.
1226         (toplev.o): Depend on timevar.h.
1227         (ggc-simple.o): Likewise.
1228         (ggc-page.o): Likewise.
1229         (timevar.o): New rule.
1230         (timevar.h): New rule.
1231
1232         * timevar.h: New file.
1233         * timevar.c: Likewise.
1234         * timevar.def: Likewise.
1235
1236         * toplev.h (gc_time, parse_time, varconst_time): Remove.
1237         * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
1238         throughout.
1239         (TIMEVAR): Remove macro.
1240         (gc_time, parse_time, varconst_time, integration_time, jump_time,
1241         cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
1242         flow_time, combine_time, regmove_time, sched_time,
1243         local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
1244         sched2_time, dbr_sched_time, reorder_blocks_time,
1245         rename_registers_time, shorten_branch_time, stack_reg_time,
1246         to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
1247         all_time): Remove.
1248         (compile_file): Don't initialize time variables.  Call
1249         init_timevar and start TV_TOTAL timer.  Call timevar_print instead
1250         of many calls to print_time.
1251         (rest_of_compilation): Add timing for reload_cse_regs.
1252         (get_run_time): Removed to timevar.c.
1253         (print_time): Likewise.
1254         (get_run_time): Implement using TV_TOTAL time variable.
1255         (print_time): Get total run time from get_run_time.
1256         * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
1257         computing elapsed time explicitly.
1258         * ggc-simple.c (ggc_collect): Likewise.
1259         (gc_time): Remove declaration.
1260
1261 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
1262
1263         * calls.c (combine_pending_stack_adjustment_and_call): New function.
1264         (expand_call): Use it.
1265
1266 2000-04-27  Jan Hubicka  <jh@suse.cz>
1267
1268         * flow.c (mark_set_1):  Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
1269         fields.
1270
1271 Thu Apr 27 12:47:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
1272
1273         * config/mn10300/mn10300.md (movhi): Simplify.  Prefer data
1274         registers.
1275
1276 Thu Apr 27 17:33:05 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1277
1278         * function.c (epilogue_done): Pass whole insn to record_insns.
1279
1280 Thu Apr 27 16:55:28 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1281
1282         * cse.c (CSE_ADDRESS_COST): Remove.
1283         (find_best_addr): Add new parameter "MODE", use address_cost instead
1284         of CSE_ADDRESS_COST
1285         (address_cost): New.
1286         (fold_rtx): Update call of find_best_addr.
1287         * rtl.h (address_cost): Declare.
1288         * loop.c (general_induction_var): Add new parameter "MODE", use
1289         address_cost instead of ADDRESS_COST
1290         (init_loop): Use address_cost instead of ADDRESS_COST.
1291         (check_insn_for_givs): Update call of general_induction_var.
1292         (find_mem_givs): Likewise.
1293         (consec_sets_giv): Likewise.
1294         * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
1295         * i386.c (ix86_address_cost): New.
1296         * i386-protos.h (ix86_address_cost): Declare.
1297
1298 Thu Apr 27 11:45:16 2000  Alexandre Oliva  <aoliva@cygnus.com>
1299
1300         * config/mn10300/mn10300.md (movqi): Simplify.  Prefer data
1301         registers.
1302
1303 Thu Apr 27 16:11:00 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1304
1305         * expr.c (store_expr): Use clear_storage instead of direct memset
1306         libcall.
1307
1308 Thu Apr 27 10:36:51 2000  Alexandre Oliva  <aoliva@cygnus.com>
1309
1310         * config/mn10300/mn10300.c (mn10300_address_cost): Test
1311         ASHIFT, AND and LABEL_REF.
1312
1313 Thu Apr 27 15:08:46 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1314
1315         * invoke.texi (-foptimize-sibling-calls): Fix.
1316
1317 Thu Apr 27 14:54:22 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1318
1319         * loop.c (load_mems)  Don't use hard registers for the hoisting.
1320
1321         * unroll.c (unroll_loop): Avoid overflow in the n_iterations
1322         calculation; rename const_equiv array in the preconditioning code
1323         from loop_unroll to loop_unroll_precondition
1324
1325 2000-04-27  Richard Henderson  <rth@cygnus.com>
1326
1327         * flow.c (struct propagate_block_info): Remove new_dead, new_live;
1328         add new_set.
1329         (propagate_one_insn): Clear it.  Don't update reg_live here.
1330         (init_propagate_block_info): Update for pbi member changes.
1331         (free_propagate_block_info): Likewise.
1332         (mark_set_1): Know that zero_extract, sign_extract, and
1333         strict_low_part don't kill their argument.  Alter hard subregs.
1334         Update new_set for non-CLOBBER sets.  Update reg_live.
1335         (find_auto_inc): Update reg_live, not new_dead.
1336         (mark_used_reg): Update reg_live, not new_live.  Examine new_set
1337         to determine if the reg in question was set this insn.  Only update
1338         reg info with PROP_REG_INFO.
1339
1340 2000-04-26  Richard Henderson  <rth@cygnus.com>
1341
1342         * flow.c (allocate_reg_life_data): Set max_regno here ...
1343         (life_analysis): ... not here.
1344
1345         * flow.c (calculate_global_regs_live): Force stack pointer
1346         live at end.
1347
1348 2000-04-26  Richard Henderson  <rth@cygnus.com>
1349
1350         * jump.c (redirect_exp_1): Rework from old redirect_exp.  Never
1351         commit change group changes.
1352         (invert_exp_1): Similarly.
1353         (redirect_exp, invert_exp): Use them.
1354         (redirect_jump_1): New.
1355         (invert_jump_1): New.
1356         (jump_optimize_1): Remove code subsumed by condexec.c.
1357         * rtl.h (invert_jump_1, redirect_jump_1): Declare.
1358
1359 2000-04-26  Richard Henderson  <rth@cygnus.com>
1360
1361         * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
1362
1363         * genconfig.c (main): Set all HAVE_foo to 1.
1364
1365         * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
1366
1367 2000-04-26  Alex Samuel  <samuel@codesourcery.com>
1368
1369         * invoke.texi: Document -fssa flag.
1370
1371 2000-04-26  Richard Henderson  <rth@cygnus.com>
1372
1373         * flow.c (count_reg_sets_1): Remove.
1374         (count_reg_sets, count_reg_references): Remove.
1375         (recompute_reg_usage): Implement with update_life_info.
1376         Reallocate life data.
1377
1378 2000-04-26  Richard Henderson  <rth@cygnus.com>
1379
1380         * flow.c (update_life_info): Consider blocks null to mean the
1381         universal set.
1382         (calculate_global_regs_live): Likewise.
1383         (life_analysis): Do that instead of collecting all_blocks.
1384
1385 2000-04-26  Richard Henderson  <rth@cygnus.com>
1386
1387         * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
1388         a still-valid conditional jump.
1389
1390 2000-04-26  Richard Henderson  <rth@cygnus.com>
1391
1392         * jump.c (invert_jump): Always invert REG_BR_PROB.  Do it correctly.
1393
1394         * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
1395         * flow.c (calculate_loop_depth): Remove.
1396         * output.h (calculate_loop_depth): Don't declare.
1397         * toplev.c (rest_of_compilation): Expand calculate_loop_depth
1398         inline; run estimate_probability at the same time.
1399
1400 2000-04-26  Neil Booth  <NeilB@earthling.net>
1401
1402         * cpplib.h: "~=" is not a single pp-token.
1403         * cpplex.c: Correct commentary.
1404
1405 2000-04-26  Richard Henderson  <rth@cygnus.com>
1406
1407         * flow.c (mark_set_1): New arguments code and flags; update all
1408         callers.  Track regno_first and regno_last; do HARD_REGNO_NREGS
1409         test in one place.  Tidy flags tests.  Don't bias REG_N_REFS by
1410         loop_depth when optimizing for size.  Do new_dead update after
1411         emitting REG_UNUSED notes.  Merge mark_set_reg code.
1412         (mark_set_reg): Remove.
1413         (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
1414         arrange to not emit REG_UNUSED notes.
1415
1416 2000-04-26  Richard Henderson  <rth@cygnus.com>
1417
1418         * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
1419         * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
1420
1421 2000-04-26  Richard Henderson  <rth@cygnus.com>
1422
1423         * flow.c (propagate_one_insn): Break out from propagate_block.
1424         (init_propagate_block_info): Likewise.
1425         (free_propagate_block_info): Likewise.
1426         (propagate_block): Use them.  Export.
1427         * basic-block.h: Declare them all.
1428
1429 2000-04-26  Richard Henderson  <rth@cygnus.com>
1430
1431         * basic-block.h (life_analysis): Declare here ...
1432         * output.h: ... not here.
1433         * flow.c (life_analysis): Remove nregs parameter; replace
1434         remove_dead_code with flags.  Remove ssa dead code check.
1435         Only init alias analysis if we'll use it.
1436         * reg-stack.c (reg_to_stack): Update life_analysis arguments.
1437         * ssa.c (convert_to_ssa): Likewise.
1438         (convert_from_ssa): Likewise.
1439         * toplev.c (rest_of_compilation): Likewise.
1440
1441 2000-04-26  Richard Henderson  <rth@cygnus.com>
1442
1443         * flow.c (flow_delete_block): Rename from delete_block.  Export.
1444         * basic-block.h (flow_delete_block): Declare.
1445
1446 2000-04-26  David S. Miller  <davem@redhat.com>
1447
1448         * optabs.c (emit_libcall_block): Verify insns with INSN_P before
1449         taking a PATTERN of it.
1450
1451 2000-04-26  <NeilB@earthling.net>
1452
1453         * cpplex.c (spell_other, spell_char): Remove.
1454         (SPELL_CHAR): New.
1455         (token_spelling, trigraph_map): Use unsigned chars.
1456         (_cpp_lex_line): Tidy up the switch statement.
1457         * cpplib.h: Implement spell_char with spell_string.
1458         (C): New.
1459
1460 2000-04-26  <RodneyBrown@pmsc.com>
1461
1462         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
1463         * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
1464
1465 2000-04-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1466
1467         * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
1468         reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
1469         dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
1470         dwarf2out_return_save, dwarf2out_return_reg,
1471         dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
1472         add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
1473         gen_compile_unit_die, dwarf2out_init): Constify a char*.
1474
1475         * dwarf2out.h (dwarf2out_init): Likewise.
1476
1477         * dwarfout.c (filename_entry, primary_filename, last_filename,
1478         type_tag, output_compile_unit_die, dwarfout_init): Likewise.
1479
1480         * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
1481         dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
1482         dwarf2out_return_reg): Likewise.
1483
1484 2000-04-26  Andreas Jaeger  <aj@suse.de>
1485
1486         * extend.texi (Function Attributes): Fix description of pure
1487         attribute.
1488
1489 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
1490
1491         * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
1492         before calling rest_of_compilation.
1493
1494 2000-04-26  Andreas Jaeger  <aj@suse.de>
1495
1496         * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
1497         last patch.
1498
1499 2000-04-25  Richard Henderson  <rth@cygnus.com>
1500
1501         * cse.c (cse_insn): Emit barrier after unconditional jump.
1502
1503         * calls.c (expand_call): Disable tail call generation once
1504         rtx_equal_function_value_matters is false.
1505
1506         * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
1507         like EDGE_EH edges.
1508
1509 2000-04-25  Jason Merrill  <jason@casey.cygnus.com>
1510
1511         * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
1512
1513         * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
1514
1515         * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
1516         is the primary DIE for a member function.
1517         (gen_decl_die): Call set_decl_origin_self here.
1518         * dwarfout.c (output_decl): And here.
1519         * integrate.c (output_inline_function): Not here.
1520         Don't clear DECL_INLINE until after calling rest_of_compilation.
1521         (set_decl_origin_self): No longer static.
1522         * tree.h: Add prototype.
1523         * toplev.c (note_deferral_of_defined_inline_function): Only write
1524         out abstract instance for actual inlines.
1525
1526 2000-04-25  Alexandre Oliva  <aoliva@cygnus.com>
1527
1528         * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
1529         EXTENDED_REGS only if TARGET_AM33.
1530         * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
1531         SP_REGS to register allocation and reloading unless absolutely
1532         necessary.
1533         (movsi3): Remove special-case of adding non-constants to SP.
1534
1535 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1536
1537         * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
1538         INCLUDES to search and does not provide any of its own.  Also it
1539         now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
1540         parameters.  Also it does not call AC_DEFINE.
1541         (gcc_AC_NEED_DECLARATIONS): Likewise.  Also this macro now calls
1542         AC_DEFINE and provides for automatic entries for autoheader.
1543         (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
1544
1545         * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
1546         so we can pass -I flags and include gansidecl.h/system.h in this
1547         test.
1548
1549         * acconfig.h: Delete all NEED_DECLARATION_* entries.
1550
1551 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1552
1553         * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
1554         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
1555         ENABLE_GC_ALWAYS_COLLECT): Delete entries.
1556
1557         * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
1558         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
1559         ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
1560         for these macros.  Clean up spacing and linewraps.
1561
1562 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
1563
1564         * calls.c (expand_call): Use get_callee_fndecl.
1565
1566         * print-tree.c (print_node): Print the chain of an _EXPR.
1567
1568 Tue Apr 25 16:16:04 2000  Andrew MacLeod  <amacleod@cygnus.com>
1569                           Jim Wilson  <wilson@cygnus.com>
1570                           Andrew Haley  <aph@cygnus.com>
1571
1572         * config/ia64/crtbegin.asm: Add IA-64 unwind support.  Correct alloc
1573         and gp save/restore problems.
1574         * config/ia64/crtend.asm: Add IA-64 unwind support.
1575         * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
1576         in fr_pad_size calculation.
1577         (save_restore_insns): Move PR save area.  Correct uses of
1578         RTX_FRAME_RELATED_P.
1579         (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
1580         (ia64_expand_epilogue): Add eh_epilogue support.
1581         (ia64_function_prologue): Emit .prologue directive.
1582         (ia64_init_machine_status, ia64_mark_machine_status): New functions.
1583         (ia64_override_options): Set init_machine_status and
1584         mark_machine_status.
1585         (rtx_needs_barrier): Handle bsp reads and writes.
1586         (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
1587         New static variables.
1588         (process_set, process_for_unwind_directive): New functions.
1589         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
1590         ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
1591         ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
1592         macros.
1593         (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
1594         (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
1595         (struct machine_function): Define.
1596         * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
1597
1598 2000-04-25  Bruce Korb  <bkorb@gnu.org>
1599
1600         * fixinc/Makefile.in: make the removal of old programs more
1601         robust
1602         * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
1603         install-bin and install-sh
1604
1605 2000-04-25  Nick Clifton  <nickc@cygnus.com>
1606
1607         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
1608         defined, define to return zero.
1609         (function_cannot_inline_p): If a function has any target
1610         specific attributes, then use the macro
1611         FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
1612         whether it can be inlined.  If it cannot, issue a suitable
1613         explanation.
1614
1615         * tm.texi: Add a new node 'Inlining' to document the new macro
1616         FUNCTION_ATTRIBUTE_INLINABLE_P.
1617
1618 2000-04-25  Zack Weinberg  <zack@wolery.cumb.org>
1619
1620         * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
1621         commentary.
1622
1623 2000-04-25  Neil Booth  <NeilB@earthling.net>
1624
1625         Restore previous patch, plus the following fixes:
1626
1627         * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
1628         flags, not CPP_OPEN_PAREN.
1629         * cpplex.c (expand_token_space, init_token_list,
1630         cpp_free_token_list): Put the dummy token at list->tokens[-1].
1631         (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
1632
1633 Tue Apr 25 14:06:40 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1634
1635         * config/i386/freebsd.h (INT_ASM_OP): Define.
1636
1637 Tue Apr 25 14:51:07 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1638
1639         * loop.c (strength_reduce): Fix typo in the last checkin.
1640
1641 Tue Apr 25 07:33:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1642
1643         * stor-layout.c (finalize_record_size): Simplify to use existing
1644         functions.
1645         (compute_record_mode): No longer static.
1646         * tree.h (compute_record_mode): New declaration.
1647
1648 2000-04-25  Neil Booth  <NeilB@earthling.net>
1649
1650         * Revert my patch below until cause of build failures
1651         determined.
1652
1653 2000-04-25  Richard Henderson  <rth@cygnus.com>
1654
1655         * combine.c (combine_instructions): Add missing argument
1656         to try_combine.
1657
1658         * toplev.c (rest_of_compilation): Delay sibcall optimization
1659         until after emit_eh_context.
1660
1661 2000-04-24  Nick Clifton  <nickc@redhat.com>
1662
1663         * combine.c (combine_instructions): Do not try to combine a
1664         sequence of insns when the second insn has been replaced by a
1665         note.
1666
1667 Mon Apr 24 17:34:18 2000  Mumit Khan  <khan@xraylith.wisc.edu>
1668
1669         * gcc.c (load_specs): New static function.
1670         (read_specs): Use it.
1671
1672         * gcc.c (lookup_compiler): Make multiple passes for case
1673         insensitive filesystems.
1674
1675 2000-04-24  Neil Booth  <NeilB@earthling.net>
1676
1677         * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
1678         * cpphash.h (_cpp_check_directive): new.
1679         * cpplex.c (handle_newline, cpp_free_token_list,
1680         init_trigraph_map, trigraph_ok, trigraph_replace,
1681         backslash_start, skip_block_comment, skip_line_comment,
1682         skip_whitespace, parse_name, parse_number, parse_string,
1683         copy_comment, _cpp_lex_line, spell_char, spell_string,
1684         spell_comment, spell_name, spell_other, _cpp_lex_file,
1685         _cpp_output_list): new.
1686         (expand_name_space): take length argument.
1687         (init_token_list): add comment list initialisation.
1688         (cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
1689         instead of HSPACE_BEFORE.
1690
1691         * cpplib.c (_cpp_check_directive): new
1692         * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
1693         DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
1694         (HSPACE_BEFORE): delete.
1695         (TTYPE_TABLE): rearrange.
1696         (struct cpp_toklist): update.
1697
1698 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1699
1700         * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
1701         gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
1702         argument form of AC_DEFINE.
1703
1704         * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
1705         HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
1706         WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
1707         HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
1708         HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
1709
1710         * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
1711
1712 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1713
1714         * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
1715         deduced.h): Use -isystem, not -I, for including system headers.
1716
1717 2000-04-24  Nick Clifton  <nickc@cygnus.com>
1718
1719         * config/fr30/fr30.md (addsi3): Do not use small add instruction if
1720         the source register is the frame pointer or arg pointer.
1721         (addsi3_small_int): Disallow if source register is the frame
1722         pointer or arg pointer.
1723
1724 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1725
1726         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
1727         call to AC_MSG_RESULT.
1728
1729 2000-04-24  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1730
1731         * invoke.texi: Correct grammatical errors, document
1732         -fno-gnu-keywords as identical to -fno-asm for C++.
1733
1734 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1735
1736         * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
1737         GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
1738         GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
1739         AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
1740         EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
1741
1742         * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
1743         GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
1744         GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
1745         GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
1746         new macros names.
1747
1748 2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>
1749
1750         * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
1751         (pop_alignment): Likewise.
1752         (handle_pragma_token): Likewise.
1753
1754 2000-04-24  Robert Lipe <robertlipe@usa.net>
1755
1756         * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
1757
1758 2000-04-24  Hiroyuki Machida <machida@sm.sony.co.jp>
1759
1760         * combine.c (try_combine): Update reg_nonzero_bits of
1761         newi2pat before newpat.
1762
1763 Mon Apr 24 10:19:48 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1764
1765         * loop.c (strength_reduce): Simplify test to INSN_P.
1766         (record_giv): Attempt to simplify the add value, use CONSTANT_P
1767         expressions instead of CONST_INT.
1768         (express_from_1): Likewise.
1769
1770 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
1771
1772         * regs.h (reg_n_max): Don't declare.
1773         * flow.c (reg_n_max): Don't define.
1774         * regclass.c (renumber): Don't initialize to zero.
1775         (regno_allocated): Likewise.
1776         (reg_n_max): Define.
1777         (allocate_reg_info): Don't initialize unnecessarily.
1778
1779 Mon Apr 24 00:21:36 2000  Jeffrey A Law  (law@cygnus.com)
1780
1781         * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
1782         and blockage_p in the newly allocated attribute.
1783
1784 Sun Apr 23 20:16:49 2000  Alexandre Oliva  <aoliva@cygnus.com>
1785
1786         * config/mn10300/mn10300.md (addsi): `inc4' on address
1787         registers does not modify cc, but `inc' on an extended
1788         register does.
1789
1790 Sun Apr 23 16:24:35 2000  Denis Chertykov  <denisc@overta.ru>
1791
1792         * reload.c (find_equiv_reg): Checks all valueno regs
1793         as a reload_reg_p regs.
1794
1795 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
1796
1797         * cpphash.c (collect_objlike_expansion): Add sanity check.
1798         (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
1799         the buffer is the empty string, return.  Mark __DATE__ and
1800         __TIME__ as XCONST nodes, not MCONST.
1801         (_cpp_macroexpand): Avoid pushing an empty buffer.
1802         (funlike_macroexpand): Don't pop token_buffer here.
1803
1804 Sun Apr 23 18:37:53 2000  Alexandre Oliva  <aoliva@cygnus.com>
1805
1806         * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
1807         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
1808         (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
1809         (REGNO_OK_FOR_BASE_P): Define in terms of them.
1810         (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
1811         (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
1812         (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
1813
1814 Sun Apr 23 22:23:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1815
1816         * loop.c (simplify_giv_expr):  Be more agressive on simplifying
1817         constant MULT givs.
1818
1819 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
1820
1821         * cpphash.h (struct definition): Move file, line, col members...
1822         (struct hashnode): ... here.  Also add 'disabled' flag.
1823         (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
1824         T_IDENTITY.  Remove T_DISABLED.
1825         Update prototypes.
1826
1827         * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
1828         (collect_expansion): Split into collect_objlike_expansion and
1829         collect_funlike_expansion.
1830         (_cpp_macroexpand): Split out scan_arguments, stringify, and
1831         funlike_macroexpand.
1832         (_cpp_compare_defs): Rename compare_defs, make static.
1833         (_cpp_make_hashnode): Initialize hp->disabled.
1834         (macro_cleanup): Adjust for new token types.  Clear
1835         m->disabled.
1836         (_cpp_create_definition): Move code here to determine what
1837         sort of macro it is, and code to check for redefinitions, from
1838         do_define.  Implement a few simple cases without creating a
1839         full DEFINITION.
1840         (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
1841         Handle the simple cases.
1842         (push_macro_expansion): Set buf->has_escapes and hp->disabled
1843         here.
1844
1845         * cppinit.c (builtin_array): Change MCONST to XCONST
1846         everywhere.
1847         * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
1848         fix check for disabled and function-like macros.
1849         * cpplib.c (do_define): Move most logic to
1850         _cpp_create_definition.
1851         (do_undef): Handle new special token types.
1852
1853 Sun Apr 23 14:27:44 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1854
1855         * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
1856         of CONSTANT_P for mult_val; always use validate_change to update insn.
1857
1858 2000-04-22  Zack Weinberg  <zack@wolery.cumb.org>
1859
1860         * cpphash.c (trad_stringify, add_pat): New functions.
1861         (collect_expansion): Restore support for -traditional syntax.
1862         Use trad_stringify and add_pat.
1863         (_cpp_macroexpand): Restore support for -traditional semantics.
1864         * cpplex.c (_cpp_scan_line): Don't change space_before if we
1865         get a COMMENT token.
1866         (_cpp_lex_token): Provide COMMENT tokens to caller if
1867         traditional and parsing_define_directive.
1868         (skip_comment): Warn about // comments if -Wtraditional.
1869         * cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
1870         proper node type.
1871         (do_undef): Don't warn about undefining EMPTY nodes.
1872
1873 Sat Apr 22 22:35:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1874
1875         * loop.c (strength_reduce): Fix biv removal code.
1876
1877 2000-04-22  Richard Henderson  <rth@cygnus.com>
1878
1879         * predict.c (estimate_probability): Examine both sides of
1880         a branch for no exits.  Use 90% not 50% for predict taken.
1881         Reorg for one copy of note generation code.
1882
1883 2000-04-22  Richard Henderson  <rth@cygnus.com>
1884
1885         * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
1886
1887 2000-04-22  Richard Henderson  <rth@cygnus.com>
1888
1889         * diagnostic.c (init_output_buffer): Don't initialize format_args.
1890         (output_clear): Likewise.
1891         (output_printf): Use va_copy.
1892         (vline_wrapper_message_with_location): Likewise.
1893         (v_message_with_decl): Likewise.
1894         (line_wrapper_printf): VA_START infor buffer.format_args directly.
1895         * system.h (va_copy): Provide default implementation.
1896
1897 2000-04-22  Richard Henderson  <rth@cygnus.com>
1898
1899         * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
1900         the collected condition is not a constant.
1901
1902 2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>
1903
1904         * diagnostic.h: New file.
1905
1906         * Makefile.in (diagnostic.o): Depends on diagnostic.h
1907
1908         * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
1909         various function prototypes.
1910         (diagnostic.h): #include.
1911         (struct output_buffer): Move into diagnostic.h.
1912         (get_output_prefix): Rename to output_get_prefix.  Export.
1913         (init_output_buffer): Export. Break out.  Ajust intialization.
1914         (output_space_left, output_append): Export.
1915         (output_newline): Rename to output_add_newline.  Export.
1916         (output_clear): Nullify additional output_buffer fields.
1917         (output_puts): Rename to output_add_string.  Export.
1918         (dump_output): Rename to output_flush_on.  Export.
1919         (build_location_prefix): Constify return-type.
1920         (emit_output_prefix): Rename to output_emit_prefix. Export.
1921         (set_real_maximum_length): New function.
1922         (output_set_maximum_length): Ditto
1923         (output_clear): Ditto.
1924         (output_add_character): Ditto.
1925         (output_add_integer): Ditto.
1926         (output_add_space): Ditto.
1927         (output_format): Ditto.
1928         (output_printf): Adjust buffer initialization.
1929         (vline_wrapper_message_with_location): Ditto.
1930         (v_message_with_decl): Ditto.  Adjust call to output_puts
1931         and get_output_prefix.
1932         (default_print_error_function): Adjust buffer intialization.
1933
1934 Sat Apr 22 06:45:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1935
1936         * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
1937         of VOID_TYPE.
1938
1939 Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
1940
1941         * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
1942         of explicit 0.
1943
1944 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
1945
1946         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
1947         accurate data about SP moves.
1948
1949 Fri Apr 21 18:28:28 2000  Alexandre Oliva  <aoliva@cygnus.com>
1950
1951         * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
1952         aliases to AM33 registers.
1953
1954 Fri Apr 21 18:26:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
1955
1956         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
1957         to all EXTENDED bitmaps.
1958
1959 Fri Apr 21 18:17:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
1960
1961         * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
1962         * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
1963         * config/mn10300/mn10300.c (mn10300_address_cost): New function.
1964
1965 Fri Apr 21 18:11:56 2000  Alexandre Oliva  <aoliva@cygnus.com>
1966
1967         * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
1968         the operand is not constant.
1969
1970 Fri Apr 21 14:58:29 2000  Denis Chertykov  <denisc@overta.ru>
1971
1972         * reload.c (find_equiv_reg): Checks all valueno and regno regs
1973         as a call-clobbered regs.
1974
1975 Fri Apr 21 13:30:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1976
1977         * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
1978         * rtl.h: Likewise.
1979         * rtl.def: Update comment.
1980         * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
1981         * integrate.c (expand_inline_function): Likewise.
1982         * profile.c (branch_prob): Likewise.
1983         * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
1984         * print-rtl.c (print_rtx): Likewise.
1985         * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
1986         (reemit_notes): Likewise; also use enum insn_note.
1987
1988         * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
1989         (place_field): Properly compute know and actual alignment.
1990
1991         * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
1992         in proper format.
1993
1994         * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
1995         note for REG1.
1996
1997 2000-04-21  Zack Weinberg  <zack@wolery.cumb.org>
1998
1999         * cpphash.c (struct arg, struct arglist): Const-ify strings.
2000         (warn_trad_stringify, duplicate_arg_p): New helper functions.
2001         (collect_expansion): Rewrite to scan over a token list.
2002         Remove -traditional support.
2003         (collect_formal_parameters): Rename to collect_params; rewrite
2004         to scan over a token list.
2005         (_cpp_create_definition): Adjust to scan a token list.
2006         (_cpp_macroexpand): Remove -traditional support.
2007         (_cpp_compare_defs): Whitespace is now canonicalized.
2008         (comp_def_part): Delete function.
2009
2010         * cpphash.h: Update prototypes.
2011         * cpplex.c (init_token_list): Don't set lineno if there is no
2012         buffer.
2013         (pedantic_whitespace): New function.
2014         (_cpp_scan_line): Mark tokens that had hspace before.  Don't
2015         consume a newline.  Use pedantic_whitespace.
2016         (_cpp_lex_token): Remove support for -traditional macros.
2017         (_cpp_get_define_token): Delete.
2018         (_cpp_get_directive_token): Do the real work here.  Use
2019         pedantic_whitespace.
2020         (_cpp_init_input_buffer): Initialize pfile->directbuf.
2021
2022         * cpplib.c (get_macro_name): Delete.
2023         (do_define): Read the entire line into pfile->directbuf, then
2024         feed the token list to _cpp_create_definition.
2025         * cpplib.h (HSPACE_BEFORE): new define.
2026         (struct cpp_reader): Add a toklist member, "directbuf".
2027
2028         * predict.c (estimate_probability): New heuristic: if a jump
2029         branches around a block with no successors, predict it taken.
2030         Disentangle control flow.
2031
2032 2000-04-20  Richard Henderson  <rth@cygnus.com>
2033
2034         * loop.c (emit_iv_add_mult): Revert last change.
2035
2036 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
2037
2038         * cpplib.h (enum cpp_ttype): Add token types for all
2039         punctuators.  Distinguish pp-numbers from valid C numbers.
2040         Give some tokens better names.  Initialize from macro.
2041         (struct cpp_name, cpp_token, cpp_toklist): New data
2042         structures.
2043         Update prototypes.
2044         * cpplex.c (bump_column, expand_name_space,
2045         expand_token_space, init_token_list, cpp_output_list,
2046         _cpp_scan_line):  New functions.
2047         (output_line_command): Add third argument, new line number.
2048         * cpphash.h: Update prototypes.
2049         * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
2050         token names.
2051
2052 2000-04-20  Richard Henderson  <rth@cygnus.com>
2053
2054         * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
2055
2056 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
2057
2058         * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
2059         object pointed to.
2060
2061 Thu Apr 20 14:19:18 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2062
2063         * loop.c (emit_iv_add_mult):  Simplify it's input and emit
2064         REG_EQUAL note explaining the calculated value.
2065
2066         * calls.c (expand_call): Avoid unnecesary precalculation
2067         and outgoing parameters space guarding for sibling calls.
2068         (store_one_arg): Likewise.
2069
2070 Thu Apr 20 08:01:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2071
2072         * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
2073         (rest_of_compilation): Write sibling dump file and account
2074         for time as jump time.
2075         * invoke.texi: Update documentation on dump flags.
2076
2077 2000-04-19  Marek Michalkiewicz  <marekm@linux.org.pl>
2078
2079         * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
2080
2081 2000-04-19  Zack Weinberg  <zack@wolery.cumb.org>
2082
2083         * cpphash.c (special_symbol): Represent an empty macro with
2084         "\r \r " not just "\r ".
2085         (_cpp_macroexpand): Correct condition for the foo ( ) special
2086         case.
2087         (unsafe_chars): Handle EOF as second argument.
2088         (push_macro_expansion): Simplify test for removing escape at
2089         end.  Do not trim both escapes if there is no text in between.
2090
2091 2000-04-19  Jim Blandy  <jimb@redhat.com>
2092
2093         * dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
2094         of PTR_SIZE, when appropriate.
2095
2096 2000-04-19  Mark Mitchell  <mark@codesourcery.com>
2097
2098         * system.h (ONLY_INT_FIELDS): Make sure it is defined.
2099         (USE_ENUM_BITFIELDS): Fix typo.
2100
2101 Wed Apr 19 12:14:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2102
2103         * stor-layout.c (place_field): Set rli->offset_align properly.
2104
2105 2000-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2106
2107         * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
2108         INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
2109         PARM_BOUNDARY): Remove unnecessary casts.
2110
2111 Wed Apr 19 12:02:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2112
2113         * calls.c (precompute_arguments): Remove must_preallocate and
2114         args_size calls.
2115         (expand_call): Update call of precompute_arguments.
2116
2117         * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
2118         check_insn_for_givs): Break out from ...
2119         (strength_reduce) ... here; use for_every_insn_in_loop to call
2120         check_insn_for_givs.
2121         * loop.h (for_every_insn_in_loop): Declare.
2122         (loop_insn_callback): New type.
2123
2124 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
2125
2126         * cpplib.c (do_pragma_poison):  Strings in the token buffer are
2127         not nul-terminated.
2128
2129 Tue Apr 18 16:04:12 2000  Jim Wilson  <wilson@cygnus.com>
2130
2131         * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
2132         flag_pic and RELOC.
2133
2134 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
2135
2136         * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
2137
2138         * configure.in: Delete --disable-cpplib option and all
2139         references to cpp_main.
2140         * configure: Regenerate.
2141         * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
2142         @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
2143         cccp.o, cccp, or cppmain.  Link cppmain.o straight to
2144         cpp$(exeext).  Add --no-headers to makeinfo command line when
2145         generating INSTALL.  Install and uninstall cpp.1 manpage, not
2146         cccp.1.
2147         * install.texi: Delete all references to cexp.y/cexp.c.
2148         Delete ancient instructions for compiling GCC on 3b1.
2149         * INSTALL: Regenerate.
2150
2151         * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
2152         mips/t-elf, mips/t-r3900: Remove references to cccp.c.
2153         * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
2154         cexp.c/cexp.y.
2155         * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
2156         which is no longer tested anywhere.
2157
2158         * cppinit.c (handle_option): Don't run error message through
2159         gettext twice.
2160
2161 Tue Apr 18 14:16:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2162
2163         * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
2164         * cpperror.c (hashtab.h): Now include.
2165         * cppexp.c (hashtab.h): Likewise.
2166         * cpplex.c (hashtab.h): Likewise.
2167         * cppfiles.c (hashtab.h): Likewise.
2168         (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
2169         to htab_find_slot_with_hash.
2170         * cpphash.c (hashtab.h): Now include.
2171         (_cpp_lookup_slot): INSERT is now enum insert_option.
2172         * cpphash.h (_cpp_lookup_slot): Likewise.
2173         * cppinit.c (hashtab.h): Include earlier.
2174         (initialize_builtins): Pass enum to htab_find_slot.
2175         * cpplib.c (hashtab.h): Now include.
2176         (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
2177         (do_pragma_poison, do_assert): Likewise.
2178         * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
2179         htab_find_slot_with_hash.
2180         * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
2181         * tree.c (type_hash_add): Likewise.
2182         (build1): Minor cleanup.
2183
2184         * ggc-common.c: Add missing blanks.
2185         * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
2186         * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
2187
2188         * stmt.c (mark_case_node): New function.
2189         (mark_case_nesting): Call it.
2190
2191         * expmed.c (emit_store_flag): If comparing two-word integer
2192         with zero, can optimize NE, EQ, GE, and LT.
2193
2194         * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
2195         * conflict.c: Minor cleanups.
2196         * optabs.c: Add blank line
2197         * simplify-rtx.c: Minor cleanups.
2198
2199 2000-04-18  Stan Cox  <scox@cygnus.com>
2200
2201         * gengenrtl.c (genlegend): Fix misspelling.
2202
2203 2000-04-18  Robert Lipe  <robertlipe@usa.net>
2204
2205         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
2206         bitfields of the host compiler are not signed quantities.
2207         * config.in: Regenerate.
2208         * configure: Regenerate.
2209         * system.h (USE_ENUM_BITFIELDS): Added.
2210         (ENUM_BITFIELDS): Added.
2211         * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
2212         (SHORT_ENUM_BUG): Deleted.
2213         * tree.h (tree_common): Members `code', `mode', `built_in_class',
2214         now ENUM_BITFIELD.
2215         * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
2216         (CODE_FIELD_BUG): Likewise.
2217         * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
2218         (OLD_CC): Likewise.
2219         * config/m68k/x-ccur (X_CFLAGS): Likewise.
2220
2221 2000-04-18  Mark Mitchell  <mark@codesourcery.com>
2222
2223         * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
2224         mark is active.
2225
2226 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
2227
2228         * cppexp.c (lex): Don't assume tokens are NUL terminated.
2229         * cpplib.c (do_include, do_import, do_include_next,
2230         read_line_number, detect_if_not_defined): Likewise.
2231         * cpphash.c (collect_expansion): Likewise.
2232         (special_symbol, _cpp_macroexpand): Check return from
2233         cpp_file_buffer.
2234         * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
2235         macros.  Delete all uses.
2236
2237         * gcc.dg/cpp-mi.c: Add two more test cases.
2238         * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
2239
2240 2000-04-17  Richard Henderson  <rth@cygnus.com>
2241
2242         * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
2243         (reorder_basic_blocks): If no epilogue in rtl, force last block last.
2244
2245 2000-04-17  Mark Mitchell  <mark@codesourcery.com>
2246
2247         * function.c (expand_function_start): Use hard_function_value to
2248         compute the RTL to use for DECL_RESULT.
2249
2250 Mon Apr 17 23:35:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2251
2252         * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
2253         (x86_integer_DFmode_moves, x86_partial_reg_dependency,
2254          x86_memory_mismatch_stall): New global variables.
2255         (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
2256         alloved; fix load penalties for Athlon.
2257         * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
2258         x86_memory_mismatch_stall): Declare.
2259         (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
2260          TARGET_MEMORY_MISMATCH_STALL): New.
2261         * i386.md (athlon scheduling parameters): Fix latencies according to
2262         Athlon Optimization Manual.
2263         (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
2264         vector.
2265         (fsqrt instruction patterns): Set athlon_decode to direct.
2266         (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
2267         PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
2268         (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
2269         and TARGET_PARTIAL_REGISTER_STALL machines.
2270         (pushdf_nointeger): New pattern.
2271         (pushdf_integer): Rename from pushdf.
2272         (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
2273         (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
2274
2275 2000-04-17  Richard Henderson  <rth@cygnus.com>
2276
2277         * loop.c (canonicalize_condition): Add WANT_REG argument.
2278         Stop the search if we match it.
2279         * expr.h (canonicalize_condition): Update decl.
2280         * predict.c (expected_value_to_br_prob): Use it.  Track last
2281         expected value note.
2282         (find_expected_value): Remove.
2283
2284         * reorg.c (mostly_true_jump): Always use BR_PROB if present.
2285
2286 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
2287
2288         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
2289         (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
2290         a plain file.
2291         * configure.in: Call AC_FUNC_MMAP_FILE.
2292         * configure: Regenerate.
2293         * config.in: Regenerate.
2294
2295         * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
2296         * fixinc/fixincl.c: Likewise.
2297
2298 2000-04-17  Richard Henderson  <rth@cygnus.com>
2299
2300         * builtins.c (expand_builtin_expect): New.
2301         (expand_builtin): Call it.
2302         * builtins.def (BUILT_IN_EXPECT): New.
2303         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
2304         * extend.texi: Document it.
2305
2306         * predict.c (expected_value_to_br_prob): New.
2307         (find_expected_value): New.
2308         * basic-block.h (expected_value_to_br_prob): Declare.
2309         * toplev.c (rest_of_compilation): Invoke it.
2310
2311         * rtl.h (NOTE_EXPECTED_VALUE): New.
2312         (NOTE_INSN_EXPECTED_VALUE): New.
2313         * rtl.c (note_insn_name): Update.
2314         * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
2315         cases; handle NOTE_INSN_EXPECTED_VALUE.
2316
2317 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
2318
2319         * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
2320         leaf sibcall delay slot if flag_pic.
2321         (output_sibcall): Always emit call for leaf sibcall if flag_pic.
2322
2323 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2324
2325         * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
2326
2327         * fixproto: If fix-header fails, exit with an error.
2328
2329 Mon Apr 17 14:59:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2330
2331         * cse.c (struct check_depdendence_data): New.
2332         (check_dependence): New function.
2333         (invalidate): Use check_depdenence.
2334
2335 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
2336
2337         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
2338         UNITS_PER_WORD is unsigned.
2339
2340         * tree.h (struct tree_common): Remove misleading comment.
2341
2342 2000-04-16  Dave Pitts  <dpitts@cozx.com>
2343
2344         * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
2345         message in quotes. Otherwise, IBM's make program treats the '#' as the
2346         start of a comment and ignores the remainder of the line.
2347
2348         * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
2349         upper case.
2350         * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
2351         * cexp.y (initialize_random_junk): Likewise.
2352         * cppfiles.c (find_include_file): Cast alloca return value.
2353         * cppinit.c (initialize_standard_includes): Likewise.
2354         * cpplib.c (cpp_define, cpp_undef): Likewise.
2355         * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
2356         * final.c (output_asm_insn): Allow for holes in EBCDIC.
2357         * fold-const.c (CHARMASK): New.
2358         (real_hex_to_f): Use it.
2359         * real.c (CHARMASK): New.
2360         (etoasc, asctoeg): Use it.
2361         (asctoeg): EBCDIC lower case characters preceed upper case.
2362
2363         * i370.c (mvs_add_label): Change spacing for coding conventions.
2364         * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
2365         outputing case vectors.
2366         (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
2367         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
2368         since vector in in the data CSECT.
2369         (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
2370         * i370.md (Many patterns): Put the length in the XL directives.
2371         (movdi): Put back STM and MVC in definition.
2372         (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
2373         pattern using the TCA.
2374         * oe.h (CPP_SPEC): Added to allow trigraphs.
2375         * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
2376         not support the "long long" type.
2377
2378 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
2379
2380         * config/mips/mips-protos.h (mips_legitimate_address_p): New
2381         function.
2382         (mips_reg_mode_ok_for_base_p): Likewise.
2383         * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
2384         (REG_OK_FOR_INDEX_P): Define unconditionally.
2385         (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
2386         (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
2387         * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
2388         that GET_MODE_SIZE is unsigned.
2389         (mips_reg_mode_ok_for_base_p): Define.
2390         (mips_legitimate_address_p): Likewise.  Adjust now
2391         that GET_MODE_SIZE is unsigned.
2392         (block_move_loop): Make the number of bytes unsigned.
2393         (expand_block_move): Likewise.
2394         (function_arg): Make the loop counter unsigned to match the
2395         boundary condition.
2396
2397 2000-04-16  Richard Henderson  <rth@cygnus.com>
2398
2399         * rtl.h (enum insn_note): New enumeration.  Subsume
2400         NOTE_INSN_DELETED and friends.
2401         (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
2402         * rtl.c (note_insn_name): Tweak string order.
2403
2404 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
2405
2406         * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
2407         to offset * 2.
2408
2409         * cpplex.c (output_line_command): Remove debugging prints.
2410         (cpp_output_tokens): Don't write out a zero-length buffer or
2411         try to see if it has a newline in it.
2412         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
2413         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
2414         the end of the loop.  Use memmove.  Don't read past the end of
2415         the buffer.  Remove trailing newlines from error messages.
2416
2417 2004-04-16  Neil Booth  <NeilB@earthling.net>
2418
2419         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
2420         * cpplib.c: Add new syntax flags to directive table, and
2421         supporting macros.
2422
2423 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
2424
2425         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
2426         using ret $N.
2427
2428 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
2429
2430         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
2431         * haifa-sched.c: Update -fsched-verbose comments to use "=".
2432
2433 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2434
2435         * Makefile.in (ggc-page.o): Now includes toplev.h.
2436         * ggc-page.c (toplev.h): Now included.
2437         (gc_time): Remove declaration.
2438         (ggc_collect): TIME now long.
2439         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
2440         others static.
2441         * toplev.h (gc_time, parse_time, gc_time): New declarations.
2442
2443         * toplev.c: Make *_time variable long to reduce chance of overflow.
2444         (TIMEVAR): Likewise for `otime'.
2445         (print_time): Arg is now long; compute percentage in FP and round.
2446         * toplev.h (print_time): Arg is long.
2447
2448         * tree.c: Minor whitespace changes.
2449
2450         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
2451         * configure: Rebuilt.
2452         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
2453         (__fixunsxfDI): Renamed from __fixunsxfdi.
2454         (__fixunsdfDI): Renamed from __fixunsdfdi.
2455         (__fixunssfDI): Renamed from __fixunssfdi.
2456         (__floatdisf): Use proper type in REP_BIT macro.
2457         (__fixunsxfSI): Renamed from __fixunsxfsi.
2458         (__fixunsdfSI): Renamed from __fixunsdfsi.
2459         (__fixunssfSI): Renamed from __fixunssfsi.
2460         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
2461         Change location of macros and upper-case some names as above.
2462         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
2463         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
2464
2465         * varasm.c (assemble_variable): Add cast to remove warning.
2466         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
2467
2468         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
2469         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
2470         region number to -1.
2471
2472 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
2473
2474         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
2475         call unshare_all_rtl.
2476
2477         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
2478
2479 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
2480
2481         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
2482         Use .s1 not .s0 for all FP instructions.
2483
2484 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
2485
2486         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
2487         interfaces.
2488         (safe_fwrite, output_line_command): New static functions.
2489         (cpp_expand_to_buffer): Now private to cpplib.
2490         (cpp_scan_buffer): Take a printer.
2491
2492         * cpphash.h: Update prototypes.
2493         * cpplib.h: Update prototypes.
2494         (cpp_printer): New.
2495         (cpp_buffer): Remove last_nominal_fname.
2496         (cpp_reader): Remove lineno.
2497
2498         * cppmain.c: Use a cpp_printer.
2499         * fix-header.c: No need to inhibit line commands.  Call
2500         cpp_start_read with no printer.
2501
2502         * cpperror.c (cpp_notice_from_errno): Provide default name.
2503         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
2504         (find_include_file, cpp_read_file): Use make_IHASH.
2505         (file_cleanup): Set control_macro and clear
2506         input_stack_listing_current here.
2507         (_cpp_execute_include): Don't output entering-file marker.
2508         * cpphash.c (special_symbol): Look for the line number in the
2509         buffer, not the reader.
2510         (_cpp_macroexpand): No need to disable line commands.
2511         (_cpp_dump_definition): No need to generate line commands.
2512         (dump_hash_helper): Remove excess newline from output.
2513         * cppinit.c (dump_special_to_buffer): No need to generate line
2514         commands.
2515         (cpp_printer_init): New.
2516         (cpp_start_read): Take a printer, and start it up if it's not
2517         NULL.  No need to generate line commands.
2518         (cpp_finish): Expect no buffers stacked at all.  Take a
2519         printer argument, and flush the output buffer if it's not
2520         NULL.
2521         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
2522         Don't put two hashes at the beginning of an assertion.
2523         (cpp_get_token): Don't increment pfile->lineno or emit line
2524         commands here.  Return EOF if there's no buffer when we get
2525         EOF.
2526         * cpplib.c (do_define, skip_if_group):
2527         No need to disable line commands.
2528         (_cpp_output_line_command): Delete function.
2529         (do_line): Don't emit line commands here, but set things up so
2530         they will be emitted if necessary.  Use _cpp_fake_ihash to
2531         make unique nominal_fnames if necessary.
2532         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
2533         with 0 for column, not -1.
2534         (_cpp_handle_eof): Don't set the control macro here.  Don't
2535         clear input_stack_listing_current here.  Don't emit line
2536         commands.
2537
2538 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
2539
2540         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
2541         always, use the default SVR4 start address.
2542
2543         * config/rs6000/linux.h (LINK_SPEC): Don't define.
2544         (LINK_SHLIB_SPEC): Define.
2545         (LINK_START_DEFAULT_SPEC): Define.
2546         (LINK_OS_DEFAULT_SPEC): Define.
2547
2548         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
2549
2550         * config/rs6000/eabi.asm (__eabi): Call __init rather than
2551         __do_global_ctors to handle constructors.
2552         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
2553         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
2554         (STARTFILE_MVME_SPEC): Likewise.
2555         (STARTFILE_SIM_SPEC): Likewise.
2556         (ENDFILE_ADS_SPEC): Use crtend.
2557         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
2558         (ENDFILE_MVME_SPEC): Likewise.
2559         (ENDFILE_SIM_SPEC): Likewise.
2560         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
2561         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
2562         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
2563         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
2564         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
2565         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
2566         (CRTSTUFF_T_CFLAGS_S): Define.
2567         * config/rs6000/eabi-ctors.c: Delete.
2568
2569         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
2570         boundary.
2571         (__fini): Likewise.
2572         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
2573         boundary.
2574         (__fini): Likewise.
2575
2576 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
2577
2578         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
2579         plus mask size is smaller or equal to the mode size.
2580
2581 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2582
2583         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
2584         not yet set.
2585
2586         * expr.c (reload.h): Now included.
2587         (emit_block_move): Set volatile_ok when checking for movstr.
2588         (emit_move_1): Check for replacements in addresses in multi-word case.
2589         * Makefile.in (expr.o): Now includes reload.h.
2590
2591         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
2592         Never have a LIBCALL end a basic block.
2593         (find_basic_blocks_1): Likewise.
2594         Reorganize CALL_INSN cases.
2595
2596         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
2597
2598 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
2599
2600         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
2601         completers from mov.ret instruction.
2602
2603 2000-04-14  Richard Henderson  <rth@cygnus.com>
2604
2605         * fold-const.c (extract_muldiv): Don't distribute and widen
2606         multiply across plus for non-sizetype unsigned types.
2607
2608 2000-04-14  Richard Henderson  <rth@cygnus.com>
2609
2610         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
2611         If the original source is dead in the incr insn, it's dead now.
2612
2613 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2614
2615         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
2616         see if DECL_BIT_FIELD needs to still be set.
2617
2618         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
2619
2620         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
2621         print_int_cst_octal with something that's not an INTEGER_CST.
2622
2623         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
2624         and not a SUBREG to a FLOAT rtl.
2625
2626 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
2627
2628         * emit-rtl.c (try_split): Avoid infinite loop if the split
2629         results in a sequence that contains the original insn.
2630
2631 2000-04-13  Andreas Jaeger  <aj@suse.de>
2632
2633         * config/mips/mips.c (expand_block_move): Pass alignment
2634         argument to move_by_pieces in bits, not bytes.
2635
2636         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
2637         __pic__ for little endian.
2638
2639 2000-04-13  Andreas Jaeger  <aj@suse.de>
2640
2641         * config/i386/i386-protos.h: Add prototype for
2642         uno_comparison_operator.
2643
2644 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2645
2646         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
2647         * calls.c (ECF_PURE): New flag.
2648         (emit_call_1): Handle ECF_PURE calls.
2649         (initialize_argument_information): Unset ECF_PURE flag too.
2650         (precompute_arguments): Precompute for ECF_PURE too.
2651         (expand_call): Handle ECF_PURE calls too.
2652         (emit_library_call_value_1): Rename no_queue argument to fn_type,
2653         accept value of 2 as pure function.
2654         (emit_library_call_value, emit_library_call): Rename no_queue argument
2655         to fn_type.
2656         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
2657
2658         * tree.h (DECL_IS_PURE): New macro.
2659         (struct tree_decl): Add pure_flag.
2660         * c-common.c (enum attrs): Add attribute "pure".
2661         (init_attributes): Initialize attribute "pure"
2662         (decl_attributes): Handle attribute "pure".
2663         * extend.texi (Attribute "pure"): Document.
2664         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
2665         in pure function.
2666         (flags_from_decl_or_type): Support attribute "pure".
2667
2668 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
2669
2670         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
2671         the token except for numbers and identifiers.
2672
2673 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
2674
2675         * i386.c (ix86_expand_binary_operator,
2676         ix86_expand_unary_operator): Check no_new_pseudos
2677         instead of reload_in_progress and reload_completed.
2678         (ix86_split_ashldi, ix86_split_ashrdi,
2679         ix86_split_lshrdi): Check no_new_pseudos instead
2680         of reload_completed.
2681
2682 2000-04-12  Jeffrey A Law  (law@cygnus.com)
2683
2684         * function.c (purge_addressof): Unshare any shared rtl created by
2685         purge_addressof and its children.
2686
2687 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
2688
2689         * function.c (aggregate_value_p): VOID_TYPE nodes are never
2690         aggregates.
2691
2692 2000-04-05  Andreas Jaeger  <aj@suse.de>
2693
2694         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
2695         not compiling PIC code, add flags for mabi=64.
2696         (SUBTARGET_CPP_SIZE_SPEC): New.
2697         (SUBTARGET_CPP_SPEC): New.
2698         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
2699         for MIPS/Linux and lots of code needs these defines.
2700
2701 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
2702
2703         * reorg.c (fill_slots_from_thread): Check side_effects_p when
2704         trying the "opposite arithmetic" approach.
2705
2706 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2707
2708         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
2709         (struct sh_args): Add new field force_mem.
2710         (INIT_CUMULATIVE_ARGS): Initialize it.
2711         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
2712
2713 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2714
2715         * calls.c (expand_call): Do not reverse args in "equal from" field.
2716         (emit_library_call_value_1): Emit_libcall_block for const and pure
2717         function.
2718
2719 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2720
2721         * reload1.c (reload_combine): Don't enable optimization for fixed
2722         registers when encountering a BARRIER.
2723
2724 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2725
2726         * builtins.c (expand_builtin_memcmp): Do expansion even with
2727         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
2728
2729         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
2730         stack is propertly aligned; add sanity checking for aligned
2731         stack pointer.
2732         (expand_library_call_value_1): Add sanity checking for aligned
2733         stack pointer.
2734
2735 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
2736
2737         * calls.c (emit_library_call_value_1): Change 3rd arg to
2738         locate_and_pad_parm to disregard the setting of partial.
2739
2740 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2741
2742         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
2743
2744         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
2745         CALL_INSN from the normal case.
2746
2747 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2748
2749         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
2750         New global variables.
2751         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
2752         adjustment.
2753         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
2754         Declare,
2755         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
2756          TARGET_ADD_ESP_8): New macros.
2757         * i386.md: Add peep2s to convert esp adjustments to push and pop
2758         instructions.
2759         (pushsi_prologue, popsi_epilogue): New patterns.
2760
2761 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
2762
2763         * real.c (toe64): Remove stale #endif from the last change.
2764
2765 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
2766
2767         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
2768         * real.c (toe64): Revert previous change.
2769
2770 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
2771
2772         * objc/objc-act.c: Include ggc.h.
2773         (objc_tree_index, objc_global_trees): Convert most of the
2774         static tree variables into a static array with previous names
2775         as defines.
2776         (objc_ellipsis_node): New variable.
2777         (lang_init): Call objc_act_parse_init and c_parse_init.
2778         Create objc_ellipsis_node.
2779         (build_selector_translation_table): Use objc_ellipsis_node instead
2780         of (tree)1.
2781         (hack_method_prototype): Likewise.
2782         (get_arg_type_list): Likewise.
2783         (start_method_def): Likewise.
2784         (continue_method_def): Likewise.
2785         (gen_method_decl): Likewise.
2786         (ggc_mark_imp_list): New function.
2787         (ggc_mark_hash_table): New function.
2788         (objc_act_parse_init): New function.
2789         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
2790         * c-parse.in (c_parse_init): For objc add roots of objc specific
2791         local tree variables.
2792         * objc/objc-parse.y: Rebuilt.
2793         * objc/objc-parse.c: Rebuilt.
2794         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
2795
2796 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
2797
2798         * cse.c (delete_trivially_dead_insns): Also delete insns
2799         that copy a register to itself where the destination is
2800         a strict_low_part.
2801
2802 2000-04-11  Richard Henderson  <rth@cygnus.com>
2803
2804         * flow.c (struct propagate_block_info): Add new_dead, new_live.
2805         (propagate_block): Initialize them.  Use them in parallel instead
2806         of one tmp variable, ie revert much of the 0408 and 0407 functional
2807         changes, but keep the structural changes.
2808         (mark_set_regs): Take new_dead from propagate_block_info instead.
2809         (mark_set_1, mark_set_reg): Likewise.
2810         (mark_used_regs): Likewise with new_live.
2811         (mark_used_reg): Likewise.  Revert 0408 change.
2812
2813 2000-04-11  Nick Clifton  <nickc@cygnus.com>
2814
2815         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
2816         restriction.
2817         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
2818
2819 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2820
2821         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
2822         const section to output a CONSTRUCTOR based on the same conditions
2823         used for VAR_DECLs.
2824
2825 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
2826
2827         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
2828         * pa/pa-protos.h (output_call): Add additional argument indicating
2829         if the call is a sibling/tail call.
2830         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
2831         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
2832         (function_arg, function_arg_partial_nregs): Likewise
2833         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
2834         (emit_move_sequence): Zero extend certain constants as needed
2835         for TARGET_64BIT.
2836         (compute_zdepdi_operands, output_64bit_and): New functions.
2837         (output_64bit_ior, function_arg): Likewise.
2838         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
2839         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
2840         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
2841         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
2842         (output_bvb): Likewise.
2843         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
2844         (output_call): New argument 'sibcall'.  Generate sibcall sequences
2845         as needed.
2846         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
2847         (ouput_arg_descriptor): Do not emit argument descriptors for
2848         TARGET_64BIT.
2849         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
2850         defined.
2851         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
2852         (FUNCTION_OK_FOR_SIBALL): Define.
2853         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
2854         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
2855         (CPP_SPEC): Use new spec infrastructure.
2856         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
2857         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
2858         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
2859         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
2860         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
2861         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
2862         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
2863         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
2864         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
2865         (FUNCTION_ARG); Call out to C code.
2866         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
2867         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
2868         (MIN_UNITS_PER_WORD): Likewise.
2869         * pa/pa.md (cmpdi): New expander.
2870         (scc patterns, movstrsi): Not available for TARGET_64BIT.
2871         (64bit conditional arithmetic): New patterns.
2872         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
2873         (movsicc): Not available if modes on all the operands to not match.
2874         (movdicc): New expander and associated patterns.
2875         (64bit branches): New patterns.
2876         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
2877         (pre_ldd, post_std): New patterns.
2878         (64bit addil, load low part): New patterns.
2879         (special movsf constant): Not available for TARGET_64BIT.
2880         (movsf, movdf expanders): Force constants into memory.
2881         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
2882         (64bit movdf/movdi patterns): New patterns.
2883         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
2884         for TARGET_64BIT.
2885         (extendqidi2, extendhidi2, extendsidi2): Similarly.
2886         (adddi3 expander): Allow "arith_operand" for second input.
2887         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
2888         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
2889         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
2890         (muldi3): New expander for TARGET_64BIT.
2891         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
2892         for TARGET_64BIT.
2893         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
2894         patterns for TARGET_64BIT.
2895         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
2896         patterns for TARGET_64BIT.
2897         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
2898         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
2899         (sibcall_epilogue): New expander.
2900         (casesi): Tweak for TARGET_64BIT.
2901         (call expanders): Set & use the outgoing argument pointer.  Use the
2902         64bit call patterns as needed. Add additional arg to output_call.
2903         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
2904         (sibcall, sibcall_internal_symref): New expanders.
2905         (sibcall_value, sibcall_value_internal_symref
2906         (interspace_jump): Turn into an expander + matching patterns.
2907         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
2908         * pa/pa64-regs.h: Eliminate trigraph sequences.
2909         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
2910
2911 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
2912
2913         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
2914         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
2915         cpp_token with cpp_ttype everywhere.
2916         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
2917         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
2918         CPP_BUF_COL.  Line and column numbers are unsigned int, not
2919         long.
2920         * cpplex.c (cpp_buf_line_and_col): Delete.
2921         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
2922         'long lineno' to 'unsigned int lineno'.
2923         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
2924
2925 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2926
2927         * extend.texi: ISO C99 is not a draft anymore.
2928         * invoke.texi: ISO C++ is not a draft anymore.
2929         * cpp.texi: __cplusplus is required by the ISO standard.
2930
2931         * extend.texi (-fthis-is-variable): Undocument.
2932         * flags.h (warn_template_debugging): Remove declaration.
2933         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
2934         -Wenum-clash, -Wtemplate-debugging): Undocument.
2935
2936 2000-04-10  Nick Clifton  <nickc@cygnus.com>
2937
2938         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
2939         integer.
2940         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
2941         integer.
2942         (ARM_SIGN_EXTEND): Use HOST_UINT.
2943         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
2944         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
2945         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
2946         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
2947
2948         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
2949         (arm_gen_constant): Use HOST_UINT.
2950         (arm_canonicalize_constant): Use HOST_UINT.
2951         (arm_reload_in_hi): Use HOST_UINT.
2952         (arm_reload_out_hi): Use HOST_UINT.
2953         (output_multi_immediate): Use HOST_UINT.
2954         (int_log2): Use HOST_UINT.
2955         (arm_poke_function_name): Use HOST_UINT.
2956         (arm_output_epilogue): Use arm_volatile_func().
2957         (output_thumb_prologue): Use arm_strip_name_encoding().
2958
2959 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2960
2961         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
2962         of sequence point problems.
2963
2964 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
2965
2966         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
2967         Recomment.
2968         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
2969
2970 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2971
2972         * sbitmap.h: Whitespace changes and use upper-case macro args.
2973         (struct simple_bitmap_def): All sizes now unsigned.
2974         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
2975         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
2976         (sbitmap_vector_alloc): Parms and local vars now unsigned.
2977         (sbitmap_zero): Cast bzero arg to PTR.
2978         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
2979         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
2980         loop to make structure clearer.
2981         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
2982         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
2983         (sbitmap_a_and_b_or_c): Likewise.
2984         (sbitmap_intersection_of_succs): Minor cleanups.
2985         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
2986         (sbitmap_union_of_preds): Likewise.
2987         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
2988         (debug_sbitmap): New function.
2989
2990         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
2991         * c-typeck.c (convert_for_assignment): Likewise.
2992
2993         * expmed.c (init_expmed): Don't free objects we make.
2994         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
2995
2996         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
2997         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
2998
2999         * gcse.c (expr_hash_table_size): Now unsigned.
3000         (compute_ae_gen): Local variable `i' now unsigned.
3001         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
3002         (compute_transout, hoist_code): Likewise.
3003         (compute_local_properties): Likewise, also hash_table_size.
3004         (alloc_expr_hash_table): N_INSNS now unsigned.
3005         (delete_null_pointer_checks): Mark arg F as unused.
3006
3007         * regrename.c: Minor cleanups, including chang some variables
3008         to unsigned int.
3009
3010 2000-04-10  Neil Booth  <NeilB@earthling.net>
3011
3012         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
3013         than GETC ().
3014         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
3015
3016 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3017
3018         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
3019         __classof__, and __headof__ from the list of gnu keywords.
3020         (-ansi): Remove -foperator-names from list of implied options.
3021         Do not call it ANSI C++.
3022         (-foperator-names): Document as -fno-operator-names.
3023
3024 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
3025
3026         * cpphash.c (timestamp): Delete.
3027         (del_HASHNODE): If type is T_MCONST, free value.cpval.
3028         (special_symbol): Remove unnecessary braces.  Remove
3029         T_VERSION.  Treat T_STDC like T_CONST unless
3030         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
3031         when one is encountered, then convert them into T_MCONST
3032         nodes.
3033         * cppinit.c (builtin_array): version_string is T_MCONST.
3034         __STDC__ has a "1" in its cpval.  Don't have a terminator
3035         entry.  Clean up which entries are dumped.
3036         (initialize_builtins): Only __STDC__ gets the special
3037         -traditional treatment.  Count the length of builtin_array.
3038         Render version_string here.
3039         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
3040         * cpplib.h (struct cpp_reader): Remove timebuf.
3041
3042 2000-04-09  Richard Henderson  <rth@cygnus.com>
3043
3044         * genrecog.c (pred): Update comparison_operator for the unordered
3045         operators.
3046
3047         * config/i386/i386.c (no_comparison_operator): Disallow unordered
3048         operators.
3049         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
3050         (uno_comparison_operator): New.
3051         (put_condition_code): Handle UNORDERED/ORDERED.
3052         (unsigned_comparison): Likewise.
3053         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
3054         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
3055         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
3056         update all callers.  Handle all 8 unordered operators.
3057         (ix86_expand_setcc): Lose the unordered argument, update all callers.
3058         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
3059         * config/i386/i386.h (PREDICATE_CODES): Update.
3060         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
3061         (ix86_expand_branch, ix86_expand_setcc): Update.
3062         * config/i386/i386.md (sunordered, sordered): New.
3063         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
3064         (bunordered, bordered): New.
3065         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
3066         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
3067         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
3068
3069 2000-04-09  Philip Blundell  <philb@gnu.org>
3070
3071         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
3072
3073 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
3074
3075         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
3076         fix_truncxfhi2): New patterns.
3077         * i386.c (output_fix_trunc): Handle converting to HImode.
3078
3079 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
3080
3081         * ssa.c (convert_to_ssa): Eliminate dead code when calling
3082         life_analysis.
3083         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
3084         (for_each_successor_phi): Change parameter to basic_block.
3085         (coalesce_regs_in_successor_phi_nodes): Likewise.
3086         (coalesce_regs_in_copies): Likewise.
3087         (compute_coalesced_reg_partition): Use basic_block instead of index.
3088         * rtl.h (convert_to_ssa): Delete.
3089         (convert_from_ssa): Likewise.
3090         (successor_phi_fn): Likewise.
3091         (for_each_successor_phi): Likewise.
3092         (in_ssa_form): Likewise.
3093         * basic-block.h (convert_to_ssa): Moved from rtl.h.
3094         (convert_from_ssa): Likewise.
3095         (successor_phi_fn): Likewise.
3096         (in_ssa_form): Likewise.
3097         (for_each_successor_phi): Likewise.  Change parameter to basic_block.
3098         * flow.c (calculate_global_regs_live): Pass a basic_block to
3099         for_each_successor_phi.
3100
3101 2000-04-08  Richard Henderson  <rth@cygnus.com>
3102
3103         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
3104         was modified in the current insn.
3105
3106 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
3107
3108         * arm/thumb.md: Delete.
3109         * arm/thumb-protos.h: Delete.
3110
3111 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
3112
3113         Merge changes from merged-arm-thumb-backend-branch onto trunk.
3114
3115         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
3116
3117         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
3118         into branch.
3119
3120         * arm.md (nop): Use the standard RTL expression.  Don't code as a
3121         define_expand.
3122         (*arm_nop, *thumb_nop): Delete.
3123
3124         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
3125         constants.  Use casts instead.
3126         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
3127         output_multi_immediate, arm_poke_function_name): Likewise.
3128         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
3129         MASK_RETURN_ADDDR): Likewise.
3130
3131         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
3132
3133         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
3134         into branch.
3135
3136         * arm.md (eh_epilogue): New function.
3137         * arm.h (struct machine_function): Move to here ...
3138         * arm.c: ... from here.
3139         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
3140         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
3141         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
3142
3143         2000-03-30  Nick Clifton  <nickc@cygnus.com>
3144
3145         * config/arm/semi.h (ASM_SPEC): Restore definition.
3146         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
3147
3148         * config/arm/elf.h (ASM_SPEC): Restore definition.
3149         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
3150
3151         * config/arm/arm.h (ASM_SPEC): Remove definition.
3152         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
3153
3154         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
3155
3156         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
3157
3158         2000-03-24  Nick Clifton  <nickc@cygnus.com>
3159
3160         Various formating tidyups, elimination of compile time
3161         warnings and synchronisation with internal sources:
3162
3163         * config/arm/arm-protos.h (assemble_align): Add prototype.
3164         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
3165         (gen_comapre_reg): Rename to arm_gen_compare_reg.
3166         (arm_return_addr_rtx): Rename to arm_return_addr.
3167
3168         * config/arm/arm.c: Include except.h.
3169         Define shorter typenames for strict minipool_node and struct
3170         minipool_fix.
3171         (arm_return_in_memory): For WinCE return all structures <= 32 bits
3172         in memory.
3173         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
3174         (gen_comapre_reg): Rename to arm_gen_compare_reg.
3175
3176         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
3177         already defined.
3178         (ASM_SPEC): Define if not already defined.
3179         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
3180
3181         * config/arm/arm.md: Rename references to gen_rotated_half_load to
3182         arm_gen_rotated_half_load, and references to gen_comapre_reg to
3183         arm_gen_compare_reg.
3184         (indirect_jump):  Only accept register operands.
3185         (load_indirect_jump): Keep this pattern since combine can generate
3186         it.
3187
3188         * config/arm/coff.h: Include aout.h.
3189         (MULTILIB_DEFAULTS): Only define if not already defined.
3190
3191         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
3192         into arm.h (so that COFF ports can support thumb based aliases).
3193         (ASM_SPEC): Move definition into arm.h
3194
3195         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
3196         redundant apcs spec.
3197         (ASM_SPEC): Move definition to arm.h
3198
3199         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
3200
3201         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
3202         for entries in the .bss section
3203
3204         2000-03-23  Nick Clifton  <nickc@cygnus.com>
3205
3206         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
3207         to thumb_far_jump_used_p.
3208
3209         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
3210         single integer parameter.
3211
3212         * config/arm/arm.c (struct machine_function): Add two new
3213         fields, 'far_jump_used' and 'arg_pointer_live'.
3214         (thumb_far_jump_used_p): Once the decision has been made that
3215         far jumps might be used, always return true.
3216         If being called from the initial elimination offset macro then
3217         do not bother to perform the test if the arg pointer is not
3218         being used.
3219         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
3220         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
3221
3222         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
3223
3224         * arm.c (output_return_instruction): Handle more cases where we can
3225         return from a function with an ldr instruction.
3226         (arm_output_epilogue): Likewise.
3227
3228         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
3229         if we need to push a large stack frame and there are no callee-saved
3230         registers.
3231
3232         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
3233         in ARM code if the frame pointer has been eliminated.
3234
3235         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
3236         unspec_volatile arguments to avoid duplicates.
3237         (consttable_1, consttable_2): Fixes for big-endian mode.
3238
3239         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
3240         as appropriate.
3241
3242         Re-write constant pool code.
3243         * arm.c (minipool_node, minipool_fix): New types.
3244         (minifix): Delete type.
3245         (arm_add_minipool_constant): Delete.
3246         (arm_compute_minipool_offsets, arm_find_barrier,
3247         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
3248         (get_jump_table_size): Now returns HOST_WIDE_INT.
3249         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
3250         functions.
3251         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
3252         (assign_minipool_offsets, arm_print_value): Likewise.
3253         (dump_minipool): Rewrite.
3254         (arm_barrier_cost): New function.
3255         (create_fix_barrier): New function.
3256         (push_minipool_barrier): New function.
3257         (push_minipool_fix): Record additional information about the fixup
3258         required.
3259         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
3260         check the mode of what needs fixing.
3261         (arm_reorg): Rewrite.
3262
3263         2000-03-08  Nick Clifton  <nickc@cygnus.com>
3264
3265         * config/arm/arm.md (indirect_jump): Force constant addresses into
3266         a register.
3267
3268         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
3269
3270         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
3271
3272         2000-02-24  Nick Clifton  <nickc@cygnus.com>
3273
3274         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
3275         adjust is word aligned.
3276         (thumb_expand_epilogue): Make sure that stack adjust is word
3277         aligned.
3278
3279         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
3280
3281         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
3282
3283         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
3284         pointer relative addresses.
3285
3286         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
3287
3288         * arm.c (find_barrier): Find the last barrier within the allowed
3289         range.
3290
3291         2000-02-09  Nick Clifton  <nickc@cygnus.com>
3292
3293         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
3294
3295         2000-02-09  Nick Clifton  <nickc@cygnus.com>
3296
3297         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
3298         ARM_FUNCTION_PROFILER.
3299
3300         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
3301         ARM_FUNCTION_PROFILER.
3302
3303         * config/arm/linux-oldld.h: Imported from mainline sources.
3304
3305         2000-02-07  Nick Clifton  <nickc@cygnus.com>
3306
3307         * config/arm/lib1funcs.asm: Merge in thumb functions from
3308         lib1thumb.asm.
3309
3310         * config/arm/lib1thumb.asm: Delete.
3311
3312         2000-02-04  Nick Clifton  <nickc@cygnus.com>
3313
3314         * config/arm/arm.c: Sychronised with current Red hat local
3315         sources.
3316         * config/arm/arm.h: Ditto.
3317         * config/arm/arm-protos.h: Ditto.
3318
3319         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
3320
3321         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
3322
3323         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
3324         byte stores.
3325
3326         2000-02-02  Nick Clifton  <nickc@cygnus.com>
3327
3328         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
3329
3330         * config/arm/arm.md (epilogue): Fix rtl checking abort because
3331         (return) was emited using an emit_insn() call.
3332
3333         2000-01-31  Nick Clifton  <nickc@cygnus.com>
3334
3335         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
3336         thumb stack frame.
3337         (thumb_exit): Move frame pointer back into hard frame pointer
3338         register if backtracing is being used.
3339
3340         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
3341
3342         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
3343         into branch.
3344
3345         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
3346
3347         * config/arm/arm.md (neg_pool_offset): Provide default for new
3348         attribute.
3349         (arm_movsi_insn): Add neg_pool_offset attribute.
3350         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
3351         rtx for the insn that starts the scan and an unsigned long for its
3352         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
3353         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
3354         instructions in *PINSERTED.
3355         (struct minipool_fixup): Add MIN_ADDRESS elt.
3356         (sort_fixups): Compute it.
3357         (arm_reorg): Changes to support inserting pools before the insn to be
3358         fixed up.
3359
3360         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
3361
3362         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
3363         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
3364         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
3365
3366         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
3367
3368         * config/arm/semi.h (TARGET_VERSION): Do not define if already
3369         defined.
3370         (TARGET_DEFAULT): Do not define if already defined.
3371
3372         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
3373
3374         * config/arm/arm.md (anddi3): Allow disjoint source operands.
3375         (iordi3): Allow disjoint source operands.
3376         (xordi3): Allow disjoint source operands.
3377         (negdi2): Permit construction for ARM and Thumb.
3378         (arm_negdi2): Renamed version of old negdi2 pattern.
3379         (thumb_negdi2): New pattern: Only permit non-overlapping
3380         source and destination.
3381
3382         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
3383
3384         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
3385         scratch low register so that it will not be deleted.
3386
3387         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
3388
3389         * config/arm/pe.h (ARM_PE): Define.
3390
3391         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
3392         interfacearm attribute if this is a PE toolchain.
3393         (output_return_instruction): Do not emit anything if the function
3394         has the naked attribute set.
3395         (is_called_in_ARM_mode): If the function has the interfacearm
3396         attribute then return true.
3397         (thumb_expand_prologue): Do not generate a prologue for naked
3398         functions.
3399         (thumb_expand_epilogue): Do not generate an epilogie for a naked
3400         function.
3401         (output_thumb_prologue): Do not bother if the function is naked.
3402         Strip PE encoding from function name before emitting.
3403
3404         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
3405
3406         * arm.md (pic_load_addr): Fix constraints.
3407
3408         * arm.md (casesi_insn): Fix mis-applied patch.
3409
3410         * arm.md ("core" function unit): Add rules for single- and
3411         multi-cycle insns.
3412         (All TARGET_THUMB patterns): Add "type" attribute information
3413         where needed.
3414         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
3415         the following insn is a CALL.
3416
3417         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
3418         pointer.
3419         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
3420         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
3421         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
3422
3423         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
3424
3425         * config/arm/linux-gas.h: oops - this file was missed out when the
3426         branch was created...
3427
3428         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
3429
3430         * thumb.c: Deleted.  Move contents to ...
3431         * arm.c: ... here.
3432         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
3433         rule for thumb.o
3434         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
3435         * configure: Regen.
3436
3437         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
3438         declare a prototype for asm_output_align();
3439
3440         * arm.c (thumb_condition_code): Delete.
3441         (arm_print_operand): Always use arm_condition_code array.
3442
3443         * arm.c (thumb_return_addr_rtx): Delete.
3444         (arm_save_machine_status, arm_restore_machine_status): Delete.
3445         (arm_init_machine_status, arm_mark_machine_status): New functions.
3446         (arm_init_expanders): Update accordingly.
3447         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
3448         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
3449         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
3450
3451         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
3452
3453         * configure.in : Fix arm-*-aout target to use new t-arm-aout
3454         script.
3455         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
3456         targets.
3457
3458         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
3459
3460         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
3461         stack backtrace structure.
3462
3463         * config/arm/arm-protos.h: Add prototypes for functions defined in
3464         arm/pe.h.
3465
3466         * config/arm/arm.c (arm_override_options): Fix selection of
3467         attributes of default processor.
3468
3469         * config/arm/coff.h: Delete needless #include.
3470
3471         * config/arm/pe.c: Delete unused code.
3472
3473         * config/arm/pe.h (CPP_DEFINES): Delete
3474         (SUBTARGET_CPP_SPEC): Define.
3475         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
3476
3477         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
3478
3479         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
3480
3481         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
3482         updated.
3483         (CAN_DEBUG_WITHOUT_FP): Define.
3484         (FIXED_REGISTERS): Make r11 call-saved.
3485         (CALL_USED_REGISTERS): Likewise.
3486         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
3487         (FRAME_POINTER_REQUIRED): Correct logic for determining when a
3488         frame-pointer is required.
3489         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
3490         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
3491         if the target normally needs a stack frame in non-leaf functions.
3492         (use_return_insn): Correct logic for determining when a return
3493         instruction can be used.
3494         (output_return_instruction): Handle the frame-pointer register as
3495         a normal register when not TARGET_APCS_FRAME.
3496         (arm_output_prologue): Likewise.
3497         (arm_output_epilogue): Likewise.
3498         (output_func_epilogue): Likewise.
3499         (arm_expand_prologue): Likewise.
3500         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
3501
3502         * arm.c (use_return_insn): No need to check floating point regs if
3503         TARGET_SOFT_FLOAT.
3504         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
3505         the code of value stored in the minipool array.
3506         (arm_add_minipool_constant): Likewise.
3507
3508 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3509
3510         * basic-block.h (conflict_graph_enum_fn): K&R fix.
3511
3512 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3513
3514         * tree.c (tree_expr_nonnegative_p): New function.
3515
3516         * tree.h (tree_expr_nonnegative_p): Declare.
3517
3518         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
3519         elide some sign_compare warnings.
3520         (build_conditional_expr): Likewise.
3521
3522 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
3523
3524         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
3525
3526         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
3527         * i386.c (print_operand): Use the proper suffix for a 387 HImode
3528         operand.  Abort if a 387 operand has an unsupported size.
3529
3530 2000-04-08  Neil Booth  <NeilB@earthling.net>
3531
3532         * cppexp.c (parse_charconst): Null does not end character
3533         constants.
3534         * cppinit.c (ISTABLE): Null character handled as whitespace.
3535         * cpplex.c (null_warning):  new function.
3536         (skip_string): Emit warning if nulls encountered.
3537         (_cpp_skip_hspace): Emit warning if nulls encountered.
3538         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
3539         them.
3540         * cpp.texi: Update.
3541
3542 2000-04-07  Richard Henderson  <rth@cygnus.com>
3543
3544         * flow.c (loop_depth): Remove.
3545         (reg_next_use, cc0_live, mem_set_list): Replace with ...
3546         (struct propagate_block_info): New.
3547         (life_analysis): Don't allocate reg_next_use.
3548         (propagate_block_delete_insn): Break out of propagate_block.
3549         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
3550         (propagate_block_delete_libcall): Likewise.
3551         (propagate_block): Create a propagate_block_info struct to pass
3552         to subroutines.  Allocate one not two temporary regsets.  Don't
3553         clobber memory for const calls.  Look for clobbers in
3554         CALL_INSN_FUNCTION_USAGE.
3555         (mark_set_regs): Recognize COND_EXEC.
3556         (mark_set_reg): Break out of mark_set_1.
3557         (mark_used_reg): Break out of mark_used_regs.
3558         (mark_used_regs): Recognize COND_EXEC.
3559         (insn_dead_p): Use propagate_block_info struct.
3560         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
3561         (find_auto_inc, try_pre_increment_1): Likewise.
3562         (print_rtl_with_bb): Dump regs live at end too.
3563         (count_reg_sets_1): Pass in loop_depth.
3564         (count_reg_sets, count_reg_references): Likewise.
3565         (recompute_reg_usage): Provide it.
3566
3567 2000-04-07  Richard Henderson  <rth@cygnus.com>
3568
3569         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
3570         not the raw files.
3571
3572 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
3573
3574         * cpplib.c (do_elif): Skip the rest of the line if we're
3575         not going to bother evaluating it.
3576         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
3577         to avoid pointless calls to the lexer.
3578
3579 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
3580
3581         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
3582
3583 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
3584
3585         * calls.c (expand_call): emit_queue if we're trying a sibcall.
3586
3587 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
3588
3589         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
3590
3591 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
3592
3593         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
3594         crtend so they can be multilibbed.
3595         (STAGESTUFF): Remove s-crt and s-crtS.
3596
3597 2000-04-07  Richard Henderson  <rth@cygnus.com>
3598
3599         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
3600         if we discover we need a pseudo and no_new_pseudos is true.
3601         * config/alpha/alpha.md (ne:DI insn): New.
3602         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
3603
3604 2000-04-07  Richard Henderson  <rth@cygnus.com>
3605
3606         * rtl.def (COND_EXEC): New.
3607         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
3608         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
3609
3610         * genconfig.c (have_cond_arith_flag): Remove.
3611         (have_cond_exec_flag): New.
3612         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
3613         (main): Print HAVE_conditional_execution.
3614
3615         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
3616         (sched_analyze_insn, print_pattern): Likewise.
3617         * reload.c (find_equiv_reg): Likewise.
3618         * rtlanal.c (reg_referenced_p): Likewise.
3619         (note_stores, dead_or_set_regno_p): Likewise.
3620         (reg_overlap_mentioned_p): Rewrite to use a switch.
3621
3622         * ggc.h (struct rtx_def): Forward declare.
3623
3624         * print-rtl.c (debug_rtx_range): New.
3625         * rtl.h (debug_rtx_range): Declare.
3626
3627         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
3628
3629         * gcse.c (gcse_main): Don't rebuild the CFG here.
3630         (delete_null_pointer_checks): Likewise.
3631         * ssa.c (convert_to_ssa): Likewise.
3632         * toplev.c (rest_of_compilation): Do it here instead.  Combine
3633         sequential calls to TIMEVAR.  Consistently use `insns' instead of
3634         `get_insns()'.  Always split insns after reload when optimizing.
3635
3636         * basic-block.h (merge_blocks_nomove): Declare.
3637         (tidy_fallthru_edge): Declare.
3638         * flow.c (merge_blocks_nomove): Document as merging into previous
3639         blocks.  Remove cruft from between blocks; remove all edges out of A.
3640         (tidy_fallthru_edge): Export.
3641
3642 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
3643
3644         * ssa.c (compute_conservative_reg_partition): Declare with
3645         void arguments.
3646         * toplev.c (clean_dump_file): Remove previously-deleted function
3647         inadvertantly merged back in.
3648         * conflict.c (conflict_graph_add): Use a single call to
3649         htab_find_slot to look up and insert.
3650
3651 2000-04-06  Richard Henderson  <rth@cygnus.com>
3652
3653         * genrecog.c (*): Rename _last_insn to last_insn.
3654         (make_insn_sequence): Set the position of the peephole2 C test
3655         to be at the last insn.
3656
3657 2000-04-06  Richard Henderson  <rth@cygnus.com>
3658
3659         * flow.c (compute_flow_dominators): Free worklist.
3660
3661 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
3662
3663         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
3664
3665 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
3666
3667         * rtl.h (INSN_P): New macro.
3668         (successor_phi_fn): New typedef.
3669         (for_each_successor_phi): New prototype.
3670         (in_ssa_form): New variable.
3671         (PHI_NODE_P): Likewise.
3672         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
3673         phi nodes in successors.
3674         (mark_used_regs): Add PHI case.
3675         (set_phi_alternative_reg): New function.
3676         (life_analysis): Assert that dead code elimination is not selected
3677         when in SSA form.
3678         * toplev.c (to_ssa_time): New variable.
3679         (from_ssa_time): Likewise.
3680         (compile_file): Zero to_ssa_time and from_ssa_time.
3681         Print time to convert to and from SSA.
3682         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
3683         (print_time): Compute percent fraction as integer.
3684         * ssa.c (PHI_NODE_P): Moved to rtl.h.
3685         (convert_to_ssa): Check if we're already in SSA.
3686         Don't eliminate dead code in life_analysis.
3687         Rerun flow and life analysis at bottom.
3688         (eliminate_phi): Use canonical regnos when adding nodes.
3689         (mark_reg_in_phi): New function.
3690         (mark_phi_and_copy_regs): Likewise.
3691         (convert_from_ssa): Rerun life analysis at top.
3692         Use coalesced partition.
3693         Check for removing a phi node at the end of the block.
3694         (compute_coalesced_reg_partition): New function.
3695         (coalesce_regs_in_copies): Likewise.
3696         (coalesce_reg_in_phi): Likewise.
3697         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
3698         (for_each_successor_phi): Likewise.
3699         (rename_context): New struct.
3700         (rename_block): Use a rename_context with rename_insn_1.  When
3701         renaming sets of a subreg, emit a copy of the entire reg first.
3702         (rename_insn_1): Treat data as a rename_context *.  Save current
3703         insn in set_data.
3704         (rename_set_data): Add field set_insn.
3705         * Makefile.in (HASHTAB_H): Move up in file.
3706         (OBSTACK_H): New macro.
3707         (collect2.o): Use OBSTACK_H in dependencies.
3708         (sdbout.o): Likewise.
3709         (emit-rtl.o): Likewise.
3710         (simplify-rtx.o): Likewise.
3711         (fix-header.o): Likewise.
3712         (OBJS): Add conflict.o.
3713         (conflict.o): New rule.
3714         * basic-block.h: Include partition.h.
3715         (conflict_graph): New typedef.
3716         (conflict_graph_enum_fn): Likewise.
3717         (conflict_graph_new): New prototype.
3718         (conflict_graph_delete): Likewise.
3719         (conflict_graph_add): Likewise.
3720         (conflict_graph_conflict_p): Likewise.
3721         (conflict_graph_enum): Likewise.
3722         (conflict_graph_merge_regs): Likewise.
3723         (conflict_graph_print): Likewise.
3724         (conflict_graph_compute): Likewise.
3725         * conflict.c: New file.
3726
3727 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
3728
3729         * tlink.c (read_repo_files): Don't look for .rpo info for
3730         linker flags.
3731
3732 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3733
3734         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
3735
3736 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3737
3738         * config/sh/lib1funcs.asm (___udivsi3_i4):
3739         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
3740         only depends on FMOVD_WORKS.
3741
3742 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3743
3744         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
3745         make double constant 8-byte aligned.
3746
3747 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
3748
3749         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
3750         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
3751         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
3752         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
3753         Accept storing GENERAL_REGS into offsetable memory.
3754         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
3755         building a TFmode constant other than 0.0L into GENERAL_REGS.
3756
3757 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
3758
3759         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
3760
3761 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
3762
3763         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
3764         (macro_cleanup): No need to cast pbuf->macro.
3765         (collect_expansion): Use _cpp_get_define_token.  Goto done if
3766         it returns VSPACE.  Remove check for trailing space after
3767         CPP_COMMENT.
3768         (_cpp_create_definition): Don't diddle flags here.  Return
3769         directly on error.
3770         (unsafe_chars): Handle c1 being EOF.
3771         (push_macro_expansion): Use unsafe_chars for both accidental-paste
3772         checks.  Don't push the buffer till after we're done with
3773         them.
3774         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
3775         (PEEKN, FORWARD, GETC, PEEKC): Use them.
3776         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
3777         appropriately.
3778         (_cpp_parse_assertion): Don't NUL terminate.
3779         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
3780         hspace before calling _cpp_parse_assertion.  Remove all sets
3781         of only_seen_white. Treat '\f' as hspace.  Don't do anything
3782         special with '\n' here.
3783         (maybe_macroexpand): Handle T_EMPTY hash entries without
3784         pushing a buffer at all.
3785         (cpp_get_token): Handle clearing only_seen_white here.  Handle
3786         incrementing the line number here.  Clear
3787         potential_control_macro as well as only_seen_white, if
3788         appropriate.
3789         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
3790         (_cpp_get_define_token): New function, basically like
3791         _cpp_get_directive_token was but doesn't eat horizontal space.
3792         Don't do anything with only_seen_white here.
3793         (_cpp_get_directive_token): Just call _cpp_get_define_token
3794         repeatedly till it returns non-hspace.
3795
3796         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
3797         (conditional_skip, skip_if_group): Return int.
3798         (DIRECTIVE_TABLE): Change origin of all conditional directives
3799         to "COND".
3800         (TRAD_DIRECT_P): New macro.
3801         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
3802         an error for a bogus directive, unless -lang-asm.  Use
3803         TRAD_DIRECT_P. Loop calling handler functions till one returns
3804         zero.
3805         (get_macro_name): Don't diddle flags here.
3806         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
3807         Create T_EMPTY nodes for #define macro /* nothing */.
3808         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
3809         Use hp->name when calling pass_thru_directive.
3810         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
3811         Return the result of conditional_skip and/or skip_if_group.
3812         Don't call _cpp_output_line_command.
3813         (consider_directive_while_skipping): Use _cpp_get_directive_token.
3814         Issue -Wtraditional warnings as appropriate.  Don't complain
3815         about unrecognized directives.  If we are to stop skipping,
3816         return the number of the directive that ended the skip.
3817         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
3818         expansion and line commands while skipping.  Return the result
3819         of consider_directive_while_skipping, if nonzero.
3820         (do_endif): Just set potential_control_macro here.
3821         (validate_else): Use _cpp_get_directive_token.
3822         (do_assert, do_unassert): Don't save pointers into the
3823         token_buffer across calls to the lexer.  Use
3824         _cpp_get_directive_token.
3825
3826         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a
3827         pointer, not an offset.  Replace 'data', which was a generic
3828         pointer, with 'macro', which points to a struct hashnode.
3829         (cpp_reader): Add 'potential_control_macro' pointer.
3830         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
3831         (CPP_BUF_GET, CPP_FORWARD): Delete.
3832         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
3833         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
3834         ACTIVE_MARK_P): Update.
3835         (_cpp_get_define_token): New internal function.
3836         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
3837
3838 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
3839
3840         * configure.in: And here.
3841         * configure: Regenerate.
3842         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
3843         --enable-libstdcxx-v3 is passed at configure time.
3844         * config.h.in: Regenerate.
3845
3846 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
3847
3848         * final.c (final): Use xcalloc to allocate line_note_exists.
3849         * function.c (free_after_compilation): Free the temp_slots.
3850         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
3851         (combine_temp_slot): Free temp_slots when they get combined.
3852         (purge_addressof): Fix typo in comment.
3853         * stmt.c (mark_goto_fixup): Mark the fixup itself.
3854         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
3855
3856         * ggc.h: Include varray.h.
3857         (ggc_pending_trees): Declare.
3858         (ggc_mark_tree_children): Remove declaration.
3859         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
3860         * ggc-common.c (ggc_pending_trees): New variable.
3861         (ggc_mark_roots): Call ggc_mark_trees.
3862         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
3863         the ggc_pending_trees.
3864         * Makefile.in (GGC_H): New variable.  Use it throughout in place
3865         of ggc.h.
3866
3867 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3868
3869         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
3870         GET_MODE_SIZE.
3871
3872 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3873
3874         * sh.c (sh_insn_length_adjustment): New function.
3875         * sh-protos.h (sh_insn_length_adjustment): Declare.
3876         * sh.h (ADJUST_INSN_LENGTH): Use it.
3877
3878 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
3879
3880         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
3881         from the insn where REG_RETVAL is added.
3882         (emit_no_conflict_block): Ditto.
3883
3884         * md.texi (Standard Names): Clarify when movX is needed.
3885
3886         * combine.c (simplify_comparison) [MINUS]: Do not replace
3887         all (op (minus A B) 0) with (op A B).
3888
3889 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
3890                           J"orn Rennecke <amylaar@cygnus.co.uk>
3891
3892         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
3893         (block_lump_real): Likewise.
3894
3895 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
3896
3897         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
3898         remaining non-zero debugging masks.
3899
3900 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
3901
3902         * basic-block.h (verify_flow_info): Declare.
3903         (flow_loop_outside_edge_p): Declare.
3904         * flow.c (verify_flow_info): Remove declaration.
3905         (clear_log_links, flow_loop_outside_edge_p): Likewise.
3906
3907 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
3908
3909         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
3910         not C++ comments.
3911
3912 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
3913
3914         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
3915         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
3916         seqdi_zero_trunc+1): Allow splits only if registers are
3917         different.
3918
3919 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
3920
3921         * acconfig.h: Add HAVE_GAS_HIDDEN.
3922         * config.in: Regenerated.
3923         * configure.in: Add test for .hidden pseudo-op in gas.
3924         * configure: Regenerated.
3925         * crtstuff.c: Include auto-host.h.
3926         Emit additional .hidden pseudo-op for __dso_handle if the
3927         assembler knows about it.
3928
3929 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
3930
3931         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
3932         before freeing argnames.
3933         * cpplib.c (do_ifndef): Cast return value of xstrdup.
3934
3935 2000-04-05  Michael Meissner  <meissner@redhat.com>
3936
3937         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
3938         Walton <jonboy@gordian.com> to make memory references with update
3939         work wtih -mregnames.
3940
3941 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3942
3943         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
3944         (regrename_optimize): Rename variables `def_uses' and
3945         `ext_basic_blocks' to avoid conflicts with similarly named
3946         typedefs in traditional C.
3947
3948         * calls.c (initialize_argument_information): Fix typo in previous
3949         change.
3950
3951 2000-04-04  Richard Henderson  <rth@cygnus.com>
3952
3953         * regrename.c (consider_available): Test fixed_regs not
3954         PIC_OFFSET_TABLE_REGNUM.
3955
3956 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
3957
3958         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
3959         crtend.
3960         (CRTSTUFF_T_CFLAGS_S): Delete definition.
3961         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
3962         (ENDFILE_LINUX_SPEC): Always use crtend.
3963         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
3964         (powerpc-*-linux-gnu): Likewise.
3965         * configure: Regenerate.
3966
3967         * config/rs6000/eabi.h: Don't include sysv4.h.
3968         (MULTILIB_DEFAULTS): Don't define.
3969         * config/rs6000/eabiaix.h: Don't include eabi.h.
3970         * config/rs6000/eabile.h: Delete.
3971         * config/rs6000/eabilesim.h: Delete.
3972         * config/rs6000/eabisim.h: Don't include eabi.h.
3973         * config/rs6000/linux.h: Don't include sysv4.h.
3974         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
3975         (MULTILIB_DEFAULTS): Don't redefine.
3976         * config/rs6000/rtems.h: Don't include eabi.h.
3977         * config/rs6000/sol2.h: Don't include sysv4le.h.
3978         * config/rs6000/sysv4le.h: Don't include sysv4.h.
3979         * config/rs6000/t-ppc: Delete.
3980         * config/rs6000/t-ppcgas: Correct comment.
3981         * config/rs6000/t-ppcos: Correct comment.  Don't build
3982         multilibs for -fPIC, rather use -fPIC -mstrict-align
3983         as default.
3984         * config/rs6000/t-ppc: Delete.
3985         * config/rs6000/vxppc.h: Don't include sysv4.h.
3986         * config/rs6000/vxppcle.h: Delete.
3987         * configure.in: Use multiple header files for p2pc ELF targets
3988         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
3989         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
3990         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
3991         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
3992         always available for these platforms.
3993
3994 2000-04-04  Richard Henderson  <rth@cygnus.com>
3995
3996         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
3997
3998 2000-04-04  Stan Cox  <scox@cygnus.com>
3999
4000         * Makefile.in: Add rules for regrename.o
4001         * regrename.c: New file.
4002         * rtl.h (regrename_optimize): Add prototype.
4003         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
4004         (compile_file, decode_d_option): Add support for -frename-registers.
4005         (rest_of_compilation): Call regrename_optimize.
4006         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
4007         New macros.
4008
4009 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4010
4011         * Makefile (gccbug): New target.
4012         (doc): Depend on it.
4013         * gcc.texi (Bugs): Link subnodes.
4014         (gccbug): New node.
4015         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
4016         Document severities, priorities, and classes in bug form.
4017
4018 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
4019
4020         * cpplex.c (trigraph_map, speccase): Combine into single
4021         table, chartab.
4022         (NORMAL, NONTRI): New macros.
4023         (_cpp_read_and_prescan): Change to use unified table.  Use
4024         is_hspace to test for whitespace.
4025
4026         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
4027         definition that doesn't provoke the "empty body in an
4028         if-statement" warning.
4029
4030 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
4031
4032         * builtins.c (expand_builtin_strlen): Force the source to
4033         be a memory address.
4034
4035 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4036
4037         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
4038
4039 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4040
4041         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
4042          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
4043         (ECF_IS_CONST): Rename to ECF_CONST.
4044         (special_function_p): Make static, change interface.
4045         (flags_from_decl_or_type, try_to_integrate): Break out from ...
4046         (expand_call) ... here; convert number of variables to flags.
4047         (emit_library_call_vlue_1): Likewise.
4048         (setjmp_call_p): New function.
4049         (initialize_argument_information): Accepts flags as argument;
4050         return flags.
4051         (precompute_arguments): Likewise.
4052         * tree.h (special_function_p): Remove.
4053         (setjmp_call_p): Add prototype.
4054
4055 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
4056
4057         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
4058         so that addresses are offsetable by up to 16 bytes.
4059         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
4060         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
4061         offsetable.
4062
4063         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
4064         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
4065         (movsf): Don't force any constant to memory if target is integer
4066         hard register.
4067         Move fp_zero_operand check below the const0_rtx check.
4068         (movtf): Likewise. Also allow fp_zero_operand for stores into
4069         memory.
4070         (movdf): Likewise. Also allow fp_zero_operand for stores into
4071         memory and into integer hard registers.
4072         (clear_df, clear_dfp, movdf_const_intreg_sp32,
4073         movdf_const_intreg_sp64): Remove.
4074         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
4075         conditions.
4076         (movdf_no_e_insn_v9_sp32): New pattern.
4077         (movdf_insn_v9only): Remove.
4078         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
4079         (movdf_insn_sp64): Remove.
4080         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
4081         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
4082         (following splits): Rewrite conditions. Add two new splits
4083         for storing 0.0 into memory and registers.
4084         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
4085         (movtf_insn_sp32): Redo constraints and conditions.
4086         (movtf_insn_vis_sp32): New pattern.
4087         (movtf_no_e_insn_sp32): Redo constraints and conditions.
4088         (movtf_insn_hq_sp64): Likewise.
4089         (movtf_insn_hq_vis_sp64): New pattern.
4090         (movtf_insn_sp64): Redo constraints and conditions.
4091         (movtf_insn_vis_sp64): New pattern.
4092         (movtf_no_e_insn_sp64): Redo constraints and conditions.
4093         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
4094         or memory.
4095         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
4096         -mvis or -m64 to take down the number of various reload patterns.
4097
4098 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
4099
4100         * pa/pa-64.h: New file.
4101         * pa/pa64-regs.h: New file.
4102         * pa/pa64-start.h: New file.
4103         * pa/t-pa64: New file.
4104         * pa/xm-pa64hpux.h: New file.
4105
4106 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4107
4108         * sparc.c (output_restore_regs): Prototype.
4109         (sparc_emit_float_lib_cmp): Constification.
4110
4111         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
4112
4113         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
4114         Prototype.
4115
4116         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
4117         (get_value_hash, hash_rtx): Likewise.
4118
4119         * ssa.c (compute_conservative_reg_partition): Prototype.
4120
4121         * tree.c (mark_hash_entry): Prototype.
4122
4123 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
4124
4125         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
4126         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
4127         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
4128
4129         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
4130         * objc/lang-specs.h: Likewise.
4131
4132 2000-04-03  Neil Booth  <NeilB@earthling.net>
4133
4134         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
4135         and SYNTAX_ERROR2. Replace `' in messages with ''.
4136         (op_to_str): Make re-entrant.
4137         (_cpp_parse_expr): Implement new error macros. Use | rather
4138         than || to logically or 2 boolean integers.  Simply expression
4139         checking we have a left operand iff needed.
4140
4141 2000-04-03  Nick Clifton  <nickc@cygnus.com>
4142
4143         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
4144
4145 2000-04-03  Philip Blundell  <philb@gnu.org>
4146
4147         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
4148
4149 2000-04-03  Felix Lee  <flee@cygnus.com>
4150
4151         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
4152         (run_shell): Use it.
4153
4154 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
4155
4156         * Makefile.in (stmp-int-hdrs): Make include subdir here...
4157         (stmp-fixproto): ...rather than here.
4158
4159 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
4160
4161         * pa.c (print_operand): Compute 'base' only inside the code paths
4162         that use it.
4163
4164 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
4165
4166         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
4167         CEIL_DIV_EXPR.
4168
4169 2000-04-03  Philipp Thomas  <pthomas@suse.de>
4170
4171         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
4172
4173 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
4174
4175         * Makefile.in (alias.o): Depend on $(TREE_H).
4176
4177 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
4178
4179         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
4180         processing C++.
4181         * cpplib.c (_cpp_handle_directive): Improve warnings for
4182         traditional C and indented directives.
4183
4184         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
4185         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
4186         fixinc/inclhack.def: Indent the # of #include_next one space.
4187         * cp/rtti.c: Un-indent #if and #endif.
4188
4189         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
4190         syntax error, but an error has already been printed.
4191         * cpplex.c (_cpp_parse_assertion): Give a more specific error
4192         message when called with nothing remaining on the line.
4193         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
4194         OTHER token, not an ASSERTION.
4195         * cpplib.c (do_assert): When we create a 'base' node, clear
4196         its aschain pointer.
4197
4198 2000-04-02  Neil Booth <NeilB@earthling.net>
4199
4200         * cppexp.c:  New typedef op_t.  struct operation and struct
4201         token updated to use it.
4202         (op_to_str): New function.
4203         (_cpp_parse_expr): Error messages modified to use op_to_str.
4204
4205 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4206
4207         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
4208         before checking MUST_PASS_IN_STACK.
4209
4210 2000-04-02  Neil Booth <NeilB@earthling.net>
4211
4212         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
4213         flags and initial priority into a single constant.  New
4214         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
4215         (_parse_cpp_expr): Implement new constants.  Take left operand
4216         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
4217         parse indicated by reducing FINISHED token.  Remove new lines
4218         from cpp_error messages.
4219
4220 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
4221
4222         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
4223         permanent obstack.
4224
4225 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
4226
4227         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
4228         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
4229         the strings and function names on the fly.  Take the #sccs
4230         entry out of the table if SCCS_DIRECTIVE is not defined.
4231         (_cpp_handle_directive): Decide if the # was at the beginning
4232         of the line here.  Issue -pedantic warnings for extended
4233         directives here.  Warn about K+R directives with the #
4234         indented, and C89/extended directives with the # not indented,
4235         here.
4236         (do_import, do_include_next, do_warning, do_ident, do_sccs,
4237         do_assert, do_unassert): Don't issue pedantic warning here.
4238
4239         * cpphash.h: Add CPP_WTRADITIONAL macro.
4240         * cpplib.h (struct cpp_options): Rename warn_stringify to
4241         warn_traditional; update comments.
4242         * cppinit.c (handle_option): Set warn_traditional not
4243         warn_stringify.
4244         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
4245         CPP_WTRADITIONAL (pfile).
4246         * cpplex.c (_cpp_lex_token): Don't decide if directives should
4247         be ignored in -traditional mode here.
4248
4249         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
4250         to initialize speccase[] and trigraph_map[].  Delete all
4251         references to pfile->input_speccase.  Always treat '?' as a
4252         special character.  Remove table-initialization code from
4253         _cpp_init_input_buffer.
4254
4255         * cpplib.h (struct cpp_reader): Remove input_speccase field.
4256         * cppinit.c (cpp_cleanup): Don't free input_speccase.
4257
4258 2000-04-01  Richard Henderson  <rth@cygnus.com>
4259
4260         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
4261         (mostlyclean): Likewise.
4262
4263         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
4264         (struct dump_file_info, enum dump_file_index, dump_file): New.
4265         (open_dump_file): Take a dump_file_index not a suffix, and a decl
4266         not a string.  Clean out file if we havn't yet done so.  Do nothing
4267         if the dump isn't enabled.
4268         (close_dump_file): Do nothing if the dump isn't open.  Dump
4269         graph data if requested.
4270         (dump_rtl, clean_dump_file): Remove.
4271         (compile_file): Don't clean the dump files.  Only finalize .bp dump
4272         if flag_test_coverage or flag_branch_probabilities.  Only finalize
4273         .combine dump if optimizing.  Iterate over dump_file to finalize the
4274         graph dumps.
4275         (rest_of_compilation): Update for open_dump_file/close_dump_file.
4276         Convert all uses of dump_rtl.
4277         (decode_d_option): Iterate over dump_file to implement 'a' and to
4278         locate pass-specific dumps.
4279
4280 2000-04-01  Neil Booth <NeilB@earthling.net>
4281
4282         * cppexp.c: Redefine priority constants.
4283         (_cpp_parse_expr): Replace left and right priority scheme with
4284         single priority logic.  Move LOGICAL to same place as COMPARE.
4285         Remove bogus check for multiple unary +/- operators.
4286
4287 2000-04-01  Neil Booth <NeilB@earthling.net>
4288
4289         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
4290         within the switch statement.  Binary operations break out of
4291         the switch naturally.  '(' tokens handled by forcing
4292         immediate shift.  ')' handled by forcing immediate reduce to
4293         the previous '('.  New error messages.
4294
4295 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
4296
4297         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
4298         part', it's already in use.  Use %K instead.  Add a return at the
4299         end of what is now %K.
4300         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
4301
4302 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4303
4304         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
4305         allocate_dynamic_stack_space.
4306         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
4307         update stack_pointer_delta; do not update arg_size_so_far.
4308         (compute_argument_block_size): Use stack_delta instead of
4309         stack_pointer_pending and arg_size_so_far.
4310         (expand_call): Add sanity checking for stack_pointer_delta;
4311         save and restore stack_pointer_delta for SIB, use
4312         stack_pointer_delta for alignment; do not update arg_space_so_far.
4313         (emit_library_call_value): Use stack_pointer_delta for alignment.
4314         (store_one_arg): Do not update arg_space_so_far.
4315         * explow.c (adjust_stack, anti_adjust_stack): Update
4316         stack_pointer_delta.
4317         (allocate_dynamic_stack_space): Add sanity checking for
4318         stack_pointer_delta.
4319         * expr.c (init_expr, clear_pending_stack_adjust): Clear
4320         stack_pointer_delta.
4321         (emit_push_insn): Update stack_pointer_delta.
4322         * function.h (struct expr_status): Add x_stack_pointer_delta;
4323         remove x_arg_space_so_far.
4324         (arg_space_so_far): Remove.
4325         (stack_pointer_delta): New macro.
4326
4327 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
4328
4329         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
4330         Reorder struct cpp_options and struct cpp_reader for better
4331         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
4332         takes two args.  Change all 'char' flags to 'unsigned char'.
4333         Move show_column flag into struct cpp_options.  Don't
4334         prototype cpp_options_init.
4335         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
4336         cppinit.c, cpplex.c, cpplib.c:
4337         Replace CPP_OPTIONS (pfile)->whatever with
4338         CPP_OPTION (pfile, whatever), and likewise for
4339         opts = CPP_OPTIONS (pfile); ... opts->whatever;
4340
4341         * cppinit.c (merge_include_chains): Take a cpp_reader *.
4342         Extract CPP_OPTION (pfile, pending) and work with that
4343         directly.
4344         (cpp_options_init): Delete.
4345         (cpp_reader_init): Turn on on-by-default options here.
4346         Allocate the pending structure here.
4347         (cl_options, enum opt_code): Define these from the same table,
4348         kept in a large macro.  Add -fshow-column and -fno-show-column
4349         options.
4350
4351         * cpperror.c (v_message): If show_column is off, don't print
4352         the column number.
4353
4354         * cppmain.c: Update for new interface.
4355         * fix-header.c: Likewise.
4356
4357 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
4358
4359         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
4360         definition.
4361         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
4362         are passed to any invocation of AR_FOR_TARGET.
4363         (AR_CREATE_FOR_TARGET): New macro.
4364         (AR_EXTRACT_FOR_TARGET): New macro.
4365         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
4366         AR_EXTRACT_FOR_TARGET.
4367         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
4368         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
4369         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
4370         AR_EXTRACT_FOR_TARGET to sub-makes.
4371
4372 2000-03-31  Neil Booth <NeilB@earthling.net>
4373
4374         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
4375         PAREN_INNER_PRIO.
4376         (_cpp_parse_expr): Check for multiple unary +/- operators.
4377         Correct priorities of ':' and '?'.  Treat ')' as having a
4378         value.  Ensure conditional expression is not void.
4379
4380 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
4381
4382         * alias.c (canon_rtx): Make it global.
4383         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
4384         equality.
4385         * cse.c (struct table_elt): Add canon_exp.
4386         (insert): Clear it.
4387         (invalidate): Canonicalize expressions only once.
4388         * rtl.h (canon_rtx): Declare.
4389
4390 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
4391
4392         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
4393         * alias.c (reg_known_value): Add comments.
4394         (init_alias_analysis): Likewise.
4395         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
4396         address.
4397         (cse_basic_block): Fix typo in comment.
4398         * emit-rtl.c: Include hashtab.h.
4399         (const_int_htab): New variable.
4400         (const_int_htab_hash): New function.
4401         (const_int_htab_eq): Likewise.
4402         (rtx_htab_mark_1): Likewise.
4403         (rtx_htab_mark): Likewise.
4404         (gen_rtx_CONST_INT): Cache all CONST_INTs.
4405         (unshare_all_rtx): Fix formatting.
4406         (init_emit_once): Initialize const_int_htab.
4407         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
4408         address.
4409         * rtl.texi: Document the fact that all CONST_INTs with the same
4410         value are shared.
4411
4412 2000-03-30  Richard Henderson  <rth@cygnus.com>
4413
4414         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
4415
4416 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
4417
4418         * configure.in: Comment out --enable-c-cpplib stanza.
4419         * configure: Regenerate.
4420
4421 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4422
4423         * expr.c (store_constructor): Properly compute displacement and
4424         alignment when offset is variable.
4425
4426         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
4427         cases of alignment in bytes.
4428
4429 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
4430
4431         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
4432         since it is used to generate c-parse.y.
4433         * objc-parse.c, objc-parse.y: Regenerated.
4434
4435         * function.c (expand_function_end): Pass alignment argument to
4436         emit_block_move in bits, not bytes.
4437
4438 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4439
4440         * expr.c (move_by_pieces_ninsns): Fix one more missing align
4441         correction.
4442
4443         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
4444
4445         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
4446         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
4447         * function.c (assign_parms): Likewise.
4448         * integrate.c (expand_inline_function): Likewise.
4449         * stmt.c (expand_decl): Likewise.
4450         (copy_rtx_and_substitute): Likewise.
4451         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
4452         (clear_by_pieces): Fix error in last change.
4453         * emit-rtl.c (init_emit): Set known registers alignment in bits.
4454         * function.h (regno_pointer_align): Now unsigned.
4455         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
4456         is in bits.
4457         * config/i386/i386.c (aligned_operand): Likewise.
4458         * config/sparc/sparc.c (mem_min_alignment): Likewise.
4459         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
4460         (unaligned_memory_operand): Likewise.
4461         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
4462         Also make alignments and sizes unsigned and some whitespace cleanup.
4463         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
4464
4465         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
4466         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
4467         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
4468         (expand_builtin_memset): Likewise, but to clear_storage.
4469         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
4470         (restore_fixed_argument_area): Likewise.
4471         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
4472         (load_register_parameters): Likewise, to emit_group_load.
4473         (expand_call): Likewise, to emit_group_store and emit_block_move.
4474         (emit_library_call_value_1): Likewise, to emit_block_move.
4475         (store_one_arg): Likewise, and to emit_push_insn.
4476         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
4477         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
4478         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
4479         (emit_block_move, emit_group_load, emit_group_store): Likewise.
4480         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
4481         (expand_assigment, store_expr, store_constructor_field): Likewise.
4482         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
4483         (store_constructor, store_field, get_inner_reference): Likewise.
4484         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
4485         (expand_expr, case COMPONENT_REF): Likewise.
4486         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
4487         and positions; reindent code.
4488         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
4489         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
4490         (assign_parms): Likewise to emit_group_store.
4491         * optabs.c (prepare_cmp_insn): Alignment is in bits.
4492         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
4493         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
4494         (expand_return): Likewise to {extract,store}_bit_field.
4495         * stor-layout.c (get_mode_alignment): Minor cleanup.
4496         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
4497         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
4498
4499 2000-03-29  Nick Clifton  <nickc@cygnus.com>
4500
4501         * config/arm/arm.h: Undo effects of previous delta:
4502         (ASM_SPEC): Do not define.
4503         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
4504
4505         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
4506         typo.
4507
4508 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
4509
4510         * cppinit.c (cpp_start_read): Call initialize_dependency_output
4511         only after reading in the primary source file.
4512
4513 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
4514
4515         * c-common.c (c_common_nodes_and_builtins): The first parameter to
4516         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
4517         or a reference to a va_list.
4518         * builtins.c (stabilize_va_list): Simplify now we don't have to
4519         work around C array address decay.
4520         * c-typeck.c (convert_for_assignment): Handle assignment to
4521         a reference parameter by taking the address of the RHS.
4522         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
4523         (va_copy): Likewise.
4524         (__va_copy): Likewise.
4525         * ginclude/varargs.h (va_start): Likewise.
4526         (__va_copy): Likewise.
4527
4528 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
4529
4530         * i386/djgpp.h: Remove extraneous "+".
4531
4532         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
4533
4534         * calls.c (expand_call): Fix typo in last change.
4535
4536 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
4537
4538         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
4539         been expanded.
4540
4541 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4542
4543         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
4544         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
4545         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
4546         * tree.c (bit_position, byte_position): Likewise.
4547         * tree.h: Declare new functions.
4548
4549 2000-03-29  Nick Clifton  <nickc@cygnus.com>
4550
4551         * config/arm/arm.c: Minor formatting changes/
4552         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
4553         already defined.
4554         (ASM_SPEC): Define if not already defined.
4555
4556 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
4557
4558         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
4559         _cpp_calc_hash.
4560
4561 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
4562
4563         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
4564         value, don't output it as unsigned.
4565
4566 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
4567
4568         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
4569
4570 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4571
4572         * c-common.c (c_common_nodes_and_builtins): Don't special case
4573         cplus_mode when declaring builtin bzero/bcmp, always avoid
4574         prototype arguments.
4575
4576 2000-03-29  Bruce Korb  <bkorb@gnu.org>
4577
4578         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
4579         to a non-file
4580
4581 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4582
4583         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
4584         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
4585         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
4586         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
4587         (save_fixed_argument_area, restore_fixed_argument_area):
4588         conditionize by #ifdef REG_PARM_STACK_SPACE only.
4589         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
4590         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
4591         (precompute_register_parameters): Avoid #ifdefs on
4592         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
4593         (stire_one_args): Likewise.
4594         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
4595         (emit_library_call_value_1): Likewise.
4596         (compute_argument_block_size): Align to STACK_BOUNDARY only for
4597         ACCUMULATE_OUTGOING_ARGS.
4598         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
4599         value.
4600         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
4601         (use_crosses_set_p): Likewise.
4602         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
4603         #define ACCUMULATE_OUTGOING_ARGS 1.
4604         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
4605         frames.
4606         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
4607         constants.
4608         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
4609         (TARGET_SWITCHES): Add push-args, no-push-args,
4610         accumulate-outgoing-args and no-accumulate-outgoing-args.
4611         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
4612         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
4613         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
4614         and PUSH_ROUNDING.
4615         (emit_push_insn): Likewise.
4616         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
4617         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
4618         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
4619         (STACK_DYNAMIC_OFFSET): Define correctly for both
4620         ACCUMULATE_OUTGOING_ARGS and normal mode.
4621         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
4622         * tm.texi (PUSH_ARGS): Document.
4623         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
4624
4625 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4626
4627         * flags.h (flag_optimize_sibling_calls): Declare.
4628         * calls.c (expand_call): Fail sibcall when
4629         !flag_optimize_sibling_calls
4630         * invoke.texi (flag_optimize_sibling_calls): Document.
4631         * toplev.c (flag_optimize_sibling_calls): New global variable.
4632         (f_options): Add flag_optimize_sibling_calls.
4633         (rest_of_compilation): Conditionize
4634         optimize_sibling_and_tail_recursive_calls by
4635         flag_optimize_sibling_calls.
4636         (main): Set flag_optimize_sibling_calls for -O2.
4637         * stmt.c (expand_return): Conditionize tail recursion by
4638         flag_optimize_sibling_calls.
4639
4640 2000-03-29  Richard Henderson  <rth@cygnus.com>
4641
4642         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
4643         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
4644
4645 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
4646
4647         * except.c (add_eh_table_entry): Mark type_info's as referenced.
4648
4649 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4650
4651         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
4652         is given.
4653         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
4654         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
4655         * config/rs6000/aix.h: then modified likewise.
4656
4657 2000-03-28  Richard Henderson  <rth@cygnus.com>
4658
4659         * rtl.h: Redistribute enum reg_note documentation.
4660         Kill trailing whitespace.
4661         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
4662         Kill trailing whitespace.
4663
4664 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
4665
4666         * cppfiles.c (hash_IHASH): Just return i->hash.
4667         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
4668         htab_find_with_hash.
4669         (cpp_read_file): Likewise.
4670         (find_include_file): Likewise.  Properly initialize
4671         ih->nshort.  Share ih->name and ih->nshort if possible.
4672         * cpphash.c (_cpp_calc_hash): New function.
4673         (hash_HASHNODE): Just return h->hash.
4674         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
4675         htab_find_with_hash.
4676         * cpphash.h: Prototype _cpp_calc_hash.
4677         * cppinit.c (initialize_builtins): Provide a valid hash
4678         to _cpp_make_hashnode, using _cpp_calc_hash.
4679
4680         * cpphash.c (collect_expansion): # is not a special character
4681         in object-like macros.  In -traditional mode, /**/ is not
4682         token paste at the beginning or end of the line.
4683         * cpplib.c (do_include, do_import, do_include_next): If
4684         parse_include fails, return immediately.
4685
4686 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
4687
4688         * config/arm/arm.md (return peepholes): Update to reflect the new
4689         call insn patterns.
4690         * config/arm/arm.c (arm_volatile_func): Also check
4691         current_function_nothrow.
4692         (output_return_instruction, output_func_prologue): Use it.
4693         (arm_output_epilogue, arm_expand_prologue): Likewise.
4694
4695 2000-03-27  Tom Tromey  <tromey@cygnus.com>
4696
4697         * gcc.c (handle_braces): In {x*...} case, break out of loop if
4698         switch is found.
4699
4700 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4701
4702         * expr.c (store_constructor): SIZE now signed.
4703         For EXPR_SIZE, don't evaluate size; just needed if constant.
4704         * fold-const.c (fold): Fix a number of cases when folded tree is
4705         wrong type.
4706         * function.c (flush_addressof): Reenable.
4707         * tree.h (flush_addressof): Likewise.
4708         * toplev.c (independent_decode_option): Look at strings_processed.
4709         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
4710
4711 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
4712
4713         * sibcall.c (indentify_call_return_value): Find last call in the chain;
4714         Allow stack adjustment after function call.
4715
4716         * regmove.c (struct csa_memlist): Make mem field rtx *.
4717         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
4718         (try_apply_stack_adjustment): Replace whole MEM rtx.
4719         (combine_stack_adjustments_for_block): Update calls
4720         to record_one_stack_ref.
4721
4722 2000-03-28  Neil Booth  <NeilB@earthling.net>
4723
4724         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
4725         '\\' rather than a null character, so nulls are not special.  Fix
4726         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
4727         speed trigraph conversion.
4728         (_cpp_init_input_buffer): Initialize trigraph map.
4729
4730 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
4731
4732         * config/i386/i386.c (output_387_binary_op): Correct intel
4733         mode assembly output, and add spaces after commas in AT&T
4734         output.  Correct Unixware assembler comment.  Document input
4735         constraints.  Comment fp operations.  Reduce profligate buffer
4736         size.  Remove extraneous abort.  Localize temp var.
4737         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
4738         (output_fix_trunc): Add spaces after commas in assembly output.
4739
4740 2000-03-27  Richard Henderson  <rth@cygnus.com>
4741
4742         * i386-protos.h (ix86_match_ccmode): Declare.
4743         * i386.c (ix86_match_ccmode): New.
4744         (ix86_expand_fp_compare): Update for pattern renames.
4745         (ix86_expand_strlensi_unroll_1): Likewise.
4746         * i386.h (EXTRA_CC_MODES): Add CCZ.
4747         (SELECT_CC_MODE): Use it for EQ/NE zero.
4748         * i386.md (cmpsi_ccz_1): New.
4749         (cmpqi_ccz_1): New.
4750         (*testsi_ccz_1): New.
4751         (testqi_ccz_1): New.
4752         (cmpsi_ccno_1): Rename from cmpsi_0.
4753         (testsi_ccno_1): Rename from testsi_1.
4754         (testqi_ccno_1): Rename from testqi_1.
4755         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
4756         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
4757         (*cmphi_0): Use ix86_match_ccmode.
4758         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
4759         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
4760         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
4761         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
4762         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
4763         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
4764         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
4765         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
4766         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
4767         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
4768         (appropriate peepholes): Likewise.
4769         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
4770         (*subsi_3, *subhi_3, *subqi_3): Remove.
4771         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
4772         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
4773         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
4774         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
4775         (x86_shift_adj_1): Use CCZ.
4776         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
4777
4778 2000-03-27  Stan Cox  <scox@cygnus.com>
4779
4780         * resource.h (mark_resource_type): New.
4781         * resource.c (find_dead_or_set_registers, mark_target_live_regs,
4782         find_free_register): Use mark_resource_type.
4783         (mark_set_resources): Change include_delayed_effects
4784         to mark_resource_type.
4785         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
4786         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
4787         Use mark_resource_type.
4788
4789 2000-03-27  Richard Henderson  <rth@cygnus.com>
4790
4791         * i386.md (call_pop_0, call_value_pop_0): New.
4792         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
4793         (call_value_pop_1): Likewise.
4794         (call_0, call_value_0): New.
4795         (call_1, call_value_1): Remove constraint from unused arg.
4796
4797 2000-03-27  Nick Clifton  <nickc@cygnus.com>
4798
4799         * invoke.texi (Spec Files): Document new spec % command created by
4800         Tom Tromey's recent patch.
4801
4802 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
4803
4804         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
4805         if not defined.
4806
4807 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4808
4809         * expr.c (expand_assignment): Fix typo in last change.
4810
4811         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
4812
4813 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4814
4815         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
4816         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
4817         and DECL_INLINE if FUNCTION_DECL.
4818         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
4819         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
4820         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
4821         (combine_parm_decls): Likewise.
4822         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
4823         * print-tree.c (print_node): Likewise.
4824         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
4825         DECL_TRANSPARENT_UNION on proper decl types.
4826         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
4827         * stor-layout.c (layout_decl): Only check DECL_PACKED and
4828         DECL_BIT_FIELD of FIELD_DECL.
4829         * tree.h (DECL_RESULT_FLD): New macro.
4830
4831         * expr.c (expand_assignment): Add code to handle variable-sized
4832         BLKmode case.
4833
4834 2000-03-26  Richard Henderson  <rth@cygnus.com>
4835
4836         * calls.c (expand_call): Pass parms not original exp to
4837         optimize_tail_recursion.  Mind return value instead of looking
4838         for a barrier.
4839         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
4840         call_expr.  Move checks for call_expr and current_function_decl ...
4841         (expand_return): ... here.
4842
4843 2000-03-26  Tom Tromey  <tromey@cygnus.com>
4844
4845         * gcc.c (handle_braces): Recognize `%{<S}' construct.
4846         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
4847         defines.
4848         (process_command): Use them.
4849         (check_live_switch): Likewise.
4850         (give_switch): Skip ignored switches.
4851
4852 2000-03-26  Jan Hubicka  <jh@suse.cz>
4853
4854         * jump.c (jump_optimize_1): Fix typo in elide optimizations
4855         for minimal jump pass test.
4856
4857 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
4858
4859         * integrate.c (function_cannot_inline_p): Do inline functions that
4860         return `void'.
4861
4862 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4863
4864         * stor-layout.c (layout_type, set_sizetype): early_type_list is
4865         now a list of TREE_LIST entries, not types.
4866         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
4867
4868         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
4869         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
4870         int_bit_position.
4871         * config/mips/mips.c (function_arg): Likewise; also remove cast
4872         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
4873         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
4874         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
4875         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
4876         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
4877         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
4878         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
4879         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
4880         num_adjusts now unsigned.
4881         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
4882         * config/sparc/sparc.c (struct function_arg_record_value_parms):
4883         NREGS now unsigned.
4884         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
4885         as is BITPOS variable; use host_integerp and int_bit_position.
4886         (function_arg_record_value_2): Likewise.
4887         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
4888         Variable REGNO now unsigned.
4889         (function_arg_record_value): NREGS now unsigned.
4890
4891 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
4892
4893         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
4894
4895 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4896
4897         * Rework fields used to describe positions of bitfields and
4898         modify sizes to be unsigned and use HOST_WIDE_INT.
4899         * alias.c (reg_known_value_size): Now unsigned.
4900         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
4901         (really_start_incremental_init): Use bitsize_zero_node.
4902         (push_init_level, pop_init_level, output_init_element): Likewise.
4903         Use bitsize_unit_node and bitsize_one_node.
4904         (output_pending_init_elements, process_init_element): Likewise.
4905         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
4906         (make_extraction): Position and length HOST_WIDE_INT and unsigned
4907         HOST_WIDE_INT, respectively.
4908         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
4909         (num_sign_bit_copies): Returns unsigned.
4910         BITWIDTH now unsigned; rework arithmetic.
4911         Remove recursive call from arg to MAX.
4912         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
4913         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
4914         REGNO now unsigned.
4915         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
4916         (find_split_point, expand_compound_operation, make_extraction): LEN
4917         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
4918         (make_field_assignment): Likewise.
4919         (combine_simplify_rtx): Add cast.
4920         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
4921         (force_to_mode): WIDTH now unsigned; add cast.
4922         (if_then_else_cond): SIZE now unsigned.
4923         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
4924         (extended_count): Now returns unsigned.
4925         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
4926         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
4927         (simplify_comparison): MODE_WIDTH now unsigned.
4928         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
4929         (mark_used_regs_combine): Likewise; rework arithmetic.
4930         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
4931         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
4932         (record_promoted_value): REGNO now unsigned.
4933         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
4934         (get_last_value): REGNO now unsigned.
4935         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
4936         (reg_dead_regno, reg_dead_endregno): Now unsigned.
4937         (remove_death): Arg REGNO now unsigned.
4938         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
4939         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
4940         now unsigned.
4941         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
4942         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
4943         (struct cse_reg_info): REGNO now unsigned.
4944         (cached_regno): Now unsigned.
4945         (REGNO_QTY_VALID_P): Add cast.
4946         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
4947         (remove_invalid_regs): Likewise.
4948         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
4949         as are variables END and I.
4950         (get_cse_reg_info, insert): Likewise.
4951         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
4952         (canon_hash): Likewise.
4953         (insert_regs, lookup_for_remove): REGNO now unsigned.
4954         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
4955         New variable RN.
4956         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
4957         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
4958         * emit-rtl.c (subreg_realpart_p): Add cast.
4959         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
4960         (operand_subword_force): Arg I is now unsigned.
4961         * except.c (eh_regs): Variable I is now unsigned.
4962         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
4963         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
4964         length is unsigned HOST_WIDE_INT; likewise for internal variables.
4965         (store_split_bit_field, extract_fixed_bit_field): Likewise.
4966         (extract_split_bit_field, store_bit_field, extract_bit_field):
4967         Likewise.
4968         * expr.c (store_constructor_fields, store_constructor, store_field):
4969         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
4970         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
4971         (do_jump): Likewise.
4972         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
4973         MAX_SIZE is now unsigned.
4974         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
4975         (emit_group_store): Likewise.
4976         (emit_move_insn): I now unsigned.
4977         (store_constructor): Use host_integerp, tree_low_cst, and
4978         bitsize_unit_node.
4979         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
4980         Rework all calculations to use trees and new fields.
4981         * expr.h (promoted_input_arg): Regno now unsigned.
4982         (store_bit_field, extract_bit_field): Adjust types of pos and size.
4983         (mark_seen_cases): Arg is HOST_WIDE_INT.
4984         * flow.c (verify_wide_reg_1): REGNO now unsigned.
4985         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
4986         precisions and alignments are unsigned.
4987         (optimize_bit_field_compare, fold_truthop): Likewise.
4988         (int_const_binop): Adjust threshold for size_int_type_wide call.
4989         (fold_convert): Likewise.
4990         (size_int_type_wide): Make table larger and fix thinko that only
4991         had half of table used.
4992         (all_ones_mask_p, fold): Precisions are unsigned.
4993         * function.c (put_reg_info_stack): REGNO is unsigned.
4994         (instantiate_decl): Size is HOST_WIDE_INT.
4995         (instantiate_virtual_regs): I is unsigned.
4996         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
4997         (promoted_input_arg): REGNO is unsigned.
4998         * function.h (struct function): x_max_parm_reg is now unsigned.
4999         * gcse.c (max_gcse_regno): Now unsigned.
5000         (struct null_pointer_info): min_reg and max_reg now unsigned.
5001         (lookup_set, next_set): REGNO arg now unsigned.
5002         (compute_hash_table): REGNO and I now unsigned.
5003         (handle_avail_expr): regnum_for_replacing now unsigned.
5004         (cprop_insn): REGNO now unsigned.
5005         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
5006         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
5007         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
5008         * hard-reg-set.h (reg_class_size): Now unsigned.
5009         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
5010         * jump.c (mark_modified_reg): I now unsigned; add cast.
5011         (rtx_equal_for_thread_p): Add cast.
5012         * loop.c (max_reg_before_loop): Now unsigned.
5013         (struct_movable): REGNO now unsigned.
5014         (try_copy_prop): REGNO arg unsigned.
5015         (regs_match_p): XN and YN now unsigned.
5016         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
5017         (strength_reduce): Likewise; NREGS also unsigned.
5018         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
5019         * loop.h (struct iv_class): REGNO now unsigned.
5020         (max_reg_before_loop, first_increment_giv, last_increment_giv):
5021         Now unsigned.
5022         * machmode.h (mode_size, mode_unit_size): Now unsigned.
5023         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
5024         * optabs.c (expand_binop): I and NWORDS now unsigned.
5025         (expand_unop): I now unsigned.
5026         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
5027         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
5028         * real.c (significand_size): Now returns unsigned.
5029         * real.h (significand_size): Likewise.
5030         * regclass.c (reg_class_size): Now unsigned.
5031         (choose_hard_reg_mode): Both operands now unsigned.
5032         (record_reg_classes): REGNO and NR now unsigned.
5033         (reg_scan): NREGS now unsigned.
5034         (reg_scan_update): old_max_regno now unsigned.
5035         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
5036         * reload.c (find_valid_class): BEST_SIZE now unsigned.
5037         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
5038         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
5039         Likewise for variable R.
5040         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
5041         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
5042         (find_equiv_reg): Add casts.
5043         (regno_clobbered_p): Arg REGNO now unsigned.
5044         * reload.h (struct reload): NREGS now unsigned.
5045         (refers_to_regno_for_reload_p): Regno args are unsigned.
5046         (regno_clobbered_p): Likewise.
5047         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
5048         (compute_use_by_pseudos): REGNO now unsigned.
5049         (find_reg): I and J now unsigned, new variable K, and change loop
5050         variables accordingly; THIS_NREGS now unsigned.
5051         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
5052         (spill_hard_reg): REGNO arg now unsigned; add casts.
5053         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
5054         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
5055         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
5056         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
5057         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
5058         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
5059         (emit_reload_insns): REGNO now unsigned.
5060         (reload_cse_move2add): Add cast.
5061         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
5062         and rework loop.
5063         * resource.c (mark_referenced_resources, mark_set_resources): New
5064         variable R; REGNO and LAST_REGNO now unsigned.
5065         (mark_target_live_regs): J and REGNO now unsigned.
5066         * rtl.c (mode_size, mode_unit_size): Now unsigned.
5067         * rtl.h (union rtunion_def): New field rtuint.
5068         (XCUINT): New macro.
5069         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
5070         (operand_subword, operand_subword_force): Word number is unsigned.
5071         (choose_hard_reg_mode): Operands are unsigned.
5072         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
5073         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
5074         (regno_use_in, combine_instructions, remove_death): Likewise.
5075         (reg_scan, reg_scan_update): Likewise.
5076         (extended_count): Return is unsigned.
5077         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
5078         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
5079         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
5080         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
5081         (reg_reg_last_1): FIRS and LAST now unsigned.
5082         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
5083         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
5084         now unsigned.
5085         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
5086         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
5087         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
5088         (replace_regs): Arg NREGS now unsigned.
5089         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
5090         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
5091         (simplify_binary_operation): Likewise.
5092         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
5093         THIS_LAST now unsigned.
5094         (cselib_record_set): Add cast.
5095         * ssa.c (ssa_max_reg_num): Now unsigned.
5096         (rename_block): REGNO now unsigned.
5097         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
5098         sizes now unsigned.
5099         (all_cases_count): Just return -1 not -2.
5100         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
5101         Rework tests to use trees whenever possible.
5102         Use host_integerp and tree_low_cst.
5103         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
5104         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
5105         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
5106         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
5107         (smallest_mode_for_size): Likewise.
5108         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
5109         KNOWN_ALIGN is now an alignment, so simplify code.
5110         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
5111         (start_record_layout): Renamed from new_record_layout_info.
5112         Update to new fields.
5113         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
5114         New functions.
5115         (place_union_field): Renamed from layout_union_field.
5116         Update to use new fields in rli.
5117         (place_field): Renamed from layout_field.
5118         Major rewrite to use new fields in rli; pass alignment to layout_decl.
5119         (finalize_record_size): Rework to use new fields in rli and handle
5120         union.
5121         (compute_record_mode): Rework to simplify and to use new DECL fields.
5122         (finalize_type_size): Make rounding more consistent.
5123         (finish_union_layout): Deleted.
5124         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
5125         (layout_type, case RECORD_TYPE): Call new function names.
5126         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
5127         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
5128         (get_best_mode): UNIT is now unsigned; remove casts.
5129         * tree.c (bit_position): Compute from new fields.
5130         (byte_position, int_byte_position): New functions.
5131         (print_type_hash_statistics): Cast to remove warning.
5132         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
5133         (build_index_type): Likewise; make subtype of sizetype.
5134         (build_index_2_type): Pass sizetype to build_range_type.
5135         (build_common_tree_nodes): Use size_int and bitsize_int to
5136         initialize nodes; add bitsize_{zero,one,unit}_node.
5137         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
5138         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
5139         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
5140         (DECL_FIELD_BITPOS): Deleted.
5141         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
5142         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
5143         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
5144         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
5145         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
5146         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
5147         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
5148         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
5149         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
5150         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
5151         (DECL_ALIGN): Adjust to new field in union.
5152         (DECL_OFFSET_ALIGN): New field.
5153         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
5154         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
5155         (union tree_decl): Add struct for both aligns.
5156         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
5157         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
5158         (struct record_layout_info): Rework fields to have offset
5159         alignment and byte and bit position.
5160         (start_record_layout, place_field): Renamed from old names.
5161         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
5162         (byte_position, int_byte_position): Likewise.
5163         (get_inner_reference): Change types of position and length.
5164         * unroll.c (unroll_loop): New variable R; use for some loops.
5165         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
5166         (calculate_giv_inc): Arg REGNO now unsigned.
5167         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
5168         * varasm.c (assemble_variable): Clean up handling of size using
5169         host_integerp and tree_low_cst.
5170         (decode_addr_const): Use byte, not bit, position.
5171         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
5172         use tree_low_cst and int_bit_position.
5173         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
5174
5175 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
5176
5177         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
5178         (reorder_block_def): New members eff_head and eff_end.
5179         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
5180         (verify_insn_chain): New function.
5181         (skip_insns_between_block): Add code to skip deleted insns.
5182         Check for note before using.
5183         (chain_reorder_blocks): Replace calls to skip_insns_between_block
5184         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
5185         Check for note before using.
5186         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
5187         (fixup_reorder_chain): Restructure, clean up, defect removal.
5188         (reorder_basic_blocks): Remove last_insn and references to it.
5189         Moved insn chain verification code into a new function (see above).
5190         Delete defective code that sets last insn.
5191         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
5192         all blocks.
5193
5194 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5195
5196         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
5197
5198 2000-03-24  Richard Henderson  <rth@cygnus.com>
5199
5200         * tree.c (lang_safe_for_unsave): Remove.
5201         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
5202         allowing for two levels of unsafeness.  Remove lang hook.
5203         * tree.h: Update declarations.
5204         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
5205         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
5206         Always fail sibcalls when there are pending cleanups.
5207
5208 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
5209
5210         * flow.c (propagate_block): When we delete an ADDR_VEC,
5211         also delete the BARRIER following it if there is one.
5212
5213 2000-03-24  Richard Henderson  <rth@cygnus.com>
5214
5215         * builtins.c (expand_builtin_bzero): Convert `length' argument
5216         to sizetype.
5217
5218 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
5219
5220         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
5221         comparison if regno's are equal.
5222         * calls.c (initialize_argument_informat): Add ecf_flags argument.
5223         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
5224         (expand_call): Update caller.
5225         Avoid making a sibling call if argument size of the callee is larger
5226         than argument size of the caller.
5227         Call hard_function_value with outgoing set if in sibcall pass.
5228         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
5229
5230         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
5231         Change LEAF_REGISTERS from an array initializer to actual array
5232         identifier. Move static global variable into the function.
5233         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
5234         sequences for leaf functions.
5235         * global.c (global_alloc): Likewise.
5236         * tm.texi (LEAF_REGISTERS): Update documentation.
5237
5238         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
5239         TARGET_FLAT leaf disabling hack.
5240         (LEAF_REGISTERS): Changed from an array initializer to actual array
5241         identifier to avoid duplication and remove the above hack.
5242         (FUNCTION_OK_FOR_SIBCALL): Define.
5243         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
5244         always like call attribute.
5245         (eligible_for_sibcall_delay): New attribute.
5246         (sibcall): New delay type.
5247         (sibcall, sibcall_value, sibcall_epilogue): New expands.
5248         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
5249         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
5250         * config/sparc/sparc.c (sparc_leaf_regs): New array.
5251         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
5252         New functions.
5253         (output_function_epilogue): Move part of the code into
5254         output_restore_regs.
5255         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
5256         TYPE_SIBCALL.
5257         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
5258         prototypes.
5259
5260         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
5261         until infrastructure is finished.
5262
5263 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
5264
5265         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
5266         (save_parm_insns): Not here.
5267
5268 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5269
5270         * builtins.c (expand_builtin_bzero): New function.
5271         (expand_builtin): Handle bzero.
5272
5273         * builtins.def: Add BUILT_IN_BZERO.
5274
5275         * c-common.c (c_common_nodes_and_builtins): Provide builtin
5276         prototype & function for bzero.
5277
5278 2000-03-23  Michael Meissner  <meissner@redhat.com>
5279
5280         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
5281         change adding TARGET_FP to the TF floating point insns, except for
5282         trunctfsf2, which generates direct calls to truncdfsf2.
5283
5284 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
5285
5286         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
5287         try to protect against middle-end changes that break binary
5288         compatibility.
5289         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
5290
5291 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5292
5293         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
5294
5295 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5296
5297         * calls.c (expand_call): If TARGET is passed by reference and
5298         is readonly, write a CLOBBER.
5299
5300 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5301
5302         * builtins.c (expand_builtin): Handle bcmp.
5303
5304         * builtins.def: Add BUILT_IN_BCMP.
5305
5306         * c-common.c (c_common_nodes_and_builtins): Provide builtin
5307         prototype & function for bcmp.
5308
5309 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
5310
5311         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
5312         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
5313         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
5314
5315 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
5316
5317         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
5318         alternative when using -fp64 -gp32.
5319
5320 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
5321
5322         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
5323         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
5324         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
5325
5326         * frame.h (frame_state): Revert last change.
5327         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
5328         * libgcc2.c (throw_helper): Revert last change.
5329
5330 2000-03-22  Richard Henderson  <rth@cygnus.com>
5331
5332         * stmt.c (expand_asm_operands): Don't promote the temporary.
5333
5334 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
5335
5336         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
5337         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
5338           c_get_alias_set): Likewise.
5339         * c-decl.c (duplicate_decls): Likewise.
5340         * c-typeck.c (default_conversion,build_unary_op): Likewise.
5341         * calls.c (initialize_argument_information): Likewise.
5342         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
5343         Likewise.
5344         * dwarfout.c (decl_class_context,output_type): Likewise.
5345         * expr.c (get_inner_reference): Likewise.
5346         * fold-const.c (simple_operand_p,fold): Likewise.
5347         * function.c (aggregate_value_p): Likewise.
5348         * stmt.c (expand_asm_operands): Likewise.
5349         * varasm.c (named_section): Likewise.
5350
5351 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
5352
5353         Implement dwarf2 exception handling for the ARM.
5354         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
5355         (DWARF_FRAME_RETURN_COLUMN): Define.
5356         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
5357         REG_FRAME_RELATED_EXPR note.
5358         (emit_sfm): Likewise.
5359         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
5360         * dwarf2out.c (reg_save): Handle saving a register to itself.
5361         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
5362         * except.c (eh_regs): Don't use the static chain reg if it's
5363         callee-saved.
5364         * frame.h (frame_state): Add cfa_saved field.
5365         * frame.c (execute_cfa_insn): Set it.
5366         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
5367         the epilogue.
5368         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
5369         Now takes a parm.
5370         (instantiate_virtual_regs): Adjust.
5371         * tm.texi: Adjust.
5372         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
5373         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
5374         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
5375
5376         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
5377         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
5378
5379 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5380
5381         * builtins.def: New file.
5382
5383         * Makefile.in (TREE_H): Depend on builtins.def.
5384
5385         * builtins.c (built_in_names): Use builtins.def.
5386
5387         * tree.h (built_in_function): Likewise.
5388
5389 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
5390
5391         * tree.c (size_in_bytes): Return size_zero_node, not
5392         integer_zero_node.
5393
5394 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
5395
5396         * config/fp-bit.c (pack_d): Correct the case when a denormal
5397         is rounded up and stops being denormal.
5398
5399 2000-03-21  Richard Henderson  <rth@cygnus.com>
5400
5401         * config/alpha/alpha.c (function_arg): Check for void_type_node
5402         before using MUST_PASS_IN_STACK.
5403
5404 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
5405
5406         * regmove.c (combine_stack_adjustments_for_block): Check that
5407         the stack pointer is a valid memory address.
5408
5409 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
5410
5411         * calls.c: re-install Mar 16 emit_library_call merge.
5412
5413 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
5414
5415         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
5416         we cannot be sure that if reload_completed base register will
5417         be properly aligned.
5418
5419 2000-03-21  Richard Henderson  <rth@cygnus.com>
5420
5421         * flow.c (delete_block): Fix typo last change.
5422
5423 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
5424
5425         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
5426         not COMPLETE_TYPE_P, to check the type of the expression.
5427
5428 2000-03-21  Michael Meissner  <meissner@redhat.com>
5429
5430         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
5431         all floating point insns that just tested the macro
5432         TARGET_HAS_XFLOATING_LIBS.
5433         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
5434         used to only use the gprs.
5435
5436 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
5437
5438         * tree.h (COMPLETE_TYPE_P): New macro.
5439         (COMPLETE_OR_VOID_TYPE_P): New macro.
5440         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
5441         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
5442         * c-aux-info.c (gen_type): Use them.
5443         * c-common.c (c_expand_expr_stmt): Likewise.
5444         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
5445         grokdeclarator, grokparms, finish_struct, start_function,
5446         store_parm_decls, combine_parm_decls): Likewise.
5447         * c-parse.y (cast_expr): Likewise.
5448         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
5449         c_size_in_bytes, c_alignof, build_component_ref,
5450         build_indirect_ref, build_array_ref, convert_arguments,
5451         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
5452         * calls.c (initialize_argument_information): Likewise.
5453         * convert.c (convert_to_integer): Likewise.
5454         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
5455         * dwarfout.c (location_or_const_value_attribute,
5456         output_enumeration_type_die, output_structure_type_die,
5457         output_union_type_die, output_type): Likewise.
5458         * expr.c (safe_from_p, expand_expr): Likewise.
5459         * function.c (assign_parms): Likewise.
5460         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
5461         * tree.c (build_array_type, build_function_type,
5462         build_method_type, build_offset_type, build_complex_type): Likewise.
5463         * c-parse.c, c-parse.h: Regenerated.
5464
5465 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5466
5467         * config/c4x/rtems.h: Include config/rtems.h.
5468
5469 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
5470
5471         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
5472         decl is a FUNCTION_DECL
5473
5474 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
5475
5476         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
5477         function uses output registers.  Don't save RP for leaf functions.
5478         Do save RP even if no epilogue.
5479         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
5480         (CALL_USED_REGISTERS): Unmark in registers.
5481         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
5482         to near the middle.
5483
5484 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
5485
5486         * config/rs6000/rs6000.md (bunordered): New expander.
5487         (bordered): New expander.
5488         (buneq): New expander.
5489         (bunge): New expander.
5490         (bungt): New expander.
5491         (bunle): New expander.
5492         (bunlt): New expander.
5493         (bltgt): New expander.
5494
5495         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
5496         (ccr_bit_negated_p): New function.
5497         (print_operand): For %C, generate appropriate cror for UNEQ,
5498         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
5499
5500 2000-03-20  Andreas Jaeger  <aj@suse.de>
5501
5502         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
5503         warning.
5504
5505         * tree.h (safe_for_unsave): Prototype.
5506
5507 2000-03-20  Richard Henderson  <rth@cygnus.com>
5508
5509         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
5510         (combine_stack_adjustments_for_block): Don't allow sp references
5511         in the side of a set we're not fixing up.
5512         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
5513         after life_analysis.
5514
5515 2000-03-20  Richard Henderson  <rth@cygnus.com>
5516
5517         * calls.c (expand_call): Don't bother generating tail call
5518         sequences if there are pending cleanups.  Use
5519         expand_start_target_temps/expand_end_target_temps to elide
5520         cleanups created during sibcall expansion.
5521
5522 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
5523
5524         * configure.in: Set $IFS to a value if it doesn't already have one
5525         in the --enable-checking handling.
5526         * configure: Regenerate.
5527
5528 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5529
5530         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
5531         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
5532         Regenerated.
5533
5534 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
5535
5536         * jump.c (delete_noop_moves): Remove code attempting to
5537         combine stack adjustments.
5538
5539 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5540
5541         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
5542         * except.c (emit_cleanup_handler): Use them.
5543         (expand_end_all_catch): Likewise.
5544         * function.c (fixup_var_refs): Likewise.
5545         (expand_function_end): Clear catch_clauses_last.
5546         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
5547         * except.h (struct eh_status): New field x_catch_clauses_last.
5548         (catch_clauses_last): New define.
5549
5550         * Makefile.in (tree.o): Depend on HASHTAB_H.
5551         * tree.c: Include hashtab.h.
5552         (struct type_hash): Remove next field.
5553         (TYPE_HASH_SIZE): Remove.
5554         (TYPE_HASH_INITIAL_SIZE): New define.
5555         (type_hash_table): Change type to htab_t.
5556         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
5557         mark_hash_entry): New functions.
5558         (init_obstacks): Allocate type hash.
5559         (type_hash_lookup): Use htab functions.
5560         (type_hash_add, mark_type_hash): Likewise.
5561         (dump_tree_statistics): Call print_type_hash_statistics.
5562
5563 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5564
5565         * rs6000/t-aix41: New file.
5566
5567         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
5568
5569 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
5570
5571         * tm.texi (Driver): Fix typos and tweak entry for
5572         INCLUDE_DEFAULTS.
5573         Move misplaced STRUCT_FORCE_BLK entry ...
5574         (Storage Layout): ... to here.
5575         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
5576
5577 2000-03-19  Richard Henderson  <rth@cygnus.com>
5578
5579         * flow.c (delete_block): Delete the addr_vec along with the block.
5580         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
5581         reference labels.
5582
5583         * fold-const.c (extract_muldiv): Apply type check for defined
5584         overflow to multiply as well as divide.
5585
5586         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
5587
5588 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
5589
5590         * emit-rtl.c (remove_unncessary_notes): Check that all
5591         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
5592         associated NOTE_BLOCK.
5593         * function.h (identify_blocks): Update comments.
5594         (reorder_blocks): Declare.
5595         * function.c (identify_blocks): Don't take paramters.
5596         (reorder_blocks): Don't take parameters.
5597         * loop.h (find_loop_tree_blocks): Remove.
5598         (unroll_block_trees): Likewise.
5599         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
5600         reorder_blocks instead of unroll_block_trees.h
5601         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
5602         * stmt.c (find_loop_tree_blocks): Remove.
5603         (unroll_block_trees): Likewise.
5604         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
5605         in whole-function mode.
5606         * tree.h (reorder_blocks): Remove declaration.
5607
5608         * expr.c: Include intl.h.
5609         * Makefile.in (expr.o): Depend on intl.h.
5610
5611 2000-03-18  Richard Henderson  <rth@cygnus.com>
5612
5613         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
5614
5615 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
5616
5617         * tree.h (tree_index): Remove enumerals for integer types.
5618         (integer_type_kind): New type.
5619         (integer_types): New variable.
5620         (char_type_node): Adjust.
5621         (signed_char_type_node): Likewise.
5622         (unsigned_char_type_node): Likewise.
5623         (short_integer_type_node): Likewise.
5624         (short_unsigned_type_node): Likewise.
5625         (integer_type_node): Likewise.
5626         (unsigned_type_node): Likewise.
5627         (long_integer_type_node): Likewise.
5628         (long_unsigned_type_node): Likewise.
5629         (long_long_integer_type_node): Likewise.
5630         (long_long_unsigned_type_node): Likewise.
5631         * tree.c (integer_types): New variable.
5632         (init_obstacks): Register it as a root.
5633
5634 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
5635
5636         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
5637         NEXT_INSN. Update last insn in chain.
5638
5639 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
5640
5641         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
5642         with TYPE_DECL_SUPPRESS_DEBUG set.
5643
5644 2000-03-18  Richard Henderson  <rth@cygnus.com>
5645
5646         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
5647
5648 2000-03-18  Richard Henderson  <rth@cygnus.com>
5649
5650         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
5651         care for HALF_PIC_P.
5652         (expander_call_insn_operand): Remove.
5653         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
5654         * i386.h (PREDICATE_CODES): Update.
5655         * i386.md (all call expanders): Remove predicates, remove special
5656         handling for half-pic.
5657         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
5658         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
5659         (sibcall_epilogue): New.
5660
5661 2000-03-17  Richard Henderson  <rth@cygnus.com>
5662
5663         * rtlanal.c (single_set): Reject if the parallel has anything
5664         except SET or USE or CLOBBER.
5665
5666 2000-03-17  Jeff Law  <law@cygnus.com>
5667             Richard Henderson  <rth@cygnus.com>
5668
5669         * Makefile.in (OBJS): Add sibcall.o.
5670         (sibcall.o): New.
5671         * sibcall.c: New file.
5672         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
5673         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
5674         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
5675         Emit sibcall patterns when requested.  Update all callers.
5676         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
5677         elimination seems feasable.
5678         * final.c (leaf_function_p): Sibling calls don't discount being
5679         a leaf function.
5680         * flow.c (HAVE_sibcall_epilogue): Provide default.
5681         (find_basic_blocks_1): Sibling calls don't throw.
5682         (make_edges): Make edge from sibling call to EXIT.
5683         (propagate_block): Don't remove sibcall_epilogue insns.
5684         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
5685         (sibcall_epilogue): New.
5686         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
5687         (identify_blocks_1): Likewise.  Break out from ...
5688         (identify_blocks): ... here.
5689         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
5690         (reorder_blocks): ... here.
5691         (init_function_for_compilation): Zap prologue/epilogue as varrays.
5692         (record_insns): Extend a varray instead of mallocing new memory.
5693         (contains): Read a varray not array of ints.
5694         (sibcall_epilogue_contains): New.
5695         (thread_prologue_and_epilogue_insns): Emit and record
5696         sibcall_epilogue patterns.
5697         (init_function_once): Allocate prologue/epilogue varrays.
5698         * genflags.c (gen_insn): Treat sibcall patterns as calls.
5699         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
5700         Broken out from ...
5701         (save_for_inline_nocopy): ... here.
5702         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
5703         Broken out from ...
5704         (expand_inline_function): ... here.
5705         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
5706         (subst_constants): Handle 'n' formats.
5707         * jump.c (jump_optimize_minimal): New.
5708         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
5709         optimizations if it's set.
5710         * rtl.c (copy_rtx): Do copy jump & call for insns.
5711         * rtl.h (struct rtx_def): Document use of jump and call for insns.
5712         (SIBLING_CALL_P): New.
5713         (sibcall_use_t): New.
5714         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
5715         Invoke optimize_sibling_and_tail_recursive_calls.
5716         * tree.c (lang_safe_for_unsave): New.
5717         (safe_for_unsave): New.
5718         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
5719
5720         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
5721         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
5722         (*sibcall_osf_1, *sibcall_value_osf_1): New.
5723
5724 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
5725
5726         * objc/objc-act.c (encode_method_prototype): Pass types, not
5727         PARM_DECLs, to int_size_in_bytes.
5728
5729 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
5730
5731         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
5732
5733         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
5734         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
5735
5736 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5737
5738         * Clean up usages of TREE_INT_CST_LOW.
5739         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
5740         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
5741         Regenerated.
5742         * c-tree.h (min_precision): Move declaration to here.
5743         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
5744         (build_unary_op, add_pending_init): Use bit_position.
5745         (pending_init_member, process_init_element): Likewise.
5746         (really_start_incremental_init, push_init_level, pop_init_level):
5747         Don't make copies of nodes or modify them in place, use consistent
5748         types when tracking positions, and use tree routines computations.
5749         (set_init_index, output_init_element): Likewise.
5750         (output_pending_init_elements, process_init_element): Likewise.
5751         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
5752         tree_low_cst and int_bit_position; also minor cleanup.
5753         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
5754         (print_cst_octal): Precision is unsigned.
5755         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
5756         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
5757         (simple_type_align_in_bits): Result is unsigned int.
5758         Use tree_int_low_cst and host_integerp.
5759         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
5760         (field_byte_offset): Result is HOST_WIDE_INT.
5761         Change types of internal variables so alignments are unsigned int,
5762         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
5763         Use host_integerp, tree_low_cst, and int_bit_position.
5764         (add_bit_offset_attribute): Likewise.
5765         (add_data_member_location_attribute): Use tree_cst_low.
5766         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
5767         (add_bit_size_attribute): Use tree_low_cst.
5768         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
5769         * dwarfout.c: Similar changes to dwarf2out.c.
5770         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
5771         * genoutput.c (n_occurences): Return -1 for null string.
5772         (strip_whitespace): Accept null string and make into function.
5773         (scan_operands): Reflect above changes.
5774         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
5775         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
5776         * ssa.c (rename_registers): Add missing cast of arg to bzero.
5777         * tree.c (int_size_in_bytes): Check for too big to represent.
5778         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
5779         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
5780         New declarations.
5781         (min_precision): Delete from here.
5782         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
5783         and int_bit_position.
5784         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
5785         (encode_method_def): Likewise.
5786         (build_ivar_list_initializer): Use int_bit_position.
5787         (generate_shared_structures): Convert size.
5788         (encode_type, encode_complete_bitfield): Use integer_zerop.
5789         (encode_bitfield): Use tree_low_cst and int_bit_position.
5790
5791 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5792
5793         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
5794
5795 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5796
5797         * call.c (special_function_p): It is only malloc if it returns
5798         Pmode.
5799
5800 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5801
5802         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
5803         (C33_FLAG, TARGET_C3X): Add macros.
5804         (TARGET_SWITCHES): Add -m33 option.
5805         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
5806
5807 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5808
5809         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
5810         (PARALLEL_PACK_FLAG): Delete.
5811         (TARGET_SWITCHES): Update.
5812         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
5813
5814 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5815
5816         * fold-const.c (fold): Fix a few cases when the returned result
5817         is not of the same type as the input.
5818
5819 2000-03-16  Nick Clifton  <nickc@cygnus.com>
5820
5821         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
5822         warning.
5823
5824 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5825
5826         * libgcc2.h: Move prototypes above macros with the same name.
5827         Wrap some function prototypes in the conditional which indicates
5828         whether they are supported, i.e. "BITS_PER_UNIT == 8".
5829
5830 2000-03-16  Richard Henderson  <rth@cygnus.com>
5831
5832         * calls.c: Revert last two changes.
5833
5834 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
5835
5836         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
5837         has exponent 0 is a zero.
5838
5839         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
5840         HASH may already be nonzero.  Add code/mode into hash value
5841         immediately after repeat label.
5842         (cselib_lookup): Don't leave the hash table in an inconsistent
5843         state before a hash lookup operation.
5844
5845 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
5846
5847         * i386.md (all HI and QI mode non-move patterns):  Conditionize
5848         by TARGET_[HQ]IMODE_MATH.
5849         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
5850         x86_promote_qi_regs): Declare.
5851         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
5852         TARGET_PROMOTE_QI_REGS): New macros.
5853         (PROMOTE_MODE): New macro.
5854         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
5855         x86_promote_qi_regs): New global variables.
5856
5857 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
5858
5859         * calls.c (emit_library_call_value_1): Break out from ...; handle
5860         VOIDmode function calls too.
5861         (emit_library_call_value): ... here.
5862         (emit_library_call): Implement by calling emit_library_call_value_1.
5863
5864 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
5865
5866         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
5867         Update arg_space_so_far on stack adjustments.
5868         (emit_library_call, emit_library_call_value): Likewise; take into
5869         account arg_space_so_far and pending_stack_adjust when calculcating
5870         the boundary.
5871
5872 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
5873
5874         * flow.c: Move all basic block reordering code into its own file.
5875         (create_basic_block): Externalize.
5876         * bb-reorder.c: New file. Copy all basic block reordering code from
5877         flow.c to this file.
5878         (reorder_basic_blocks): Fix fencepost error in for-loop.
5879         (reorder_basic_blocks): Remove braces from single statement for-loops.
5880         * basic-block.h: Add declaration for create_basic_block.
5881         * Makefile.in: Add rules for bb-reorder.o.
5882
5883 2000-03-16  Neil Booth  <NeilB@earthling.net>
5884
5885         * cppinit.c (handle_option):  Implement #unassert directive
5886         as -A- command line option.
5887         (print_help):  Update.
5888         * cpptexi.c:  Update.
5889
5890 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5891
5892         * md.texi (Standard Names): Document `jump'.
5893
5894 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
5895
5896         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
5897         gotos.
5898
5899 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
5900
5901         Merge changes from newppc-branch onto trunk.
5902
5903         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
5904
5905         * rs6000.c (toc_hash_table): Update for new hash table functions.
5906         (toc_hash_function): Likewise.
5907         (toc_hash_eq): Likewise.
5908         (toc_hash_mark_entry): Likewise.
5909         (toc_hash_mark_table): Likewise.
5910         (output_toc): Likewise.
5911         (rs6000_add_gc_roots): Likewise.
5912
5913         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5914
5915         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
5916         (AR_FLAGS_FOR_TARGET): here.  New macro.
5917
5918         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
5919
5920         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
5921         fpmem_operand) Delete.
5922         (xer_operand) New.
5923         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
5924         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
5925         (rs6000_save_machine_status, rs6000_restore_machine_status,
5926         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
5927         references to above variables.
5928         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
5929         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
5930         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
5931         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
5932         (XER_REGNO_P, XER_REGNO): New.
5933         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
5934         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
5935         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
5936         XER_REGNO_P.
5937         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
5938         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
5939         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
5940
5941         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5942
5943         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
5944         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
5945         * rs6000.h: from here.
5946
5947         * rs6000-protos.h (rs6000_select_section): Provide prototype.
5948         (rs6000_select_rtx_section): Likewise.
5949         (rs6000_encode_section_info): Likewise.
5950         (sdata_section): Likewise.
5951         (sdata2_section): Likewise.
5952         (sbss_section): Likewise.
5953         * sysv4.h (rs6000_select_section): Delete prototype.
5954         (rs6000_select_rtx_section): Likewise.
5955         (rs6000_encode_section_info): Likewise.
5956         (sdata_section): Likewise.
5957         (sdata2_section): Likewise.
5958         (sbss_section): Likewise.
5959         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
5960
5961         * sysv4.h: Delete various unnecessary #undef's and put a comment
5962         on the remaining ones.
5963         Change various comments according to coding standard.
5964
5965         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
5966
5967         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
5968         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
5969         (CR0_REGNO_P) Remove.
5970         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
5971         setup_incoming_varargs, mtcrf_operation, print_operand,
5972         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
5973         Use the above macros.
5974
5975         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
5976
5977         * config/rs6000/rs6000.md: Added a new alternative for each
5978         pattern that had a 'x' alternative but no 'y' alternative.
5979         Added a new split for each of the above patterns.
5980
5981         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
5982
5983         * aix41.h (ASM_CPU_SPEC): Delete.
5984         (CPP_CPU_SPEC): Delete.
5985
5986         * aix.h (RS6000_OUTPUT_BASENAME): Define.
5987         (ASM_OUTPUT_LABEL): Define.
5988         (ASM_GLOBALIZE_LABEL): Define.
5989         (STRIP_NAME_ENCODING): Define.
5990         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
5991         (STRIP_NAME_ENCODING): Don't define.
5992         (ASM_OUTPUT_LABEL): Don't define.
5993         (ASM_GLOBALIZE_LABEL): Don't define.
5994         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
5995         names, and ASM_OUTPUT_LABEL to output labels, rather than
5996         asm_fprintf.
5997         (ASM_OUTPUT_LABEL): Define.
5998         (ASM_OUTPUT_INT): Use assemble_name.
5999         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
6000         (STRIP_NAME_ENCODING): Don't undefine first.
6001         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
6002         ELF.
6003         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
6004         specified with 'asm' even with -fleading-underscore.
6005         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
6006         (output_epilog): Likewise.
6007         (output_toc): Likewise.
6008         * tramp.asm: Handle -fleading-underscore correctly.
6009
6010         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
6011         -mminimal-toc.
6012         (nonlocal_goto_receiver): Delete.
6013         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
6014
6015         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
6016         (SET_ASM_OP): Define.
6017         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
6018
6019         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
6020         (ASM_LONG): Define.
6021
6022         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
6023         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
6024
6025         * rs6000.h: Add 'u' to more constants.
6026
6027         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
6028
6029         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
6030
6031         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
6032
6033         * rs6000.c (reg_or_u_cint_operand): New function.
6034         (logical_operand): Handle 64-bit hosts.
6035         (logical_u_operand): New function.
6036         (non_logical_cint_operand): Handle 64-bit hosts.
6037         (non_logical_u_cint_operand): New function.
6038         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
6039         (PREDICATE_CODES): Define new functions.
6040         * rs6000-protos.h: Declare new functions.
6041         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
6042         (movdi_64): Bracket code intended for 64-bit hosts.  Create
6043         CONST_DOUBLE for 32-bit values.
6044         (scc insns): Generate DImode compares.
6045         (mfcr insns): Create DImode versions.
6046         (sge matchers): New patterns.
6047
6048         2000-02-15  Gabriel Paubert  <paubert@iram.es>
6049
6050         * rs6000.md: Correct instructions length attributes and
6051         constraints on unsigned compare instructions.
6052         (*ne0): Disable for PowerPC64.
6053
6054         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
6055
6056         * rs6000.c (output_function_profiler): Use .long for a 32-bit
6057         quantity, fix profile1.C test failure under -fPIC.
6058
6059         * rs6000.c: Add 'u' to many constants to suppress warnings.
6060         (constant_pool_expr_1): Make static.
6061         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
6062         * rs6000.h: Add 'u' to many constants to suppress warnings.
6063
6064         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
6065         for the start of the TOC, instead of LCTOC..0.
6066         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
6067         of the TOC.
6068         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
6069         (load_toc_aix_di): Use LCTOC..1.
6070
6071         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
6072         * rs6000.c (rs6000_legitimize_address): New function from
6073         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
6074         symbols in the constant pool that really are TOC references.
6075         (print_operand_address): For ELF, write TOC offsets under
6076         -fPIC as subtractions in the insn.
6077         (output_toc): For ELF, define symbols in TOC as normal labels,
6078         to match RTL.
6079         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
6080         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
6081         (create_TOC_reference): Prototype only when RTX_CODE is defined.
6082         * rs6000.md (movsi): Only use create_TOC_reference on
6083         symbols in the constant pool that really are TOC references.
6084
6085         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
6086         * rs6000.c (rs6000_reorg): Delete.
6087         * rs6000-protos.h (rs6000_reorg): Delete.
6088
6089         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
6090
6091         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
6092
6093         * aix.h (SETUP_FRAME_ADDRESSES): Define.
6094         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
6095         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
6096         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
6097         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
6098         rs6000_aix_emit_builtin_unwind_init.
6099         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
6100         rs6000_emit_eh_toc_restore on AIX.
6101         (return_eh_si): Use r2.
6102         (return_eh_di): Use r2.
6103
6104         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
6105         since we're breaking binary compatibility anyway.
6106
6107         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
6108
6109         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
6110         constant_pool_expr_p): Declare them.
6111         (constant_pool_expr_p): Declare it.
6112         * config/rs6000/rs6000.c (toc_label_name): Define.
6113         (rs6000_override_options): Set toc_label_name.
6114         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
6115         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
6116         uses_TOC): New functions.
6117         (print_operand): Delete old '*' case.
6118         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
6119         and strip off rtl for TOC before calling output_addr_const.
6120         (rs6000_emit_load_toc_table): Use toc_label_name.
6121         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
6122         the default.
6123         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
6124         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
6125         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
6126         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
6127         into explicit TOC_REGISTER offsets.
6128         (TOC_REGISTER): New macro.
6129         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
6130         TARGET_TOC to reference TOC_REGISTER.
6131         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
6132         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
6133         uses_TOC before emitting label references.
6134
6135         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
6136
6137         * rs6000.md (stack_tie): Fix warning.
6138
6139         * eabi-ctors.c: Use 'asm' names for the start/end variables,
6140         to handle -fleading-underscore.
6141         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
6142         (USER_LABEL_PREFIX): New macro.
6143         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
6144         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
6145         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
6146         call-linux can use the same multilibs.
6147         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
6148         and call-linux multilibs.  Do multilib with -fleading-underscore.
6149         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
6150         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
6151         to call-aix.
6152
6153         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
6154         have MASK_SOFT_FLOAT set.
6155         (CPP_FLOAT_DEFAULT_SPEC): New macro.
6156         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
6157         CPP_FLOAT_DEFAULT_SPEC.
6158
6159         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
6160         * rs6000.md: Whitespace change.
6161         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
6162         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
6163
6164         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
6165
6166         * rs6000.md (eh_epilogue): New expander.
6167         (eh_reg_restore): New expand/split/insn combination.
6168         (return_eh_si): New insn.
6169         (return_eh_di): New insn.
6170
6171         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
6172         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
6173         * eabi-ctors.c (__do_global_ctors): Register this object's
6174         frame.  Clean up.  Call atexit() after the constructors.
6175         (__do_global_dtors): Deregister this object's frame.  Clean up.
6176         Allow for recursive calls to exit().
6177         * rs6000.c (fixuplabelno): New variable.
6178         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
6179         TARGET_RELOCATABLE, it slows down exec() under linux.
6180         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
6181
6182         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
6183         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
6184         (ASM_OUTPUT_DWARF_DELTA2): New macro.
6185         (ASM_OUTPUT_DWARF_DELTA4): New macro.
6186         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
6187         (ASM_OUTPUT_DWARF_ADDR): New macro.
6188         (ASM_OUTPUT_DWARF_DATA4): New macro.
6189         (ASM_OUTPUT_DWARF_DATA2): New macro.
6190         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
6191         (ASM_OUTPUT_DWARF_OFFSET): New macro.
6192         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
6193
6194         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
6195
6196         * rs6000.c (rs6000_sr_alias_set): New variable.
6197         (rs6000_override_options): Initialise rs6000_sr_alias_set.
6198         (rs6000_emit_stack_tie): New function.
6199         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
6200         in a way that dwarf2out can understand.
6201         (rs6000_frame_related): New function.
6202         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
6203         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
6204         Use rs6000_emit_stack_tie when needed.
6205         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
6206         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
6207         * rs6000.md (stack_tie): New insn.
6208         (return_internal_si): Allow return value to be in the count
6209         register.
6210         (return_internal_di): Likewise.
6211
6212         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
6213
6214         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
6215
6216         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
6217
6218         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
6219
6220         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
6221
6222         * rs6000.md (stmw): Use the right POWER opcode.
6223         (lmw): Likewise.
6224
6225         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6226
6227         * rs6000-protos.h: New file.
6228
6229         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
6230
6231         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
6232         warnings.
6233
6234         * sysv4.h: Likewise.
6235
6236         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
6237
6238         * ../../configure.in: Delete powerpcle-*-winnt*
6239         and powerpcle-*-pe|powerpcle-*-cygwin*.
6240         * ../../configure: Regenerated.
6241         * cygwin.h: Delete.
6242         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
6243         (TARGET_WINDOWS_NT): Delete.
6244         (ABI_NT): Delete.
6245         (CALL_NT_DLLIMPORT): Delete.
6246         Delete NT-specific code.
6247         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
6248         * win-nt.h: Delete.
6249         * t-winnt: Delete.
6250         * nt-ci.asm: Delete.
6251         * nt-cn.asm: Delete.
6252         * ntstack.asm: Delete.
6253
6254         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6255
6256         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
6257         (ASM_FILE_START): Likewise.
6258         (ASM_DECLARE_FUNCTION_NAME): Likewise.
6259         (ASM_OUTPUT_LABELREF): Likewise.
6260         (ASM_OUTPUT_SKIP): Likewise.
6261         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
6262         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
6263         (ASM_OUTPUT_CASE_LABEL): Likewise.
6264         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
6265         (ASM_OUTPUT_ASCII): Likewise.
6266
6267         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
6268
6269         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
6270         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
6271         increment rs6000_pic_labelno here.
6272         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
6273         and increment rs6000_pic_labelno here.
6274
6275         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
6276
6277         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
6278         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
6279         allocation knows (reg) is dead before the insn.
6280
6281         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
6282
6283         * rs6000.md (movsi_to_cr): Correct typo in output template.
6284
6285         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
6286
6287         * rs6000.c (rs6000_pic_labelno): Always define.
6288         (rs6000_pic_func_labelno): Delete.
6289         (lmw_operation): Check for a zero base register,
6290         which doesn't mean what we want.
6291         (stmw_operation): New function.
6292         (print_operand): Define new 'l' modifier.
6293         (rs6000_stack_info): We must save all 64 bits of the registers
6294         if TARGET_POWERPC64.
6295         (rs6000_output_load_toc_table): Delete.
6296         (rs6000_emit_load_toc_table): New function.
6297         (rs6000_allocate_stack_space): Delete.
6298         (rs6000_emit_allocate_stack): New function.
6299         (rs6000_emit_prologue): New function.
6300         (output_prolog): Use rs6000_emit_prologue.
6301         (rs6000_emit_epilogue): Change a few variable names to be
6302         more accurate.  Restore all 64 bits of the registers if
6303         TARGET_POWERPC64.  Only restore the FP registers which were used
6304         if they are being saved/restored one-at-a-time.
6305         (output_mi_thunk): Delete inefficient code generation.
6306         (output_function_profiler): Don't use rs6000_output_load_toc_table.
6307         * rs6000.h: Declare rs6000_emit_load_toc_table,
6308         rs6000_allocate_stack_space, stmw_operation.  Don't declare
6309         rs6000_output_load_toc_table.
6310         * rs6000.md (elf_high): Allow register 0, but discourage it
6311         heavily.
6312         (elf_low): Support loading into register 0.
6313         (load_toc_aix_si): New pattern.
6314         (load_toc_aix_di): New pattern.
6315         (load_toc_v4_pic_si): New pattern.
6316         (load_toc_v4_pic_di): New pattern.
6317         (load_toc_v4_PIC_1): New pattern.
6318         (load_toc_v4_PIC_1b): New pattern.
6319         (load_toc_v4_PIC_2): New pattern.
6320         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
6321         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
6322         (prologue): New expander.
6323         (movesi_from_cr): New pattern.
6324         (stmw): New pattern.
6325         (save_fpregs_si): New pattern.
6326         (save_fpregs_di): New pattern.
6327
6328         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6329
6330         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
6331         (movdi): Likewise.
6332         (movhi): Likewise.
6333         (movqi): Likewise.
6334
6335         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6336
6337         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
6338         at present.
6339         (movsi_got_internal): Likewise.
6340         (movsi_got_internal+1): Likewise.
6341         (set_sp): 'unspec 7' does a SImode clobber.
6342
6343         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6344
6345         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
6346         allocate a stack temporary.
6347         (floatsidf2_internal): Likewise.
6348         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
6349         with unspec.
6350         (floatunssidf2): Don't use the fpmem "register", just
6351         allocate a stack temporary.
6352         (floatunssidf2_internal): Likewise.
6353         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
6354         with unspec.
6355         (floatsidf2_loadaddr): Delete.
6356         (floatsidf2_store1): Delete.
6357         (floatsidf2_store2): Delete.
6358         (floatsidf2_load): Delete.
6359         (fix_truncdfsi2): Don't use the fpmem "register", just
6360         allocate a stack temporary.
6361         (fix_truncdfsi2_internal_si): Delete.
6362         (fix_truncdfsi2_internal_di): Delete.
6363         (fix_truncdfsi2_internal): New insn.
6364         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
6365         (fix_truncdfsi2_store): Delete.
6366         (fix_truncdfsi2_load): Delete.
6367         (fctiwz): Produce gen_fctiwz.
6368
6369         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
6370
6371         * eabi.h (INVOKE__main): Define.
6372         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
6373         specially.
6374         (rs6000_emit_prologue): Likewise.
6375         * rs6000.h (struct rs6000_stack): Don't keep track of whether
6376         this is the main program.
6377
6378         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6379
6380         * rs6000.c (rs6000_va_arg): Delete some unused variables.
6381
6382         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6383
6384         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
6385         goes after the argument.
6386
6387         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
6388
6389         * rs6000.md: Document 'unspec' values used.
6390         (epilogue): New expander.
6391         (movesi_to_cr_one): New expander.
6392         (movesi_to_cr and following): New pattern.
6393         (lmw): New pattern.
6394         (return_internal_si): New pattern.
6395         (return_internal_di): New pattern.
6396         (return_and_restore_fpregs_si): New pattern.
6397         (return_and_restore_fpregs_di): New pattern.
6398         * rs6000.h: Declare new functions.
6399         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
6400         rather than rs6000_calls_p.
6401         (rs6000_makes_calls): Delete.
6402         (lmw_operation): New function.
6403         (mtcrf_operation): New function.
6404         (rs6000_emit_epilogue): New function.
6405         (output_epilog): Call rs6000_emit_epilogue and final if
6406         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
6407
6408         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
6409
6410         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
6411         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
6412         * aix.h (SUBTARGET_SWITCHES): Document switches.
6413         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
6414         sched-prolog and sched-epilog the same.  Document all the
6415         switches.
6416         (TARGET_OPTIONS): No longer allow -mdebug-.
6417
6418         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
6419
6420         * rs6000.h (ASM_FILE_END): Move to aix.h.
6421         (EXTRA_SECTIONS): Move to aix.h.
6422         (READONLY_DATA_SECTION): Move to aix.h.
6423         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
6424         (SELECT_SECTION): Move to aix.h.
6425         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
6426         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
6427         (LINK_REGISTER_REGNUM): New definition.
6428         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
6429         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
6430         AIX and SVR4.
6431         * sysv4.h: Delete the code between the inclusion of rs6000.h
6432         and svr4.h.
6433         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
6434         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
6435         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
6436         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
6437         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
6438         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
6439         (fix_truncdfsi2_internal_di): New pattern.
6440         (fix_truncdfsi2_store): The second arg here is Pmode too.
6441         (fix_truncdfsi2_load): The second arg here is Pmode too.
6442         (tablejumpdi): Now that switch tables hold only SImode values,
6443         gcc needs to know how to add them to the pc which is DImode.
6444         * rs6000.c (rs6000_stack_info): Use symbolic name for
6445         LINK_REGISTER_REGNUM.
6446         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
6447         (output_toc): Delete unused variables s1 and s2.
6448         (output_ascii): Use fputs not fprintf on a variable string.
6449
6450         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
6451
6452         * rs6000.c (processor_target_table): Add power3 as alias for 630.
6453         * aix43.h: Revert Aug 2 change.
6454         (HAS_INIT_SECTION): Define, not visible yet.
6455         (LD_INIT_SWITCH): Define, not visible yet.
6456         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
6457
6458         2000-01-04  Joel Sherrill (joel@OARcorp.com>
6459
6460         * config/rs6000/rtems.h: Include config/rtems.h.
6461
6462         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
6463
6464         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
6465         (SLOW_UNALIGNED_ACCESS): Define.
6466         (CASE_VECTOR_MODE): Always use 32-bit offsets.
6467         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
6468         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
6469         (toc_section): Likewise and .toc pseudo-op.
6470         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
6471         64-bit mode.
6472         (TEXT_SECTION_ASM_OP): Likewise.
6473         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
6474         32-bit offsets.
6475
6476         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
6477
6478         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
6479         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
6480         compiling libgcc2.
6481
6482         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6483
6484         * rs6000.h: Move more stuff from here...
6485         * aix.h: to here.
6486         * sysv4.h: Cleanup accordingly.
6487         * netware.h: Likewise
6488
6489         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6490
6491         * rs6000.h: Continue cleanup.
6492         * aix.h: Likewise.
6493         * lynx.h: Likewise.
6494         * netware.h: Likewise.
6495         * sol2.h: Likewise.
6496         * sysv4.h: Likewise.
6497         * win-nt.h: Likewise.
6498
6499         * rs6000.h (TARGET_SWITCHES): Add descriptions.
6500         (TARGET_OPTIONS): Likewise.
6501
6502         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
6503         (SUBTARGET_OPTIONS): Likewise.
6504
6505         * rs6000.md: Fix compile time warnings.
6506
6507         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
6508
6509         vxworks patches from the Cygnus tree originally by
6510         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
6511         <vmakarov@cygnus.com>.
6512         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
6513         (ENDFILE_SPEC): Likewise.
6514         (LIB_VXWORKS_SPEC): New macro.
6515         (STARTFILE_VXWORKS_SPEC): New macro.
6516         (ENDFILE_VXWORKS_SPEC): New macro.
6517         (LINK_START_VXWORKS_SPEC): New macro.
6518         (LINK_OS_VXWORKS_SPEC): New macro.
6519         (CPP_OS_VXWORKS_SPEC): New macro.
6520         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
6521         * vxppc.h: Rewrite to use proper configuration method.
6522         * vxppcle.h: New file.
6523         * ../../configure.in: Add powerpcle-wrs-vxworks*.
6524         * ../../configure: Rebuilt.
6525
6526         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
6527
6528         Lots of changes to rs6000.h, sysv4.h, aix.h,
6529         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
6530         with the aim that rs6000.h is the first header
6531         included and the others override it.
6532         * aix.h: New file.
6533
6534         * x-aix41-gld: Remove.
6535         * x-aix43: Remove.
6536         * x-aix41: Remove target-specific switches, and don't specify
6537         -Wl,-bbigtoc as we don't need it any more.
6538         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
6539         Use t-aix43 for AIX 4.3 and above.
6540         * ../../configure: Regenerated.
6541
6542         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
6543         options, that don't do anything yet.
6544         (MASK_SCHED_PROLOG): New macro.
6545         (MASK_SCHED_EPILOG): New macro.
6546         (TARGET_SCHED_PROLOG): New macro.
6547         (TARGET_SCHED_EPILOG): New macro.
6548
6549         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
6550
6551         * rs6000.c: Correct comment, the `minimal' TOCs are actually
6552         one per translation unit, not one per function.
6553         (output_toc): Also do duplicate constant elimination
6554         for per-translation-unit TOCs.
6555
6556         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
6557         a comment explaining _exactly_ when this pattern gets used.
6558         (builtin_setjmp_receiver): New pattern for better clarity.
6559         (init_v4_pic): Move it into a section dealing with TOC registers.
6560
6561         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
6562
6563         * rs6000.c (toc_hash_table): New variable.
6564         (rs6000_hash_constant): New function.
6565         (toc_hash_function): New function.
6566         (toc_hash_eq): New function.
6567         (toc_hash_mark_entry): New function.
6568         (toc_hash_mark_table): New function.
6569         (output_toc): Don't output duplicate TOC entries in
6570         a single file.
6571         (rs6000_add_gc_roots): Add the hash table as a GC root.
6572         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
6573         where they clearly shouldn't be.  This may need to be fixed
6574         later when there is a GNU ar for AIX.
6575         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
6576         Don't define BOOT_LDFLAGS as it is now not necessary.
6577
6578         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
6579
6580         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
6581         for va_list on AIX.  Use unsigned_char_type_node rather than
6582         constructing our own version on svr4.
6583
6584         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
6585
6586         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
6587         since patently it's not.
6588
6589         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
6590
6591         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
6592         define_expand/define_insn pair, and handle restore of the
6593         SVR4 -fpic register.
6594
6595 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
6596
6597         * acconfig.h (HAVE_GAS_WEAK): New define.
6598         * configure.in (assembler weak support): Check for .weak support.
6599         * config.in, configure: Rebuilt.
6600         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
6601         HAVE_GAS_WEAK is defined.
6602
6603 2000-03-15  Nick Clifton  <nickc@cygnus.com>
6604
6605         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
6606         asm_fprintf().
6607
6608 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
6609
6610         * cppfiles.c (open_include_file): New function.
6611         (find_include_file, cpp_read_file): Use it.
6612
6613 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
6614
6615         * cpphash.c (dump_hash_helper): Take the slot, not the element.
6616
6617 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
6618
6619         * flow.c (verify_flow_info): Check for unconditional return.
6620
6621 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
6622
6623         * config/ia64/ia64.md (restore_stack_nonlocal): New.
6624         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
6625         (__ia64_restore_stack_nonlocal): New.
6626         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
6627
6628 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6629
6630         * cpphash.c (collect_formal_parameters): Do not complain about
6631         parameter names that just start with `__VA_ARGS__'.
6632
6633 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
6634
6635         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
6636         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
6637         * i386.c (pentiumpro_cost): Set mul cost to 4.
6638         (x86_use_movx): Set for PPro.
6639
6640 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
6641
6642         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
6643         STACK_BOUNDARY for empty frames now.
6644
6645 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
6646
6647         * stor-layout.c (layout_union): Remove.
6648         (layout_union_field): New function, split out from layout_union.
6649         (finish_union_layout): Likewise.
6650         (layout_field): Handle unions by calling layout_union_field.
6651         (finish_record_layout): Handle unions.
6652         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
6653         QUAL_UNION_TYPE handling.
6654
6655 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
6656
6657         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
6658         end of basic block is jump_insn, not barrier; use create_basic_block
6659         instead of creating basic block by hand.
6660
6661 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
6662
6663         * flow.c (reorder_basic_blocks): Account for barriers when writing
6664         over NEXT_INSN (last_bb->end).
6665         (verify_flow_info): Add check for missing barriers.
6666
6667 2000-03-14  Greg McGary  <gkm@gnu.org>
6668
6669         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
6670         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
6671         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
6672         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
6673         __unbounded, __unbounded__): New keywords.
6674         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
6675         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
6676         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
6677
6678 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
6679
6680         * cselib.h: New file.
6681         * alias.c: Include "cselib.h".
6682         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
6683         MEMs as two new arguments.
6684         (get_addr): New static function.
6685         (find_base_term): Handle VALUEs.
6686         (memrefs_conflict_p): Likewise.
6687         (true_dependence): Call get_addr on the addresses.
6688         Call fixed_scalar_and_varying_struct_p with addresses that have been
6689         passed through get_addr and canon_rtx.
6690         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
6691         with true_dependence.
6692         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
6693         * loop.c: Include "cselib.h".
6694         (load_mems): Process extended basic block that enters the loop with
6695         cselib.  Use that information to change initialization of the shadow
6696         register so that a constant equivalence is seen by later passes.
6697         * reload1.c: Include "cselib.h".
6698         (reload_cse_invalidate_regno): Delete function.
6699         (reload_cse_mem_conflict_p): Likewise.
6700         (reload_cse_invalidate_mem): Likewise.
6701         (reload_cse_invalidate_rtx): Likewise.
6702         (reload_cse_regno_equal_p): Likewise.
6703         (reload_cse_check_clobber): Likewise.
6704         (reload_cse_record_set): Likewise.
6705         (reg_values): Delete static variable.
6706         (invalidate_regno_rtx): Likewise.
6707         (reload_cse_delete_noop_set): New static function.
6708         (reload_cse_simplify): New static function, broken out of
6709         reload_cse_regs_1.
6710         (reload_cse_noop_set_p): Delete unused argument INSN.
6711         Just call rtx_equal_for_cselib_p on set source and destination.
6712         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
6713         reload_cse_delete_noop_set.  Delete code to keep track of values; use
6714         cselib functions instead.  Delete code to push/pop obstacks.
6715         (reload_cse_simplify_set): Use cselib to find equivalent values.
6716         Delete code to push/pop obstacks.
6717         (reload_cse_simplify_operands): Likewise.
6718         * rtl.def (VALUE): New rtx code.
6719         * rtl.h (union rtunion_def): New elt rt_cselib.
6720         (X0CSELIB, CSELIB_VAL_PTR): New macros.
6721         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
6722         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
6723         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
6724         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
6725         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
6726         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
6727         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
6728         cselib_record_set, cselib_record_sets): New static functions.
6729         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
6730         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
6731         references_value_p): New functions.
6732         (MAX_USELESS_VALUES, REG_VALUES): New macros.
6733         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
6734         n_useless_values, reg_values, callmem, cselib_obstack,
6735         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
6736         New static variables.
6737         * varray.h (union varray_data_tag): New elt te.
6738         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
6739         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
6740         dependencies.
6741
6742 2000-03-14  Nick Clifton  <nickc@cygnus.com>
6743
6744         * gcc.c (do_spec_1): Catch the case where %* is used in a
6745         substitution pattern, but it has not been initialised.
6746         Issue a meaningful error message if an unrecognised operator
6747         is encountered in a spec string.
6748
6749 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
6750
6751         * function.c (prepare_function_start): Correctly initialize
6752         cfun->stack_alignment_needed.
6753
6754 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
6755
6756         * cppfiles.c (find_include_file): Don't assume nshort is a
6757         substring of name.
6758
6759 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
6760
6761         * configure.in (hppa configurations): Add pa32-regs.h to the
6762         list of tm files as appropriate.
6763         * configure: Rebuilt.
6764         * pa.c (compute_frame_size): Remove explicit knowledge about FP
6765         register numbering.
6766         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
6767         (fmpyaddoperands, fmpysuboperands): Likewise.
6768         * pa.h: Remove various definitions which depend on knowing
6769         how registers are numbered.
6770         * pa32-regs.h: New file with PA32 register numbering specific
6771         definitions.
6772
6773 2000-03-14  Richard Henderson  <rth@cygnus.com>
6774
6775         * regmove.c (combine_stack_adjustments): New.
6776         (stack_memref_p, single_set_for_csa): New.
6777         (free_csa_memlist, record_one_stack_memref): New.
6778         (try_apply_stack_adjustment): New.
6779         (combine_stack_adjustments_for_block): New.
6780         * rtl.h (combine_stack_adjustments): Declare.
6781         * toplev.c (rest_of_compilation): Call it.
6782
6783         * i386.md: Revert 2000-01-16 change.
6784
6785 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6786
6787         * gccbug.in: Add web category, gcc specific classes.
6788
6789 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
6790
6791         * stor-layout.c (finalize_record_size): Fix typo.
6792
6793 2000-03-14  Stan Shebs  <shebs@apple.com>
6794
6795         * c-typeck.c (c_alignof): Error on incomplete types.
6796         * extend.texi (Alignment): Document this.
6797
6798 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
6799
6800         * cppfiles.c: Include mkdeps.h.
6801         (find_include_file, read_include_file): Remove _cpp_ prefix
6802         from name, make static.
6803         (_cpp_execute_include): New function, broken out of
6804         do_include.
6805
6806         * cpplib.c: Don't include mkdeps.h.
6807         (struct directive): Remove type field. Reorder entries.  The
6808         function takes only one argument.
6809         (struct if_stack): Make type field an int.
6810         (directive_table): Rename to dtable.  Generate it, the
6811         prototypes of the directive handlers, and the enum for the
6812         directive numbers, from a template macro.
6813         (do_ifndef, do_include_next, do_import): New functions.
6814         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
6815         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
6816         do_ident, do_assert, do_unassert, do_sccs): Take only one
6817         argument.
6818         (do_sccs): Define always, but alter behavior based on
6819         SCCS_DIRECTIVE.
6820         (_cpp_handle_directive, consider_directive_while_skipping):
6821         Restructure for new directive table layout.
6822
6823         (pass_thru_directive): Take a directive number, not a pointer
6824         to a struct directive.
6825         (parse_include): New function, broken out of do_include.
6826         (do_include, do_import, do_include_next): Use parse_include
6827         and _cpp_execute_include.
6828         (do_elif, do_else): Test for T_ELSE specifically when checking
6829         for #elif/#else after #else.
6830         (parse_ifdef): New function, broken out of do_ifdef.
6831         (validate_else): Expect a name arg without a leading #.
6832         (if_directive_name): Delete.
6833         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
6834         directive handlers with only one argument.
6835
6836         * cpphash.h: Update prototypes.
6837         (enum node_type): Remove entries for directives.
6838         * Makefile.in: Update dependencies.
6839
6840         * cpphash.c (dump_hash_helper): Only dump nodes of type
6841         T_MACRO.  Emit a newline after each definition.
6842
6843 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6844
6845         * gccbug.in: New file.
6846         * configure.in (all_outputs): Add gccbug.
6847         * Makefile.in (install-common): Install gccbug.
6848         (GCCBUG_INSTALL_NAME): New variable.
6849         * configure: Rebuilt.
6850
6851 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
6852
6853         * function.c (put_var_into_stack): Use type_for_mode to calculate
6854         part_type.  Use MEM_SET_IN_STRUCT_P.
6855         * expr.c (store_field): Handle CONCAT.
6856         (store_constructor): Use fields_length.
6857         * tree.c (fields_length): New fn.
6858         * tree.h: Declare it.
6859
6860 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
6861
6862         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
6863         (cpplex.o): New target.
6864         * po/POTFILES.in: Add cpplex.c.
6865
6866         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
6867         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
6868         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
6869         skip_block_comment, skip_line_comment, skip_comment,
6870         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
6871         _cpp_parse_name, skip_string, parse_string,
6872         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
6873         _cpp_get_directive_token, find_position,
6874         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
6875         (maybe_macroexpand, _cpp_lex_token): New functions.
6876
6877         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
6878         parse_goto_mark): Delete.
6879         (_cpp_handle_eof): New function.
6880         (_cpp_handle_directive): Rename from handle_directive.
6881         (_cpp_output_line_command): Rename from output_line_command.
6882         (do_if, do_elif): Call _cpp_parse_expr directly.
6883         * cppfiles.c (_cpp_read_include_file): Don't call
6884         init_input_buffer here.
6885         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
6886         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
6887         here; pop the token_buffer and skip the rest of the line here.
6888         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
6889         here.
6890
6891         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
6892         Define here.
6893         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
6894         CPP_GOTO_MARK): New macros.
6895         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
6896         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
6897         _cpp_read_and_prescan, _cpp_init_input_buffer,
6898         _cpp_grow_token_buffer, _cpp_get_directive_token,
6899         _cpp_handle_directive, _cpp_handle_eof,
6900         _cpp_output_line_command): Prototype them here.
6901         * cpplib.h (enum cpp_token): Add CPP_MACRO.
6902         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
6903         quote_string, output_line_command): Remove.
6904
6905 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
6906
6907         * stmt.c (expand_end_case): RANGE may be signed, and when checking
6908         whether it is too large we must also verify that it isn't negative.
6909
6910 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
6911
6912         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
6913         (movsi_zero_liveg0): Remove.
6914         (movsf_insn_novis_liveg0): Remove.
6915         (negsi2): Remove.
6916         (negsi2_not_liveg0): Rename to negsi2.
6917         (one_cmplsi2): Remove.
6918         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
6919         (one_cmplsi2_liveg0): Remove.
6920         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
6921         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
6922         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
6923         (PREDICATE_CODES): Remove zero_operand.
6924         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
6925         TARGET_BROKEN_SAVERESTORE.
6926         (zero_operand): Remove.
6927         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
6928         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
6929         options.
6930         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
6931         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
6932         TARGET_BROKEN_SAVERESTORE): Remove.
6933         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
6934         Remove.
6935         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
6936         Remove.
6937         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
6938         Remove.
6939
6940         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
6941
6942 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
6943
6944         * cpplib.c (do_pragma_implementation): Fix off-by-one error
6945         truncating a string.  Don't assume tokens are nul terminated.
6946         Problem noted by Andreas Jaeger <aj@suse.de>
6947
6948 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
6949
6950         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
6951         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
6952         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
6953
6954 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
6955
6956         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
6957         STRUCTURE_SIZE_BOUNDARY.
6958
6959 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
6960
6961         * tree.h (record_layout_info_s): New structure.
6962         (record_layout_info): New type.
6963         (new_record_layout_info): New function.
6964         (layout_field): Likewise.
6965         (finish_record_layout): Likewise.
6966         * stor-layout.c (layout_record): Remove.
6967         (new_record_layout_info): New function.
6968         (layout_field): New function, broken out from layout_record.
6969         (finalize_record_size): Likewise.
6970         (compute_record_mode): Likewise.
6971         (finalize_type_size): New function, broken out from layout_type.
6972         (finish_record_layout): Likewise.
6973         (layout_type): Use them.
6974
6975 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
6976
6977         * cpphash.c: Don't include version.h.
6978         (special_symbol) [case T_VERSION]: Look for the string in
6979         hp->value.cpval; don't use version_string.
6980         * cppinit.c (initialize_builtins): Set hp->value.cpval for
6981         __VERSION__ to version_string.
6982         * Makefile.in (cpphash.o): Update deps.
6983
6984 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
6985
6986         Convert cpplib to use libiberty/hashtab.c.
6987
6988         * cpplib.h (struct cpp_reader): Make hashtab and
6989         all_include_files of type 'struct htab *'.  Delete HASHSIZE
6990         and ALL_INCLUDE_HASHSIZE macros.
6991
6992         * cpphash.h: Update prototypes.
6993         (struct hashnode): Remove next, prev, and bucket_hdr members.
6994         Make length a size_t.  Add hash member.
6995         (struct ihash): Remove next member.  Add hash member.  Make
6996         name a flexible array member.
6997
6998         * cppfiles.c: Include hashtab.h.
6999         (include_hash): Delete.
7000         (IHASHSIZE): New macro.
7001         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
7002         (cpp_included): Do the hash lookup here.
7003         (_cpp_find_include_file): Rewrite.
7004         (cpp_read_file): Put the "fake" hash entry into the hash
7005         table.  Honor the control_macro, if it turns out we've seen
7006         the file before.  Don't push the buffer here.
7007         (_cpp_read_include_file): Push the buffer here.
7008         (OMODES): New macro.  Use it whenever we call open(2).
7009
7010         * cpphash.c: Include hashtab.h.
7011         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
7012         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
7013         _cpp_lookup_slot): New functions.
7014         (HASHSIZE): new macro.
7015         (hashf, _cpp_install, _cpp_delete_macro): Delete.
7016         (_cpp_lookup): Use hashtab.h routines.
7017
7018         * cppinit.c: Include hashtab.h.
7019         (cpp_reader_init): Call _cpp_init_macro_hash and
7020         _cpp_init_include_hash.  Don't allocate hashtab directly.
7021         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
7022         pfile->all_include_files.
7023         (initialize_builtins): Use _cpp_make_hashnode and
7024         htab_find_slot to add hash entries.
7025         (cpp_finish): Just call _cpp_dump_macro_hash.
7026         * cpplib.c: Include hashtab.h.
7027         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
7028         create hash entries.
7029         (do_pragma_poison, do_assert): Likewise.
7030         (do_include): Don't push the buffer here.  Don't increment
7031         system_include_depth unless _cpp_read_include_file succeeds.
7032         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
7033         or htab_remove_elt.
7034         (do_pragma_implementation): Use alloca to create copy.
7035
7036         * Makefile.in: Update dependencies.
7037
7038 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7039
7040         * cppinit.c (cl_directive_handler): More K&R fixing.
7041
7042 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
7043
7044         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
7045         STACK_BOUNDARY.
7046         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
7047
7048 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7049
7050         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
7051         Change from char[] to macros.
7052
7053 2000-03-12  Neil Booth  <NeilB@earthling.net>
7054
7055         * cppinit.c (cpp_start_read): Update indirect function
7056         call to K&R C.
7057
7058 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
7059
7060         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
7061         entry.
7062
7063         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
7064         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
7065
7066 2000-03-11  Neil Booth  <NeilB@earthling.net>
7067
7068         * cppinit.c (struct pending option): Replace undef with a
7069         pointer to a directive handling routine.
7070         (struct cpp_pending): Replace separate assert_ and define_
7071         lists with one directive_ list.
7072         (new_pending_define): Rename new_pending_directive. Extra
7073         argument is the directive's handling routine.
7074         (handle_option): Update to use new_pending_directive.
7075
7076 2000-03-11  Neil Booth  <NeilB@earthling.net>
7077
7078         * cppfiles.c (file_cleanup, _cpp_find_include_file,
7079         remap_filename, _cpp_read_include_file, actual_directory,
7080         hack_vms_include_specification): Replace bcopy(), index() etc
7081         calls.  Add casts to some allocations.  Make some variables
7082         pointers to const [unsigned] char.
7083         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
7084         collect_formal_parameters): Similarly.
7085         * cppinit.c (struct pending_option, append_include_chain,
7086         cpp_options_init, cpp_reader_init, initialize_standard_includes,
7087         cpp_start_read, new_pending_define, handle_option): Similarly.
7088         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
7089         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
7090         do_pragma_implementation, detect_if_not_defined,
7091         do_ifdef, skip_if_group, cpp_get_token, parse_string,
7092         do_assert, do_unassert): Similarly.
7093         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
7094         function prototypes.
7095         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
7096
7097 2000-03-10  Richard Henderson  <rth@cygnus.com>
7098
7099         * builtins.c (expand_builtin_strlen): Revert last change.
7100         Use emit_insn_before if we're at the beginning of a sequence.
7101
7102 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
7103
7104         * builtins.c (expand_builtin_strlen): Make sure that we have something
7105         at the beginning of the sequence.
7106
7107         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
7108         deferred inlines.
7109
7110         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
7111
7112 2000-03-10  Richard Henderson  <rth@cygnus.com>
7113
7114         * except.c (can_throw): Use INTVAL on a CONST_INT.
7115         (reachable_handlers): Likewise.
7116         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
7117
7118 2000-03-10  Andreas Jaeger  <aj@suse.de>
7119
7120         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
7121         MD_STARTFILE_PREFIX since those are not needed on linux.
7122         (ASM_FILE_START): New, from mips/gnu.h.
7123
7124 2000-03-09  Richard Henderson  <rth@cygnus.com>
7125             Alex Samuel  <samuel@codesourcery.com> and others
7126
7127         * Makefile.in (ssa.o): New rule.
7128         (OBJS): Add ssa.o.
7129         (STAGESTUFF): Add *.ssa and *.ussa.
7130         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
7131         * rtl.def (PHI): New RTL expression.
7132         * rtl.h (clear_log_links): New declaration.
7133         (convert_to_ssa): Likewise.
7134         (convert_from_ssa): Likewise.
7135         * flow.c (split_edge): If the entry node falls through to the
7136         split edge's source block, split the entry edge.
7137         (clear_log_links): New function.
7138         * toplev.c (ssa_dump): New variable.
7139         (flag_ssa): Likewise.
7140         (f_options): Add "ssa".
7141         (compile_file): Create SSA dump files.
7142         (rest_of_compilation): Go to and from SSA if enabled.
7143         (decide_d_option): Handle -de for SSA dump files.
7144         * ssa.c: New file.
7145
7146 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
7147
7148         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
7149         same as VAR_DECL.
7150
7151 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
7152
7153         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
7154
7155 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
7156
7157         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
7158         (MD_STARTFILE_PREFIX_1): New macro.
7159
7160 2000-03-09  Robert Lipe  <robertl@sco.com>
7161
7162         * config/ia64/ia64.c: Include system.h.
7163
7164 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
7165
7166         * except.c (nothrow_function_p): If -fno-exceptions, just return.
7167         (init_eh_nesting_info): Likewise.
7168
7169         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
7170         (TREE_NOTHROW): Rename from TREE_RAISES.
7171         * toplev.c (rest_of_compilation): Set it.
7172         * print-tree.c (print_node): Adjust.
7173         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
7174         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
7175         * calls.c (emit_call_1): Add 'nothrow' parm.  Add
7176         REG_EH_REGION note as appropriate.
7177         (libfunc_nothrow): New fn.
7178         (emit_library_call, emit_library_call_value): Use it.
7179         (expand_call): Check TREE_NOTHROW.
7180
7181         * varasm.c (make_decl_rtl): Skip initial '*' when setting
7182         DECL_ASSEMBLER_NAME.
7183
7184 2000-03-09  Andreas Jaeger  <aj@suse.de>
7185
7186         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
7187         (TARGET_MEM_FUNCTIONS): Define.
7188
7189 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
7190
7191         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
7192
7193         * except.c (can_throw): See through a SEQUENCE.
7194         (nothrow_function_p): New fn.
7195         * except.h: Declare it.
7196         * function.c (current_function_nothrow): New var.
7197         (prepare_function_start): Initialize it.
7198         * output.h: Declare it.
7199         * toplev.c (rest_of_compilation): Set it.
7200         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
7201
7202 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
7203
7204         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
7205         match.  (cpp_compare_defs): Count the nul separator when
7206         advancing over argument names.
7207
7208 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
7209
7210         * recog.c (preprocess_constraints): Matching constraints affect
7211         same alternative/different operand, not same operand/different
7212         alternative.
7213
7214         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
7215         register and a constant specially.
7216
7217 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7218
7219         * libgcc2.h: New file.
7220         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
7221
7222 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
7223
7224         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
7225         * configure: Regenerate.
7226         * config/ia64: New.
7227
7228 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
7229
7230         * Makefile.in (LIBCPP_DEPS): New macro.
7231         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
7232         it to declare deps.
7233         * cpperror.c: Include cpphash.h.
7234         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
7235         dingleberry.
7236         (lex): Don't use CPP_WARN_UNDEF.
7237         (_cpp_parse_expr): Return an int, the truth value.
7238         * cppfiles.c: Include cpphash.h.
7239         (_cpp_merge_include_chains): Move to cppinit.c and make static.
7240         * cppinit.c (include_defaults_array): Disentangle.
7241         (cpp_cleanup): Don't free the if stack here.
7242         (cpp_finish): Pop off all buffers, not just one.
7243         * cpplib.c (eval_if_expr): Return int.
7244         (do_xifdef): Rename do_ifdef.
7245         (handle_directive): Don't use CPP_PREPROCESSED.
7246         (cpp_get_token): Don't use CPP_C89.
7247         * fix-header.c: Don't use CPP_OPTIONS.
7248
7249         * cpplib.h: Move U_CHAR, enum node_type, struct
7250         file_name_list, struct ihash, is_idchar, is_idstart,
7251         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
7252         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
7253         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
7254         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
7255         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
7256         of _cpp_simplify_pathname, _cpp_find_include_file,
7257         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
7258         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
7259         cppinit.c.
7260         Change all uses of U_CHAR to be unsigned char instead.
7261         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
7262
7263 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
7264
7265         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
7266         (dwarf2out_begin_prologue): Set it.
7267         (output_call_frame_info): Don't emit EH unwind info for leaves.
7268
7269         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
7270         can occur outside of an EH region.
7271         * except.c: Correct comments about rethrow behavior.
7272         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
7273
7274 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
7275
7276         * flow.c (make_edges): Always call make_eh_edge for calls.
7277
7278 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
7279
7280         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
7281         (struct cpp_buffer): Remove fname and underflow fields.
7282         (struct cpp_reader): Remove get_token field.
7283         (struct include_hash): Rename to struct ihash.  Add typedef to
7284         IHASH.
7285         (struct if_stack): Remove fname field.
7286         (IF_STACK_FRAME): Rename to IF_STACK.
7287
7288         * cpperror.c (print_containing_files): Trust that there are no
7289         macro buffers below the top file buffer.
7290         * cppfiles.c: Replace all references to 'struct include_hash'
7291         with 'IHASH'.  Rename initialize_input_buffer to
7292         init_input_buffer.  Don't set or reference cpp_buffer->fname,
7293         use buffer->ihash->name instead.
7294         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
7295         not CPP_NULL_BUFFER.
7296         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
7297         IF_STACK_FRAME, IHASH not struct include_hash.
7298         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
7299         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
7300         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
7301         references to cpp_buffer->fname (delete entirely, or use
7302         ->ihash->name instead) and IF_STACK->fname.
7303         (cpp_push_buffer): Don't set new->underflow.
7304         (do_include): Use cpp_file_buffer.
7305
7306         * cpphash.c (collect_formal_parameters): Remove duplicate
7307         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
7308         used as a macro argument name.  Don't append "..." to namebuf
7309         for varargs macros.  After we're done scanning, go through
7310         namebuf and make it NUL separated, not comma separated.
7311         (_cpp_compare_defs): Remove register tag from variables.
7312         Expect defn->argnames to be NUL separated.
7313         (_cpp_dump_definition): Expect defn->argnames to be NUL
7314         separated and in forward order.
7315         * cpphash.h: Update documentation of argnames field.
7316
7317 2000-03-08  Richard Henderson  <rth@cygnus.com>
7318
7319         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
7320         to fail.  Don't pre-expand the source operand.
7321
7322         * i386.md (strlensi): Initialize eoschar and align before use.
7323
7324 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
7325
7326         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
7327         CONSTRUCTOR element.
7328
7329 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
7330
7331         * mips.c (mips_expand_prologue): If the last
7332         named argument is the vararg marker "va_list", treat it as
7333         an unnamed argument.
7334
7335 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
7336
7337         * dbxout.c (dbxout_parms): When correcting for promoted
7338         big-endian parameters, use the mode of the DECL_RTL rather
7339         than UNITS_PER_WORD.
7340
7341 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
7342
7343         * c-common.h (make_fname_decl): Declare.
7344         * c-common.c (make_fname_decl): Define.
7345         (declare_hidden_char_array): Remove.
7346         (declare_function_name): Use make_fname_decl.
7347         * c-decl.c (c_make_fname_decl): New function.
7348         (init_decl_processing): Set make_fname_decl.
7349
7350 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
7351
7352         * cccp.c (handle_directive): Initialize backslash_newlines_p.
7353
7354 2000-03-07  Philipp Thomas  <pthomas@suse.de>
7355
7356         * po/POTFILES.in: Remove cppalloc.c from file list.
7357
7358 2000-03-07  Steve Chamberlain  <sac@pobox.com>
7359
7360         * pj.c (pj_expand_prologue): current_function->args_info is
7361         now current_function_args_info.
7362
7363         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
7364         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
7365         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
7366
7367 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7368
7369         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
7370         output as hexadecimal rather than the default octal.
7371
7372 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
7373
7374         * cpphash.c (special_symbol): Fix thinko in previous commit.
7375
7376 2000-03-07  Neil Booth  <NeilB@earthling.net>
7377
7378         * cppexp.c (struct operation, left_shift, right_shift,
7379         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
7380         "int"s to "unsigned int"s.
7381         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
7382         Similarly.
7383         * cpplib.h: Update for above.
7384         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
7385         returned from allocations.
7386
7387         * cppinit.c (opt_comp, parse_options): New functions.
7388         (handle_option): Use parse_option to parse a single command
7389         line option, that possibly takes an argument.
7390         (cpp_handle_options): Sort the array of command line options on
7391         first invocation (non-ASCII hosts only).
7392         (print_help): Update.
7393
7394 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
7395
7396         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
7397         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
7398
7399         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
7400         initialized.
7401         * cppinit.c (cpp_cleanup): Free imp->nshort also.
7402
7403         * cpperror.c (cpp_print_containing_files,
7404         cpp_print_file_and_line, v_cpp_message): Rename to
7405         print_containing_files, print_file_and_line, and v_message.
7406         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
7407         to _cpp_parse_expr, parse_escape, and lex.
7408         (parse_charconst): Remove broken multibyte support.
7409         * cppfiles.c (include_hash): Make static.
7410         (cpp_included): New function.
7411         (merge_include_chains, find_include_file, finclude,
7412         simplify_pathname): Rename to _cpp_merge_include_chains,
7413         _cpp_find_include_file, _cpp_read_include_file, and
7414         _cpp_simplify_pathname.
7415         * cpphash.c (cpp_lookup, free_definition, delete_macro,
7416         cpp_install, create_definition, macroexpand, compare_defs,
7417         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
7418         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
7419         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
7420         * cppinit.c (cpp_handle_option): Rename to handle_option, make
7421         static.
7422         * cpplib.c: Remove extern prototype of cpp_parse_expr.
7423
7424         * cpphash.h: Update prototypes.
7425         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
7426
7427 2000-03-07  Andrew Haley  <aph@cygnus.com>
7428
7429         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
7430         PTRDIFF_TYPE should be based solely on Pmode.
7431         (SIZE_TYPE): ditto.
7432
7433 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7434
7435         * rtl.h (rtunion_def): Constify member `rtstr'.
7436         (emit_line_note_after, emit_line_note, emit_line_note_force,
7437         emit_note, decode_asm_operands): Constify.
7438
7439         * cse.c (canon_hash): Likewise.
7440
7441         * dbxout.c (dbxout_block): Likewise.
7442
7443         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
7444         v_warning_for_asm): Likewise.
7445
7446         * dwarfout.c (function_start_label): Likewise.
7447
7448         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
7449         emit_line_note_force): Likewise.
7450
7451         * final.c (last_filename, asm_insn_count, final_scan_insn,
7452         output_source_line): Likewise.
7453
7454         * function.h (struct emit_status): Likewise.
7455
7456         * gcse.c (hash_expr_1): Likewise.
7457
7458         * genattr.c (gen_attr, main): Likewise.
7459
7460         * genattrtab.c (struct function_unit, current_alternative_string,
7461         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
7462         attr_numeral, check_attr_test, check_attr_value,
7463         convert_set_attr_alternative, convert_set_attr,
7464         compute_alternative_mask, simplify_by_exploding, gen_attr,
7465         gen_unit): Likewise.
7466
7467         * genflags.c (gen_insn): Likewise.
7468
7469         * gengenrtl.c (type_from_format): Likewise.
7470
7471         * genopinit.c (gen_insn): Likewise.
7472
7473         * genoutput.c (n_occurrences, process_template, process_template):
7474         Likewise.
7475
7476         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
7477         Likewise.
7478
7479         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
7480         Likewise.
7481
7482         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
7483         ggc_set_mark, ggc_get_size): Likewise.
7484
7485         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
7486
7487         * optabs.c (init_one_libfunc): Likewise.
7488
7489         * output.h (assemble_start_function): Likewise.
7490
7491         * recog.c (decode_asm_operands): Likewise.
7492
7493         * toplev.c (rest_of_compilation): Likewise.
7494
7495         * tree.h (emit_line_note_after, emit_line_note,
7496         emit_line_note_force): Likewise.
7497
7498         * varasm.c (asm_output_bss, asm_output_aligned_bss,
7499         asm_emit_uninitialised, assemble_start_function,
7500         assemble_variable, const_hash, compare_constant_1,
7501         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
7502
7503         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
7504
7505         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
7506
7507         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
7508
7509         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
7510
7511         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
7512         arm_dllimport_name_p): Likewise.
7513
7514         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
7515         Likewise.
7516
7517         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
7518
7519         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7520
7521         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
7522         arm_mark_dllexport, arm_mark_dllimport,
7523         arm_pe_encode_section_info): Likewise.
7524
7525         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
7526         ASM_FINISH_DECLARE_OBJECT): Likewise.
7527
7528         * arm/thumb.c (thumb_function_prologue): Likewise.
7529
7530         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
7531
7532         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7533
7534         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
7535
7536         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
7537
7538         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
7539
7540         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7541
7542         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
7543         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
7544
7545         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
7546
7547         * i386/i386.c (asm_output_function_prefix): Likewise.
7548
7549         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
7550
7551         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7552
7553         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
7554
7555         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
7556         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
7557         ASM_OUTPUT_SECTION_NAME): Likewise.
7558
7559         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
7560
7561         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
7562
7563         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
7564
7565         * m32r/m32r.c (m32r_encode_section_info): Likewise.
7566
7567         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7568
7569         * mcore/mcore.c (mcore_encode_section_info): Likewise.
7570
7571         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7572
7573         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7574
7575         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7576
7577         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
7578
7579         * mips/mips.md (movdi, movsi): Likewise.
7580
7581         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7582
7583         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7584
7585         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7586
7587         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
7588         ASM_OUTPUT_ASCII): Likewise.
7589
7590         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
7591         output_mi_thunk, output_toc): Likewise.
7592
7593         * rs6000/rs6000.md (movsi): Likewise.
7594
7595         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
7596
7597         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
7598
7599         * v850/v850.c (print_operand, print_operand_address,
7600         v850_encode_data_area): Likewise.
7601
7602 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
7603
7604         * config/mips/mips.md (zero_extendsidi2): Always force operand
7605         one to memory for mips16.
7606
7607 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7608
7609         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
7610         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
7611         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
7612         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
7613         (min_precision): Result is unsigned.
7614         (add_double, neg_double, mul_double): Low word is unsigned.
7615         (lshift_double, rshift_double, lrotate_double): Likewise.
7616         (rrotate_double, div_and_round_double): Likewise.
7617         (tree_floor_log2, compare_tree_int): New functions.
7618         (preserve_rtl_expr_temps): New declaration.
7619         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
7620         (decl_attributes): Use tree_log2 to find alignment.
7621         Check for TREE_INT_CST_HIGH for format args.
7622         (min_precision): Now unsigned.
7623         Use tree_floor_log2.
7624         (truthvalue_conversion): Delete long-disabled code.
7625         * c-decl.c (finish_struct): Clean up tests on field width.
7626         (finish_function): Use compare_tree_int.
7627         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
7628         * c-typeck.c (comptypes): Use tree_int_cst_equal.
7629         (default_conversion, digest_init): Use compare_tree_int.
7630         (build_binary_op): Use integer_all_onesp and compare_tree_int.
7631         Fix type errors in forming masks.
7632         * calls.c (initialize_argument_information): Use compare_tree_int.
7633         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
7634         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
7635         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
7636         (store_field): Use compare_tree_int.
7637         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
7638         (expand_expr, case ARRAY_REF): Use compare_tree_int.
7639         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
7640         (do_store_flag): Use compare_tree_int.
7641         * fold-const.c (encode, decode): Low part is always unsigned.
7642         (force_fit_type, add_double, neg_double, mul_double): Likewise.
7643         (lshift_double, rshift_double, lrotate_double): Likewise.
7644         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
7645         (fold_convert): Use compare_tree_int.
7646         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
7647         (invert_truthvalue, case INTEGER_CST): Likewise.
7648         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
7649         * mkdeps.c (deps_dummy_targets): Make I unsigned.
7650         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
7651         (lshift_double, rshift_double, lrotate_double, rrotate_double):
7652         Likewise.
7653         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
7654         (expand_end_case): Use compare_tree_int.
7655         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
7656         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
7657         (layout_decl): Likewise.
7658         (layout_record, layout_union): Make sizes unsigned.
7659         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
7660         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
7661         * tree.c (struct type_hash): hashcode is unsigned.
7662         (build_type_attribute_variant, type_hash_list): Likewise.
7663         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
7664         (attribute_hash_list, build_array_type, build_method_type): Likewise.
7665         (build_complex_type): Likewise.
7666         (real_value_from_int_cst): Remove unneeded casts.
7667         (integer_all_onesp): Add casts.
7668         (tree_floor_log2, compare_tree_int): New functions.
7669         (build_index_type): Use tree_int_cst_sgn.
7670         * varasm.c (assemble_variable): Use compare_tree_int.
7671
7672 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
7673
7674         * cpphash.c (collect_expansion): Also catch ## at start of macro.
7675
7676         * varasm.c (make_decl_rtl): Don't add a number to members of
7677         local classes.
7678         (make_function_rtl): Likewise.
7679
7680 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7681
7682         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
7683         patch from 2000-01-28.
7684
7685 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
7686
7687         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
7688         filled with an insn from the jump target.
7689
7690 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7691
7692         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
7693         (c4x_external_ref): Likewise.
7694         * config/c4x/c4x.c (struct name_list): Likewise.
7695
7696 1999-12-16  Ben Collins  <bcollins@debian.org>
7697
7698         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
7699         argument to genmultilib.
7700         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
7701         the contents into the multilib.h header.
7702         * gcc.c: Declare multilib_exclusions for the specs file.
7703         (set_multilib_dir): Use it.
7704         (print_multilib_info): Likewise.
7705         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
7706         to pass to genmultilib.
7707
7708 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7709
7710         * builtins.c (built_in_class_names, built_in_names): Constify a
7711         char*.
7712
7713         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
7714         int.
7715         (_mcleanup): Ensure value matches format specifier in sprintf.
7716
7717         * cpphash.c (special_symbol): Don't needlessly cast away
7718         const-ness.
7719
7720         * cppinit.c (base_name): Delete unused prototype.
7721
7722         * mkdeps.c (deps_init): Make definition K&R safe.
7723
7724         * tree.h (built_in_class_names, built_in_names): Constify a
7725         char*.
7726
7727 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
7728
7729         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
7730         floating point instructions for epilogue delay.
7731
7732         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
7733         to gas if it supports .register pseudo.
7734
7735         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
7736         LONG_DOUBLE_TYPE_SIZE if not defined.
7737         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
7738         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
7739         * real.c: Likewise.
7740         * gengenrtl.c: Likewise.
7741         * print-rtl.c: Likewise.
7742         * rtl.c: Likewise.
7743         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
7744         MASK_LONG_DOUBLE_128.
7745         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
7746         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
7747         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
7748         (SUBTARGET_SWITCHES): Define.
7749         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
7750         with -mlong-double-128.
7751         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
7752         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
7753         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
7754         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
7755         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
7756         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
7757         with -mlong-double-128.
7758         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
7759         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
7760         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
7761         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
7762         TARGET_LONG_DOUBLE_128): Define.
7763         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
7764         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
7765         long double on TARGET_ARCH64.
7766
7767 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
7768
7769         * function.c (free_temps_for_rtl_expr): Don't free slots
7770         that have been pushed into a higher level.
7771
7772         Revert this patch:
7773         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
7774
7775 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
7776
7777         * basic-block.h (ALLOCA_REG_SET): Remove.
7778         (INITIALIZE_REG_SET): New macro.
7779         * flow.c (update_life_info): Use it.
7780         (calculate_global_regs_live): Likewise.
7781         (propagate_block): Likewise.
7782         * global.c (build_insn_chain): Likewise.
7783         * haifa-sched.c (schedule_region): Likewise.
7784
7785 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
7786
7787         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
7788         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
7789         (DWARF_ARANGES_PAD_SIZE): New define.
7790         (output_aranges): Use it to pad the address range header.
7791         (DWARF_ROUND): Fix for non power of 2 rounding.
7792
7793 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
7794
7795         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
7796
7797 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
7798
7799         * tree.def (RTL_EXPR): Update documentation.
7800         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
7801         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
7802         * function.c (preserve_rtl_expr_temp): New function.
7803         (preserve_rtl_expr_temps): Likewise.
7804         (preserve_rtl_expr_result): Use it.
7805
7806         Revert this patch:
7807         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
7808
7809 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
7810
7811         * regmove.c (copy_src_to_dest)  Do not create src->dest move
7812         for unchanging destination.
7813
7814 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
7815
7816         * function.h (struct sequence_stack): Remove rtl_expr.
7817         (struct emit_staus): Likewise.
7818         (seq_rtl_expr): Remove.
7819         * tree.h (free_temps_for_rtl_expr): Don't declare.
7820         (start_sequence_for_rtl_expr): Likewise.
7821         * rtl.h (preserve_rtl_expr_result): Likewise.
7822         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
7823         (start_sequence_for_rtl_expr): Remove.
7824         (push_topmost_sequence): Don't save sequence_rtl_expr.
7825         (pop_topmost_sequence): Remove comment about not restoring it.
7826         (end_sequence): Don't set seq_rtl_expr.
7827         (init_emit): Don't initialize it.
7828         (mark_sequence_stack): Don't mark it.
7829         (mark_emit_status): Likewise.
7830         * except.c (protect_with_terminate): Use
7831         start_sequence_for_rtl_expr, not start_sequence.
7832         * expr.c (expand_expr, case RTL_EXPR): Don't call
7833         preserve_rtl_expr_result or free_temps_for_rtl_expr.
7834         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
7835         (preserve_rtl_expr_result): Remove.
7836         (free_temps_for_rtl_expr): Likewise.
7837         (pop_temp_slots): Likewise.
7838         (mark_temp_slot): Don't mark the rtl_expr.
7839         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
7840         start_sequence_for_rtl_expr.
7841
7842 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
7843
7844         * mkdeps.c, mkdeps.h: New files.
7845         * po/POTFILES.in: Add them.
7846         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
7847         (cpplib.o, cppinit.o): Depend on mkdeps.h.
7848         (mkdeps.o): New target.
7849
7850         * cppfiles.c: Delete deps_output.
7851         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
7852         OBJECT_SUFFIX, and base_name.
7853         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
7854         the include hash.
7855         (initialize_dependency_output): Use deps_init,
7856         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
7857         all the unnecessary string bashing.
7858         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
7859         level.
7860         * cpplib.c (do_include): Use deps_add_dep.
7861         * cpplib.h (struct cpp_reader): Replace deps_buffer,
7862         deps_allocated_size, deps_size, deps_column members with
7863         single pointer to a struct deps.  Delete prototype of
7864         deps_output.
7865
7866         * cppinit.c: Fix thinko in previous patch.
7867
7868 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7869
7870         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
7871         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
7872         (mode_for_size_tree): New function.
7873         (layout_decl, layout_type): Call it and clean up BLKmode checks.
7874         * tree.h (mode_for_size_tree): New declaration.
7875
7876         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
7877
7878 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
7879
7880         * stmt.c (is_body_block): Move...
7881         * dwarfout.c, dwarf2out.c: ...from here.
7882         * tree.h: Declare it.
7883         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
7884         * final.c (final_start_function): Do call remove_unnecessary_notes
7885         when scheduling.
7886
7887 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
7888
7889         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
7890
7891         * cpplib.h (_dollar_ok): New macro.
7892         (is_idchar, is_idstart): Use it.
7893         (IStable): Rename to _cpp_IStable.  Declare it const if
7894         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
7895         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
7896         is_space): Update for renamed IStable.
7897
7898         * cppinit.c: Delete all references to FAKE_CONST and CAT
7899         macros. Define init_IStable as empty macro if gcc >=2.7 or
7900         C99. Change TABLE() to ISTABLE and hardcode name of table.
7901         (cpp_start_read): Don't change the IStable based on
7902         dollars_in_ident.
7903
7904         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
7905         changed.  Handle '$' for char1 correctly.
7906         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
7907
7908         * cppexp.c (tokentab2): Make const.
7909         (cpp_lex): Make toktab const.
7910         * cppinit.c (include_defaults_array): Make const.
7911         (initialize_standard_includes): Make default_include const.
7912
7913 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
7914
7915         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
7916         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
7917         (gen_decl_die): Likewise.
7918         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
7919         (output_decl): Likewise.
7920
7921         * varasm.c (make_function_rtl): If we change the name used in the
7922         rtl, update DECL_ASSEMBLER_NAME accordingly.
7923         (make_decl_rtl): Likewise.
7924
7925         * toplev.c (rest_of_compilation): Tweak formatting.
7926
7927         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
7928         remove_unnecessary_notes.
7929         (debug_ignore_block): New fn.
7930         * toplev.h: Declare it.
7931         * emit-rtl.c (remove_unncessary_notes): Call it.
7932         * dwarf2out.c (dwarf2out_ignore_block): New fn.
7933         * dwarf2out.h: Declare it.
7934         * final.c (final_start_function): Don't call remove_unnecessary_notes
7935         if we did insn scheduling.
7936
7937 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
7938
7939         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
7940         * cpplib.h: Delete SET_CPP_PEDANTIC.
7941
7942 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7943
7944         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
7945         result is a RECORD_TYPE.
7946
7947 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
7948
7949         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
7950
7951 2000-03-03  Richard Henderson  <rth@cygnus.com>
7952
7953         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
7954         addition over compliments over shifts.
7955
7956 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7957
7958         * reload1.c (reload_combine_note_use): Handle return register USEs.
7959         REG case: Handle multi-hard-register hard regs.
7960
7961 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7962
7963         * md.texi: Document use of '*' in insn pattern name.
7964
7965 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
7966
7967         * calls.c (special_function_p): operator new may not be malloc-like.
7968
7969         * gcse.c (dump_hash_table): Really fix error in last change.
7970
7971 2000-03-02  Denis Chertykov  <denisc@overta.ru>
7972
7973         * avr.c (print_operand): Use print_operand_address instead of
7974         output_addr_const.
7975         * avr/libgcc.S: Cleanup code.
7976
7977 2000-03-02  Richard Henderson  <rth@cygnus.com>
7978
7979         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
7980
7981 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
7982
7983         * tree.h (TYPE_ALIGN_UNIT): New macro.
7984
7985 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
7986
7987         * i386.c: (constant_call_address_operand): Reject CONST_INT.
7988
7989 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
7990
7991         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
7992         for the buffer.
7993         (SET_CPP_PEDANTIC): New macro.
7994         * cpplib.c (do_include): Don't bother checking system_header_p.
7995         (do_warning, do_ident, do_assert, do_unassert): Likewise.
7996         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
7997
7998         * function.h (struct expr_status): Add x_arg_space_so_far.
7999         (arg_space_so_far): New macro.
8000         * expr.c (init_expr): Initialize it.
8001         * calls.c (emit_call_1): Reset it.
8002         (compute_argument_block_size, expand_call): Use it.
8003         (expand_call, store_one_arg): Increment it.
8004
8005 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8006
8007         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
8008         a UNION_TYPE.
8009
8010 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
8011
8012         * cppfiles.c (cpp_read_file): New function.
8013
8014         * cpphash.c (collect_expansion): Make sure to reset last_token
8015         to NORM when we hit a string.  Handle trailing whitespace
8016         properly when the expansion is empty.
8017         (create_definition): Disable line commands while parsing the
8018         directive line.
8019         (dump_definition): If pfile->lineno == 0, output a line
8020         command ahead of the dump, and add a trailing newline.
8021
8022         * cppinit.c (append_include_chain): Add fifth argument, which
8023         indicates whether or not system headers are C++ aware.
8024         (initialize_standard_includes): New function,
8025         broken out of read_and_prescan.  Pass 'cxx_aware' value from
8026         the include_defaults_array on to append_include_chain.
8027         (dump_special_to_buffer): Const-ify char array.
8028         (builtin_array): Don't dump __BASE_FILE__.
8029         (cpp_start_read): Use cpp_read_file.  Reorder code for
8030         clarity.  Don't output line commands here for -D/-A/-U
8031         switches.  Don't call deps_output for files included with
8032         -include or -imacros.
8033
8034         * cpplib.c (do_define): Don't pay any attention to the second
8035         argument.
8036         (cpp_expand_to_buffer): Disable line commands while scanning.
8037         (output_line_command): Work in the file buffer.
8038         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
8039         Fix formatting of comments.  Prototype cpp_read_file.
8040
8041 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8042
8043         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
8044         reference the language-equivalent of sizetype.
8045         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
8046         * fold-const.c (size_binop, size_diffop): Put back checks.
8047         * gcse.c (dump_hash_table): Fix minor error in last change.
8048         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
8049         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
8050         all sizetypes.
8051
8052 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
8053
8054         * calls.c (expand_call)  Do not attempt to combine stack adjustments
8055         with inhibit_defer_pop set.
8056
8057 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
8058
8059         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
8060         the DECL_SIZE for a FIELD_DECL.
8061
8062 2000-03-01  Bruce Korb  <bkorb@gnu.org>
8063
8064         * fixinc/inclhack.tpl: remove unused symlinks
8065         * fixinc/README: GCC Maintainer info
8066         * fixinc/inclhack.sh: regen
8067         * fixinc/fixincl.sh: regen
8068
8069 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
8070
8071         * cpphash.c (collect_expansion): Trim trailing white space
8072         from macro definitions, but don't go past the last insertion
8073         point.
8074
8075 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
8076
8077         * i386.md (mulqi3): New pattern.
8078
8079 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
8080
8081         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
8082         token types.
8083         (struct cpp_reader): Add parsing_if_directive and
8084         parsing_define_directive flags.
8085         (struct cpp_options): Remove output_conditionals flag.
8086         (check_macro_name): Delete prototype.
8087
8088         * cpphash.h (struct macrodef): Delete.
8089         (struct reflist): Separate from struct definition.
8090         (struct definition): Remove unused fields.  Add column number.
8091         (create_definition): Returns a DEFINITION *.  Takes a
8092         cpp_reader * and an int.
8093
8094         * cpphash.c (SKIP_WHITE_SPACE): Delete.
8095         (PEEKC): Copy defn from cpplib.c.
8096         (rest_extension, REST_EXTENSION_LENGTH): Delete.
8097         (struct arg): New.
8098         (struct arglist): Simplify.
8099         (collect_expansion): Rewrite.  Get tokens by calling
8100         cpp_get_token.  Add more error checking.
8101         (collect_formal_parameters): New function, broken out of
8102         create_definition and reworked to use get_directive_token.
8103         (create_definition): All real work is now in collect_expansion
8104         and collect_formal_parameters.  do_define handles finding the
8105         macro name.  Return a DEFINITION, not a MACRODEF.
8106         (macroexpand): Replace bcopy with memcpy throughout.  Replace
8107         character-at-a-time copy loop with memcpy and pointer increments.
8108         (compare-defs): d1->argnames / d2->argnames might be null.
8109
8110         * cpplib.c (copy_rest_of_line): Delete function.
8111         (skip_rest_of_line): Do all the work ourselves.
8112         (skip_string): New function.
8113         (parse_string): Use skip_string.
8114         (get_macro_name): New function.
8115         (check_macro_name): Delete.
8116         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
8117         (cpp_skip_hspace): Use CPP_BUMP_LINE.
8118         (handle_directive): ICE if we're called on a macro buffer.
8119         (do_define): Determine macro name and type (funlike/objlike)
8120         here.  Expunge all uses of MACRODEF.
8121         (cpp_push_buffer): Set line_base to NULL.
8122         (do_undef, read_line_number): Don't worry about getting a POP token.
8123         (eval_if_expression): Set/reset parsing_if_directive around
8124         cpp_parse_expr. Don't clear only_seen_white.
8125         (skip_if_group): Remove output_conditionals logic.  Use
8126         skip_rest_of_line.
8127         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
8128         tokens under appropriate conditions.
8129         (cpp_unassert): Call do_unassert not do_assert.  Oops.
8130
8131         * cppexp.c (parse_defined): New function, break out of
8132         cpp_lex.
8133         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
8134         ourselves, with cpp_defined.
8135         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
8136
8137         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
8138         * gcc.dg/strpaste-2.c: New.
8139
8140 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
8141
8142         * fold-const.c (size_binop): Don't asert inputs are the same and
8143         have TYPE_IS_SIZETYPE set.
8144         (size_diffop): Likewise.
8145
8146 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
8147
8148         * dwarfout.c (output_block): Output abstract blocks even if they
8149         don't have TREE_ASM_WRITTEN set.
8150
8151         * calls.c (emit_library_call): Check for null REG.
8152
8153 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
8154
8155         * c-decl.c (current_function_decl): Move to toplev.c.
8156         (init_decl_processing): Don't add current_function_decl as a ggc
8157         root here.
8158         * dbxout.c (dbxout_symbol): Change return type to int.
8159         (dbxout_symbol_location, dbxout_syms): Likewise.
8160         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
8161         any locals. Use current_function_func_begin_label if set.
8162         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
8163         * dwarf2out.c (dwarf2out_begin_prologue): Set
8164         current_function_func_begin_label.
8165         * final.c (final_start_function): Reset it.
8166         * toplev.c (current_function_decl): Define it here.
8167         (current_function_func_begin_label): New variable.
8168         (main): Add both as ggc roots.
8169         * tree.h (current_function_func_begin_label): Declare.
8170
8171 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8172
8173         * gcse.c: Cleanups throughout: mostly white-space, but also
8174         some minor rearrangement of code.
8175
8176 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
8177
8178         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
8179         returns a PARALLEL.  Use emit_group_load and use_group_regs
8180         as needed.
8181         (emit_library_call_value): Similarly.
8182
8183         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
8184         * pa/quadlib.asm: Remove.
8185         * pa/quadlib.c: New file.
8186
8187         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
8188         * configure: Rebuilt.
8189
8190 2000-02-29  Philip Blundell  <pb@futuretv.com>
8191
8192         * config/arm/conix-elf.h: New file.
8193         * configure.in (arm*-*-conix*): New configuration.
8194         * configure: Regenerate.
8195
8196 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
8197
8198         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
8199         don't have TREE_ASM_WRITTEN set.
8200
8201 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8202
8203         * Eliminate DECL_FIELD_SIZE.
8204         * builtins.c (built_in_class_names, built_in_names): New variables.
8205         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
8206         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
8207         DECL_SIZE, not DECL_FIELD_SIZE.
8208         * print-tree.c (print_node): Remove code that prints extra blank
8209         lines in some cases.
8210         Properly handle inline and builtin function cases.
8211         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
8212         * tree.h (built_in_class_named, built_in_names): New declarations.
8213         (union tree_decl): Rename internal unions to u1 and u2 and change
8214         some of their components.
8215         Add new field built_in_class.
8216         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
8217         Reflect above changes.
8218         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
8219         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
8220         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
8221         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
8222
8223 2000-02-28  Dmitri Makarov  <dim@windriver.com>
8224
8225         * extend.texi: Document ARM's support for long/short calls.
8226
8227         * invoke.texi: Document ARM's -mlong-calls command line switch.
8228
8229         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
8230         (arm_encode_call_attribute): Add prototype.
8231         (arm_set_default_type_attribute): Add prototype.
8232         (arm_strip_name_encoding): Add prototype.
8233
8234         * config/arm/arm.c (arm_init_cumulative_args): replace
8235         initialisation og 'long_calls' field with initialisation of
8236         'call_cookie' field.
8237         (enum arm_pragma_enum): New enum.
8238         (arm_pragma_long_calls): New static variable.
8239         (arm_process_pragma): Also process "#pragma long_calls_off".
8240         (arm_valid_type_attribute_p): Accept short_call attribute.
8241         (arm_comp_type_attributes): Check long/short call attributes.
8242         (arm_encode_call_attribute):  New function:  Encode long_call
8243         or short_call attribute in function name.
8244         (arm_set_default_type_attributes): New function: Assign
8245         default attributes to newly defined type.
8246         (current_file_function_operand): New function: Return true if
8247         the symbol is a function which has already been compiled.
8248         (arm_is_longcall_p): New function: Return true if the
8249         indicated function should be called via a long call.
8250         (arm_get_strip_length): New function.  Returns number of
8251         prefix characters to be stripped from a function's name.
8252         (arm_strip_name_encoding): New function.  Strip prefix characters
8253         from a function's name.
8254
8255         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
8256         with 'call_cookie'.
8257         (SHORT_CALL_FAG_CHAR): Define.
8258         (LONG_CALL_FAG_CHAR): Define.
8259         (ENCODED_SHORT_CALL_ATTR_P): Define.
8260         (ENCODED_LONG_CALL_ATTR_P): Define.
8261         (ARM_NAME_ENCODING_LENGTHS): Define.
8262         (STRIP_NAME_ENCODING): Define.
8263         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
8264         (ARM_ENCODE_CALL_TYPE): Define.
8265         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
8266         (ARM_DECLARE_FUNCTION_SIZE): Define.
8267         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
8268
8269         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
8270         if a long call is needed.
8271         (call_value): Ditto.
8272         (call_symbol): Ditto.
8273
8274         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
8275         ARM_DECLARE_FUNCTION_SIZE.
8276
8277         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
8278         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
8279         (ARM_STRIP_NAME_ENCODING): Undefine.
8280         (STRIP_NAME_ENCODING): Undefine.
8281         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
8282         (ASM_DECLARE_FUNCTION_NAME): Ditto.
8283         (ASM_OUTPUT_COMMON): Ditto.
8284         (ASM_DECLARE_OBJECT_NAME): Ditto.
8285
8286         * config/arm/pe.c (arm_dllexport_name_p): Check for
8287         ARM_PE_FLAG_CHAR.
8288         (arm_dllimport_name_p): Ditto.
8289         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
8290         (arm_mark_dllimport): Ditto.
8291
8292 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8293
8294         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
8295
8296 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
8297
8298         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
8299
8300 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
8301
8302         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
8303         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
8304         NO_BUILTIN_WCHAR_TYPE is not defined.
8305         (CPP_WCHAR_TYPE): Delete.
8306         * cccp.c (main): Don't change wchar_type if cplusplus.
8307         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
8308
8309 2000-02-28  Nick Clifton  <nickc@cygnus.com>
8310
8311         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
8312
8313 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
8314
8315         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
8316         (ASM_WEAKEN_LABEL): Define.
8317
8318 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
8319
8320         * expr.c (store_constructor): Do not emit USE.
8321         * rtl.h (stupid_life_analysis): Remove.
8322
8323 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8324
8325         * function.c (number_blocks): Reset next_block_index based on
8326         what debugging format is used, not what is defined.
8327
8328         * lcm.c: Minor reformatting throughout.
8329         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
8330
8331         * toplev.c (rest_of_compilation): Account for time in
8332         optimize_mode_switching.
8333
8334         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
8335         if only marking labels.
8336
8337 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
8338
8339         * calls.c (expand_call): Attempt to combine stack adjustments with
8340         pending stack adjustments.
8341
8342 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8343
8344         * loop.c (reg_in_basic_block_p): Don't abort when falling through
8345         to the end of the function.
8346
8347 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
8348
8349         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
8350         blocks.
8351         * final.c (next_block_index): Remove.
8352         (max_block_depth): Likewise.
8353         (pending_blocks): Likewise.
8354         (init_final): Don't initialize them.
8355         (final_start_function): Don't set next_block_index.  Set up
8356         BLOCK_NUMBER.
8357         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
8358         * function.h (number_blocks): New function.
8359         * function.c (get_block_vector): New function.
8360         (identify_blocks): Use it.
8361         (reorder_blocks): Set NOTE_BLOCK.
8362         (number_blocks): New function.
8363         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
8364         * tree.h (BLOCK_NUMBER): New macro.
8365         (tree_block): Add block_num field.
8366         * dbxout.c (next_block_number): Remove.
8367         (dbxout_init): Don't set it.
8368         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
8369         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
8370         block numbers.
8371         * toplev.c (rest_of_compilation): Always call
8372         find_loop_tree_blocks.  Fix indentation.
8373         * dwarf2out.c (next_block_number): Remove.
8374         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
8375         to determine block numbers.
8376         (gen_inlined_subroutine_die): Likewise.
8377         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
8378         (decls_for_scope): Don't increment next_block_number.
8379         * dwarfout.c (next_block_number): Remove.
8380         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
8381         to determine block numbers.
8382         (output_inlined_subroutine_die): Likewise.
8383         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
8384         (output_decls_for_scope): Don't increment next_block_number.
8385         * sdbout.c (next_block_number): Remove.
8386         (sdbout_block): Use BLOCK_NUMBER.
8387         (sdbout_begin_block): Simplify.
8388         * xcoffout.c (next_block_number): Remove.
8389         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
8390         (xcoffout_begin_block): Don't set next_block_number.
8391         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
8392         next_block_number.
8393
8394 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8395
8396         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
8397         (expand_builtin_strcpy): Pass correct type to size_binop.
8398         (expand_builtin_strcmp): Likewise.
8399         Clean up conditional structure.
8400         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
8401         (complete_array_type): Don't use size_binop for MAXINDEX.
8402         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
8403         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
8404         (c_alignof): Use size_one_node.
8405         (build_unary_op): Pass arg of proper type to size_binop.
8406         (really_start_incremental_init, push_init_level): Use sizetype for
8407         constructor{,_bit,_unfilled}_index.
8408         (pop_init_label, output_init_element): Likewise.
8409         (output_pending_init_elements, process_init_element): Likewise.
8410         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
8411         * expr.c (store_expr): Use size_int.
8412         (store_constructor): Use proper types for size_binop args.
8413         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
8414         (expand_expr_unaligned): Likewise.
8415         (string_contant): Return object of sizetype.
8416         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
8417         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
8418         (ARGS_SIZE_TREE): Pass proper types to size_binop.
8419         * fold-const.c (int_const_binop): Refine when size_int is called.
8420         (fold_convert): Likewise.
8421         (size_int_wide): Rework to take KIND as arg, only take low order
8422         bits, handle new sizetype_tab datatype, and chain entries in
8423         size_table.
8424         (size_int_type_wide): New function.
8425         (size_binop): Validate types of arguments.
8426         (ssize_binop): Deleted.
8427         (size_diffop): New function.
8428         (extract_muldiv): Only fold division into multiplication for sizetypes.
8429         * function.c (assign_parms): Use size_diffop and make sure
8430         VAR field is of ssizetype; also pass proper type to size_binop.
8431         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
8432         (round_down): Deleted from here.
8433         * store-layout.c (sizetype_tab): Now an array.
8434         (sizetype_set, early_root_list): New variables.
8435         (variable_size): Use size_one_node.
8436         (round_up): Pass proper type to size_binop.
8437         (round_down): Moved to here and corrected as above.
8438         (layout_record): Pass proper arg types to size_binop.
8439         (layout_type): Likewise.
8440         If sizetype_set is zero, record the type just laid out.
8441         (make_unsigned_type): Don't call set_sizetype;
8442         (make_signed_type): Likewise; also, call fixup_signed_type.
8443         (initialize_sizetypes): New function.
8444         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
8445         set name of bitsizetype to "bit_size_type".
8446         Fix up type of sizes of all types made before call.
8447         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
8448         * tree.c (fix_sizetype): Deleted.
8449         (build_common_tree_nodes): Call initialize_sizetypes.
8450         (build_common_tree_nodes_2): Don't call fix_sizetype.
8451         * tree.h (TYPE_IS_SIZETYPE): New macro.
8452         (initialize_sizetype): New declaration.
8453         (enum size_type_kind): New type.
8454         (struct sizetype_tab): Deleted.
8455         (sizetype_tab): Now array; adjust sizetype macros.
8456         (size_diffop, size_int_type_wide): New functions.
8457         (size_int_wide): Change number of args and type; access macros changed.
8458         (ssize_int, sbitsize_int): New macros.
8459         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
8460         (ROUND_TYPE_SIZE_UNIT): New macro.
8461
8462 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
8463
8464         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
8465
8466 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8467
8468         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
8469         Mark as possibly unused.
8470
8471         * cse.c (cse_insn): Delete dead code involving tablejump.
8472         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
8473
8474         * Makefile.in (libcpp.a): Start by deleting it.
8475
8476 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8477
8478         * cpplib.h (enum file_change_code): Added rename_file.
8479         * cpplib.c (do_line): If a filename is given, set file_change to
8480         rename_file.
8481         (output_line_command): If file_change is rename_file, always
8482         output a # directive with the file name.
8483
8484         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
8485
8486 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
8487
8488         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
8489         when copying a PARM_DECL or RESULT_DECL.
8490
8491 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8492
8493         * fix-header.c (recognized_function): Also fix prototypes for
8494         functions taking "void".
8495
8496 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
8497
8498         * reload1.c (do_output_reload): Check reg_reloaded_valid before
8499         looking at reg_reloaded_contents.
8500
8501 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
8502
8503         * Makefile.in (STMP_FIXINC): New toggle.
8504         (LIBGCC2_DEPS): Delete all references.
8505         (stmp-headers): Delete target.  All references either deleted
8506         or changed to stmp-int-headers.
8507         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
8508         (LIBCPP_OBJS): Take out cppalloc.o.
8509         (cppalloc.o): Delete target.
8510         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
8511         (gen-protos, fix-header): Link with libiberty.a.
8512         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
8513         to empty.
8514
8515         * configure.in: Remove refs to strerror.
8516         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
8517         * system.h: Take out strerror stanza.
8518
8519         * cpperror.c (my_strerror): Delete function.
8520         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
8521         * cppmain.c (main): Call xmalloc_set_program_name first thing.
8522         * cppalloc.c: Delete file.
8523         * gen-protos.c: Don't provide xrealloc.
8524
8525         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
8526         xstrerror throughout.
8527
8528 2000-02-26  Bruce Korb  <bkorb@gnu.org>
8529
8530         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
8531         match for DOS headers, too.
8532         * fixinc/inclhack.sh,fixincl.x: Regenerate.
8533
8534 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
8535
8536         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
8537         is right for most ELF targets.
8538         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
8539         Let the default file use %U properly.
8540         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
8541         default.
8542
8543         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
8544         numbers.
8545
8546 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8547
8548         * toplev.c (documented_lang_options): Correct spelling error.
8549         (decode_d_option, decode_f_option, main): Likewise.
8550
8551         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
8552
8553         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
8554         to tell assembler it is permitted to expand large constants.
8555
8556 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
8557
8558         * protoize.c: (AUX_INFO_SUFFIX): New macro.
8559         (aux_info_suffix): Use.
8560         (SAVE_SUFFIX): New macro.
8561         (save_suffix): Use.
8562         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
8563         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
8564         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
8565
8566         * invoke.texi (Running Protoize): Update documentation.
8567
8568 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
8569
8570         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
8571
8572 2000-02-25  John Wehle  (john@feith.com)
8573
8574         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
8575
8576 2000-02-25  Anthony Green  <green@cygnus.com>
8577
8578         * toplev.c (rest_of_compilation): Rebuild jump labels if
8579         combine_instructions has created a new direct jump.
8580         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
8581         when appropriate.
8582         (combine_instructions): Call try_combine with new argument.
8583         Return non-null value when new direct jump instruction is created.
8584         * rtl.h: combine_instructions returns an int.
8585
8586 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
8587
8588         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
8589         jump when changing a computed jump into a jump to a known
8590         target.
8591
8592 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
8593
8594         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
8595         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
8596
8597         * i386.md (define_expand "clrstrsi"): Fix typo.
8598
8599 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
8600
8601         * rtl.texi: Fix typo.
8602
8603 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8604
8605         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
8606         UNITS_PER_WORD.  Change caller initial_elimination_offset.
8607         (rounded_frame_size): Take into account that argument pushed has
8608         changed.  Fix TARGET_ALIGN_DOUBLE problem.
8609
8610 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
8611
8612         * haifa-sched.c (schedule_block): Explain the real reason
8613         we delete REG_SAVE_NOTEs on the first insn of a block.
8614         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
8615
8616 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
8617
8618         * input.h (push_srcloc): New function.
8619         (pop_srcloc): Likewise.
8620         * toplev.c (push_srcloc): Define it.
8621         (pop_srcloc): Likewise.
8622
8623 2000-02-24  Richard Henderson  <rth@cygnus.com>
8624
8625         * flow.c (life_analysis): When collecting reg info, clear
8626         regs_ever_live.
8627
8628 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8629
8630         Fix bug exposed by reload.c no longer rounding the frame
8631         size to BIGGEST_ALIGNMENT:
8632         * sh.c (rounded_frame_size): New function.
8633         (sh_expand_prologue, sh_expand_epilogue): Use it.
8634         (initial_elimination_offset): Likewise.
8635
8636 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8637
8638         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
8639         * sh-protos.h (sh_need_epilogue): Declare.
8640         * sh.c (sh_need_epilogue_known): New static variable.
8641         (sh_need_epilogue): New function.
8642         (function_epilogue): Clear need_epilogue_known.
8643         * sh.md (return): Split into expander / insn pattern.
8644         Make the expander conditional on ! sh_need_epilogue ().
8645
8646 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
8647
8648         * machmode.h (get_mode_alignment): Declare.
8649         (GET_MODE_ALIGNMENT): Call it.
8650         * stor-layout.c (get_mode_alignment): New function. Make
8651         sure alignment is always power of 2.
8652
8653 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
8654
8655         * i386.h: Remove useless definition of "I386" and misleading
8656         comment above it.
8657
8658 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
8659
8660         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
8661         under which TREE_PERMANENT will be set.
8662         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
8663         build1): Use TREE_SET_PERMANENT.
8664         * print-tree.c (print_node): Don't report value of
8665         TREE_PERMANENT if ggc_p is true.
8666
8667         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
8668         decide whether to give a type a new alias set.
8669         * objc/objc-act.c (build_objc_string_object): Never copy the string.
8670         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
8671         of value of 'obstack'.
8672
8673
8674 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8675
8676         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
8677
8678 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8679
8680         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
8681         * cpplib.c (cpp_get_token): Produce them.
8682         * cppexp.c (cpp_lex): Handle them.
8683
8684 2000-02-23  Nick Clifton  <nickc@cygnus.com>
8685
8686         * config/arm/arm.c (arm_comp_type_attributes): Simply and
8687         comment tests on type attributes.
8688
8689 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8690
8691         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
8692         conform to documentation.
8693         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
8694         to check for special cases.
8695         * sh-protos.h (sh_loop_align): Declare.
8696         * sh.c (sh_loop_align): Define.
8697
8698 2000-02-22  Andrew Haley  <aph@cygnus.com>
8699
8700         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
8701         (SIZE_TYPE): Is 32 bits when using -mgp32.
8702         (PTRDIFF_TYPE): Ditto.
8703
8704 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8705
8706         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
8707
8708 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
8709
8710         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
8711         BIGGEST_FIELD_ALIGNMENT a constant.
8712
8713 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
8714
8715         * dwarf2out.c (output_line_info): Put the marker for the end of
8716         the line number info at the actual end.
8717         (gen_struct_or_union_type_die): Use decl_function_context
8718         to check for local classes.
8719         * dwarfout.c (output_type): Likewise.
8720
8721 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
8722
8723         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
8724         for arguments with a mode, but no type.
8725         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
8726         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
8727         * pa/long_double.h: New file.
8728         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
8729         both have 128bit wide long doubles.
8730         * configure: Rebuilt.
8731
8732 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8733
8734         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
8735
8736         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
8737         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
8738         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
8739
8740         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
8741
8742         * integrate.c (compare_blocks, find_block): Likewise.
8743
8744         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
8745
8746         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
8747
8748         * stmt.c (stmt_status, set_file_and_line_for_stmt,
8749         expand_asm_operands): Likewise.
8750
8751 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
8752
8753         * predict.c (estimate_probability): Added the pointer heuristic to
8754         the collection of static branch predictors.
8755
8756 2000-02-21  Catherine Moore  <clm@cygnus.com>
8757
8758         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
8759         * invoke.texi (-mfix7000): Document.
8760
8761 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
8762
8763         * diagnostic.c (init_output_buffer): Make it possible to output at
8764         least 32 characters if we're given a too long prefix.
8765
8766 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
8767
8768         * varasm.c (initializer_constant_valid_p): Call
8769         lang_expand_constant to simplify the constant.
8770
8771 2000-02-20  Bruce Korb  <bkorb@gnu.org>
8772
8773         * fixinc/inclhack.def(stdio_va_list):
8774         typedef needs to be disabled.
8775         * fixinc/inclhack.sh: regen
8776         * fixinc/fixincl.x: regen
8777
8778 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
8779
8780         * print-rtl.c (print_rtx): Don't print addresses when
8781         flag_dump_unnumbered.
8782
8783 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8784
8785         * sparc.c (sparc_output_scratch_registers): Mark parameter with
8786         ATTRIBUTE_UNUSED.
8787         (sparc_va_arg, sparc_flat_output_function_prologue,
8788         sparc_flat_output_function_epilogue): Cast value to unsigned in
8789         comparison.
8790         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
8791
8792         * sparc.md: Add default case in switch.
8793
8794 2000-02-19  Richard Henderson  <rth@cygnus.com>
8795
8796         * c-typeck.c (add_pending_init): Don't abort for multiple
8797         fields at the same offset.
8798         (pending_init_member): Test the correct member.
8799
8800 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8801
8802         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
8803         instead of SImode.
8804         (start_catch_handler) : Same.
8805
8806 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
8807
8808         * Makefile.in: Have flow.o depend on $(EXPR_H)
8809
8810 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8811
8812         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
8813         * c-decl.c (duplicate_decls, finish_enum): Likewise.
8814         (finish_decl): Remove -Wlarger-than code from here.
8815         * flags.h (id_clash_len): Now int.
8816         (larger_than_size): Now HOST_WIDE_INT.
8817         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
8818         Clean up checking to see if in table.
8819         (make_bit_field_ref): Remove extra parm to bitsize_int.
8820         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
8821         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
8822         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
8823         and for computing size of decl.
8824         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
8825         Move -Wlarger-than code to here.
8826         (layout_record): Remove extra arg to bitsize_int.
8827         Set TYPE_BINFO_SIZE_UNIT.
8828         (layout_union): Remove extra arg to bitsize_int.
8829         Use proper type for size of QUAL_UNION.
8830         (layout_type): Remove extra arg to bitsize_int.
8831         * toplev.c (id_clash_len): Now int.
8832         (larger_than_size): Now HOST_WIDE_INT.
8833         (decode_W_option): Clean up id-clash and larger-than- cases.
8834         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
8835         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
8836         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
8837         (struct tree_decl): New field size_unit.
8838         (size_int_wide): No HIGH operand; NUMBER is now signed.
8839         (size_int_2): Deleted.
8840         (size_int, bitsize_int): Don't use it and rework args.
8841         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
8842
8843 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
8844
8845         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
8846
8847 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
8848
8849         * invoke.texi (Warning Options): Add an explanation of why
8850         you might want the -Wfloat-equal flag.
8851
8852 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8853
8854         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
8855         * cppinit.c (new_pending_define): Add cast to avoid warning.
8856         * expmed.c (extract_bit_field): Likewise.
8857         * flow.c (enum reorder_skip_type): New type.
8858         (skip_insns_between_blcok): New it.
8859         Rework to avoid warning about possibly undefined variable.
8860         * function.c (assign_parms): Make thisparm_boundary unsigned.
8861         * genrecog.c (write_switch): Cast XWINT result to int.
8862         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
8863         * mips-tfile.c (init_file): Make two versions of FDR intializer:
8864         one for MIPS and one for Alpha.
8865         (get_tag, copy_object): Add casts to avoid warnings.
8866         * optabs.c (init_one_libfunc): Cast NAME to (char *).
8867         * reload.c (find_reloads): Make TYPE enum reload_type.
8868         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
8869         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
8870         * varasm.c (compare_constant_1): Add cast to avoid warning.
8871         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
8872         to (char *).
8873         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
8874         Cast switch operand of size to int.
8875         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
8876         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
8877         in unhandled case.
8878
8879 2000-02-18  Nick Clifton  <nickc@cygnus.com>
8880
8881         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
8882         anything for an alignment of zero.
8883
8884         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
8885         anything for an alignment of zero.
8886
8887 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
8888
8889         * gcc.texi (Bug Reporting): Refer to bugs.html.
8890         (Bug Lists): Likewise.
8891         * system.h (GCCBUGURL): New preprocessor define.
8892         * rtl.c (fancy_abort): Use it.
8893         * gcc.c (main): Likewise.
8894
8895 2000-02-18  Richard Henderson  <rth@cygnus.com>
8896
8897         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
8898         (life_analysis_1): Subsume into ...
8899         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
8900         Use update_life_info for the relaxation.
8901         (update_life_info): Update REG_BASIC_BLOCK for registers live on
8902         entry and regs_live_at_setjmp.
8903         (set_noop_p): Simplify.
8904         (notice_stack_pointer_modification_1): Renamed from s/_1//.
8905         (record_volatile_insns): Split into ...
8906         (delete_noop_moves): ... here,
8907         (notice_stack_pointer_modification): ... here,
8908         (insn_dead_p): ... and here.
8909         (propagate_block): Don't query INSN_VOLATILE.
8910         (mark_used_regs): Mind !PROP_REG_INFO.
8911         * toplev.c (rest_of_compilation): Call mark_constant_function here,
8912         not in life_analysis.
8913
8914 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
8915
8916         * loop.c (canonicalize_condition): New function,
8917         broken out of get_condition.
8918         (get_condition): Use it.
8919         * expr.h (canonicalize_condition): Prototype it.
8920
8921         * tree.h (tree_int_cst_msb): Declare.
8922         * tree.c (tree_int_cst_msb): New function.
8923
8924 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
8925
8926         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
8927         isn't set.
8928
8929         * invoke.texi (-fmessage-length=n): Document.
8930
8931 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
8932
8933         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
8934
8935 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
8936
8937         * function.c (thread_prologue_and_epilogue_insns): Put a line note
8938         after the prologue.
8939
8940 2000-02-17  Nick Clifton  <nickc@cygnus.com>
8941
8942         * config/arm/thumb.c: Replace includes of system headers with
8943         #include "system.h".
8944
8945 2000-02-16  Richard Henderson  <rth@cygnus.com>
8946
8947         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
8948         Add crtbeginS.o and crtendS.o.
8949         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
8950         (ENDFILE_SPEC): Use crtendS.o.
8951         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
8952
8953         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
8954         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
8955         shared and present.
8956         (__dso_handle): New variable.
8957         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
8958         bias to __CTOR_END__.
8959
8960 2000-02-16  Richard Henderson  <rth@cygnus.com>
8961
8962         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
8963
8964 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8965
8966         * longlong.h (__clz_tab): Declare as static to match definition.
8967
8968 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
8969         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
8970         (XREF_FILE_NAME): Define.
8971
8972         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
8973         (EH_FRAME_SECTION_ASM_OP): Define.
8974         (IDENT_ASM_OP): Define.
8975         (TEXT_SECTION_ASM_OP): Define.
8976         (CPP_SPEC): Define.
8977         (CTORS_SECTION_ASM_OP): Define.
8978         (CTOR_SECTION_FUNCTION): Use it.
8979         (DTORS_SECTION_ASM_OP): Define.
8980         (DTOR_SECTION_FUNCTION): Use it.
8981
8982 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
8983
8984         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
8985         NOTE_BASIC_BLOCK.
8986
8987         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
8988         debug_bb_n): New functions.
8989         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
8990         * basic-block.h: Prototype new functions.
8991
8992 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
8993
8994         * configure.in: Add support for avr target.
8995         * configure: Rebuilt.
8996
8997         * invoke.texi: Add AVR invocation docs.
8998         * install.texi: Add information about AVR.
8999         * md.texi: Add AVR constraint letters description.
9000         * extend.texi: Add description for AVR specific attributes.
9001
9002 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
9003
9004         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
9005
9006 2000-02-16  Nick Clifton  <nickc@cygnus.com>
9007
9008         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
9009         (make_insn_raw): Move RTL check here.
9010
9011 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9012
9013         * version.c: Include gansidecl.h and version.h.
9014
9015         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
9016
9017         * configure.in (gcc_version): When setting, narrow search to
9018         lines containing `version_string'.
9019
9020         * Makefile.in (mainversion): Likewise.
9021         (GCC_H): New variable.
9022         (gcc.h): Delete target.
9023         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
9024         (version.o): Depend on version.h.
9025         (dbxout.o): Don't depend on gcc.h.
9026
9027 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9028                           Michael Meissner  <meissner@cygnus.com>
9029
9030         * md.texi (Simple Constraints): Add item about whitespace.
9031         * genoutput.c (strip_whitespace): New.
9032         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
9033         strip_whitespace for constraints.
9034         Test pointer using NULL, not 0.
9035
9036 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9037
9038         * cpplib.c (do_line): Pedwarn for #line > 32767.
9039
9040         * c-lex.c (readescape): Warn about '\x', but do not reject it.
9041
9042 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
9043
9044         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
9045         to default cpp spec.
9046         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
9047         * cpp.texi: Document __GNUC_PATCHLEVEL__.
9048         * cpp.1: Likewise.
9049
9050         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
9051         default spec.
9052
9053 2000-02-15  Denis Chertykov  <denisc@overta.ru>
9054
9055         * configure.in: Add support for avr target.
9056
9057 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9058
9059         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
9060         (sh_addr_diff_vec_mode): Don't declare.
9061         * sh.c (sh_addr_diff_vec_mode): Delete.
9062
9063 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9064
9065         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
9066
9067 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9068
9069         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
9070         (smulsi3_highpart_i): Name.
9071         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
9072         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
9073         (smulsi3_highpart, umulsi3_highpart): Likewise.
9074
9075         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
9076         correctly independent of endianness.
9077         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
9078         confuse the optimizers.
9079         (mulsidi3+1, umulsidi3+1): New define_split.
9080
9081 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
9082
9083         * config/sh/sh.md: Guard insn splits against illegal registers.
9084         * config/sh/sh.h: Correct comment about macros.
9085
9086 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9087                           Andrew MacLeod  <amacleod@cygnus.com>
9088
9089         * Makefile.in (lcm.o): Depend on insn-attr.h.
9090         * basic-block.h (optimize_mode_switching): Declare.
9091         * lcm.c (tm_p.h, insn-attr.h): #include.
9092         (seginfo, bb_info): New structs.
9093         (antic, transp, comp, delete, insert) : New file-scope static variables.
9094         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
9095         (reg_becomes_live, optimize_mode_switching): Likewise.
9096         * tm.texi: Add description of mode switching macros.
9097         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
9098
9099         * sh-protos.h (remove_dead_before_cse): Remove prototype.
9100         (fldi_ok, fpscr_set_from_mem): New prototypes.
9101         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
9102         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
9103         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
9104         (sh_flag_remove_dead_before_cse): Remove declaration.
9105         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
9106         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
9107         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
9108         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
9109         (barrier_align): Allow for JUMP_INSNS containing a parallel.
9110         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
9111         (fldi_ok): New function.
9112         (get_fpscr_rtx): Add fpscr_rtx as GC root.
9113         (emit_sf_insn): Only generate fpu switches when optimize < 1.
9114         (emit_df_insn): Likewise.
9115         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
9116         (sh_flag_remove_dead_before_cse): Delete.
9117         (get_free_reg, fpscr_set_from_mem): New functions.
9118         * sh.md (movdf, movsf): Remove no_new_pseudos code.
9119         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
9120
9121 2000-02-15  Loren Rittle  <ljrittle@acm.org>
9122
9123         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
9124
9125 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9126
9127         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
9128         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
9129
9130         * cccp.c: Include version.h and/or don't declare `version_string'.
9131         * collect2.c: Likewise.
9132         * alpha.c: Likewise.
9133         * arm/aof.h: Likewise.
9134         * arm/coff.h: Likewise.
9135         * arm/elf.h: Likewise.
9136         * arm/pe.h: Likewise.
9137         * arm/tcoff.h: Likewise.
9138         * arm/telf.h: Likewise.
9139         * arm/tpe.h: Likewise.
9140         * arm/vxarm.h: Likewise.
9141         * convex/convex.c: Likewise.
9142         * i386/dgux.c: Likewise.
9143         * i386/sun386.h: Likewise.
9144         * m88k/m88k.c: Likewise.
9145         * mcore/mcore-pe.h: Likewise.
9146         * mips/mips.h: Likewise.
9147         * romp/romp.h: Likewise.
9148         * sh/sh.c: Likewise.
9149         * cpphash.c: Likewise.
9150         * cppinit.c: Likewise.
9151         * dwarf2out.c: Likewise.
9152         * dwarfout.c: Likewise.
9153         * gcc.c: Likewise.
9154         * gcc.h: Likewise.
9155         * mips-tfile.c: Likewise.
9156         * protoize.c: Likewise.
9157         * toplev.c: Likewise.
9158         * tree.h: Likewise.
9159
9160         * version.c (version_string): Constify a char*.
9161
9162         * version.h: New file.
9163
9164 2000-02-14  Nick Clifton  <nickc@cygnus.com>
9165
9166         * configure.in: Add mcore-elf and mcore-pe targets.
9167         * configure: Regenerate.
9168
9169         * NEWS: Add note that MCore port has been contributed.
9170
9171         * invoke.texi: Document command line switches for MCore port.
9172         * install.texi: Add MCore to list of supported targets.
9173
9174 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
9175
9176         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
9177         then we will need to import the frame handling functions.
9178         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
9179         to import the frames themselves.
9180
9181 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
9182                           Jason Eckhardt  <jle@cygnus.com>
9183
9184         * basic_block.h: Added prototype for reorder_basic_blocks.
9185         * toplev.c: Changes to add -freorder-blocks and graph dump after
9186         block reordering is done.
9187         * flow.c (reorder_block_def): New structure for use during block
9188         reordering.
9189         (REORDER_BLOCK_*): New macros to access members of above structure.
9190         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
9191         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
9192         functions for block reordering.
9193
9194 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9195
9196         * gcc.texi (Passes): Fix typo.
9197         * md.texi (Standard Names): Ditto.
9198         * tm.texi (Storage Layout): Ditto.
9199
9200 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
9201
9202         * cpplib.c (do_define): Only free the old definition if it
9203         actually had one.
9204
9205 2000-02-13   Neil Booth  <NeilB@earthling.net>
9206
9207         * cppfiles.c (read_and_prescan): When emitting deferred
9208         newlines, test speccase[] again instead of checking each
9209         possible whitespace character in turn.  When we encounter \r,
9210         look behind for \n first, then ahead.
9211
9212 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
9213
9214         * cse.c (cse_altered): New internal flag.
9215         (cse_insn): Set it if we changed an insn.
9216         (cse_main): Clear cse_altered before each basic block.
9217         Only garbage collect if cse_altered is true afterward.
9218
9219 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9220
9221         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
9222
9223 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
9224
9225         * combine.c (simplify_comparison): Fix typo.
9226
9227 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
9228
9229         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
9230         consistently.
9231
9232 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9233
9234         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
9235         previously inserted node instead of root node.  Caller changed.
9236
9237 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9238
9239         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
9240
9241 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9242
9243         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
9244         __dereg_frame_dtor): Add prototype argument.
9245
9246         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
9247
9248         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
9249
9250         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
9251
9252         * gthr-vxworks.h (__gthread_once): Likewise.
9253
9254         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
9255
9256 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
9257
9258         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
9259         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
9260         stack pointer in functions w/o saved registers, output LEAVE more often
9261         on TARGET_USE_LEAVE machines.
9262
9263 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
9264
9265         * config/arm/arm.c (arm_init_cumulative_args); New function:
9266         Initlaise the CUMULATIE_ARGS strcuture for a function
9267         defintion.
9268         (arm_function_arg): New function: Determine where to place a
9269         function's argument.  Also handles deciding the function's
9270         call cookie.
9271         (current_file_function_operand): New function: Return true if
9272         the symbol is a function which has already been compiled.
9273         (arm_is_long_call_p): New function: Return true if the
9274         indicated function should be called via a long call.
9275         (arm_valid_type_attribute_p): New function: Return true if the
9276         attribute is a valid, arm specific, attribute.
9277         (arm_comp_type_attribute): New function: Return true if the
9278         two types have compatable, arm specific, attributes.
9279
9280         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
9281         structure.
9282         (FUNCTION_ARG): Redefine to call arm_function_arg.
9283         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
9284         structure field.
9285         (INIT_CUMULATIVE_ARGS): Redefine to call
9286         arm_init_cumulative_args.
9287         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
9288         field.
9289         (SETUP_INCOMING_VARARGS): Redefine to use correct structure
9290         field.
9291         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
9292         functions.
9293         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
9294         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
9295         (COMP_TYPE_ATTRIBUTES): Define.
9296
9297         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
9298         if a long call is needed.
9299         (call_value): Call arm_is_long_call_p to decide if a long call
9300         is needed.
9301         (call_symbol): Call arm_is_long_call_p to decide if a long call
9302         is needed.
9303
9304         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
9305
9306 2000-02-11  Denis Chertykov  <denisc@overta.ru>
9307
9308         * README.AVR: New file with information about the avr ports.
9309         * config/avr: New directory with avr port files.
9310
9311 2000-02-11  Andreas Jaeger  <aj@suse.de>
9312
9313         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
9314
9315 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
9316
9317         * cpphash.c: Fix formatting, update commentary.
9318         (dump_definition): Take three separate arguments instead of a
9319         MACRODEF structure argument.
9320         * cpphash.h: Update prototype of dump_definition.
9321         * cppinit.c (cpp_finish): Update call of dump_definition.
9322
9323         * cpplib.c (do_define): Always create new hash entry with
9324         T_MACRO type.  Remove redundant check for redefinition of
9325         poisoned identifier.  Update call of dump_definition.
9326         (do_undef): Don't call check_macro_name.  Rename sym_length to
9327         len.
9328         (do_error, do_warning): Don't use copy_rest_of_line or
9329         SKIP_WHITE_SPACE.
9330         (do_warning): Don't use pedwarn for the actual warning,
9331         only the notice about its not being in the standard.  (Fixes
9332         bug with #warning in system headers.)
9333         (do_ident): Stricter argument checking - accept only a single
9334         string after #ident.  Also, macro-expand the line.
9335         (do_xifdef): Use cpp_defined.  De-obfuscate.
9336
9337         (do_pragma): Split out specific pragma handling to separate
9338         functions.  Use get_directive_token.  Update commentary.  Do
9339         not pass on #pragma once or #pragma poison to the front end.
9340         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
9341         do_pragma_default): New.
9342
9343 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
9344
9345         * jump.c (jump_optimize_1): The first operand in a relational
9346         can be a CONST_INT.
9347         * optabs.c (emit_conditional_move): Handle relationals which
9348         have a known true/false result.
9349
9350 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
9351
9352         * function.c (thread_prologue_and_epilogue_insns): Don't insert
9353         a RETURN insn into a block which already ends with a jump.
9354
9355 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
9356
9357         * haifa-sched.c (BUF_LEN): Increase a lot.
9358
9359 2000-02-11  Nick Clifton  <nickc@cygnus.com>
9360
9361         * configure.in: Add tm_p_file specification for thumb targets.
9362         * configure: Regenerate.
9363
9364         * config/arm/thumb-protos.h: New file: Prototypes for exported
9365         functions defined in thumb.c.
9366
9367 2000-02-11  Robert Lipe  <robertl@sco.com>
9368
9369         * Makefile.in (bootstrap-lean): Remove additional files.
9370         (bootstrap2-lean): Likewise.
9371         (VOL_FILES): List of files for above.
9372
9373 2000-02-11  Nathan Sidwell  <nathan@acm.org>
9374
9375         * cpphash.c (special_symbol): Remove spurious argument to
9376         cpp_lookup.
9377
9378 2000-02-11  Joel Sherrill (joel@OARcorp.com>
9379
9380         * configure.in: (i*86-*-rtems*): Swapped elf and coff
9381         stanzas.
9382         * configure: Rebuilt.
9383
9384 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
9385
9386         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
9387
9388 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
9389
9390         * pa.c, pa.h: Remove trigraph sequences within comments.
9391
9392 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
9393
9394         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
9395
9396 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
9397
9398         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
9399
9400 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9401
9402         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
9403
9404 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9405
9406         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
9407         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
9408         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
9409         (ASM_FILE_END): Use c4x_file_end.
9410         * config/c4x/c4x.c (c4x_global_label): New function.
9411         (c4x_external_ref, c4x_file_end): Likewise.
9412
9413         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
9414         (c4x_external_ref, c4x_end_file): Likewise.
9415
9416 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
9417
9418         * cppexp.c: Don't include cpphash.h.
9419         (parse_charconst, cpp_lex): Use cpp_defined.
9420         (cpp_lex): Use get_directive_token throughout.  Remove
9421         unnecessary cases from switch.  Move assertion-handling code
9422         down to OTHER case.
9423         (cpp_parse_expr): If we see '+' or '-', check the context to
9424         determine if they are unary or binary operators.  Streamline
9425         the jumps a bit.  Do not call skip_rest_of_line.
9426
9427         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
9428         static.  Export get_directive_token.  Update commentary.
9429         (cpp_defined): New function.
9430         (do_define): Remove reference to T_PCSTRING.  Call
9431         free_definition to release memory for old definition, when
9432         redefining a macro.
9433         (eval_if_expression): Set only_seen_white to 0 before calling
9434         cpp_parse_expr.  Call skip_rest_of_line after it returns.
9435         (cpp_read_check_assertion): Don't preserve a pointer into the
9436         token buffer across a call to cpp_get_token.
9437
9438         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
9439         * cppfiles.c (redundant_include_p): Use cpp_defined.
9440         * cpphash.c (free_definition): New function.
9441         (delete_macro): Use it.  Update commentary.
9442         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
9443         free_definition.
9444         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
9445         from enum node_type.  Prototype cpp_defined and get_directive_token.
9446         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
9447
9448         * fix-header.c (check_macro_names): Use cpp_defined.
9449         (read_scan_file): Set inhibit_warnings and inhibit_errors in
9450         the options structure.
9451
9452 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9453
9454         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
9455
9456 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
9457
9458         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
9459         rather than die->die_tag.
9460
9461 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9462
9463         * combine.c (make_extraction, force_to_mode): Avoid warning on
9464         mixed-signedness conditionals.
9465         (make_field_assignment, nonzero_bits): Likewise.
9466         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
9467         (store_split_bit_field, extract_split_bit_field): Likewise.
9468         (extract_fixed_bit_field, store_bit_field,
9469         * expr.c: Change alignment to be unsigned everywhere.
9470         (move_by_pieces, store_constructor_field, store_constructor):
9471         Alignment parm is unsigned.
9472         (emit_block_move, emit_group_load, emit_group_store): Likewise.
9473         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
9474         (do_compare_rtx_and_jump): Likewise.
9475         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
9476         Compare align with GET_MODE_ALIGNMENT.
9477         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
9478         (get_inner_reference): Likewise.
9479         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
9480         (expand_assignment): Local vars for alignment now unsigned.
9481         (store_constructor, store_field, expand_expr, do_jump): Likewise.
9482         (do_compare_and_jump): Likewise.
9483         (store_field): Call new function expr_align.
9484         * expr.h (emit_block_move, emit_group_load, emit_group_store):
9485         Alignment arg now unsigned.
9486         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
9487         (do_compare_rtx_and_jump, store_bit_field): Likewise.
9488         (extract_bit_field): Likewise.
9489         * fold-const.c (add_double): Add cast to eliminate signedness warning.
9490         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
9491         (get_best_mode): Alignment arg is unsigned.
9492         * rtl.h (move_by_pieces): Likewise.
9493         * store-layout.c (maximum_field_alignment, set_alignment):
9494         Now unsigned.
9495         (layout_decl): Alignment arg is now unsigned.
9496         Remove unneeded casts.
9497         (layout_record, layout_union, layout_type): Remove unneeded casts.
9498         Local alignment variables now unsigned.
9499         (get_best_mode): Alignment arg now unsigned.
9500         * tree.c (expr_align): New function.
9501         * tree.h (expr_align): Likewise.
9502         (maximum_field_alignment, set_alignment): Now unsigned.
9503         (get_inner_reference): Alignment argument is now pointer to unsigned.
9504         * varasm.c (assemble_variable): Add cast to eliminate warning.
9505
9506 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
9507
9508         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
9509         then store directly into op0.
9510
9511         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
9512         the CALL_INSN, and emit the note immediately after it.
9513
9514 2000-02-10  Nick Clifton  <nickc@cygnus.com>
9515
9516         * config/arm/thumb.md (epilogue): Include a (return) in the
9517         generated insn, and emit it using emit_jump_insn not
9518         emit_insn.
9519
9520 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
9521
9522         * function.c (assign_temp): Change zero-sized arrays to size 1.
9523         * integrate.c (expand_inline_function): Do not update
9524         stack_alignment_needed
9525         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
9526         add some sanity checking, remove optimization for function with
9527         zero frame size.
9528
9529 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9530
9531         * flow.c (mark_regs_live_at_end): Delete unused variables.
9532
9533         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
9534
9535         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
9536         in macro FRAME_GROWS_DOWNWARD.
9537
9538         * stmt.c (expand_end_bindings): Delete unused variable.
9539
9540         * unroll.c (iteration_info): Mark parameter `loop' with
9541         ATTRIBUTE_UNUSED.
9542
9543 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9544
9545         * fixinc/server.c (load_data): Return NULL if the marker line is
9546         not found.
9547         (run_shell): If load_data returns NULL, retry the command once, in
9548         a new shell.
9549
9550         * configure: Rebuilt.
9551
9552 2000-02-09  Bruce Korb  <bkorb@gnu.org>
9553
9554         * gcc/fixincludes:  ** DELETED **
9555         * gcc/fixcpp:  ** DELETED **
9556         * gcc/fixinc-nt.sed:  ** DELETED **
9557         * gcc/just-fixinc:  ** DELETED **
9558         * gcc/Makefile.in:  Removed out-dated commentary
9559         * gcc/configure.in: Removed fast-fixincludes disablement.
9560         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
9561
9562 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
9563         * function.c (thread_prologue_and_epilogue_insns): Uncomment
9564         last change.
9565
9566 2000-02-09  Richard Henderson  <rth@cygnus.com>
9567
9568         * jump.c (delete_insn): Don't delete user labels at -O0.
9569
9570 2000-02-09  Robert Lipe  <robertl@sco.com>
9571
9572         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
9573         Don't link with HOST_LIBS.
9574
9575 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
9576
9577         * configure.in: Correct --help text for --with-dwarf2.
9578         Put tm-dwarf2.h after other tm files, if it's requested.
9579         * configure: Regenerate.
9580         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
9581         defining it.
9582
9583 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
9584
9585         * cpplib.h: Provide HASHNODE typedef and forward decl of
9586         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
9587         DEFINITION, struct hashnode, struct macrodef, struct
9588         definition, scan_decls prototype, default defn of
9589         INCLUDE_LEN_FUDGE moved elsewhere.
9590
9591         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
9592         definition, and struct hashnode moved here. Remove the unused
9593         'predefined' field from struct definition.  Replace the 'args'
9594         union with its sole member.  All users updated (cpphash.c).
9595         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
9596         multiple include guard.
9597
9598         * cpphash.c (hashf): Make static; use better algorithm; drop
9599         HASHSIZE parameter; return an unsigned int.
9600         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
9601         used. Calculate HASHSIZE modulus here.
9602         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
9603         here.
9604         (create_definition): Drop PREDEFINITION parameter.
9605         * cpplib.c (do_define): Don't calculate a hash value here.
9606         Don't pass (keyword == NULL) to create_definition.
9607
9608         * scan.h: Prototype scan_decls here.
9609         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
9610         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
9611         callers of cpp_lookup and cpp_install updated.
9612
9613         * cpphash.c (macarg): Hoist all the flag diddling out of the
9614         function...
9615         (macroexpand): ... and out of the loop that calls macarg.
9616         Skip over the initial paren before macro arguments with
9617         cpp_get_non_space_token; point may be some distance before
9618         that paren.  Abort if it's not there.
9619
9620         * cpplib.c (parse_clear_mark): Delete function.
9621         (parse_set_mark, parse_goto_mark): Make static.
9622         (ACTIVE_MARK_P): New macro.
9623         (skip_block_comment, skip_line_comment): Do not bump the line
9624         if ACTIVE_MARK_P is true.
9625         (cpp_pop_buffer): The buffer to be popped may not have an
9626         active mark.
9627         (cpp_get_token): When looking for the initial paren before
9628         macro arguments, only set a mark in a file buffer, Always
9629         return to that mark before proceeding to call macroexpand or
9630         return a NAME token.
9631
9632         * cpplib.h: Remove prototypes of parse_set_mark,
9633         parse_clear_mark, parse_goto_mark.
9634         (struct cpp_options): Rename 'put_out_comments' to
9635         'discard_comments' and invert its sense.
9636         * cppinit.c, cpphash.c, cpplib.c: All users of
9637         put_out_comments changed to use discard_comments, with
9638         opposite sense.
9639
9640 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
9641
9642         * function.c (thread_prologue_and_epilogue_insns): Don't delete
9643         the edge from a block that both jumps and falls through to the
9644         fallthru block.
9645
9646 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
9647
9648         * config/arm/arm.md (movsi): In PIC mode, make sure that a
9649         constant source address is legitimate.
9650
9651 2000-02-09  Philip Blundell  <pb@futuretv.com>
9652
9653         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
9654         correctly.
9655
9656         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
9657         generating PIC.
9658         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
9659
9660 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
9661
9662         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
9663         ends with a newline and a NUL.  Don't be so clever manipulating
9664         strings.
9665
9666 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
9667
9668         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
9669         not to BIGGEST_ALIGNMENT.
9670
9671 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
9672
9673         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
9674         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
9675         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
9676         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
9677         * frame.c (execute_cfa_insn): Handle
9678         DW_CFA_GNU_negative_offset_extended.
9679
9680 2000-02-08  Richard Henderson  <rth@cygnus.com>
9681
9682         * flow.c (tidy_fallthru_edges): Split out from ...
9683         (delete_unreachable_blocks): ... here.
9684         (find_basic_blocks): Use it.
9685
9686 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9687
9688         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
9689
9690 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
9691
9692         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
9693         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
9694         (fix-header.o): Don't depend on cpphash.h.
9695
9696         * scan.c (hashstr): New function.
9697         * scan.h: Prototype it.
9698         * fix-header.c: Don't include cpphash.h.  Use hashstr.
9699         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
9700         hashstr.  Report hash table statistics.  Add private
9701         definition of xrealloc.
9702
9703 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9704
9705         * i386.h (TARGET_SWITCHES): Fix typo in option name.
9706
9707 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
9708
9709         * function.c (thread_prologue_and_epilogue_insns): Don't replace
9710         jumps with returns unless they are jumps to the fallthru block.
9711
9712 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
9713
9714         * i386.md (addqi3_cc): Fix contraints.
9715
9716 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9717
9718         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
9719
9720 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
9721
9722         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
9723         carriage return after a macro name.
9724
9725 2000-02-07  Fred Fish  <fnf@be.com>
9726
9727         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
9728         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
9729
9730 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
9731
9732         * cppfiles.c (deps_output): Count spacers in deps_column.
9733
9734 2000-02-07  Neil Booth  <NeilB@earthling.net>
9735
9736         * cppinit.c (initialize_dependency_output): If there is no
9737         suffix, don't try to look for known suffixes.  Use strrchr.
9738         (cpp_start_read): Remove duplicate initialization.
9739
9740 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
9741
9742         * calls.c (compute_argument_block_size): New argument
9743         preferred_stack_boundary.
9744         (expand_call): update cfun->preferred_stack_boundary, update call of
9745         compute_argument_block_size
9746         (emit_library_call): Increate cfun->preferred_stack_boundary
9747         to PREFERRED_STACK_BOUNDARY
9748         (emit_library_call_value): Likewise.
9749         * explow.c (allocate_dynamic_stack_spave): Likewise.
9750         * function.c (prepare_function_start): Set
9751         cfun->preferred_stack_boundary
9752         * function.h (struct function): Add preferred_stack_boundary field.
9753         * integrate.c (expand_inline_function): Update
9754         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
9755         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
9756         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
9757
9758 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
9759
9760         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
9761         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
9762         cpp_pedwarn, cpp_pedwarn_with_line,
9763         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
9764         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
9765         v_cpp_error_with_line, v_cpp_warning_with_line,
9766         cpp_message_from_errno, cpp_perror_with_name): Delete.
9767
9768         * cpperror.c (cpp_print_containing_files): Take starting
9769         buffer as argument.
9770         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
9771         (v_cpp_message): Now called directly by all entry points.
9772         Remove -1 case.
9773         (cpp_pfatal_with_name, cpp_message): Delete.
9774         (cpp_notice_from_errno, cpp_ice): New functions.
9775         (cpp_notice): Is now for reporting error conditions, just
9776         without an associated file.
9777         (cpp_error, cpp_error_with_line): Don't do anything if
9778         opts->inhibit_errors is on.
9779         (cpp_pedwarn_with_file_and_line): Take column argument also.
9780
9781         * cpplib.h: Update prototypes of exported functions.
9782         (struct cpp_options): Add inhibit_errors.
9783
9784         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
9785         non-error messages.  Include intl.h.
9786
9787         * cppinit.c, cppmain.c: Likewise.  Also, use
9788         cpp_notice_from_errno instead of cpp_perror_with_name or
9789         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
9790
9791         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
9792         report internal errors.
9793
9794         * cpplib.c (do_define): Switch bcopy to memcpy.
9795         Give cpp_pedwarn_with_file_and_line a dummy column argument.
9796
9797         * cpplib.c (copy_rest_of_line): Revert previous change: don't
9798         bail out early if we hit a line comment.
9799
9800 2000-02-06  Richard Henderson  <rth@cygnus.com>
9801
9802         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
9803         * basic-block.h: Declare them.
9804         * emit-rtl.h (active_insn_p): New.
9805         (next_active_insn, prev_active_insn): Use it.
9806         * rtl.h: Declare it.
9807         * function.c (emit_return_into_block): New.
9808         (thread_prologue_and_epilogue_insns): Insert return insns instead
9809         of epilogues when possible.
9810         * jump.c (jump_optimize_1): Remove code to insert a return insn
9811         on the fallthru to the exit block.
9812
9813         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
9814         and for non-empty stack frames.
9815         * i386.md (return): Expand to return-pop as needed.
9816
9817 2000-02-06  Richard Henderson  <rth@cygnus.com>
9818
9819         * simplify-rtx.c (simplify_relational_operation): Canonicalize
9820         constant to op1 for testing.
9821
9822 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9823
9824         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
9825         (fixuns_truncqfqi2): Use it.
9826
9827 2000-02-06  Richard Henderson  <rth@cygnus.com>
9828
9829         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
9830         as a TYPE_LEA insn.
9831
9832         * i386.md (widening and peepholes): Mask the constant instead of
9833         using gen_lowpart.
9834
9835 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
9836
9837         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
9838         input pointer before possibly branching off to the backslash
9839         code.
9840         * cpphash.c (macroexpand): Correctly delete \r escapes when
9841         stringifying parameters.
9842         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
9843         if we can; bail out early if we hit a line comment.
9844         (handle_directive): Treat '# 123' in an .S file just like
9845         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
9846         Return 1 for '# not_a_directive'.
9847         (get_directive_token): Pop macro buffers here, so that
9848         cpp_get_token can't sneakily move past a newline.
9849         Add sanity checks.
9850         (cpp_get_token): goto randomchar if handle_directive returns 0.
9851
9852         * cppalloc.c: Update copyright.
9853         * cpplib.c: Merge all the static function prototypes into one
9854         block.
9855         * cpplib.h: Remove #if 0 block.
9856
9857         * cpperror.c: Remove #ifdef EMACS block.
9858         * cppmain.c: Likewise.
9859         * cpphash.c: Remove #if 0 blocks.
9860         * cppinit.c: Remove #if 0 blocks, and the -lint option.
9861         * cpplib.c: Remove #if 0 blocks and code referencing
9862         pcp_inside_if or for_lint.  Remove duplicate error message.
9863         Fix error messages for #else after #else or #elif.  Reformat.
9864         Remove archaic TODO list.
9865         * cpplib.h: Remove pcp_inside_if and for_lint flags.
9866
9867 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
9868
9869         * i386/osf1elf.h: Add missing backslash to multiline string.
9870
9871 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9872
9873         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
9874
9875 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9876
9877         * Makefile.in (c-common.o): Depend on $(EXPR_H).
9878
9879         * c-common.c: Include expr.h.
9880
9881         * c-pragma.c (mark_align_stack): Add prototype.
9882
9883         * caller-save.c (add_stored_regs): Likewise.
9884
9885         * combine.c (record_promoted_value): Likewise.
9886
9887         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
9888         Likewise.
9889
9890         * cppinit.c (new_pending_define): Likewise.
9891
9892         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
9893
9894         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
9895         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
9896         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
9897         class_scope_p): Likewise.
9898
9899         * dwarf2out.h (dwarf2out_set_demangle_name_func,
9900         dwarf2out_add_library_unit_info): Likewise.
9901
9902         * ggc.h (ggc_page_print_statistics): Likewise.
9903
9904         * haifa-sched.c (propagate_deps): Likewise.
9905
9906         * reg-stack.c (next_flags_user, record_label_references): Likewise.
9907
9908         * rtl.h (set_stack_check_libfunc): Likewise.
9909
9910         * toplev.h (set_fatal_function): Likewise.
9911
9912         * toplev.c (set_fatal_function): Delete prototype.
9913
9914         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
9915
9916 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
9917
9918         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
9919         (FUNC_END): Likewise.
9920
9921 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9922
9923         * caller-save.c: Include tm_p.h.
9924
9925 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9926
9927         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
9928
9929 2000-02-04  Neil Booth  <NeilB@earthling.net>
9930
9931         * cccp.c (main): Check 'dir' for a NULL pointer before passing
9932         it to strcmp.
9933
9934 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
9935
9936         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
9937         * genflags.c: Use the max_operand_1 logic from genemit.c to
9938         calculate how many arguments gen_insn prototypes have.  Remove
9939         NO_MD_PROTOTYPES ifdefs from the generated file.
9940         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
9941         file.  Cast gen_insn initializers to insn_gen_fn.
9942         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
9943         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
9944
9945 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9946
9947         * fixinc/Makefile.in (HDR): Add machname.h.
9948         (clean): Likewise.
9949
9950 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9951
9952         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
9953         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
9954         (c4x_cpu_version): Ditto.
9955         * config/c4x/c4x-protos.h: ... here.
9956
9957 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
9958
9959         * dwarf2out.c (add_abstract_origin_attribute): Don't call
9960         gen_abstract_function on our context if we're a nested function.
9961
9962 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9963
9964         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
9965         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
9966
9967 2000-02-04  Bruce Korb  <bkorb@gnu.org>
9968
9969         * fixinc/genfixes(machname.h):
9970         Move the functionality from gen-machine.h into this file.
9971         UNdef MN_NAME_PAT if there are no names to change.
9972         Also, be a little kinder when AutoGen is not present.
9973
9974         * fixinc/Makefile.in(machname.h):
9975         Change the generation rule to use genfixes.
9976
9977         * fixinc/fixfixes.c(machine_name):
9978         machine_name_fix's functionality now dependent upon whether
9979         MN_NAME_PAT is defined.
9980
9981         * fixinc/fixtests.c(machine_name):
9982         ditto.
9983
9984         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
9985         of MN_NAME_PAT.
9986
9987         * fixinc/fixlib.h(mn_get_regexps):
9988         ditto
9989
9990         * fixinc/gen-machine.h: DELETED
9991
9992 2000-02-04  Jan Hubicka  <jh@suse.cz>
9993             Richard Henderson  <rth@cygnus.com>
9994
9995         * i386.c (SAVE_REGS_FIRST): Remove.
9996         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
9997         (ix86_compute_frame_size): Likewise.
9998         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
9999         (ix86_emit_restore_regs): Remove.
10000         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
10001         when a frame pointer is in use.
10002         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
10003         instead of pop to restore a register when profitable; emit leave
10004         when profitable.
10005         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
10006         as a TYPE_LEA insn.
10007         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
10008         * i386.md (prologue_allocate_stack): Remove.
10009         (epilogue_deallocate_stack): Remove.
10010         (pro_epilogue_adjust_stack): New.
10011
10012 2000-02-04  Richard Henderson  <rth@cygnus.com>
10013
10014         * function.c (diddle_return_value): Rework to use a callback function.
10015         Use current_function_return_rtx if it's been set up.
10016         (do_clobber_return_reg, clobber_return_register): New.
10017         (do_use_return_reg, use_return_register): New.
10018         (expand_function_end): Use them.
10019         * stmt.c (expand_null_return): Likewise.
10020         * function.h: Declare them.
10021         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
10022         (mark_reg): Change arguments as appropriate for callback.
10023         * integrate.c (expand_inline_function): Revert 19 Jan change.
10024
10025 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10026
10027         * tm.texi (Values in Registers): Fix typo: "fo" "for".
10028         (Misc): Say the scheduler, not the Haifa scheduler.
10029
10030 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
10031
10032         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
10033         when in_mem is set.  Update all callers.
10034
10035 2000-02-04  Richard Henderson  <rth@cygnus.com>
10036
10037         * i386/openbsd.h (INT_ASM_OP): Define.
10038
10039 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10040
10041         * tm.texi: Fix various typos.
10042
10043 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
10044
10045         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
10046         (MD_STARTFILE_PREFIX_1): New macro.
10047
10048 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
10049
10050         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
10051         destination when needed.
10052         (strmovsi, strsetsi): New expander.
10053         (strmovsi_1, strsetsi_1): New pattern.
10054         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
10055         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
10056         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
10057         * invoke.texi (align-stringops, inline-all-stringops): Document.
10058
10059 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
10060
10061         * i386/netbsd.h (INT_ASM_OP): Define.
10062
10063 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
10064
10065         * cpplib.h (cpp_reader): Add new flag, no_directives.
10066         * cpphash.c (macarg): Set it.
10067         * cpplib.c (handle_directive): If no_directives is on and we
10068         find a directive, issue an error and discard the line.
10069
10070 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
10071
10072         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
10073         FP constants.  Add ! TARGET_FPU check for FP constants.
10074
10075 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
10076
10077         * flow.c (find_basic_blocks): Don't kill label_value_list
10078         here.
10079         (cleanup_cfg): Kill it here.
10080
10081 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10082
10083         * expr.c (store_field): Ensure ALIGN is no stricter than the
10084         alignment of EXP.
10085
10086 2000-02-02  Richard Henderson  <rth@cygnus.com>
10087
10088         * jump.c (delete_insn): Partially revert 19 Jan change;
10089         don't convert unused code labels to notes at -O0.
10090
10091 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10092
10093         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
10094         split_all_insns to recreate REG_LABEL notes for flow2 pass.
10095
10096 2000-02-01  Richard Henderson  <rth@cygnus.com>
10097
10098         * i386.c (general_no_elim_operand): New.
10099         (nonmemory_no_elim_operand): New.
10100         (ix86_expand_move): Copy eliminable operands before a push.
10101         * i386-protos.h: Declare new functions.
10102         * i386.h (CAN_ELIMINATE): Simplify.
10103         (PREDICATE_CODES): Update.
10104         * i386.md (push insns): Don't allow eliminable register operands.
10105
10106 2000-02-01  Richard Henderson  <rth@cygnus.com>
10107
10108         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
10109         replace BLKmode with DECL_RTL's mode.
10110
10111 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
10112
10113         * frame.c (find_fde): Convert for loop to do-while so compiler
10114         sees it's always executed at least once.
10115         * libgcc2.c (BBINBUFSIZE): Kill.
10116         (__bb_init_prg): Use fgets.
10117         (__bb_exit_trace_func): Don't paste strings.
10118         * unroll.c (unroll_loop): Initialize unroll_type, not
10119         unroll_number, and tweak logic to match.
10120
10121         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
10122         all failure paths.
10123         (ix86_flags_dependant): Likewise.  Disentangle control flow.
10124         (ix86_sched_reorder): Break guts out to
10125         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
10126         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
10127         any possible use.
10128
10129         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
10130         use string concatenation.  Don't save and restore esi.
10131
10132         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
10133         (machname.h): Remove script to separate file.  Use two-step
10134         sequence so target is not created if script fails.
10135         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
10136         identifiers are defined.
10137         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
10138         an empty string, machine_name doesn't need to do anything at
10139         all.
10140         (is_cxx_header): Add more cases to regexp.
10141         * fixinc/fixlib.h: Update prototype.
10142         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
10143         mn_get_regexps.
10144         * fixinc/fixincl.c: Define NO_BOGOSITY.
10145
10146         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
10147         (hp_sysfile): Add missing comma.
10148         (math_exception): Put the wrapper ifdefs at the beginning and
10149         the end of the file.
10150         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
10151
10152 2000-02-01  Richard Henderson  <rth@cygnus.com>
10153
10154         * sparc.c (fp_zero_operand): Turn into a normal predicate.
10155         Use CONST0_RTX.  Update all callers.
10156         * sparc.h, sparc-protos.h: Update accordingly.
10157         * sparc.md (fp mov insns): Use fp_zero_operand directly
10158         where applicable.
10159
10160 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10161
10162         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
10163         example.
10164
10165 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10166
10167         * Makefile.in (specs.ready): New target.
10168         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
10169
10170 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10171
10172         * fixinc.irix: Use unique filenames for writing into /tmp,
10173         * fixinc.ptx: Likewise.
10174         * fixinc.sco: Likewise.
10175         * fixinc.svr4: Likewise.
10176         * fixinc.winnt: Likewise.
10177
10178 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10179
10180         * tsystem.h: New file.
10181
10182         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
10183         s-crtS): Depend on tsystem.h.
10184
10185         * crtstuff.c: Include tsystem.h.
10186         * frame.c: Likewise.
10187         * libgcc2.c: Likewise.
10188
10189 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
10190
10191         * builtins.c (expand_builtin_memset): Expand for variable sized
10192         lengths too.
10193
10194 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au>
10195
10196         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
10197         on ABI.
10198
10199 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10200
10201         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
10202
10203         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
10204
10205 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
10206
10207         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
10208         case 3->2 combining (combining with splitting) in which 2 is CC0
10209         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
10210         checked at the begining of the function with the aid of calling
10211         function 'can_combine_p'.
10212
10213 2000-01-31  Dave Brolley  <brolley@redhat.com>
10214
10215         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
10216
10217 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
10218
10219         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
10220         new label.
10221
10222 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10223
10224         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
10225
10226         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
10227         PROTO -> PARAMS.
10228
10229 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
10230
10231         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
10232         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
10233         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
10234         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
10235         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
10236         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
10237         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
10238         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
10239         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
10240         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
10241
10242         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
10243         Add %(cpp_cpu) to CPP_SPEC.
10244
10245         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
10246         Add %(cc1_cpu) to CC1_SPEC.
10247
10248 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
10249
10250         * c-decl.c (c_decode_option): Accept optional numeric argument to
10251         -Wformat and set warn_format.
10252         * c-common.c: Don't emit warning about non-constant printf format
10253         string unless warn_format > 1.
10254
10255 2000-01-30  Richard Henderson  <rth@cygnus.com>
10256
10257         * alpha.md (return_internal): Allow after reload only.
10258
10259 2000-01-30  Richard Henderson  <rth@cygnus.com>
10260
10261         * i386.c (ix86_compute_frame_size): Omit padding1 if the
10262         local frame size is zero.
10263
10264 2000-01-30  Richard Henderson  <rth@cygnus.com>
10265
10266         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
10267         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
10268         * alpha.md (return): Turn into an expander.
10269         (return_internal): Don't use $26.
10270         (epilogue): Emit the return insn.
10271
10272 2000-01-30  Richard Henderson  <rth@cygnus.com>
10273
10274         * alpha.md (negtf2, abstf2): Fix word order thinko.
10275         (extendsftf2): New.
10276         (trunctfsf2): Avoid intermediate rounding errors.
10277
10278 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
10279
10280         * cppfiles.c (find_position): Drop 'colp' argument, return the
10281         new line base.
10282         (read_and_prescan): Adjust to match.  Don't ever manipulate
10283         line or line_base except via find_position.
10284
10285 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
10286
10287         * c-parse.in: Apply Ulrich's changes from c-parse.y.
10288         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
10289         Regenerate.
10290
10291 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
10292
10293         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
10294         just print "<command line>".  If 'filename' is null or an
10295         empty string, print "<stdin>" for the filename.
10296         * cpplib.c (do_define): Don't print the 'location of the
10297         previous definition' message if we're still parsing the
10298         command line.
10299         (cpp_pedwarn_with_file_and_line): Always call
10300         cpp_file_line_for_message.
10301
10302 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
10303
10304         * flow.c (mark_regs_live_at_end): Fix typo.
10305
10306 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
10307
10308         * c-common.c: Adjust variable names, comments, help strings to c99.
10309         * c-lex.c: Likewise.
10310         * c-parse.y: Likewise.
10311         * c-tree.h: Likewise.
10312         * cccp.c: Likewise.
10313         * cpplib.h: Likewise.
10314         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
10315         * cppinit.c: Likewise.
10316
10317 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10318
10319         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
10320         * c4x.c: Define the optab rtx values.
10321         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
10322         (c4x_emit_libcall): Use new optab rtx values.
10323         (c4x_emit_libcall3): Likewise.
10324         (c4x_emit_libcall_mulhi): Likewise.
10325         * c4x-protos.h: Add prototypes for optab rtx values and change
10326         prototypes for above c4x_emit_libcall functions.
10327
10328 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10329
10330         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
10331         syntax is used.
10332         (c4x_function_prologue): Use regnames intead of float_reg_names when
10333         TI syntax is used.
10334         (c4x_function_epilogue): Likewise.
10335         (c4x_print_operand): Likewise.
10336         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
10337         * c4x.md (set_high): Disable for TARGET_TI.
10338
10339 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10340
10341         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
10342         of framepointer + constant to ADDR_REGS class.
10343         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
10344         * c4x.c (std_or_reg_operand): New function.
10345         * c4x-protos.h (std_or_reg_operand): Prototype it.
10346
10347 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10348
10349         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
10350                 object names as libgcc2.c.
10351         * libgcc.S: Use newly defined names.
10352
10353 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
10354         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
10355         function.
10356         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
10357         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
10358         (FLOW_LOOP_LAST_BLOCK): Likewise.
10359
10360 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10361
10362         * basic-block.h (struct loop): New fields 'first' and 'last'.
10363         * flow.c (flow_loops_find): Compute loop->first and loop->last.
10364         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
10365         and loop->last to check for NOTE_INSN_LOOP_END.
10366
10367 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
10368
10369         * predict.c (estimate_probability): Use the new FIRST and LAST fields
10370         of the loop descriptor rather than HEADER and LATCH. Also added
10371         missing break statements as well making some coding style modifications
10372         as suggested by Michael Hayes.
10373
10374 2000-01-28  Richard Henderson  <rth@cygnus.com>
10375
10376         * flow.c (find_basic_blocks): Remove do_cleanup argument.
10377         Break out that code ...
10378         (cleanup_cfg): ... here.
10379         (commit_one_edge_insertion): Detect a return instruction being
10380         emitted to an edge.  Emit a barrier following; clear fallthru.
10381         (commit_edge_insertions): Verify CFG consistency.
10382         * function.c (expand_function_start): Kill unused variable.
10383         (expand_function_end): Likewise.
10384         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
10385         to insert the epilogue.
10386
10387         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
10388         (delete_null_pointer_checks): Likewise.
10389         * output.h: Likewise.
10390         * reg-stack.c (reg_to_stack): Likewise.
10391         * toplev.c (rest_of_compilation): Likewise.  Run
10392         thread_prologue_and_epilogue_insns after rebuilding the CFG.
10393
10394 2000-01-28  Richard Henderson  <rth@cygnus.com>
10395
10396         * Makefile.in (flow.o): Revert 24 Jan change.
10397         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
10398         FUNCTION_VALUE result to DECL_RESULT's mode.
10399
10400         * haifa-sched.c (schedule_insns): Don't recompute reg info
10401         after reload.
10402
10403 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
10404
10405         * configure.in: Make --enable-cpplib the default.
10406         * configure: Regenerate.
10407         * gcc.dg/990119-1.c: No longer expected to fail.
10408
10409 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
10410
10411         * jump.c (jump_optimize_1): Delete an optimization that is also done
10412         by merge_blocks in flow.
10413
10414 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10415
10416         * diagnostic.c (build_message_string, output_printf,
10417         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
10418         (build_location_prefix): Fix non-literal format string.
10419
10420 2000-01-27  Richard Henderson  <rth@cygnus.com>
10421
10422         * alpha.md (trunctfsf2): New.
10423
10424 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
10425
10426         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
10427
10428 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
10429
10430         * cppinit.c (cpp_handle_option): Recognize C++ comments under
10431         -std=gnu89.
10432         * cpplib.c (skip_block_comment, skip_line_comment): Split code
10433         out of...
10434         (skip_comment) ... here.  Permit C++ comments in system
10435         headers always.  Warn about C++ comments in user code under
10436         -std=gnu89 -pedantic.
10437         (copy_comment): Use skip_comment.
10438         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
10439         return EOF.
10440         (consider_directive_while_skipping, do_else, do_endif): Call
10441         validate_else unconditionally.
10442         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
10443         text after the conditional in a system header.
10444         * cpplib.h (struct cpp_buffer): Add flag
10445         warned_cplusplus_comments.
10446
10447 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
10448
10449         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
10450         Use unshare_all_rtl_1.
10451         (unshare_all_rtl_again): New function.
10452         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
10453
10454         * function.c (purge_addressof_1): Use unshare_all_rtl_again
10455         rather than resetting the 'used' flags ourself.
10456
10457         * toplev.c (rest_of_compilation): Add current_function_decl
10458         to the unshare_all_rtl call.
10459         * tree.h: Prototype unshare_all_rtl.
10460         * rtl.h: Prototype unshare_all_rtl_again here.
10461
10462 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
10463
10464         * genoutput.c (output_prologue): Include ggc.h in generated
10465         files.
10466         * Makefile.in (insn-output.o): Depends on ggc.h.
10467
10468 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
10469             Hans-Peter Nilsson  <hp@bitrange.com>
10470
10471         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
10472         Remove redundant include of xm-ns32k.h.
10473         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
10474         Remove redundant include of xm-ns32k.h.
10475         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
10476         Remove redundant include of xm-ns32k.h.
10477         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
10478
10479         * ns32k/ns32k.h: Update comment on multiply-add instructions.
10480         (TARGET_SWITCHES): Add documentation strings.
10481         (DWARF_FRAME_REGNUM): Override default definition.
10482         (REG_CLASS_CONTENTS): Add comments.
10483         (SUBSET_P): Format to reduce line length.
10484         (SMALL_REGISTER_CLASSES): Make a run time option.
10485         (GO_IF_NONINDEXED_ADDRESS): Reformat.
10486         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
10487         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
10488         (regclass_map): fix typo in comment.
10489         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
10490         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
10491         (trace, reg_or_mem_operand): Delete, unused function.
10492         (calc_address_cost): Small offsets are cheaper than large ones.
10493         (expand_block_move): Generate more efficient code when bytes is a
10494         known at compile time.
10495         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
10496         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
10497         instead of reg_or_mem_operand.
10498
10499         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
10500         not general_operand.  Similarly use "=rm" or stricter, not "=g".
10501         For input operands, use stricter constraints than "g" if not
10502         general_operand.  Similarly use stricter predicate than
10503         "general_operand" when stricter constraints than "g" are present,
10504         except for matching constraints.
10505         (movstrsi): Use "memory_operand" for operands 0 and 1.
10506         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
10507         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
10508         not reg_or_mem_operand.
10509         (udivmoddisi4): Ditto.
10510         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
10511         Use nonimmediate_operand for operand 3, not register_operand.
10512         (udivmoddiqi4_internal): Use register_operand for operand 1, not
10513         reg_or_mem_operand.
10514
10515 2000-01-27  Fred Fish  <fnf@be.com>
10516
10517         * gthr-posix.h: Fix typo; compatibily -> compatibility.
10518         * gthr-single.h: Likewise.
10519         * gthr-solaris.h: Likewise.
10520         * gthr-vxworks.h: Likewise.
10521         * gthr-win32.h: Likewise.
10522         * gthr.h: Likewise.
10523
10524 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
10525
10526         * cppinit.c: Add " (cpplib)" to end of string printed by
10527         -v / --version.
10528
10529 2000-01-27  Richard Henderson  <rth@cygnus.com>
10530
10531         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
10532         testing for a signed comparison.
10533         (alpha_emit_floatuns): New.
10534         * alpha-protos.h: Declare it.
10535         * alpha.md (floatunsdisf2, floatunsdidf2): New.
10536         (extendsfdf2): Tidy.
10537
10538 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
10539
10540         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
10541         no -g option specifying debugging format, default to -gstabs+.
10542
10543 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
10544
10545         * calls.c (special_function_p): New argument fork_or_exec.
10546         (expand_call): When profile_arc_flag is set and the function
10547         is in the fork_or_exec group, call __bb_fork_func first.
10548         * libgcc2.c, _bb module (__bb_fork_func): New function.
10549         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
10550         output file.
10551         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
10552         * tree.h (special_function_p): Update prototype.
10553
10554 2000-01-26  Richard Henderson  <rth@cygnus.com>
10555
10556         * alpha.c (alpha_split_tfmode_pair): New.
10557         * alpha-protos.h: Declare it.
10558         * alpha.md (abstf2, negtf2): New.
10559         (movtf insn): Add input G constraint.
10560         (movtf splitter): Use alpha_split_tfmode_pair.
10561
10562 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10563
10564         * i386/cygwin.h: PROTO -> PARAMS.
10565
10566 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
10567
10568         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
10569         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
10570         using _Qp_cmp/_Q_cmp and testing the return value.
10571         (print_operand): Call reverse_condition_maybe_unordered if
10572         we are handling CCFPmode or CCFPEmode.
10573         Handle ORDERED, UN* and LTGT comparisons.
10574         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
10575         if not TARGET_HARD_QUAD.
10576         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
10577         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
10578         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
10579         Adjust gen_b* calls so that they reflect return comparison of
10580         sparc_emit_float_lib_cmp.
10581
10582 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10583
10584         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
10585         incoming operands array is large enough for one more operand.
10586         (alpha_emit_xfloating_arith): Likewise.
10587
10588 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
10589
10590         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
10591         file with one line and no trailing newline.
10592         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
10593         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
10594         checking if the match is on the line.
10595         * fixinc/gnu-regex.c: Provide regerror not __regerror.
10596
10597 2000-01-25  Richard Henderson  <rth@cygnus.com>
10598
10599         * sparc.c (output_cbranch): Fix accidental squashing of the
10600         fp branch pre-delay nop.
10601
10602 2000-01-25  Richard Henderson  <rth@cygnus.com>
10603
10604         * tree.def (UNNE_EXPR): Remove.
10605         * c-typeck.c (build_binary_op): Don't handle it.
10606         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
10607
10608         * rtl.def (UNNE): Remove.
10609         (LTGT): Add.
10610         * jump.c (reverse_condition): Update accordingly.
10611         (swap_condition): Likewise.
10612         (comparison_dominates_p): Handle unordered comparisons.
10613         (reverse_condition_maybe_unordered): New.
10614         * rtl.h (reverse_condition_maybe_unordered): Declare.
10615
10616         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
10617         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
10618         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
10619         * sparc.md (bltgt): New.
10620
10621 2000-01-25  Nick Clifton  <nickc@redhat.com>
10622
10623         * emit-rtl.c (emit_insn): Only check machine class insns for
10624         improper emission of a RETURN.
10625
10626 2000-01-25  Richard Henderson  <rth@cygnus.com>
10627
10628         * Makefile.in (flow.o): Depend on $(EXPR_H).
10629         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
10630         duplicate the structure of diddle_return_value for keeping regs live.
10631
10632 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10633
10634         * loop.c (current_loop_info): Delete.
10635         (consec_sets_invariant_p): Add loop argument, update callers.
10636         (get_condition_for_loop): Likewise.
10637         (count_nonfixed_reads, update_giv_derive): Likewise.
10638         (simplify_giv_expr, general_induction_var): Likewise.
10639         (consec_sets_giv, recombine_givs): Likewise.
10640         (move_movables): Delete loop_start and loop_end arguments,
10641         add loop argument, and update callers.
10642         (find_mem_givs, check_final_value): Likewise.
10643         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
10644         (loop_invariant_p): Rename from invariant_p, add loop argument, and
10645         update callers.
10646         (basic_induction_var): Add loop argument, delete loop_level argument,
10647         and update callers.
10648         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
10649         add loop argument, and update callers.
10650         (find_splittable_regs, find_splittable_givs): Likewise.
10651         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
10652         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
10653         (biv_total_increment): Delete loop_start and loop_end arguments;
10654         update callers.
10655         (precondition_loop_p): Delete loop_start and loop_info arguments;
10656         update callers.
10657         * loop.h (get_condition_for_loop): Add loop argument.
10658         (biv_total_increment): Delete loop_start and loop_end arguments.
10659         (precondition_loop_p): Delete loop_start and loop_info arguments;
10660         add loop argument.
10661         (final_biv_value): Delete loop_start and loop_end arguments;
10662         add loop argument.
10663         (final_giv_value, back_branch_in_range_p): Likewise.
10664
10665 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
10666
10667         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
10668
10669 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
10670
10671         * Makefile.in (c-gperf.h) : Change the "See" pointer to
10672         point to the new "generated_files" doc.
10673
10674 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
10675
10676         * config/fp-bit.c (_unord_f2): Fix typo.
10677
10678 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
10679
10680         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
10681         c-typeck.c, objc/objc-act.c: Remove all references to obstack
10682         functions obsoleted by GC, such as push_obstacks_nochange,
10683         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
10684         and code which existed only to decide whether or not to call
10685         them.  Remove now-unused NESTED argument from start_function;
10686         all callers changed.  Do not change behavior based on ggc_p.
10687         The use of the ixp_obstack in c-iterate.c and the util_obstack
10688         in objc/objc-act.c remain; these are not obsoleted by garbage
10689         collection.
10690         * c-tree.h: Update prototype for start_function.
10691
10692         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
10693
10694 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
10695
10696         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
10697         mips16.
10698
10699 2000-01-25  Richard Henderson  <rth@cygnus.com>
10700
10701         * sparc-protos.h (select_cc_mode): Declare.
10702         * sparc.c (select_cc_mode): New.  Handle unordered compares.
10703         (output_cbranch): Always reverse via code change.  Handle
10704         unordered compares.  Factor tests and string updates.
10705         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
10706         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
10707         * sparc.md (bunordered, bordered): New.
10708         (bungt, bunlt, buneq, bunge, bunle): New.
10709
10710 2000-01-25  Richard Henderson  <rth@cygnus.com>
10711
10712         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
10713         * ggc-common.c (ggc_add_rtx_varray_root): New.
10714         (ggc_mark_rtx_varray): New.
10715         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
10716         functions down below ggc_mark_foo.
10717         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
10718
10719 2000-01-25  Richard Henderson  <rth@cygnus.com>
10720
10721         * alpha.c (secondary_reload_class): Don't allocate a secondary
10722         for integral mode memories into FLOAT_REGS.  Rearrange the more
10723         complicated memory expression inward.
10724
10725 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
10726
10727         * inclhack.def: Fixes to play nicer with FreeBSD, and
10728         corrections to comments.
10729         (cxx_unready): Add select expression.
10730         (irix_sockaddr): Add bypass expression.
10731         (machine_ansi_h_va_list): New fix.
10732         (stdio_va_list): No need to edit _BSD_VA_LIST_.
10733         Split out addition of "#include <stdarg.h>" to...
10734         (stdio_stdarg_h): ... here.
10735         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
10736         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
10737         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
10738         size_t.
10739         (ultrix_ifdef): Tighten up select expression.
10740
10741         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
10742         re_ct and max_mach to avoid use of shell.  Make printed names
10743         match names in inclhack.def.  Use static copyright date.
10744         Don't count c_test and test expressions as requiring regex_t
10745         slots.  Add some commentary.
10746         * inclhack.tpl: Do not include the 'This script contains N
10747         fixup scripts' line if PROGRAM is defined.  Use static
10748         copyright date.
10749
10750 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
10751
10752         * dwarf2out.c: include "varray.h", not dyn-string.h.
10753         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
10754         (addr_const_to_string, addr_to_string): Lose.
10755         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
10756         (struct dw_val_struct): val_addr is now an rtx.
10757         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
10758         (used_rtx_varray): New varray.
10759         (dwarf2out_init): Initialize it.
10760         (save_rtx): New fn.
10761         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
10762         addr_to_string.
10763         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
10764         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
10765         * Makefile.in (dwarf2out.o): Update dependencies.
10766
10767 2000-01-24  Richard Henderson  <rth@cygnus.com>
10768
10769         * i386.c (i386_dwarf_output_addr_const): New.
10770         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
10771
10772         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
10773         if defined.
10774         * dwarfout.c (output_mem_loc_descriptor): Likewise.
10775         * i386.c (i386_simplify_dwarf_addr): New.
10776         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
10777
10778 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
10779
10780         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
10781         TYPE_STUB_DECL is NULL.
10782
10783 2000-01-24  Richard Henderson  <rth@cygnus.com>
10784
10785         * builtins.c (expand_tree_builtin): Move ...
10786         * c-common.c (expand_tree_builtin): ... here.
10787
10788 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10789
10790         * loop.h (LOOP_INFO): New accessor macro.
10791         * basic-block.h (struct loop): Rename field `info' to `aux'.
10792         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
10793         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
10794         * unroll.c (loop_iterations, unroll_loop): Likewise.
10795
10796 2000-01-24  Christopher Faylor <cgf@cygnus.com>
10797
10798         * config/i386/t-cygwin: Accomodate new winsup directory layout
10799         when searching for include files.
10800
10801 2000-01-24  Richard Henderson  <rth@cygnus.com>
10802
10803         * rtl.def: Add unordered fp comparisions.
10804         * tree.def: Likewise.
10805         * tree.h: Add ISO C 9x unordered fp comparision builtins.
10806
10807         * builtins.c (expand_tree_builtin): New function.
10808         * c-typeck.c (build_function_call): Use it.
10809         (build_binary_op): Support unordered compares.
10810         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
10811
10812         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
10813         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
10814         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
10815         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
10816         * jump.c (reverse_condition): Don't abort for UNLE etc, but
10817         return UNKNOWN.
10818         (swap_condition): Handle unordered compares.
10819         (thread_jumps): Check can_reverse before reversing.
10820         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
10821         reversed for FP.
10822
10823         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
10824         setcc is present before acking for cmp_optab.  Update all callers.
10825         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
10826         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
10827         * expr.c (expand_expr): Likewise.  Support unordered compares.
10828         (do_jump, do_store_flag): Likewise.
10829         * expr.h (enum libfunc_index): Add unordered compares.
10830
10831         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
10832         (DPBIT_FUNCS): Add _unord_df.
10833         * config/fp-bit.c (_unord_f2): New.
10834         * fp-test.c (main): Try unordered compare builtins.
10835
10836         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
10837         * alpha.c (alpha_comparison_operator): Check mode properly.
10838         (alpha_swapped_comparison_operator): Likewise.
10839         (signed_comparison_operator): Likewise.
10840         (alpha_fp_comparison_operator): New.
10841         (alpha_emit_conditional_branch): Handle unordered compares.
10842         * alpha.h (PREDICATE_CODES): Update.
10843         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
10844         (bunordered, bordered): New.
10845
10846 2000-01-24  Richard Henderson  <rth@cygnus.com>
10847
10848         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
10849         * alpha.md (movtf): New expander, insn, and splitter.
10850
10851 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
10852
10853         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
10854         dead registers.
10855
10856 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
10857
10858         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
10859         (FIXED_REGISTERS, CALL_USED_REGISTERS,
10860          REG_ALLOC_ORDER): Add frame pointer
10861         (FRAME_POINTER_REGNUM): Set to 20
10862         (HARD_FRAME_POINTER_REGNUM): New macro.
10863         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
10864         to HARD_FRAME_POINTER.
10865         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
10866         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
10867         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
10868         (HI_REGISTER_NAMES): Add "frame".
10869         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
10870         (debug_reg): Handle FRAME_POINTER_REGNUM.
10871         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
10872         GENERAL_REGS and INDEX_REGS.
10873         * i386.c (SAVED_REGS_FIRST): new macro.
10874         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
10875         (ix86_decompose_address, memory_address_length): Likewise.
10876         (regclass_map): Add frame pointer.
10877         (call_insn_operand): Handle frame_pointer_rtx.
10878         (reg_no_sp_operand): Likewise.
10879         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
10880         (print_operand, legitimize_pic_address): Fix formating.
10881         (ix86_compute_frame_size): Make static, update prototype, new
10882         parameters padding1, padding2, use ix86_nsaved_regs, use
10883         stack_alignment_needed.
10884         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
10885         to HARD_FRAME_POINTER_REGNUM conversions.
10886         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
10887         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
10888         (print_reg): Abort on FRAME_POINTER_REGNUM
10889
10890 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
10891
10892         * i386.h (PREDICATE_CODES): Add aligned_operand.
10893         * i386.c (aligned_operand): New function.
10894         (ix86_aligned_p): Kill.
10895         * i386.md (movhi_1): Emit mov for aligned operands.
10896         (promoting peep2s): Use aligned_operand.
10897
10898 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
10899
10900         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
10901         expression to allow underscores in macro names.
10902         (fix_char_macro_defines): Increment scanning pointer.
10903
10904 2000-01-23  Richard Henderson  <rth@cygnus.com>
10905
10906         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
10907         * alpha/osf5.h: New file.
10908         * configure.in (alpha-*-osf5): Add it to tm_file.
10909
10910         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
10911
10912         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
10913         (alpha_emit_xfloating_cvt, function_arg): Declare.
10914         * alpha.c (alpha_emit_conditional_branch): Call
10915         alpha_emit_xfloating_compare for TFmode compares.
10916         (alpha_lookup_xfloating_lib_func): New.
10917         (alpha_compute_xfloating_mode_arg): New.
10918         (alpha_emit_xfloating_libcall): New.
10919         (alpha_emit_xfloating_arith): New.
10920         (alpha_emit_xfloating_compare): New.
10921         (alpha_emit_xfloating_cvt): New.
10922         (print_operand): Add default abort case.
10923         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
10924         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
10925         (BIGGEST_ALIGNMENT): Increase to 128 bits.
10926         (RETURN_IN_MEMORY): True for TF/TCmode.
10927         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
10928         (FUNCTION_ARG): Move to function_arg.
10929         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
10930         (ASM_OUTPUT_LONG_DOUBLE): New.
10931         (ASM_OUTPUT_DOUBLE): Always output bits.
10932         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
10933         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
10934         (extenddftf2, trunctfdf2): New.
10935
10936 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10937
10938         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
10939         * config/sparc/sol2.h: ... here.
10940
10941 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10942
10943         * basic-block.h (struct loops): New field `levels'.
10944         * flow.c (flow_loops_level_compute): Traverse all outer loops.
10945         (flow_loop_level_compute): Initialise level to 1.
10946         (flow_loops_find): Set loops->levels.
10947         (flow_loops_dump): Print loops->levels.
10948
10949 2000-01-23  Richard Henderson  <rth@cygnus.com>
10950
10951         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
10952         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
10953
10954 2000-01-23  Richard Henderson  <rth@cygnus.com>
10955
10956         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
10957         * i386.h (DBX_REGISTER_NUMBER): Use them.
10958         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
10959         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
10960         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
10961         * i386/sequent.h: Kill incorrect comment.
10962
10963 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
10964
10965         * ggc-page.c (struct page_entry): Make `context_depth' an
10966         `unsigned short'.
10967         (struct globals): Likewise.
10968
10969 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
10970
10971         * loop.c (check_dbra_loop): When checking a loop for
10972         reversability, check the source of any stores to ensure
10973         they don't depend on an initial value.
10974
10975 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10976
10977         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
10978
10979 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
10980
10981         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
10982         'pz_scan' into scope of entire function.  Only affects
10983         compiles with -DDEBUG.
10984
10985 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
10986
10987         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
10988         section naming to that prior to 2000-01-07 patch.
10989         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
10990         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
10991         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
10992         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
10993         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
10994
10995 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
10996
10997         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
10998         constant.
10999
11000 2000-01-21  Jim Wilson  <wilson@cygnus.com>
11001
11002         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
11003         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
11004
11005 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
11006
11007         * cpphash.c (change_newlines): Delete function.
11008         (struct argdata): Delete 'newlines' and 'use_count' fields.
11009         (macroexpand): Remove code referencing those fields.
11010
11011 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11012
11013         * loop.c (loops_info): New variable.
11014         (loop_optimize): Allocate loops->array and free it on exit.
11015         Allocate memory for loops_info and assign to each loop,
11016         replacing alloca.
11017         (find_and_verify_loops): Do not allocate loops->array.
11018
11019 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
11020
11021         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
11022
11023 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
11024
11025         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
11026         pseudos if expanded after first flow.
11027         (movdi_pic_label_ref): Likewise.
11028
11029 2000-01-20  Richard Henderson  <rth@cygnus.com>
11030
11031         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
11032
11033 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
11034
11035         * Makefile.in (fixinc.sh): Depend on specs.
11036         * fixinc/Makefile.in: Add rule to create machname.h.
11037         (fixlib.o): Depend on machname.h.
11038         * fixinc/fixtests.c (machine_name): New test.
11039         * fixinc/fixfixes.c (machine_name): New fix.
11040         * fixinc/fixlib.c (mn_get_regexps): New helper function for
11041         the machine_name test and fix.
11042         * fixinc/fixlib.h: Prototype it.
11043         * fixinc/inclhack.def (machine_name): Use the C test and fix.
11044         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
11045
11046         * gcc.c (do_spec_1) [case P]: Take care not to create
11047         identifiers with three leading or trailing underscores.
11048
11049         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
11050         (fixincl): Don't specify libraries twice on link line.
11051         (gnu-regex.o): Remove special rule.
11052         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
11053         defined by config.h.  Do not define _REGEX_RE_COMP.
11054         (regcomp): Allocate and initialize a fastmap.
11055         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
11056
11057 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
11058
11059         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
11060
11061 2000-01-19  Richard Henderson  <rth@cygnus.com>
11062
11063         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
11064         arguments with BB.  Update all callers.  Tidy line wrapping.
11065
11066 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
11067
11068         * emit-rtl.c (try_split): Return last_insn if we split the
11069         last_insn.
11070
11071 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
11072
11073         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
11074         (ix86_initial_elimination_offset): Declare.
11075         * i386.c (ix86_nsaved_regs): Break out from ...
11076         (ix86_can_use_return_insn_p): ... here.
11077         (ix86_emit_save_regs): Break out from ...
11078         (ix86_expand_prologue): ... here.
11079         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
11080         out from ...
11081         (ix86_expand_epilogue): ... here.
11082         (ix86_compute_frame_size): Make static, add prototype.
11083         (ix86_initial_elimination_offset): Break out from ...
11084         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
11085
11086 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11087
11088         * recog.h (OUT_FCN): Delete.
11089
11090         * vax.md: Call `get_insn_template' instead of OUT_FCN.
11091
11092 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11093
11094         * cppalloc.c: PROTO -> PARAMS.
11095         * cpperror.c: Likewise.
11096         * cppfiles.c: Likewise.
11097         * cpplib.c: Likewise.
11098         * cpplib.h: Likewise.
11099
11100         * config/arm/arm-protos.h: PROTO -> PARAMS.
11101         * config/arm/arm.c: Likewise.
11102         * config/c4x/c4x.c: Likewise.
11103         * config/fr30/fr30-protos.h: Likewise.
11104         * config/nextstep.c: Likewise.
11105         * config/pa/pa.c: Likewise.
11106         * config/pj/pj.c: Likewise.
11107         * config/rs6000/rs6000.c: Likewise.
11108         * config/v850/v850-protos.h: Likewise.
11109         * config/v850/v850.c: Likewise.
11110
11111 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11112
11113         * i370-protos.h: New file.
11114
11115         * i370.c: Include tm_p.h.  Fix compile time warnings.
11116
11117         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
11118         warnings.
11119
11120         * i370.md: Likewise.
11121
11122 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11123
11124         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
11125         (target_isinf, target_isnan, eisnan): Mark parameter with
11126         ATTRIBUTE_UNUSED.
11127         (eiisinf): Wrap in INFINITY.
11128         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
11129         (ibmtoe): Remove unused variable `rndsav'.
11130
11131 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11132
11133         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
11134         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
11135
11136 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
11137
11138         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
11139         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
11140         (fix_char_macro_defines, fix_char_macro_uses): New functions.
11141
11142         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
11143         Recognize Emacs mode markers also.
11144         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
11145         C++ comments in C++ headers.  Call is_cxx_header only if
11146         necessary.
11147
11148         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
11149         bypass for ncurses.
11150         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
11151         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
11152         ... these, which use the new C fixes.
11153         (math_exception): Escape literal '+' in bypass expression.
11154
11155         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
11156         Regenerate.
11157
11158 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
11159
11160         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
11161         inside the MEM.
11162
11163 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11164
11165         * loop.c (loop_optimize): Allocate loop_info structure for each loop
11166         prior to calling scan_loop.
11167
11168 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11169
11170         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
11171         (split_branches, calc_live_regs): Likewise.
11172
11173 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11174
11175         * sh.md (fpu_single, fp_mode): New attributes.
11176
11177 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11178
11179         * loop.c (current_loop_info): Renamed from loop_info_data
11180         and changed to a pointer.
11181         (loop_optimize): Allocate loop_info structure for each loop
11182         and initialise to zero.
11183         (scan_loop): Set current_loop_info.
11184
11185         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
11186         on iteration_var.
11187
11188 2000-01-19  Richard Henderson  <rth@cygnus.com>
11189
11190         * stupid.c: Die die die.
11191         * Makefile.in (OBJS): Remove stupid.o.
11192         (stupid.o): Likewise.
11193
11194         * except.c (emit_eh_context): Don't emit USEs for stupid.
11195         * explow.c (probe_stack_range): Likewise.
11196         * flags.h (obey_regdecls): Remove.
11197         * flow.c (find_basic_blocks): Don't run try_merge_blocks
11198         when not optimizing.
11199         (life_analysis): Limit data collection when not optimizing.
11200         (mark_regs_live_at_end): Always mark the return value registers.
11201         (mark_used_regs): Remove dummy RETURN case.
11202         (print_rtl_with_bb): Don't consult obey_regdecls.
11203         * function.c (use_variable, use_variable_after): Remove.
11204         (assign_parms): Consult optimize not obey_regdecls.
11205         (expand_function_start): Don't emit USEs for stupid.
11206         (expand_function_end): Likewise.
11207         * global.c (build_insn_chain): Export.
11208         * integrate.c (expand_inline_function): Kill return-value USE
11209         handling code.
11210         * jump.c (jump_optimize_1): Do simple jump optimizations and
11211         dead code elimination.
11212         (calculate_can_reach_end): Remove check_deleted argument.
11213         (delete_insn): Patch out insns even when not optimizing.
11214         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
11215         * rtl.h (use_variable, use_variable_after): Remove declarations.
11216         (build_insn_chain): Declare.
11217         * stmt.c (expand_value_return): Don't emit USEs for stupid.
11218         (expand_end_bindings): Likewise.
11219         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
11220         * toplev.c (obey_regdecls): Remove.
11221         (rest_of_compilation): Don't set it.  Kill stupid in favour of
11222         flow1, local-alloc, and reload.
11223         (main): Don't set obey_regdecls.
11224
11225         * config/nextstep.c (handle_pragma): Likewise.
11226
11227         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
11228
11229         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
11230
11231 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11232
11233         * alpha-protos.h: PROTO -> PARAMS.
11234         * alpha.c: Likewise.
11235         * elf.h: Likewise.
11236         * h8300.c: Likewise.
11237         * i386-protos.h: Likewise.
11238         * i386.c: Likewise.
11239         * m32r-protos.h: Likewise.
11240         * m32r.c: Likewise.
11241         * mips.c: Likewise.
11242         * mips.md: Likewise.
11243         * gmon-sol2.c: Likewise.
11244         * sparc.c: Likewise.
11245
11246 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11247
11248         * ns32k-protos.h: New file.
11249
11250         * ns32k.c: Fix compile time warnings.
11251
11252         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
11253         warnings.
11254
11255         * ns32k.md: Likewise.
11256
11257 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11258
11259         * vax-protos.h: New file.
11260
11261         * vax.c: Fix compile time warnings.
11262
11263         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
11264         warnings.
11265
11266         * vax.md: Likewise.
11267
11268         * vaxv.md: Likewise.
11269
11270 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11271
11272         * romp-protos.h: New file.
11273
11274         * romp.c: Fix compile time warnings.
11275
11276         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
11277         warnings.
11278
11279         * romp.md: Likewise.
11280
11281 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11282
11283         * we32k-protos.h: New file.
11284
11285         * we32k.c: Fix compile time warnings.
11286
11287         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
11288         warnings.
11289
11290 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11291
11292         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
11293
11294         * except.c (eh_regs): Likewise.
11295
11296         * final.c (output_operand): Likewise.
11297
11298         * fold-const.c (target_isinf, target_isnan): Likewise.
11299
11300 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
11301
11302         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
11303         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
11304
11305         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
11306         when optimize_size.
11307         (clrstrsi): Rewrite.
11308         (strsethi, strsetqi): New expanders.
11309         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
11310         (cmpstrsi): Emit compare insn before cmpstrsi_1
11311         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
11312         (strlensi_1): Likewise.
11313         (cmpstrsi_1): Likewise; do not output compare.
11314         (strlen expander): Do not unroll when optimizing for size.
11315         (*subsi3_carry): Rename to subsi3_carry
11316         (addqi3_cc): New pattern.
11317         * i386.h (processor_costs): Add move_ratio field.
11318         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
11319         * i386.c (*_cost): Set move_ratio.
11320         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
11321         (x86_expand_strlensi_1): Rewrite the main loop.
11322
11323 2000-01-17  Richard Henderson  <rth@cygnus.com>
11324
11325         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
11326         * cse.c (find_comparison_args, fold_rtx): Likewise.
11327         * integrate.c (subst_constants): Likewise.
11328         * loop.c (get_condition): Likewise.
11329
11330         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
11331
11332         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
11333
11334 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11335
11336         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
11337         (RESTORE_WARN_FLAGS): Unpack it.
11338         Change semantic type of extension to ttype.
11339         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
11340         * c-parse.y, c-parse.c, objc/objc-parse.y,
11341         objc/objc-parse.c: Regenerate.
11342
11343 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
11344
11345         * fixinc/fixlib.c: Add copyright notice.
11346         (compile_re): New function.
11347         * fixinc/fixlib.h: Prototype compile_re.
11348
11349         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
11350         Use compile_re to compile regular expressions.
11351
11352         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
11353         where the pattern matched.
11354
11355         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
11356         use 'replace'.
11357         (ultrix_ansi_compat): Likewise.
11358         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
11359         add egrep test.
11360         (interactv_add2, interactv_add3): Delete.
11361         (x11_sprintf): Don't use filename glob.
11362         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
11363         Regenerate.
11364
11365 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11366
11367         * print-rtl.c: PROTO -> PARAMS.
11368         * real.c: Likewise.
11369         * reg-stack.c: Likewise.
11370         * resource.c: Likewise.
11371         * sdbout.h: Likewise.
11372         * simplify-rtx.c: Likewise.
11373         * stor-layout.c: Likewise.
11374         * stupid.c: Likewise.
11375         * xcoffout.c: Likewise.
11376         * xcoffout.h: Likewise.
11377
11378 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11379
11380         * toplev.c: PROTO -> PARAMS.
11381         * toplev.h: Likewise.
11382         * tree.c: Likewise.
11383         * tree.h: Likewise.
11384         * unroll.c: Likewise.
11385         * varasm.c: Likewise.
11386         * varray.c: Likewise.
11387         * varray.h: Likewise.
11388
11389 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11390
11391         * reload.c: PROTO -> PARAMS.
11392         * reload.h: Likewise.
11393         * reload1.c: Likewise.
11394         * reorg.c: Likewise.
11395         * resource.h: Likewise.
11396         * rtl.c: Likewise.
11397         * rtl.h: Likewise.
11398         * rtlanal.c: Likewise.
11399         * sbitmap.h: Likewise.
11400         * sdbout.c: Likewise.
11401         * stack.h: Likewise.
11402         * stmt.c: Likewise.
11403         * system.h: Likewise.
11404
11405 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11406
11407         * machmode.h: PROTO -> PARAMS.
11408         * mbchar.h: Likewise.
11409         * mips-tdump.c: Likewise.
11410         * mips-tfile.c: Likewise.
11411         * optabs.c: Likewise.
11412         * output.h: Likewise.
11413         * prefix.c: Likewise.
11414         * profile.c: Likewise.
11415         * protoize.c: Likewise.
11416         * real.h: Likewise.
11417         * recog.c: Likewise.
11418         * recog.h: Likewise.
11419         * regclass.c: Likewise.
11420         * regmove.c: Likewise.
11421         * regs.h: Likewise.
11422
11423 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11424
11425         * ggc-common.c: PROTO -> PARAMS.
11426         * ggc-page.c: Likewise.
11427         * ggc-simple.c: Likewise.
11428         * ggc.h: Likewise.
11429         * global.c: Likewise.
11430         * graph.c: Likewise.
11431         * gthr-win32.h: Likewise.
11432         * haifa-sched.c: Likewise.
11433         * halfpic.h: Likewise.
11434         * integrate.c: Likewise.
11435         * integrate.h: Likewise.
11436         * jump.c: Likewise.
11437         * lcm.c: Likewise.
11438         * local-alloc.c: Likewise.
11439         * loop.c: Likewise.
11440         * loop.h: Likewise.
11441
11442 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11443
11444         * genattr.c: PROTO -> PARAMS.
11445         * genattrtab.c: Likewise.
11446         * gencheck.c: Likewise.
11447         * gencodes.c: Likewise.
11448         * genconfig.c: Likewise.
11449         * genemit.c: Likewise.
11450         * genextract.c: Likewise.
11451         * genflags.c: Likewise.
11452         * gengenrtl.c: Likewise.
11453         * genopinit.c: Likewise.
11454         * genoutput.c: Likewise.
11455         * genpeep.c: Likewise.
11456         * genrecog.c: Likewise.
11457
11458 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
11459
11460         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
11461
11462 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11463
11464         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
11465         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
11466         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
11467         * configure, config.in: Rebuilt.
11468
11469 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
11470
11471         * config/i386/i386.md: Add peephole to merge successive stack
11472         adjusts.
11473
11474 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
11475
11476         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
11477         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
11478         when walking backwards to find all the parameter loads when
11479         the basic block ends in a call.
11480
11481 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11482
11483         * loop.c (this_loop_info): Delete.
11484         (uid_loop): Add in place of uid_loop_num.  All uses updated.
11485         (loop_number_exit_count): Delete and replace with entry in loop
11486         structure.  All uses updated.
11487         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
11488         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
11489         (loop_outer_loop): Likewise.
11490         (loop_invalid, loop_number_exit_labels): Likewise.
11491         (loop_used_count_register): Delete and replace with entry in
11492         loop_info structure.
11493         (find_and_verify_loops): Add loops argument.
11494         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
11495         loop_end, etc. arguments with loop structure pointer.  All callers
11496         changed.
11497         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
11498         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
11499         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
11500         (insert_bct): Likewise.
11501         (basic_induction_var): New argument level.
11502         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
11503         vtop, and cont.  Add used_count_register.
11504         (uid_loop): Delete declaration.
11505         (loop_number_exit_count): Likewise.
11506         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
11507         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
11508         (loop_outer_loop, loop_used_count_register): Likewise.
11509         (loop_invalid, loop_number_exit_labels): Likewise.
11510         (unroll_loop): Replace loop_start and loop_end arguments
11511         with loop structure pointer.
11512         (loop_precondition_p, loop_iterations): Likewise.
11513         Include basic-block.h.
11514         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
11515         with loop structure pointer.
11516         (loop_precondition_p, loop_iterations): Likewise.
11517         * basic-block.h (struct loop): New entries vtop, cont,
11518         cont_dominator, start, end, top, scan_start, exit_labels,
11519         exit_count.
11520         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
11521
11522 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11523
11524         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
11525
11526 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
11527
11528         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
11529
11530 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11531
11532         * pdp11-protos.h: New file.
11533
11534         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
11535         time warnings.
11536
11537         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
11538         warnings.
11539
11540         * pdp11.md: Likewise.
11541
11542         * 2bsd.h: Likewise.
11543
11544 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11545
11546         * mn10300-protos.h: New file.
11547
11548         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
11549         time warnings.
11550
11551         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
11552         warnings.
11553
11554         * mn10300.md: Likewise.
11555
11556 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11557
11558         * mn10200-protos.h: New file.
11559
11560         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
11561         time warnings.
11562
11563         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
11564         warnings.
11565
11566         * mn10200.md: Likewise.
11567
11568 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11569
11570         * h8300-protos.h: New file.
11571
11572         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
11573         time warnings.
11574
11575         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
11576         warnings.
11577
11578         * h8300.md: Likewise.
11579
11580 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11581
11582         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
11583         (asm_emit_uninitialised): Likewise.
11584
11585 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
11586
11587         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
11588         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
11589
11590 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
11591
11592         * config/mips/mips.c (override_options): Don't turn on extra
11593         alignment for mips16.
11594
11595 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
11596
11597         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
11598         eabi, and make sure queued POSTINCREMENT rtl is emitted at
11599         the right point.
11600
11601 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
11602
11603         * builtins.c (PAD_VARARGS_DOWN): Define.
11604         (std_expand_builtin_va_arg): Use the above macro.
11605         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
11606         * tm.texi (Register Arguments): Document the above macro.
11607
11608 2000-01-14  Nick Clifton  <nickc@cygnus.com>
11609
11610         * emit-rtl.c (emit_insn): If checking is enabled, make sure
11611         that this function has not been used to emit a jump
11612         instruction.
11613
11614         * jump.c (return_jump_1): Cope with being passed a null rtx.
11615
11616 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11617
11618         * eh-common.h: PROTO -> PARAMS.
11619         * emit-rtl.c: Likewise.
11620         * errors.c: Likewise.
11621         * errors.h: Likewise.
11622         * except.c: Likewise.
11623         * except.h: Likewise.
11624         * explow.c: Likewise.
11625         * expmed.c: Likewise.
11626         * expr.c: Likewise.
11627         * expr.h: Likewise.
11628         * final.c: Likewise.
11629         * fix-header.c: Likewise.
11630         * flow.c: Likewise.
11631         * fold-const.c: Likewise.
11632         * function.c: Likewise.
11633         * function.h: Likewise.
11634         * gcc.c: Likewise.
11635         * gcov-io.h: Likewise.
11636         * gcov.c: Likewise.
11637         * gcse.c: Likewise.
11638
11639 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11640
11641         * sh-protos.h: New file.
11642
11643         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
11644         Add static prototypes.  Fix compile time warnings.
11645
11646         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
11647         * sh.md: Likewise.
11648         * elf.h: Likewise.
11649
11650 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11651
11652         * arc-protos.h: New file.
11653
11654         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
11655         time warnings.
11656
11657         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
11658         warnings.
11659
11660         * arc.md: Likewise.
11661
11662 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11663
11664         * dsp16xx-protos.h: New file.
11665
11666         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
11667         time warnings.
11668
11669         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
11670         warnings.
11671
11672         * dsp16xx.md: Likewise.
11673
11674 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11675
11676         * convex-protos.h: New file.
11677
11678         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
11679         time warnings.
11680
11681         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
11682         warnings.
11683
11684 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11685
11686         * elxsi-protos.h: New file.
11687
11688         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
11689         time warnings.
11690
11691         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
11692         warnings.
11693
11694         * elxsi.md: Likewise.
11695
11696 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
11697
11698         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
11699         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
11700         match the comment for MIPS16.
11701
11702 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
11703
11704         * flow.c (split_edge): Do not call set_block_for_insn if we
11705         do not have a basic_block_for_insn structure.
11706
11707         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
11708         and destination functions are 32bit aligned within the trampoline.
11709         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
11710         (TRAMPOLINE_ALIGNMENT): Define.
11711
11712         * cse.c (cse_insn): When changing (set (pc) (reg)) to
11713         (set (pc) (label_ref)), verify the change creates a valid insn.
11714
11715         * fr30.c (call_operand): Tighten and rework to match rules for
11716         call RTL expressions.
11717         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
11718         * fr30.md (call patterns): Improve constraints.
11719
11720 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
11721
11722         * fr30.c (fr30_expand_epilogue): Revert last change.
11723         Use emit_jump_insn for the return insn.
11724
11725 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
11726                           Stan Cox  <scox@cygnus.com>
11727
11728         * predict.c: New file. Preliminary infrastructure work for static
11729         branch prediction and basic block reordering.
11730         * basic-block.h: Add prototype for estimate_probability.
11731         * Makefile.in: Add rules for predict.o.
11732
11733 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
11734
11735         * fixincludes (va_list): Use __not_va_list__ for the dummy.
11736         * fixinc/*: Likewise.
11737
11738 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11739
11740         * cccp.c: PROTO -> PARAMS.
11741         * cexp.y: Likewise.
11742         * collect2.c: Likewise.
11743         * combine.c: Likewise.
11744         * convert.h: Likewise.
11745         * cse.c: Likewise.
11746         * dbxout.c: Likewise.
11747         * dbxout.h: Likewise.
11748         * diagnostic.c: Likewise.
11749         * doprint.c: Likewise.
11750         * dwarf2out.c: Likewise.
11751         * dwarf2out.h: Likewise.
11752         * dwarfout.c: Likewise.
11753         * dwarfout.h: Likewise.
11754         * dyn-string.h: Likewise.
11755
11756 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11757
11758         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
11759         macro conditionals guarding use.
11760
11761         * dwarf2out.c: Include "tm_p.h".
11762
11763         * function.c (locate_and_pad_parm): Mark parameter with
11764         ATTRIBUTE_UNUSED.
11765         (expand_function_end): Likewise for variable `context'.
11766
11767         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
11768
11769 2000-01-13  Nick Clifton  <nickc@cygnus.com>
11770
11771         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
11772         register to prevent compile time warnings.
11773
11774 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
11775
11776         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
11777         to avoid -Wtraditional warning.
11778
11779 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11780
11781         * 1750a-protos.h: New file.
11782
11783         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
11784         time warnings.
11785
11786         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
11787         warnings.
11788
11789         * 1750a.md: Likewise.
11790
11791 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11792
11793         * a29k-protos.h: New file.
11794
11795         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
11796         time warnings.
11797
11798         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
11799         warnings.
11800
11801 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11802
11803         * clipper-protos.h: New file.
11804
11805         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
11806         time warnings.
11807
11808         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
11809         warnings.
11810
11811 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11812
11813         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
11814
11815 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
11816
11817         * configure.in (--enable-new-gxx-abi): New option.
11818         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
11819         * Makefile.in (GXX_ABI_FLAG): New variable.
11820         * configure: Regenerate.
11821
11822 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11823
11824         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
11825         * tm.texi (FORCE_STRUCT_BLK): Document.
11826         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
11827
11828 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
11829
11830         * config/ns32k/ns32k.md: Revert Jan 9 change.
11831
11832         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
11833         to a mode-test, if the predicate is address_operand.
11834
11835 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
11836
11837         * combine.c (if_then_else_cond): Be careful about what kinds
11838         of RTL expressions are passed to operand_subword.
11839
11840         * flow.c (split_edge): If we have to insert a new jump, make
11841         sure to associate it with a basic block.
11842
11843         * flow.c (commit_one_edge_insertion): A block with one successor
11844         can end in a JUMP_INSN that is not a simplejump.
11845
11846 2000-01-12  Robert Lipe  <robertl@sco.com>
11847
11848         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
11849         (BUILD_VA_LIST_TYPE): Define.
11850         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
11851         with crtstuff.c.
11852
11853 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
11854
11855         * cccp.c (do_pragma): Add cast to (char *).
11856
11857 2000-01-12  Richard Henderson  <rth@cygnus.com>
11858             Fred Fish  <fnf@be.com>
11859             Jason Merrill  <jason@cygnus.com>
11860
11861         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
11862         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
11863         * i386/beos-elf.h, i386/beos-pe.h: New files.
11864
11865         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
11866         * cross-make (SYSTEM_HEADER_DIR): Define using
11867         CROSS_SYSTEM_HEADER_DIR.
11868
11869         * gcc.c (LIBRARY_PATH_ENV): Provide default.
11870         (process_command): Use it.
11871         (main): Likewise.  Kill trailing = from env vars.
11872         (build_search_list): Put it back.
11873         * collect2.c (main): Use LIBRARY_PATH_ENV.
11874
11875         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
11876         * toplev.c: Use NEED_DECLARATION_ENVIRON.
11877
11878         * tm.texi (Frame Layout): Document SMALL_STACK.
11879         * c-common.c (c_common_nodes_and_builtins): Check it.
11880
11881         * system.h: Undef alloca after including glibc's <stdlib.h>,
11882         if USE_C_ALLOCA is defined.
11883
11884         * gcc.c (set_input): New fn.
11885         (main): After all input files are compiled, reset the input file
11886         info to the first.
11887
11888         * aclocal.m4 (rindex, index): If already defined, don't attempt
11889         to redefine.
11890
11891         * ginclude/varargs.h: (__va_list__): Define ifndef.
11892         * ginclude/stdarg.h: Likewise.
11893
11894         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
11895         instead of unsigned char.
11896
11897         * hash.h (true, false, boolean): Undef before enum.
11898
11899         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
11900         proper type of "HOST_WIDE_INT *", rather than their natural type of
11901         "unsigned HOST_WIDE_INT *".
11902
11903 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11904
11905         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
11906
11907         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
11908
11909         * regclass.c (choose_hard_reg_mode): Likewise.
11910
11911         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
11912
11913         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
11914
11915 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11916
11917         * c-common.c: PROTO -> PARAMS.
11918         * c-common.h: Likewise.
11919         * c-decl.c: Likewise.
11920         * c-iterate.c: Likewise.
11921         * c-lang.c: Likewise.
11922         * c-lex.c: Likewise.
11923         * c-lex.h: Likewise.
11924         * c-parse.in: Likewise.
11925         * c-pragma.c: Likewise.
11926         * c-pragma.h: Likewise.
11927         * c-tree.h: Likewise.
11928         * c-typeck.c: Likewise.
11929         * objc/objc-act.c: Likewise.
11930         * objc/objc-act.h: Likewise.
11931
11932 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11933
11934         * m88k-protos.h: New file.
11935
11936         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
11937         time warnings.
11938
11939         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
11940
11941         * m88k.md: Likewise.
11942
11943         * tekXD88.h: Likewise.
11944
11945 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11946
11947         * m68k-protos.h: New file.
11948
11949         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
11950         time warnings.
11951
11952         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
11953
11954         * mot3300.h: Likewise.
11955
11956 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
11957
11958         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
11959         extract_bitlst.
11960         (extract_bitlist): Declare bitlen.
11961
11962 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
11963
11964         * cccp.c: Accept and ignore -lang-fortran.
11965
11966         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
11967         qualifiers don't match at any level of pointerness.
11968
11969 2000-01-12  Robert Lipe  <robertl@sco.com>
11970
11971         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
11972
11973 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
11974
11975         * reload1.c (reload_reg_unavailable): New static variable.
11976         (reload_reg_free_p): Test it.
11977         (reload_reg_free_for_value_p): Test it instead of
11978         reload_reg_used.
11979         (choose_reload_regs_init): Compute it.
11980
11981 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
11982
11983         * reorg.c (fill_slots_from_thread): Check modified_in_p
11984         before replacing.
11985
11986 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
11987
11988         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
11989         these nodes even if INTERNALS is not set.
11990
11991 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
11992
11993         * gcse.c (delete_null_pointer_checks_1): Cope when
11994         get_condition cannot determine the condition.
11995
11996 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
11997
11998         * toplev.h (set_message_length): Declare.
11999
12000         * diagnostic.c (obstack_chunk_alloc): Define macro.
12001         (obstack_chunk_free): Likewise.
12002         (struct output_buffer): New data structure.
12003         (vmessage): Remove.
12004         (output_maximum_width): New variable.
12005         (doing_line_wrapping, set_message_length, init_output_buffer,
12006         get_output_prefix, output_space_left, emit_output_prefix,
12007         output_newline, output_append, output_puts, dump_output,
12008         vbuild_message_string, build_message_string, build_location_prefix,
12009         voutput_notice, output_printf, line_wrapper_printf,
12010         vline_wrapper_message_with_location):  New functions. Implement
12011         automatic line wrapping.
12012         (v_message_with_decl): Make it handle automatic line wrapping.
12013         (v_error_with_file_and_line): Likewise.
12014         (v_warning_with_file_and_line): Likewise.
12015         (announce_function): Likewise.
12016         (default_print_error_function): Likewise.
12017
12018 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
12019
12020         * cpplib.h (struct cpp_options): Change lang_asm to char.
12021         Add lang_fortran.
12022         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
12023         done in cpp_handle_option now.
12024         (initialize_builtins): Take out special case code used only by
12025         __STDC_VERSION__.
12026         (cpp_handle_option): Turn off trigraphs and trigraph warnings
12027         if -traditional.  Recognize -lang-fortran and set
12028         lang_fortran, also turn off cplusplus_comments.
12029         (print_help): Document -lang-fortran.
12030         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
12031         lang_asm. Ignore all directives other than `# 123 "file"' if
12032         CPP_PREPROCESSED.
12033         (cpp_get_token): If -traditional, don't recognize directives
12034         unless the # is in column 1.
12035         (parse_string): If lang_fortran or lang_asm, silently
12036         terminate strings ('' or "") at end of line.
12037         Remove unnecessary braces.
12038
12039 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12040             Richard Henderson  <rth@cygnus.com>
12041
12042         * resource.c (mark_referenced_resources): Mark a set strict_low_part
12043         as used.
12044         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
12045         strict_low_part when possible.
12046
12047 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12048
12049         * alias.c: PROTO -> PARAMS.
12050         * basic-block.h: Likewise.
12051         * bitmap.c: Likewise.
12052         * bitmap.h: Likewise.
12053         * builtins.c: Likewise.
12054         * c-aux-info.c: Likewise.
12055         * caller-save.c: Likewise.
12056         * calls.c: Likewise.
12057
12058 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12059
12060         * Makefile.in (toplev.o): Depend on regs.h.
12061
12062         * output.h (tdesc_section): Prototype.
12063
12064         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
12065
12066         * sdbout.c: Include "tm_p.h".
12067
12068         * toplev.c: Include "regs.h".
12069
12070 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
12071
12072         * unroll.c (unroll_loop): Add EH support.
12073
12074 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12075
12076         * pa-protos.h: New file.
12077
12078         * pa.c: Include recog.h and tm_p.h.
12079         (compute_zdepwi_operands, compute_movstrsi_length,
12080         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
12081         find_addr_reg, import_milli): Add static prototypes.
12082         (pa_cpu_string, pa_arch_string): Constify a char*.
12083         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
12084         (read_only_operand): Add argument `mode'.
12085         (singlemove_string, output_move_double, output_fp_move_double,
12086         output_block_move, output_and, output_ior, output_ascii,
12087         remove_useless_addtr_insns, milli_names, output_mul_insn,
12088         output_div_insn, output_mod_insn, output_arg_descriptor,
12089         output_cbranch, output_bb, output_bvb, output_dbra, ,
12090         output_millicode_call, output_call, hppa_encode_label,
12091         output_parallel_movb, output_parallel_addb): Constify a char*.
12092         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
12093         (output_parallel_addb): Remove extra arg to `constrain_operands'
12094
12095         * pa.h:  Move all prototypes to pa-protos.h.
12096         (pa_cpu_string, pa_arch_string): Constify a char*.
12097         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
12098
12099         * pa.md: Call `function_label_operand' with mode argument.
12100         Likewise for `read_only_operand'.
12101         Fix nesting of parens in call to `symbolic_operand'.
12102
12103 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12104
12105         * i860-protos.h: New file.
12106
12107         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
12108         time warnings.
12109
12110         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
12111
12112         * i860.md: Likewise.
12113
12114 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
12115
12116         * i386.md (movstrsi expander): Rewrite.
12117         (movstrsi_1 insn): Deleted.
12118         (strmovhi, strmovqi expander): New expanders.
12119         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
12120         * i386.c (x86_single_stringop): New global variable.
12121         * i386.h (x86_single_stringop): Declare.
12122         (TARGET_SINGLE_STRINGOP): New macro.
12123
12124 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
12125
12126         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
12127         integer vararg POSTINCREMENT before the destination of the jump
12128         for the hard fp case.
12129         (function_arg_pass_by_reference): Pass a copy of CUM to
12130         FUNCTION_ARG.
12131
12132         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
12133         for CONSTANT_ADDRESS_P above while loop for subreg.
12134
12135 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
12136
12137         * flow.c (propagate_block): When a prologue/epilogue insn
12138         is marked dead, unconditionally clear libcall_is_dead and
12139         insn_is_dead, and only dump rtl if warnings aren't being
12140         suppressed.
12141
12142 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
12143
12144         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
12145         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
12146         (FIXED_REGISTERS): Set dirflag as fixed.
12147         (CALL_USED_REGISTERS): Set dirflag as used.
12148         (REG_ALLOC_ORDER): Set dirflag as last one.
12149         (DIRFLAG_REG): New macro.
12150         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
12151         (HI_REGISTER_NAMES): Add dirflag.
12152         (DEBUF_PRINT_REG): Handle dirflag.
12153         * i386.md (type attribute): New cld and str types.
12154         (length_opcode attribute): Set cld and str to 1.
12155         (memory attribute): Set str to unknown - it is not clear from the
12156         patterns.
12157         (pent_np function unit): Prefixed string operations takes 12 cycles
12158         minimally; cld takes 2 cycles.
12159         (ppro_uops attribute): Str is "many" and cld is "few".
12160         (ppro_p0 unit): Handle cld here.
12161         (k6_alux unit): Handle cld and str types.
12162         (k6_load unit): It is ocupied by str opcodes.
12163         (k6_store unit): It is ocupied by str opcodes.
12164         (athlon_decode): Str is vector decoded.
12165         (athlon_ieu): Handle str and cld.
12166         (cld pattern): New.
12167         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
12168         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
12169         cmpstrsi_nz_1 insn): Do not output cld instruction
12170
12171 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
12172
12173         * gcc.texi (G++ and GCC): Add Java and Chill.
12174         (Bug Critera): Don't list languages.
12175
12176         * gcc.texi (Incompatibilities): No longer claim most C compilers
12177         are K&R.
12178
12179         * gcc.texi (G++ and GCC): Update other front-ends list.
12180
12181 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
12182
12183         * i386.c (ix86_expand_setcc): Fix typo.
12184         (ix86_expand_movcc): Similarly.
12185
12186         * Band-aid until haifa's bitset implementation is nuked.
12187         * haifa-sched.c (extract_bitlst): New parameter for size of the
12188         bitset in bits.  All callers changed.  Avoid looking at undefined
12189         bits in the bitset.
12190         (edgeset_bitsize): New variable.
12191         (schedule_region): Initialize edgeset_bitsize.
12192
12193 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12194
12195         * Makefile.in (optabs.o): Depend on real.h
12196         (resource.o): Depend on insn-attr.h
12197
12198         * builtins.c (result_vector): Wrap prototype in macro conditions
12199         governing definition and use.
12200
12201         * c-common.c: Include tm_p.h.
12202
12203         * c-lex.c: Likewise.
12204
12205         * elfos.h: Constify a char*.
12206
12207         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
12208         (get_attr_length, shorten_branches, profile_after_prologue): Mark
12209         parameter with ATTRIBUTE_UNUSED.
12210
12211         * fold-const.c (exact_real_inverse): Wrap variable `i' in
12212         CHECK_FLOAT_VALUE.
12213
12214         * haifa-sched.c (schedule_insns): Mark parameter with
12215         ATTRIBUTE_UNUSED.
12216
12217         * optabs.c: Include real.h.
12218
12219         * real.h (ereal_atof): Add prototype arguments.
12220
12221         * resource.c: Include insn-attr.h.
12222
12223         * sdbout.c (sdbout_queue_anonymous_type,
12224         sdbout_dequeue_anonymous_types): Wrap in macro
12225         SDB_ALLOW_FORWARD_REFERENCES.
12226         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
12227         ATTRIBUTE_UNUSED.
12228
12229         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
12230
12231         * stupid.c: Include tm_p.h.
12232
12233         * tree.c (real_value_from_int_cst): Mark parameter with
12234         ATTRIBUTE_UNUSED.
12235
12236 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12237
12238         * i960-protos.h: New file.
12239
12240         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
12241         time warnings.
12242
12243         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
12244
12245 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12246
12247         * combine.c (expand_field_assignment): Do not discard SUBREGs
12248         while computing nonzero_bits.
12249
12250 2000-01-09  Nick Clifton  <nickc@cygnus.com>
12251
12252         * config/arm/arm.c: Fix compile time warnings about signed vs
12253         unsigned constants.
12254         * config/arm/arm.h: Fix compile time warnings about signed vs
12255         unsigned constants.
12256
12257 2000-01-09  Philip Blundell  <philb@gnu.org>
12258
12259         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
12260         than `ldm' with only one register.
12261         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
12262         only one register.
12263
12264         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
12265         clobbered.
12266
12267 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
12268
12269         * config/ns32k/ns32k.md (load or push effective address): Operand 1
12270         must have SImode.
12271
12272 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12273
12274         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
12275         assignment used as truth value.
12276
12277         * function.c (assign_temp): Mark parameter `dont_promote' with
12278         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
12279         PROMOTE_FOR_CALL_ONLY.
12280
12281         * genrecog.c (write_subroutine): Mark variable `operands' with
12282         ATTRIBUTE_UNUSED.
12283
12284         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
12285         ATTRIBUTE_UNUSED.
12286
12287         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
12288         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
12289
12290         * toplev.c (note_deferral_of_defined_inline_function): Likewise
12291         for `decl'.
12292
12293 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12294
12295         * config/c4x.h: Tidy up comments.
12296         * config/c4x.c: Likewise.
12297
12298 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
12299
12300         * fold-const.c (lshift_double, rshift_double): Handle
12301         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
12302
12303 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12304
12305         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
12306         in prepare_function_start().
12307
12308 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
12309
12310         * config/v850/v850.c (expand_epilogue): Interrupt functions no
12311         longer allocate extra stack for function calls.
12312
12313 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12314
12315         * config/c4x/c4x.md (*subqf3_set): Fix typo.
12316
12317 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12318
12319         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
12320
12321 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
12322
12323         * rs6000.c (processor_target_table): Add power3 as alias for 630.
12324         * aix43.h: Revert Aug 2 change.
12325         (HAS_INIT_SECTION): Define, not visible yet.
12326         (LD_INIT_SWITCH): Define, not visible yet.
12327         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
12328
12329         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
12330
12331         * collect2.c (main): Expand ld2 size further.
12332         (export_object_lst): Cast assignment to avoid warning.
12333         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
12334         (scan_prog_file, COFF): Do not collect initialization or
12335         finalization functions generated for entire shared object if
12336         init/fini support present.
12337
12338 2000-01-07  Nick Clifton  <nickc@cygnus.com>
12339
12340         * config/elfos.h: Tidy up formatting of marcos.  Make sure
12341         that .section directives are always prefixed by a tab.
12342
12343         * config/svr4.h: Add #include "elfos.h" and remove duplicate
12344         definitions.
12345
12346 2000-01-07  Matt Austern  <austern@sgi.com>
12347
12348         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
12349         expon.
12350
12351 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
12352
12353         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
12354         crtstuff.c.
12355         (crtbegin.o, s-crtS): Likewise.
12356
12357 2000-01-06  Richard Henderson  <rth@cygnus.com>
12358
12359         * alpha.md (adddi_2+1): Limit offset such that it will be
12360         loadable with a single ldah+lda pair.
12361         (adddi_2+2): Explicitly fail split if we can't make it work.
12362
12363 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
12364
12365         * protoize.c: Conditionally include unistd.h.
12366         (IS_SAME_PATH_CHAR): New macro.
12367         (IS_SAME_PATH): New macro.
12368         (CPLUS_FILE_SUFFIX): New macro.
12369         (cplus_suffix): New static variable.
12370         (is_abspath): New static function.
12371         (in_system_include_dir): Handle DOS style pathnames.
12372         (file_could_be_converted): Likewise.
12373         (file_normally_convertible): Likewise.
12374         (directory_specified_p): Likewise.
12375         (file_excluded_p): Likewise.
12376         (abspath): Likewise.
12377         (shortpath): Likewise.
12378         (referenced_file_is_newer): Likewise.
12379         (save_def_or_dec): Likewise.
12380         (do_processing): Likewise.
12381         (main): Likewise.
12382         (edit_file): Likewise. Use rename instead of link.
12383         (rename_c_file): Likewise. Don't rename syscalls file.
12384         (munge_compile_params): Define null device for DOS based systems.
12385         (process_aux_info_file): Use binary mode if appliable.
12386         (edit_file): Likewise.
12387         * invoke.texi (Running Protoize): Document C++ suffixes used.
12388
12389         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
12390         IS_DIR_SEPARATOR macros.
12391         * collect2.c: Likewise.
12392         * cppinit.c: Likewise.
12393         * dwarf2out.c: Likewise.
12394         * gcc.c: Likewise.
12395         * gcov.c: Likewise.
12396         * prefix.c: Likewise.
12397         * rtl.c: Likewise.
12398         * toplev.c: Likewise.
12399         * system.h: And move to here.
12400
12401         * prefix.c (update_path): Fix typo in variable name.
12402
12403 2000-01-06  Richard Henderson  <rth@cygnus.com>
12404
12405         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
12406         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
12407         (count_reg_sets_1, count_reg_references): Likewise.
12408         (flow_loops_level_compute): Start counting actual loop depth at 1.
12409         (flow_loops_find): Likewise.
12410         * local-alloc.c (update_equiv_regs): Likewise.
12411         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
12412
12413 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
12414
12415         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
12416         FIRST_PSEUDO_REGISTER
12417         * dwarf2out.c: Don't include frame.h
12418         * dwarfout.c: Likewise
12419         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
12420         frame.h
12421
12422 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
12423
12424         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
12425         dead registers.
12426
12427         * i386.c (movsf splitter): Fix typo in my last checkin.
12428
12429 2000-01-05  Nick Clifton  <nickc@cygnus.com>
12430
12431         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
12432         own definition of this macro.
12433         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
12434         flag_data_sections or UNIQUE_SECTION_P are true.
12435
12436         * tm.texi (UNIQUE_SECTION): Document that it can be called for
12437         unitialised data decls.
12438
12439         * config/i386/winnt.c (i386_pe_unique_section): Cope with
12440         being called for uninitialised data.
12441
12442         * config/i386/interix.c (i386_pe_unique_section): Cope with
12443         being called for uninitialised data.
12444
12445         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
12446         for uninitialised data.
12447
12448         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
12449         for uninitialised data.
12450
12451         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
12452         for uninitialised data.
12453
12454         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
12455         (UNIQUE_SECTION_P): Always generate a unique section if
12456         flag_data_sections is true.
12457         (UNIQUE_SECTION): Also generate unique sections for
12458         uninitialised data.
12459         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
12460         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
12461         named_section().
12462
12463 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12464
12465         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
12466         SI, or DI.
12467
12468 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12469
12470         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
12471         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
12472         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
12473         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
12474         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
12475
12476         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
12477
12478 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
12479
12480         * c-decl.c (finish_enum): Simplify code to determine minimum and
12481         maximum values of the enum, and calculate the type.  Remove check
12482         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
12483         the DECL_INITIAL of each enumeration constant with a copy converted
12484         to the enumeration type.  When updating variant types, don't bother
12485         updating the type itself.
12486
12487         * c-typeck.c (build_binary_op): Simplify conditional expressions
12488         when weeding out spurious signed-unsigned warnings.  Add new
12489         spurious warning category: if the unsigned quantity is an enum
12490         and its maximum value fits in signed_type(result_type).  Update
12491         commentary.
12492         (build_conditional_expr): Warn here if one alternative is signed
12493         and the other is unsigned.
12494
12495 2000-01-05  Nick Clifton  <nickc@cygnus.com>
12496
12497         * config/fr30/fr30.h: Remove extraneous comments.
12498
12499 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
12500
12501         * reload1.c (choose_reload_regs): When disabling a reload, also
12502         set reload_spill_index to -1.
12503
12504 2000-01-04  Joel Sherrill (joel@OARcorp.com>
12505
12506         * configure.in (m68*-*-rtemscoff*): New target, formal name for
12507         old m68*-*-rtems*.
12508         (m68*-*-rtemself*): New target.
12509         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
12510         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
12511         (sparc*-*-rtemself*): New target.
12512         (sparc*-*-rtems*): Now elf not a.out.
12513         * config/i386/rtems.h: Include config/rtems.h.
12514         * config/i386/rtemself.h: Include config/rtems.h.
12515         * config/i960/rtems.h: Include config/rtems.h.
12516         * config/m68k/rtems.h: Include config/rtems.h.
12517         * config/m68k/rtemself.h: Include config/rtems.h.
12518         * config/mips/rtems64.h: Include config/rtems.h.
12519         * config/pa/rtems.h: Include config/rtems.h.
12520         * config/rs6000/rtems.h: Include config/rtems.h.
12521         * config/sh/rtems.h: Include config/rtems.h.
12522         * config/sh/rtemself.h: Include config/rtems.h.
12523         * config/sparc/rtems.h: Include config/rtems.h.
12524         * config/sparc/rtemself.h: Include config/rtems.h
12525
12526 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
12527
12528         * final.c (shorten_branches): Correctly compute length of
12529         asms without operands.
12530
12531 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
12532
12533         * configure.in: Add pj target.
12534         * configure: Regenerate.
12535         * config/pj: New directory.
12536         * config/pj/lib1funcs.S: New file.
12537         * config/pj/linux.h: New file.
12538         * config/pj/pj.c: New file.
12539         * config/pj/pj.md: New file.
12540         * config/pj/pjl.h: New file.
12541         * config/pj/t-pj: New file.
12542         * config/pj/xm-pj.h: New file
12543
12544 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
12545
12546         * toplev.c (rest_of_compilation): Run shorten-branches before
12547         reg-stack for now.
12548
12549 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12550
12551         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
12552         macros so that they're consistent with their names.
12553         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
12554         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
12555
12556 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12557
12558         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
12559         modified inadvertently.
12560
12561 2000-01-04  Joel Sherrill <joel@OARcorp.com>
12562
12563         * configure.in (v850*-*-rtems*): New target.
12564         * configure: Regenerate.
12565         * config/v850/rtems.h: New file.
12566
12567 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
12568
12569         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
12570         (__gthread_key_create): Likewise.
12571         (__gthread_key_dtor):  Likewise.
12572         (__gthread_once): Fix logic.
12573         (__gthread_key_delete): Cast away constness.
12574
12575         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
12576         * invoke.texi: Document.
12577         * i386/mingw32.h (CPP_SPEC): Use.
12578         (LIBGCC_SPEC): Likewise.
12579         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
12580
12581 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
12582
12583         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
12584         (HANDLE_PRAGMA_PACK): Undefine.
12585         (SLOW_UNALIGNED_ACCESS): Define.
12586
12587 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
12588
12589         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
12590         to default definition.
12591         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
12592         (store_fixed_bit_field): Call macro with word_mode and alignment.
12593         (extract_bit_field): Call macro with relevant mode and alignment.
12594         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
12595         to default definition.
12596         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
12597         and alignment.
12598         (move_by_pieces_ninsns): Likewise.
12599         (clear_by_pieces): Likewise.
12600         (emit_push_insn): Likewise.
12601         (store_field): Call macro with relevant mode and alignment.
12602         (expand_expr): Likewise.
12603         (expand_expr_unaligned): Likewise.
12604
12605         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
12606         (SLOW_UNALIGNED_ACCESS): Define.
12607         (CASE_VECTOR_MODE): Always use 32-bit offsets.
12608         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
12609         (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
12610         (toc_section): Likewise and .toc pseudo-op.
12611         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
12612         64-bit mode.
12613         (TEXT_SECTION_ASM_OP): Likewise.
12614         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
12615         32-bit offsets.
12616
12617         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
12618         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
12619         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
12620         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
12621         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
12622
12623 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
12624
12625         * regclass.c: Revert my Jan 4 change to loop cost computation.
12626
12627 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
12628
12629         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
12630         compilation.
12631
12632 2000-01-04  Stan Cox  <scox@cygnus.com>
12633
12634         * haifa-sched.c (build_control_flow): Change unreachable simple
12635         loop test to check if current block has only one predecessor.
12636         (find_rgns): Initialize degree.  Use dest as degree index, not src.
12637
12638 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12639
12640         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
12641
12642         * calls.c (expand_call): Likewise for
12643         `old_stack_arg_under_construction'.
12644
12645         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
12646
12647         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
12648         `save_constant'.
12649
12650         * gcc.c (execute): Likewise for `ut' and `st'.
12651
12652         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
12653
12654         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
12655
12656         * jump.c (jump_optimize_1): Likewise for `temp2'.
12657
12658         * local-alloc.c (block_alloc): Likewise for `r1'.
12659
12660         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
12661
12662         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
12663         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
12664
12665         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
12666         and `set2'.
12667
12668         * reload.c (find_reloads): Likewise for `goal_alternative_number'
12669         and `goal_earlyclobber'.
12670
12671         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
12672
12673         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
12674
12675         * stupid.c (stupid_life_analysis): Likewise for `chain'.
12676
12677         * unroll.c (copy_loop_body): Likewise for `copy'.
12678
12679         * varasm.c (output_constructor): Likewise for `byte'.
12680
12681 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
12682
12683         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
12684         all FP constants for constant->reg moves.
12685         (ix86_split_to_parts): Try to convert memory address into immediate
12686         when available in the constant pool.
12687         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
12688         moves.
12689         (LEGITIMATE_CONSTANT_P): Return 1.
12690         * i386.md (pushsf): New splitter to convert constant pool memory
12691         reference to immediate.
12692         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
12693         reload.
12694
12695 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
12696
12697         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
12698         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
12699         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
12700         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
12701         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
12702
12703 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
12704
12705         * ginclude/stdbool.h:  Support compilation as C++.
12706
12707 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12708
12709         * fold-const.c (make_range): Don't try to reverse an unbounded range.
12710
12711 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
12712
12713         * regclass.c (regclass): Properly compute loop_cost.  Adjust
12714         comments.
12715
12716         * regclass.c: Fix minor whitespace problems.
12717
12718 2000-01-03  Anthony Green  <green@cygnus.com>
12719
12720         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
12721         Restore the pic register if required.
12722
12723 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
12724
12725         * c-common.c (format_char_info): Update comment.
12726         (check_format_info): Recognize 'z' modifier in the same way 'Z'
12727         was recognized.  Emit warning for formats new in ISO C99 only
12728         if flag_isoc9x is not set.
12729
12730 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
12731
12732         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
12733
12734 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
12735
12736         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
12737         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
12738         (make_compound_operation): Choose cheaper alternative between
12739         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
12740
12741         * regclass.c (op_costs): Remove global variable.
12742         (record_reg_classes): New parameter "op_costs" and "reg_pref".
12743         (record_operand_costs): Break out from ...
12744         (scan_one_insn): ... here.
12745         (dump_regclass): Make dumps nicer.
12746         (regclass): Dump preferrences choosed and changes done during passes.
12747
12748 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
12749
12750         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
12751
12752 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
12753
12754         * config/sparc/sparc.c (gen_df_reg): New function.
12755         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
12756         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
12757         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
12758         movtf_cc_reg_sp64+1): Use it.
12759
12760 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
12761
12762         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
12763         copied LABEL_DECLs.
12764
12765 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
12766
12767         * config/i386/i386.c (ix86_expand_unary_operator): Function
12768         definition made void.
12769         (ix86_expand_binary_operator): Update outdated preceding comment.
12770         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
12771         prototype.
12772
12773         * config/i386/i386.c (override_options): Fix option-name typo.
12774
12775 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
12776
12777         * system.h (CEIL): Define.
12778         * builtins.c (CEIL): Remove.
12779         * expmed.c (CEIL): Likewise.
12780         * expr.c (CEIL): Likewise.
12781         * stor-layout.c (CEIL): Likewise.
12782
12783 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12784
12785         * expr.c (store_constructor_field): Fix typo introduced with last
12786         gcc2 merge.
12787
12788 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
12789
12790         * tree.h (BINFO_N_BASETYPES): New macro.
12791
12792 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
12793
12794         * expmed.c (emit_store_flag): Prevent losing a pending stack
12795         adjust the same way we prevent losing queued increments.
12796
12797 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12798
12799         * function.c (update_temp_slot_address): Handle case where sum of
12800         temporary address plus offset in register is a valid address.
12801
12802 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
12803
12804         * genrecog.c (change_state) Corrected typo.
12805
12806 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12807
12808         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
12809         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
12810         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
12811
12812 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
12813
12814         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
12815         case, expand GT comparisons correctly.  Fix a comment before this
12816         part of the code.
12817
12818 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
12819
12820         * dwarfout.c: Include "frame.h"
12821         * dwarf2out.c: Likewise.
12822         * Makefile.in (dwarfout.o): Depend on frame.h
12823         (dwarf2out.o): Likewise.
12824
12825 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
12826
12827         Restore i386 binary compatibility in Dwarf EH info.
12828         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
12829         value of FIRST_PSEUDO_REGISTER.
12830         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
12831         (struct frame_state): Use DWARF_FRAME_REGISTERS.
12832         * dwarfout.c (output_reg_number): Ditto.
12833         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
12834         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
12835
12836 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
12837
12838         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
12839         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
12840         (<hack>_RE_CT): not needed
12841         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
12842         rewritten to scan the file text once only
12843         "template<..." test added
12844         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
12845         (is_cxx_header): declaration added
12846         * fixinc/fixtests.c(is_cxx_header): removed
12847         (apply_fix_p_t): removed
12848         (double_slash_test): is_cxx_header is only called once now
12849         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
12850         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
12851         within the templates.
12852         The borken spelling of "broken" was fixed.
12853         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
12854         The default level depends on FIXINC_DEBUG.
12855
12856 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12857
12858         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
12859         Otherwise provide a declaration for atexit.
12860         (init_dummy): Make sure dummy call to atexit is nevertheless
12861         called with correct number of args.
12862
12863         * frame.c: Update comments referring to other files.
12864
12865         * libgcc2.c: Likewise.
12866
12867 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12868
12869         * cse.c (free_element, get_element): Remove unused prototypes.
12870
12871         * fold-const.c (extract_muldiv): Initialize variables `op0' and
12872         `op1'.
12873
12874         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
12875         `else' clauses.
12876
12877 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
12878
12879         * configure.in,configure: case arm for mn10200-*-* now sets
12880         float_format=i32 so that float.h will correctly claim "double"
12881         to be 32 bits. Ran autoconf to generate configure from .in file.
12882
12883 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
12884
12885         * pa.md (conditional zero): If op1 is a register, force it into
12886         the same register as op0.
12887
12888 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
12889
12890         * tree.h (BINFO_BASETYPES): Improve documentation.
12891
12892 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12893
12894         * configure.in (--enable-checking): Use a more portable `for'
12895         loop syntax.
12896
12897 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12898
12899         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
12900         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
12901
12902         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
12903         Delete files.
12904
12905         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
12906         Delete descriptions.
12907
12908         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
12909         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
12910         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
12911         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
12912         xm-svr4.h: Remove all instances of sys_siglist handling.
12913
12914 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
12915
12916         * config/sparc/sparc.md (cmp_zero_qi,
12917         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
12918         cmp_zero_extendqidi2_andcc_set): New patterns.
12919
12920 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
12921
12922         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
12923         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
12924         (fpgnulib.c, xfgnulib.c): Add rules.
12925         * m68k/t-mot3300-gas: Likewise.
12926
12927 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
12928
12929         * configure.in: Avoid [[ by using test and changequote.  Add
12930         changequote required by 1999-12-14 change.
12931         * configure: Rebuild.
12932
12933 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
12934
12935         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
12936
12937 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
12938
12939         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
12940         * flow.c (find_use_as_address): Likewise.
12941         * function.c (fixup_var_refs_1): Likewise.
12942         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
12943         * jump.c (invert_exp, redirect_exp): Likewise.
12944         * loop.c (replace_call_address): Likewise.
12945         (count_nonfixed_reads): Likewise.
12946         * rtlanal.c (modified_between_p): Likewise.
12947         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
12948         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
12949         * unroll.c (remap_split_bivs): Likewise.
12950
12951 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12952
12953         * diagnostic.c (v_message_with_decl): Use .* format specifier
12954         instead of building the format specifier width manually.
12955
12956         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
12957         determining whether to provide a prototype.  Remove the
12958         sys_siglist clause in the conditional.
12959
12960 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
12961
12962         * fold-const.c (operand_equal_p): Use memcmp to compare string
12963         constants.
12964         Suggested by D. J. Bernstein
12965
12966 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
12967
12968         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
12969         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
12970         compiling libgcc2.
12971         * config/mips/mips.h (TARGET_64BIT): Likewise.
12972         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
12973         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
12974         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
12975         dsps.  Give routines proper names if SI/DI modes are not used.
12976         * longlong.h: Use DWunion instead of DIunion.
12977
12978 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
12979
12980         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
12981         GC_CHECKING, GC_ALWAYS_COLLECT.
12982         * configure.in: Allow --enable-checking with an argument
12983         listing check modes to enable.
12984         * config.in, configure: Rebuilt.
12985         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
12986         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
12987         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
12988         ENABLE_GC_ALWAYS_COLLECT.
12989         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
12990         throughout.
12991         * tree.h, tree.c: Change ENABLE_CHECKING to
12992         ENABLE_TREE_CHECKING throughout.
12993
12994 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12995
12996         * fold-const.c (fold_truthop): Properly check for FP RHS.
12997
12998 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
12999
13000         * toplev.h (note_deferall_of_defined_inline_function): Declare.
13001         * toplev.c (note_deferral_of_defined_inline_function): New
13002         function, split out from ...
13003         (rest_of_compilation): ... here.  Use it.
13004
13005 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13006
13007         * expr.c (store_constructor): Don't call clear_storage if size is
13008         variable.
13009
13010 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13011
13012         * Makefile.in (toplev.o): Depend on loop.h.
13013
13014         * dwarfout.c: Include tm_p.h.
13015
13016         * emit-rtl.c (restore_emit_status): Mark parameter with
13017         ATTRIBUTE_UNUSED.
13018
13019         * final.c (final_scan_insn): Likewise.
13020
13021         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
13022         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
13023         flow_depth_first_order_compute, flow_loop_pre_header_find,
13024         flow_loop_tree_node_add, flow_loops_tree_build,
13025         flow_loop_level_compute, flow_loops_level_compute,
13026         flow_loop_outside_edge_p): Add prototypes.
13027         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
13028
13029         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
13030         Mark with ATTRIBUTE_NORETURN.
13031
13032         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
13033
13034         * local-alloc.c (no_conflict_p): Likewise.
13035
13036         * loop.c (insert_bct): Hide definitions of variables with hidden
13037         usage.
13038         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
13039
13040         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
13041         with ATTRIBUTE_UNUSED.
13042         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
13043         (reg_scan): Likewise.
13044
13045         * reload.c (find_reloads): Remove unused variables `changed'.
13046
13047         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
13048         away const-ness.
13049         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
13050         Remove unused variable `insn'.
13051
13052         * toplev.c: Include loop.h.
13053         (report_file_and_line): Remove unnecessary prototype.
13054
13055         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
13056
13057         * unroll.c (biv_total_increment): Likewise.
13058
13059 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13060
13061         * reload1.c (emit_input_reload_insns): Restore old behaviour
13062         wrt. 'special' reloads.
13063
13064 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
13065
13066         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
13067         hash.h.  (cse.c): Don't depend on hashtab.h.
13068
13069         * cse.c: Don't include hashtab.h.
13070         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
13071         of dead functions.
13072         * ggc-simple.c: Don't include hash.h.
13073
13074 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
13075
13076         * dwarf2out.c (add_abstract_origin_attribute): Call
13077         gen_abstract_function on our function context.
13078
13079 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
13080
13081         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
13082
13083 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13084
13085         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
13086         case in switch.
13087
13088 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13089
13090         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
13091         constraints to "a!r".
13092
13093 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
13094
13095         * Makefile.in (calls.o): Depend on function.h.
13096         (alias.o): Likewise.
13097
13098 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
13099
13100         * reload1.c (emit_reload_insns): Break out code and variables into...
13101         (input_reload_insns, other_input_address_reload_insns,
13102         other_input_reload_insns, input_address_reload_insns,
13103         inpaddr_address_reload_insns, output_reload_insns,
13104         output_address_reload_insns, outaddr_address_reload_insns,
13105         operand_reload_insns, other_operand_reload_insns,
13106         other_output_reload_insns): ... new static variables, and...
13107         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
13108         do_output_reload): ... new functions.
13109
13110 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13111
13112         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
13113
13114 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13115
13116         * md.texi: Add c4x constraints documentation.
13117
13118 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
13119
13120         * config/i386/dgux.c (struct option): Rename to
13121         lang_independent_option.
13122         (struct m_options): Add description field.
13123         (output_options): Rename option type, add sep declaration, output
13124         ix86_cpu_string and ix86_arch_string only if set.
13125         (output_file_start): Rename option type.
13126
13127 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
13128
13129         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
13130         stmp-int-hdrs.
13131         (libgcc2.a): Similarly.
13132
13133 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
13134
13135         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
13136         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
13137         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
13138
13139 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
13140
13141         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
13142         Remove redundant initialization of "frexpon" and "expon".
13143
13144 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13145
13146         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
13147
13148         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
13149         (store_constructor_field, expand_expr): Pass new arg.
13150
13151 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
13152
13153         * Makefile.in (explow.o): Depend on function.h.
13154
13155         * stor-layout.c (set_sizetype): Fix typo.
13156
13157 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
13158
13159         * function.c (cfun): Renamed from current_function.  All users
13160         changed.
13161         * function.h (cfun): Rename declaration as well.
13162
13163         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
13164         to be of type regset_head, not regset.  All users changed by adding
13165         address operator.
13166         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
13167
13168 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13169
13170         * config/c4x/rtems.h: New file.
13171
13172 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
13173
13174         * reload1.c (spill_failure): Take class of failed reload as argument
13175         and print it.  Caller changed.
13176
13177 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13178
13179         * rs6000.h (SUBTARGET_DEFAULT): New macro.
13180         (TARGET_SWITCHES): Allow subtargets to default switches.
13181         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
13182
13183 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
13184
13185         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
13186         in a main program.
13187
13188 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
13189
13190         * cccp.c (main): Define __STDC_VERSION__ as necessary.
13191         * cppinit.c (cpp_handle_option): Likewise.
13192
13193         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
13194         determine when to define.
13195
13196 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
13197
13198         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
13199         cmove with mismatched test and data modes.
13200
13201 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
13202
13203         * c-typeck.c (c_expand_start_case): Don't warn for long switch
13204         in system headers.
13205
13206 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13207
13208         * alias.c: Minor reformatting.
13209         * flow.c: Likewise.
13210         * regs.h: Likewise.
13211         * stor-layout.c: Likewise.
13212         * fold-const.c: Likewise.
13213         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
13214         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
13215         not arg itself.
13216         (size_int_wide): Cache nodes even if garbage collecting.
13217         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
13218         of SAVE_EXPR has no side effects.
13219         * cse.c: Move a comment.
13220         * tree.c: Minor reformatting.
13221         (int_size_in_bytes): Return -1 if constant overflows.
13222
13223 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13224
13225         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
13226
13227 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
13228
13229         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
13230         after any change to c-parse.in, even if objc-parse.y didn't
13231         change.  Oops.
13232
13233 1999-12-18  David S. Miller  <davem@redhat.com>
13234
13235         * toplev.c (rest_of_compilation): Restore BLOCK tree
13236         reconstruction and branch shortening changes lost in
13237         December 18th change.
13238
13239 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
13240
13241         * config/arm/linux-elf.h: Change all instances of
13242         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
13243         * config/arm/uclinux-elf.h: Likewise.
13244
13245 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
13246
13247         * toplev.c (notice, vmessage, v_message_with_file_and_line,
13248         v_message_with_decl, file_and_line_for_asm,
13249         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
13250         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
13251         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
13252         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
13253         pfatal_with_name, fatal_io_error, need_error_newline,
13254         last_error_function, last_error_tick, announce_function,
13255         default_print_error_function, print_error_function,
13256         report_error_function, fnotice, error_with_file_and_line,
13257         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
13258         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
13259         warning_with_decl, warning_for_asm, warning, pedwarn,
13260         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
13261         diagnostic.c
13262         (compile_file): Use fnotice instead of notice.  Adjust call.
13263
13264         * diagnostic.c: New file.
13265
13266         * Makefile.in (OBJS): Include diagnostic.o
13267         (diagnostic.o): Define dependence.
13268
13269 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13270
13271         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
13272         Tweak formatting.
13273
13274 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13275
13276         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
13277
13278 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
13279
13280         * fixtests.c (is_cxx_header): New fn, split out of
13281         double_slash_test.
13282         (else_endif_label): Allow "#endif // comment" in C++ headers,
13283         as determined by is_cxx_header.
13284         * fixfixes.c (else_endif_label_fix): Update comment.
13285         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
13286         a tty.
13287         * genfixes: Correct double thinko in commandline parsing.
13288         * hackshell.tpl: Generate correct sh syntax for bypass
13289         entries.
13290
13291         * inclhack.def (all): Whenever an inserted preprocessor
13292         conditional is split over multiple lines, use double
13293         backslashes in this file so the fixed header will be readable.
13294
13295         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
13296         and add bypass entry for correct version of this header.
13297         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
13298         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
13299
13300         (hpux8_bogus_inlines): New fix, split from...
13301         (ultrix_atof_param) ... here.
13302         (math_expression): Add bypass entry keyed to glibc comment
13303         indicating the problem has been dealt with; disable
13304         unnecessary sed operations; update commentary.
13305         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
13306         add select and bypass entries, simplify shell operation.
13307         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
13308
13309         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
13310          ultrix_atof_param): Add select entry.
13311         (stdio_va_list, sunos_mather_decl): Add bypass entry.
13312         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
13313         comments with the fixes they describe.
13314
13315         * c-parse.in (string action): Do not warn about ANSI string
13316         concatenation in system headers.  Affects C parser only.
13317         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
13318
13319 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
13320
13321         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
13322         compiling libgcc2 the macro depends always on arch cpp defines.
13323
13324 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
13325
13326         * loop.c (insert_loop_mem): Don't record MEMs from inside
13327         EXPR_LISTs.
13328
13329 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
13330
13331         * regclass.c (regclass): Do not use flowgraph when not optimizing.
13332
13333         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
13334         notes too, create one when replacement failed, attempt to simplify
13335         resulting notes.
13336         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
13337         or REG_EQUIV notes.
13338
13339 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
13340
13341         * crtstuff.c (__dso_handle): Declare.
13342         (__cxa_finalize): Likewise.
13343         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
13344         non-NULL.
13345
13346         * invoke.texi: Document -fuse-cxa-atexit.
13347
13348         * tree.h (ptr_type_node): Document.
13349         (const_ptr_type_node): Likewise.
13350
13351 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13352
13353         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
13354         (optimize_reg_copy_2): Likewise.
13355         (optimize_reg_copy_3): Likewise.
13356         (fixup_match_2): Likewise.
13357         (regmove_optimize): Likewise.
13358         (fixup_match_1): Liekwise.
13359
13360         * i386.md (HI to SImode promoting splitters): Rewrite.
13361         (pushsf mem peep2): New.
13362         (testhi to andhi peep2): Remove.
13363         * i386.h (x86_promote_QImode): New.
13364         (TARGET_PROMOTE_QImode): New.
13365         (PREDICATE_CODES): Add promotable_binary_operator.
13366         * i386.c (x86_promote_QImode0: New.
13367         (promotable_binary_operator): New.
13368         * i386-protos.h (promotable_binary_operator): New.
13369
13370         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
13371         condition.
13372         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
13373
13374 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
13375
13376         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
13377         * function.c (insert_block_after_note): Remove.
13378         (retrofit_block): Likewise.
13379         (identify_blocks): Fix indentation.
13380         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
13381         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
13382         * function.h (insert_block_after_note): Remove prototype.
13383         (retrofit_block): Likewise.
13384         * integrate.c (expand_inline_function): Don't call
13385         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
13386         just expand_start_bindings.  Use the block_map to remap old
13387         NOTE_BLOCKs to new ones.
13388         (integrate_decl_tree): Keep track of remapped blocks.
13389         * integrate.h (struct inline_remap): Add block_map.
13390         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
13391         NOTE_BLOCK on the notes.
13392         (expand_start_bindings): Rename to ...
13393         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
13394         (expand_end_bindings): Set NOTE_BLOCK.
13395         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
13396         reconstruct the BLOCK tree.
13397         * tree.h (expand_start_bindings): Macroize.  Call ...
13398         (expand_start_bindings_and_block): New function.
13399
13400 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
13401
13402         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
13403         to match the format.
13404
13405 1999-12-16  David S. Miller  <davem@redhat.com>
13406
13407         * expr.c (emit_move_insn_1): Only emit clobbers if one of
13408         the outputs is a SUBREG.
13409         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
13410         change.
13411
13412         * config/sparc/sparc.c (epilogue_renumber): Add default case
13413         to switch stmt.
13414
13415 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13416
13417         * toplev.c (rest_of_compilation): Run branch shortening after
13418         reg-stack.
13419
13420         * regclass.c (loop_depth): Remove
13421         (scan_one_insn): Do not handle LOOP_NOTE insns.
13422         (regclass): Go through basic blocks and set loop_cost
13423
13424 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
13425
13426         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
13427
13428 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13429
13430         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
13431         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
13432         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
13433
13434 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
13435
13436         * loop.c (insert_loop_mem): Ignore memory clobbers.
13437
13438         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
13439         to (OP A B).
13440
13441 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
13442
13443         * profile.c: Remove redundant #include "output.h".
13444
13445         * h8300.md (HImode preinc peephole): Fix typo.
13446
13447 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
13448
13449         * function.c (retrofit_block): Abort if we don't find a suitable insn.
13450         (insert_block_after_note): Abort if we don't have a previous block.
13451         Remove FN parameter.
13452         * function.h: Adjust.
13453
13454 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
13455
13456         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
13457         argument more than once.
13458
13459 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
13460
13461         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
13462
13463 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
13464
13465         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
13466
13467 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13468
13469         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
13470         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
13471         update stack_alignment_needed.
13472         (prepare_function_start): Initialize stack_alignment_needed
13473         * function.h (struct function): Add field stack_alignment_needed.
13474
13475 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13476
13477         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
13478         Handle live_throughout / dead_or_set instead of live_before /
13479         live_after.
13480         (save_call_clobbered_regs): Get register livenessinformation from
13481         chain->live_throughout.
13482         (add_stored_regs): New function.
13483         (insert_restore, insert_save): Add restored / saved registers to
13484         dead_or_set.
13485         * global.c (reg_dies): New parameter chain.
13486         (reg_becomes_live): Third parameter is regs_set now.
13487         Changed all callers.
13488         (reg_dies): New parameter chain.  Changed all callers.
13489         (build_insn_chain): Set live_throughout instead of
13490         live_before / live_after.
13491         * reload.h (struct insn_chain): Replace members live_before /
13492         live_after with live_throughout / dead_or_set.
13493         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
13494         instead of live_before / live_after.
13495         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
13496         (order_regs_for_reload, find_reg, finish_spills): Likewise.
13497         (choose_reload_regs_init): Likewise.
13498         * stupid.c (current_chain, find_clobbered_regs): Delete.
13499         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
13500         instead of chain->live_before / chain->live_after.
13501         (mark_hard_ref): New function.
13502         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
13503
13504 1999-12-15  David S. Miller  <davem@redhat.com>
13505
13506         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
13507
13508 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13509
13510         * flow.c (calculate_loop_depth): Make global, remove prototype,
13511         rewrite to use new loop infrastructure.
13512         (find_basic_block): Remove calculate_loop_depth call.
13513         * toplev.c (rest_of_compilation): Call find_basic_block.
13514         * output.h (calculate_loop_depth): Declare.
13515
13516         * flow.c (dump_flow_info): Dump loop_depth.
13517         (flow_loops_nodes_find): Increase loop_depth for basic block in the
13518         body.
13519         (flow_loops_find): Initialize the loop_depth for each basic block.
13520
13521 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
13522
13523         * tree.c (decl_function_context): Handle virtual functions.
13524
13525         * tlink.c (scan_linker_output): Don't look in demangled name when
13526         looking for linker output keywords.
13527
13528         * dwarfout.c (output_type): We can defer namespace-scope classes.
13529
13530 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
13531
13532         * regclass.c (record_reg_classes): Update comment for merging
13533         register class preferences in reg->reg copies.  Tighten conditions
13534         for merging register class preferences in reg->reg copies.
13535
13536 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
13537
13538         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
13539
13540 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
13541
13542         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
13543         (INIT_SECTION_ASM_OP): Delete.
13544         (FINI_SECTION_ASM_OP): Delete.
13545         (STARTFILE_SPEC): Define to hold just crtbegin.o.
13546
13547 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
13548
13549         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
13550         the abstract origin wasn't emitted.
13551
13552         * dwarf2out.c (class_scope_p): New fn.
13553         (gen_subprogram_die): Use it.
13554         (gen_variable_die): Use it.  Tweak logic.
13555         (gen_struct_or_union_type_die): Check context_die to determine
13556         if we're function-local.
13557         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
13558
13559 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
13560
13561         * loop.c (check_dbra_loop): Can't reverse a biv that has
13562         maybe_multiple set.
13563
13564 1999-12-14  Nick Clifton  <nickc@cygnus.com>
13565
13566         * config/arm/arm.c: Add support for -mcpu=arm720 command line
13567         switch.
13568
13569 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13570
13571         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
13572         for givs made from biv increments.
13573
13574 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
13575
13576         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
13577         * alpha.c (override_options): Recognize -mcpu=ev67.
13578         * alpha.h (CPP_CPU_EV67_SPEC): New.
13579         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
13580         (EXTRA_SPECS): Update.
13581
13582 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
13583
13584         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
13585         appropriate for -lang-c89 and -std=*.
13586         * cppinit.c (cpp_handle_option): Likewise.
13587         (new_pending_define): New, split out from cpp_handle_option.
13588         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
13589         or enable trigraphs for -ansi/-std=*.
13590
13591         * ginclude/stdarg.h (__va_copy): New.
13592         (va_copy): Don't define for C89.
13593
13594 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
13595
13596         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
13597         for long long multiply-accumulate.
13598
13599 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13600
13601         * regclass.c (scan_one_insn): Set loop_cost to 1 when
13602         optimizing for size.
13603
13604 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
13605
13606         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
13607         if something changed.  Back out that part of yesterday's changes.
13608
13609         * loop.c (loop_max_reg): New static variable.
13610         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
13611         max_reg_num.
13612         (scan_loop): Call reg_scan_update whenever we may have added new
13613         registers, and update loop_max_reg.
13614
13615 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13616
13617         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
13618         when source does not die.
13619
13620         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
13621
13622 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
13623
13624         * config/sparc/linux64.h (TARGET_LIVE_G0,
13625         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
13626         variants on Linux.
13627         * config/sparc/linux.h (TARGET_LIVE_G0,
13628         TARGET_BROKEN_SAVERESTORE): Likewise.
13629         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
13630         TARGET_BROKEN_SAVERESTORE): Likewise.
13631
13632         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
13633         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
13634         not %g2.
13635         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
13636         as sparc64 block profiling register.
13637         * config/sparc/sparc.c (sparc_override_options): Allow block
13638         profiling with -m32.
13639         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
13640         profiling register.
13641         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
13642         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
13643         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
13644
13645         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
13646         for sparc64.
13647         * config/sparc/sparc.h: Likewise.
13648         * config/sparc/xm-sysv4-64.h: Likewise.
13649         * config/float-sparc.h: Likewise.
13650         * glimits.h: Likewise.
13651         * longlong.h: Likewise.
13652
13653         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
13654         (ASM_IDENTIFY_GCC): Remove.
13655
13656 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
13657
13658         * combine.c (combine_simplify_rtx): Don't make shared rtl.
13659         (simplify_logical): Likewise.
13660
13661 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
13662
13663         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
13664         * cppfiles.c (INO_T_EQ): Likewise.
13665
13666 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
13667
13668         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
13669         * i386/mingw32.h (LIB_SPEC): Likewise.
13670         (STARTFILE_SPEC): Likewise.
13671         * i386/uwin.h (LIB_SPEC): Likewise.
13672         (STARTFILE_SPEC): Likewise.
13673
13674         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
13675         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
13676
13677 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
13678
13679         * combine.c (combine_simplify_rtx): Fix order of checks for
13680         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
13681
13682 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
13683
13684         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
13685         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
13686
13687 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
13688
13689         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
13690         defined.
13691         * regclass.c (inv_reg_alloc_order): New array.
13692         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
13693
13694         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
13695         counted_for_groups, counted_for_nongroups.  Add fields rld and
13696         n_reloads.
13697         * reload.c (push_secondary_reload): Don't set nongroup field of
13698         new reloads.
13699         (push_reload): Likewise.
13700         (find_reloads): Delete code to compute nongroup fields.
13701         * reload1.c (reload_insn_firstobj): New static variable.
13702         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
13703         users changed.
13704         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
13705         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
13706         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
13707         functions.
13708         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
13709         functions.
13710         (struct hard_reg_n_uses): Deleted.
13711         (potential_reload_regs): Deleted.
13712         (init_reload): Initialize spilled_pseudos and pseudos_counted.
13713         (reload): Don't try to allocate reload registers if we already know
13714         we have to make another pass.  Call select_reload_regs.  Free memory
13715         starting with reload_firstobj when starting another pass.
13716         Don't allocate spilled_pseudos.
13717         (calculate_needs_all_insns): Call copy_reloads for an insn that
13718         needs reloads; don't call calculate_needs.
13719         (spill_cost): New static array.
13720         (used_spill_regs_local): New static variable.
13721         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
13722         to compute potential_reload_regs.
13723         (find_reload_regs): Completely rewritten to use find_reg.
13724         (allocate_reload_reg): Don't test counted_for_groups or
13725         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
13726         all cllers changed.
13727         (choose_reload_regs): Add fallback code that uses the existing
13728         register allocation from find_reload_regs.
13729
13730 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
13731
13732         * flow.c (create_edge_list): Cast xmalloc return value.
13733
13734 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
13735
13736         * doprnt.c: Remove incorrect comment closure.
13737
13738         * cse.c: Fix a few minor whitespace goofs.
13739
13740 1999-12-13  Don Bowman  <don@pixstream.com>
13741
13742         * mips/vxworks.h: Fix problem with comment termination.
13743         (EXTRA_SECTIONS): Add in_sbss.
13744         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
13745
13746 1999-12-12  David S. Miller  <davem@redhat.com>
13747
13748         * cse.c (struct cse_reg_info): Add hash_next member,
13749         reorder rest of struct for better packing on 64-bit
13750         hosts.
13751         (cse_reg_info_tree): Kill.
13752         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
13753         REGHASH_FN): New custom pow2 hash mechanism.
13754         (NBUCKETS): Kill.
13755         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
13756         use a pow2 hash table.
13757         (get_cse_reg_info): Rework to use new REGHASH.
13758         (new_basic_block): Likewise, use HASH_SIZE, and inline
13759         free_element call.
13760         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
13761         and inline free_element call.
13762         (lookup_as_function, insert, flush_hash_table, invalidate,
13763         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
13764         invalidate_for_call, use_related_value, find_comparison_args,
13765         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
13766         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
13767         get_element): Kill.
13768
13769 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
13770
13771         * cse.c (cse_basic_block): Free qty_table consistently.
13772
13773 1999-12-12  David S. Miller  <davem@redhat.com>
13774             Jakub Jelinek    <jakub@redhat.com>
13775
13776         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
13777         SUBREGs by hand, gen the appropriate hard reg directly.
13778         (movtf reg/mem split): Likewise and alter_subreg on destination
13779         if necessary.
13780         (movtf mem/reg split): Similarly.
13781         (movdf_cc_sp64): Rename from hidden pattern.
13782         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
13783         (movtf_cc_sp64, following split): New pattern and splitter.
13784         (movdf_cc_reg_sp64): Rename from hidden pattern.
13785         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
13786         TARGET_HARD_QUAD.
13787         (movtf_cc_reg_sp64, following split): New pattern and splitter.
13788
13789 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
13790
13791         * loop.c (load_mems): Don't hoist written floating point mem
13792         if -ffloat-store.
13793
13794 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
13795
13796         * except.h (struct eh_queue): Add `next' pointer.
13797         (struct eh_status): Make x_ehqueue a pointer.
13798         (push_ehqueue):  Declare.
13799         (pop_ehqueue): Likewise.
13800         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
13801         pointer.
13802         (expand_fixup_region_end): Likewise.
13803         (expand_leftover_cleanups): Likewise.
13804         (push_ehqueue): Define.
13805         (pop_ehqueue): Likewise.
13806         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
13807         than doing it inline.
13808         (expand_start_all_catch):  Adjust now that ehqueue is a
13809         pointer.
13810         (mark_eh_queue): Mark all level of the queue.
13811         (mark_eh_status):  Adjust now that ehqueue is a
13812         pointer.
13813         (init_eh_for_function): Allocate ehqueue.
13814         (free_eh_status): Free it.
13815         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
13816         expansion for a fixup.
13817
13818 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13819
13820         * gthr-single.h (__gthread_active_p): Add prototype arguments.
13821
13822         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
13823         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
13824         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
13825         function_ptr, getpagesize, __enable_execute_stack,
13826         __enable_execute_stack, __clear_insn_cache,
13827         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
13828         _cleanup, _exit, __default_terminate, __terminate_func,
13829         __terminate, __empty, __throw, new_eh_context,
13830         eh_context_initialize, eh_context_static, eh_context_specific,
13831         get_eh_context, __get_eh_context, __get_eh_info,
13832         init_reg_size_table, eh_threads_initialize,
13833         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
13834         __unwinding_cleanup, throw_helper, __throw, __rethrow,
13835         __pure_virtual): Add prototype arguments.
13836         (__bb_exit_func): Cast a sizeof to long when comparing against one.
13837         Cast a signed value to unsigned long when comparing against one.
13838         (new_eh_context): Wrap in _GTHREADS macro.
13839         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
13840         declaration.
13841         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
13842         (throw_helper): Initialize variables `handler_p' and `pc_p'.
13843
13844 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13845
13846         * combine.c (record_promoted_value): Remove unused variable
13847         `links2'.
13848
13849         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
13850
13851         * global.c (record_conflicts): Likewise for `j'.
13852
13853         * genoutput.c (output_insn_data): Don't unnecessarily cast away
13854         const-ness.
13855
13856 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13857
13858         * i386-protos.h (output_387_binary_op, output_fix_trunc,
13859         output_fp_compare): Constify a char*.
13860
13861         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
13862         static prototypes.
13863         (override_options, ix86_comp_type_attributes, print_operand,
13864         output_387_binary_op, output_fix_trunc, output_fp_compare):
13865         Constify a char*.
13866         (ix86_sched_reorder): Mark parameter `clock_var' with
13867         ATTRIBUTE_UNUSED.
13868
13869         * i386.h (DEBUG_PRINT_REG): Constify a char*.
13870
13871 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
13872
13873         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
13874         operand, for use in the Java front-end.
13875
13876 1999-12-10  Ben Collins  <bcollins@debian.org>
13877
13878         * configure.in: Fix typo for "-64" in 64bit as check.
13879         * configure: Rebuilt.
13880
13881 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
13882
13883         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
13884         appropriate.
13885
13886 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13887
13888         * c-parse.in (string): With -Wtraditional, warn if ANSI string
13889         concatenation is utilized.
13890
13891         * invoke.texi (-Wtraditional): Document it.
13892
13893 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13894
13895         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
13896         Cast a ptrdiff_t to long and pass it to printf with %ld.
13897
13898 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
13899
13900         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
13901         68881, we have no 68881 registers at all.
13902         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
13903         value in a 68881 register if it is available.
13904
13905 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
13906
13907         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
13908         for long long multiply-accumulate.
13909
13910 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
13911
13912         * loop.c (insert_loop_mem): Undo last change.
13913
13914 1999-12-10  David S. Miller  <davem@redhat.com>
13915
13916         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
13917         New functions.
13918         * config/sparc/sparc-protos.h: Add them.
13919         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
13920         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
13921         constraints which use those helpers.
13922         (EXTRA_CONSTRAINT): Use this new macro.
13923         * md.texi: Update sparc target constraints documentation.
13924         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
13925         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
13926         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
13927         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
13928         (movsf high/lo_sum split): Rework for new patterns.
13929         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
13930
13931 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
13932
13933         * c-common.c (c_common_nodes_and_builtins):
13934         Create __builtin_ptrdiff_t and __builtin_size_t.
13935
13936 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
13937
13938         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
13939
13940 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13941
13942         * regclass.c (globalize_reg): Re-instate test that allows
13943         fixed registers to be declared as a variable even after functions
13944         are defined.
13945
13946 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13947
13948         * i386.md (cpu attribute): Add "athlon".
13949         (athlon_decode): New attribute.
13950         (Athlon scheduling units definitions): New.
13951         (fcmp and shld patterns): Set athlon_decode to "vector".
13952         * i386.c (athlon_cost): New.
13953         (m_ATHLON): New.
13954         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
13955         x86_use_sahf): Set for Athlon.
13956         (x86_use_fiop): Unset for Athlon.
13957         (override_options): Define Athlon alignments and "athlon" name.
13958         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
13959         * i386.h (TARGET_ATHLON): New.
13960         (enum processor_type): Add PROCESSOR_ATHLON.
13961         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
13962         for CPU_DEFAULT==5
13963         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
13964
13965 1999-12-09  Andreas Jaeger  <aj@suse.de>
13966
13967         * loop.c (record_biv): Declare parameter as int.
13968
13969         * config/i386/i386-protos.h: Declare long_memory_operand.
13970
13971 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
13972
13973         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
13974         EXPR_WITH_FILE_LOCATION.
13975
13976 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
13977
13978         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
13979         in expander.
13980
13981         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
13982
13983         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
13984         updating code.
13985
13986 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
13987
13988         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
13989         default on linux64 again.
13990         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
13991         models for multilibing.
13992         * genmultilib: Accept | as alternative separator within a set in
13993         MULTILIB_OPTIONS.
13994
13995         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
13996
13997         * calls.c (precompute_arguments): Make sure initial_value contains
13998         value pseudo which CSE expects.
13999         * cse.c (struct set): New entry orig_src.
14000         (cse_insn): Set it early on entry, use it for libcall EQUIV note
14001         replacement.
14002
14003 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
14004
14005         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
14006
14007 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
14008
14009         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
14010
14011 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
14012
14013         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
14014         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
14015
14016         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
14017         if TARGET_ARCH32.
14018
14019         * longlong.h: Merge in changes from glibc.
14020         Also don't clobber %g2 register in 32bit SPARC assembly, so that
14021         -mno-app-regs libgcc can be compiled.
14022         * libgcc2.c: Add defines so that the updated longlong.h
14023         can be used in libgcc2.a. Also, make sure on most architectures
14024         (at least on all which have optimized code in longlong.h defined
14025         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
14026
14027 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14028
14029         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
14030         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
14031         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
14032         is GNU ld.
14033         * configure: Rebuilt.
14034
14035 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
14036
14037         * alpha.c (secondary_reload_class): For !BWX, sub-simode
14038         outputs require a register.
14039
14040 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
14041
14042         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
14043         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
14044         functions like dptoul will be resolved.
14045         (libgcc2.a): Make sure that the object files from DPBIT are named
14046         differently (prefix `_dp') from those that would be coming from
14047         FPBIT.
14048
14049 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
14050
14051         * configure.in: When target is sparc* and tm_file contains 64,
14052         test for 64bit support in assembler.  If not supported, remove
14053         sparc/t-sol2-64 from target-dependent Makefile fragments.
14054         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
14055         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
14056         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
14057         * acconfig.h (AS_SPARC64_FLAG): Added.
14058         * configure, config.in: Rebuilt.
14059         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
14060         support.  Use AS_SPARC64_FLAG.
14061
14062 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
14063
14064         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
14065         suitable for holding OFmode values so that gcc works with complex
14066         quad long doubles.
14067         (hard_64bit_mode_classes): Likewise.
14068
14069         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
14070         so that it is actually matched.
14071         (sethi_di_medlow): Likewise.
14072
14073         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
14074         as legitimate constant if -mvis.
14075         * config/sparc/sparc.md (movtf): Likewise.
14076         (clear_sf): Use const_double_operand.
14077         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
14078
14079         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
14080         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
14081         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
14082         routines, _Qp_* cannot be handled like that now.
14083         (INIT_TARGET_OPTABS): Likewise.
14084         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
14085         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
14086         sparc_emit_float_lib_cmp if ARCH64 and soft float.
14087         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
14088         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
14089         divtf3, sqrttf3): New expanders.
14090         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
14091         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
14092         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
14093         non-_hq patterns.
14094
14095         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
14096         * configure: Rebuilt.
14097         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
14098         -mcpu is given and we're doing 64bit compiles.
14099
14100 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
14101
14102         * loop.h (struct induction): Add multi_insn_incr.
14103         * loop.c (basic_induction_var): New multi_insn_incr argument.
14104         Set it if we search back through previous insns for the biv.
14105         (record_biv): New multi_insn_incr argument; fill in struct induction.
14106         (strength_reduce): Discard an iv with multiple bivs, any of
14107         which require multiple insns to increment.
14108
14109 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
14110
14111         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
14112         documentation.
14113
14114 1999-12-06  David S. Miller  <davem@redhat.com>
14115
14116         * combine.c (check_promoted_subreg): Do not conditionalize this upon
14117         PROMOTE_FUNCTION_RETURN.
14118
14119 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
14120
14121         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
14122         and handle REG_UNUSED note on insn.
14123
14124         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
14125         inner_mask instead of mask.
14126
14127 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
14128
14129         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
14130         zero if there was an error.
14131
14132 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
14133
14134         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
14135         output string.
14136
14137         * longlong.h: Fix clobbers in SPARC asm statements.
14138
14139         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
14140         valid sethi operations when TARGET_ARCH64.
14141
14142         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
14143         always use move_by_pieces to avoid infinite recursion.
14144         (restore_fixed_argument_area): Likewise.
14145
14146         * combine.c (check_promoted_subreg, record_promoted_value): New
14147         functions.
14148         (combine_instructions): Use them to retain nonzero and sign bit
14149         information after SUBREGs are eliminated by optimizations in
14150         this pass if PROMOTE_FUNCTION_RETURN.
14151
14152         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
14153         .register declaration. Don't use variables with __ prefixes.
14154
14155 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14156
14157         * fold-const.c (optimize_bit_field_compare): Only use one mode
14158         for both RHS and LHS in non-constant case.
14159
14160 1999-12-06  Nathan Sidwell  <nathan@acm.org>
14161
14162         * frame.c (start_fde_sort): Only allocate erratic array, if
14163         linear one was allocated. Return allocated flag.
14164         (fde_insert): Only insert, if there's a valid array.
14165         (fde_end_sort): Split, sort and merge if linear and erratic
14166         arrays exist, else just sort linear one.
14167         (search_fdes): New function. Linear search through original fde
14168         structure.
14169         (frame_init): Permit multiple initializations. Cope with
14170         memory shortages.
14171         (find_fde): Fallback on linear search, if failed to sort array.
14172         (__deregister_frame_info): Only free sorted array, if we
14173         allocated it.
14174
14175 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
14176
14177         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
14178
14179 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
14180
14181         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
14182
14183 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
14184
14185         * tree.h (special_function_p): Declare.
14186         * calls.c (special_function_p): Make it global.  Don't take `name'
14187         as a parameter.  Fix typo in 1999-11-28 change.
14188         (expand_cal): Adjust.
14189
14190 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
14191
14192         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
14193         * tree.h (EXPR_WFL_FILENAME): Define in terms of
14194         EXPR_WFL_FILENAME_NODE.
14195         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
14196         the TREE_CHAIN.
14197         * print-tree.c (print_note): Print TREE_PRIVATE and
14198         TREE_PROTECTED.
14199
14200         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
14201         the original die cannot be found.
14202
14203         * varray.h (varray_head_tag): Add elements_used.
14204         (VARRAY_PUSH): New macro.
14205         (VARRAY_POP): Likewise.
14206         (VARRAY_TOP): Likewise.
14207         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
14208         types.
14209         * varray.c (varray_init): Initialize elements_used.
14210         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
14211         (INTEGRATE_H): New variable.
14212         (integrate.o): Depend on INTEGRATE_H.
14213         (unroll.o): Likewise.
14214
14215         * function.h (insert_block_after_note): Declare.
14216         * function.c (insert_block_after_note): Split out from ...
14217         (retrofit_block): ... here.
14218
14219         * stmt.c (expand_fixup): Fix typo in comment.
14220
14221 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14222
14223         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
14224         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
14225         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
14226         (regmove_optimize, fixup_match_1): Likewise.
14227
14228 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14229
14230         * flow.c (flow_loops_dump): Add missing argument when calling
14231         flow_loop_nested_p.
14232
14233 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
14234             Greg McGary  <gkm@gnu.org>
14235
14236         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
14237         (init_attributes): Add A_NO_LIMIT_STACK.
14238         (decl_attributes): Handle A_NO_LIMIT_STACK.
14239         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
14240         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
14241         Handle stack bounds checking.
14242         * flags.h (flag_stack_check): Use the word 'probe' rather than
14243         'check', because the flag doesn't actually cause any checking to
14244         be done.
14245         * function.c (expand_function_start): Set
14246         current_function_limit_stack.
14247         * function.h (struct function): Add limit_stack.
14248         (current_function_limit_stack): Define.
14249         * invoke.texi (Code Gen Options): Document new options.
14250         * rtl.h: Declare stack_limit_rtx.
14251         * toplev.c (stack_limit_rtx): New variable.
14252         (decode_f_option): Handle new options -fstack-limit-register=REG,
14253         -fstack-limit-symbol=IDENT, -fno-stack-limit.
14254         (main): Add stack_limit_rtx as GC root.
14255         * tree.h (DECL_NO_LIMIT_STACK): New macro.
14256         (struct tree_decl): New member no_limit_stack.
14257
14258         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
14259         stack_limit_rtx.
14260         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
14261         (conditional_trap+1): Get new mnemonic correct.
14262         (conditional_trap+2): New pattern for DImode traps.
14263
14264         * config/m68k/m68k.c (output_function_prologue): Handle
14265         stack_limit_rtx.
14266         * config/m68k/m68k.md (trap): New insn.
14267         (conditional_trap): New insn.
14268         * md.texi (Standard Names): Document `trap' and
14269         `conditional_trap'.
14270         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
14271         so a cc0 setter doesn't get emitted at some random place in the
14272         function.
14273
14274         * config/i960/i960.md (trap): New insn.
14275         (conditional_trap): New expander.
14276         (conditional_trap+1, conditional_trap+2): New insns for signed
14277         and unsigned cases.
14278         * config/i960/i960.c (i960_function_prologue): Use
14279         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
14280
14281 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
14282                           Geoffrey Keating  <geoffk@cygnus.com>
14283
14284         * flags.h (warn_padded, warn_packed): Add global var decls.
14285         * toplev.c (warn_padded, warn_packed): Add global var defns.
14286         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
14287         * stor-layout.c (layout_record): Add local variable `type'
14288         to hold often-used TREE_TYPE (field).  Add local variable
14289         `unpacked_align' to hold alignment that would be in force
14290         if no `packed' attribute were present.  Warn if `packed' attribute
14291         is unnecessary, or even harmful.  Warn when gcc inserts padding
14292         to satisfy alignment requirements of members.  Use NULL_TREE
14293         when checking whether var_size is set.
14294         * invoke.texi: Document new flags.
14295
14296 1999-12-03  Nathan Sidwell  <nathan@acm.org>
14297
14298         * frame.c (fde_split): Reimplement to avoid variable sized array.
14299
14300 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14301
14302         * combine.c (try_combine): Before fixing up LOG_LINKS for the
14303         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
14304
14305 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
14306
14307         * invoke.texi: Document the mips option -mno-crt0
14308
14309 1999-12-02  Mike Karr  <mkarr@mathworks.com>
14310
14311         * cccp.c (argdata): Added free_ptr member.
14312         (macroexpand): Initialize free_ptr of each argument. When an
14313         argument's buffers are freed, if the argument's free_ptr corresponds
14314         to a buffer on the input stack, then return the free_ptr to that stack
14315         frame, otherwise, free it.
14316         (macarg): If an argument begins and ends on the same input stack level,
14317         then transfer the free_ptr of that buffer to the argument in case
14318         the stack is popped during the processing of a subsequent argument.
14319
14320 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
14321
14322         * loop.c (note_reg_stored): New function.
14323         (struct note_reg_stored_arg): New structure.
14324         (try_copy_prop): Change to be more conservative; only replace within
14325         one extended basic block and stop replacing if a store to the
14326         replacement reg is seen.
14327
14328 1999-12-02  Nick Clifton  <nickc@cygnus.com>
14329
14330         * config/fp-bit.c: Initialise all fields of the NAN
14331         constants.
14332
14333         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
14334         to HANDLE_PRAGMA.
14335
14336 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
14337
14338         * i386.md (extend?f?f2): Force the input into a register, not
14339         the output.
14340
14341 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
14342
14343         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
14344         regclass' sake.
14345         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
14346         alternative because setting up 64bit constant is usually costly,
14347         especially when reload is in progress or completed.
14348         (movdf_const_intreg_sp64): Likewise.
14349         (movdf_const_intreg split): Fix building up constants when
14350         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
14351
14352 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
14353
14354         * combine.c (if_then_else_cond): Use const_true_rtx instead of
14355         const1_rtx for return values in EQ/NE comparison against (const_int 0)
14356         case.
14357
14358         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
14359         (asm_file_start): Emit .am33 into assembly file when compiling for
14360         the AM33.
14361         (print_operand_address): Handle POST_INC addresses.
14362         (can_use_return_insn, initial_offset): Check AM33 registers too.
14363         (expand_prologue): Check & save AM33 registers too.
14364         (expand_epilogue): Similarly.
14365         (secondary_reload_class): Handle AM33 specific secondary reloads.
14366         (output_tst): Emit efficient code for the AM33 too.
14367         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
14368         (TARGET_SWITCHES): Add -mam33 switch.
14369         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
14370         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
14371         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
14372         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
14373         (enum reg_class, REG_CLASS_NAMES): Likewise.
14374         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
14375         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
14376         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
14377         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
14378         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
14379         (HAVE_POST_INCREMENT): Define.
14380         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
14381         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
14382         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
14383         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
14384         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
14385         (zero_extend to SI from QI/HI): Likewise.
14386         (sign_extend to SI from QI/HI): Likewise.
14387         (mulsidi3, umulsidi3): New patterns for the AM33.
14388         (tstsi with zero extension from QI/HI): Add AM33 variants.
14389         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
14390         (return_internal_regs, store_movm): Handle new AM33 registers.
14391         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
14392         (LIBGCC, INSTALL_LIBGCC): Likewise.
14393         * invoke.texi: Document new flags.
14394
14395 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14396
14397         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
14398         (addsi3_carry): Likewise.
14399         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
14400         (sbbsi3_carry): Likewise.
14401         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
14402         (mulhi3): Likewise.
14403         (test?i_1): Ensure that only one operand is memory.
14404         (conditional move patterns): likewise.
14405         (shift and rotate patterns): Rewrite to expander, add
14406         "binary_operator_ok" to the condition.
14407
14408         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
14409         * i386.h (procesor_costs): Add movzbl_load field.
14410         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
14411         non-Q registers, accept DImode registers anywhere.
14412         (Q_CLASS_P): New.
14413         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
14414         * i386.c (*_cost): Set value for movxbl_load field.
14415
14416         * (addsi): New add to lea splitter.
14417         (ashlsi): Likewise.
14418         (lea to add/shift peep2): New.
14419
14420 1999-12-01  Mark Salter <msalter@cygnus.com>
14421
14422         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
14423         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
14424         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
14425
14426 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14427
14428         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
14429         * i386.md (movsi_xor): New.
14430         (movsi_or): New.
14431         (movsi_1, movhi_1, movqi_1): Remove.
14432         (movsi_2): Rename to movsi_1.
14433         (movhi_2): Rename to movhi_1.
14434         (movqi_2): Rename to movqi_1.
14435         (movdi_1): Remove; remove splitter.
14436         (movdi_2): Rename to movdi_1.
14437         (divmodsi4 splitter): Do not emit clobbers for move patterns.
14438         (long move peep2): Do not create QI or HI mode mov0s
14439         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
14440
14441         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
14442         rewrite splitters.
14443
14444         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
14445         (abs?f2_if): Likewise.
14446
14447 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
14448
14449         * ggc.h (ggc_test_and_set_mark): New macro.
14450         (ggc_mark_rtx): Use ggc_test_and_set_mark.
14451         (ggc_mark_tree): Likewise.
14452         (ggc_mark_rtvec): Likewise.
14453         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
14454
14455 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
14456
14457         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
14458         containing types.
14459         (decl_scope_table): Just an array of trees now.
14460         (push_decl_scope): Simplify.
14461         (dwarf2out_init): Adjust.
14462         (local_scope_p): New fn.
14463         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
14464         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
14465         (gen_typedef_die): Likewise.
14466         (gen_lexical_block_die): Don't call push/pop_decl_scope.
14467         (gen_inlined_subroutine_die): Likewise.
14468         (gen_abstract_function): Set current_function_decl temporarily.
14469         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
14470         Handle block extern declarations.  Don't call push/pop_decl_scope.
14471         (gen_decl_die): Fix logic for block externs.
14472
14473 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14474
14475         * calls.c (special_function_p): Remove `realloc' and add `strdup'
14476         to the list of functions which have attribute malloc by default.
14477
14478 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14479
14480         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
14481         integer constant does not match the traditional type, limit the
14482         warnings to cases where the base of the type is ten.
14483
14484         * invoke.texi (-Wtraditional): Document it.
14485
14486 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14487
14488         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
14489         * rs6000.md: Only access a CONST_INT with INTVAL
14490
14491 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
14492
14493         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
14494         (compute_nearerout): Likewise.
14495         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
14496         size_t to unsigned long for formatting.
14497
14498 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
14499
14500         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
14501         Allow the user to override call-used/fixed state of %g2-5
14502         registers from the command line (with the exception of %g4 for
14503         embedded model).
14504         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
14505         there is a higher chance of having a leaf function.
14506         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
14507         for ARCH64 which has %ccr register.
14508         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
14509         patterns.
14510         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
14511         insn accept into delay slot any insn which does not use %[ol]
14512         registers.  Accept some LO_SUM and shift left by 1 for the normal
14513         restore case.
14514         (output_function_epilogue): Likewise.
14515         (epilogue_renumber): Added argument which inhibits any renumbering
14516         and just tests if the rtx does not use any %[ol] registers.
14517         (output_return): Reflect above change.
14518
14519 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
14520
14521         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
14522         aggregate passing for sizes <= 16 bytes.
14523
14524 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
14525
14526         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
14527         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
14528         * reload.c (find_dummy_reload): Likewise.
14529         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
14530         * reload1.c (reload_as_needed): Likewise.
14531         * stupid.c (stupid_find_reg): Likewise.
14532         * tm.texi (Obsolete Register Macros): Delete section.
14533         * gmicro.h: Remove all traces of the two macros.
14534         * i386.h: Likewise.
14535         * m88k.h: Likewise.
14536         * mips.h: Likewise.
14537
14538 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
14539
14540         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
14541         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
14542         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
14543         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
14544         units for the sparclite86x chip.
14545         (flush): Revert October 14th change; add SImode specifically.
14546         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
14547         * invoke.texi: Document it.
14548
14549 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
14550
14551         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
14552         psimode_truncation_operand.
14553
14554         * config/mn10200/mn10200.c (psimode_truncation_operand): New
14555         function.  Return true if the operand is either a MEM valid
14556         for a PSImode address or not a MEM at all.
14557
14558         * config/mn10200/mn10200.md (truncsipsi2): Use
14559         psimode_truncation_operand.
14560
14561 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14562
14563         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
14564         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
14565         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
14566         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
14567         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
14568         (flow_loop_level_compute, low_loops_level_compute): Likewise.
14569         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
14570         * basic-block.h: Protect from multiple inclusion.
14571         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
14572         (struct loops, struct loop): Define structures.
14573         * sbitmap.c (sbitmap_a_subset_b_p): New function.
14574         * sbitmap.h: Protect from multiple inclusion.
14575         (sbitmap_a_subset_b_p): Add prototype.
14576         * Makefile.in (LOOP_H): New macro.
14577         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
14578
14579 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
14580
14581         * cppinit.c (CAT): The argument list of this macro may not contain
14582         spaces !
14583
14584 1999-11-29  David S. Miller  <davem@redhat.com>
14585
14586         Move quantity tables and register equivalence chains into
14587         per-qty and per-register structure arrays respectively.
14588         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
14589         qty_const_insn, qty_comparison_code, qty_comparison_const,
14590         qty_comparison_qty): Delete, replace with...
14591         (qty_table): this structure table.
14592         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
14593         (reg_eqv_table): this structure table.
14594         (make_new_qty): Add argument MODE.  Caller updated.
14595         Update to use qty_table and reg_eqv_table.
14596         (make_regs_eqv, delete_reg_equiv, insert_regs,
14597         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
14598         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
14599         cse_process_notes, cse_main, cse_basic_block): Likewise.
14600
14601 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14602
14603         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
14604         operation if C is negative.
14605         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
14606         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
14607         law for some divisions if constant is negative and change other
14608         divisions to the opposite rounding.
14609
14610         * expr.c (store_constructor_field): If bit position is not multiple
14611         of alignment of TARGET's mode, use BLKmode.
14612
14613         * expr.c (expand_expr_unaligned): Add more code from full case
14614         that is needed when OP0 is in a register.
14615
14616 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14617
14618         * dwarfout.c (field_byte_offset): Size can be zero if there was
14619         an error.
14620
14621 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
14622
14623         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
14624         (associate_trees): Delete unused var TEM.
14625         (extract_muldiv): Delete unused var CANCEL_P.
14626
14627         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
14628         (target_isinf, target_isnan, target_negative): Add return types to
14629         function definitions.
14630
14631 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
14632
14633         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
14634         * fixinc/hackshell.tpl: ditto
14635         * fixinc/fixtests.c(double_slash_test): more C++ header testing
14636         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
14637
14638 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
14639
14640         * reload.c (push_reload): When looking for a register to put into
14641         reg_rtx, make sure all hard regs in a multi-reg register are in the
14642         right class and nonfixed.
14643
14644         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
14645         pending_read_insns, pending_write_insns, pending_read_mems,
14646         pending_write_mems, pending_list_length, last_pending_memory_flush,
14647         last_function_call, sched_before_next_call): Move static variables
14648         into a structure.
14649         (bb_ prefixed versions): Replace with single array bb_deps.
14650         (struct deps): New structure.
14651         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
14652         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
14653         argument of type "struct deps *"; use that instead of global
14654         variables.  All callers changed.
14655         (init_rgn_data_dependencies): Delete function.
14656         (init_rtx_vector): Delete function.
14657         (init_deps): New function.
14658
14659         (free_pending_lists): Simplify, we always use the bb_deps array even
14660         if only one basic block.
14661         (compute_block_backward_dependences): Likewise.
14662         (schedule_region): Likewise.
14663
14664         (propagate_deps): New function, broken out of
14665         compute_block_backward_dependences.
14666         (compute_block_backward_dependences): Use it.
14667
14668         * alpha.md: Delete useless patterns that tried to work around
14669         register elimination problems.
14670
14671         * unroll.c (loop_iterations): Don't abort if iteration variable
14672         was made by loop.
14673
14674         From Joern Rennecke:
14675         * reload1.c (reloads_conflict): Reverse test comparing operand
14676         numbers when testing for conflict between output/outaddr reloads.
14677
14678 1999-11-29  David S. Miller  <davem@redhat.com>
14679
14680         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
14681         arg.
14682         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
14683
14684 1999-11-28  Robert Lipe  <robertl@cygnus.com>
14685
14686         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
14687         table from .fini into .dtor.
14688
14689 1999-11-28  Anthony Green  <green@cygnus.com>
14690
14691         * tree.h (struct tree_decl): Add malloc_flag.
14692         (DECL_IS_MALLOC): Define.
14693         * c-common.c (attrs): Add A_MALLOC attribute.
14694         (init_attributes): Add this attribute to the table.
14695         (decl_attributes): Handle malloc attribute.
14696         * calls.c (special_function_p): Check for the malloc attribute.
14697         * extend.texi (Function Attributes): Document malloc attribute.
14698
14699 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
14700
14701         * pa.md (reload shift-add patterns): Remove.
14702
14703 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14704
14705         * reorg.c (dbr_schedule) Print more statistics. Corrected
14706         problem when printing info when 3 delay slots are filled.
14707
14708 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
14709
14710         * combine.c (setup_incoming_promotions): Pass an outgoing
14711         regno to FUNCTION_ARG_REGNO_P which it expects.
14712
14713 1999-11-28  Andreas Jaeger  <aj@suse.de>
14714
14715         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
14716
14717 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
14718
14719         * cccp.c (do_include): Avoid initialization of automatic variable.
14720
14721         * integrate.c (mark_stores): Function definition made void, to match
14722         previous declaration.
14723         * regclass.c (dump_regclass): Ditto.
14724         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
14725
14726 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14727
14728         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
14729         known to be multiple of divisor.
14730
14731         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
14732
14733         * combine.c (try_combine): Add code to try to merge a set of a
14734         two-word pseudo to a constant with a setting of one of those words
14735         to a constant.
14736
14737         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
14738         (split_tree): Completely rework to make more general.
14739         (make_range, fold): Call negate_expr.
14740         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
14741         (fold, associate): Call new split_tree and associate_trees.
14742         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
14743
14744 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
14745
14746         * loop.c (try_copy_prop): Avoid GNU C extension.
14747
14748 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
14749
14750         * except.c (init_eh_for_function): Still zero eh_return_context,
14751         eh_return_stack_adjust, and eh_return_handler.
14752
14753         * except.h (eh_status): Adjust documentation for x_protect_list.
14754         (begin_protect_partials): New function.
14755         * except.c (enqueue_eh_entry): Fix formatting.
14756         (get_first_handler): Add consistency check.
14757         (add_partial_entry): Adjust usage of protect_list.
14758         (emit_cleanup_handler): Save and restore ehqueue.
14759         (expand_start_all_catch): Add comment.
14760         (begin_protect_partials): New function.
14761         (end_protect_partials): Adjust usage of protect_list.
14762         (init_eh_for_function): Use xcalloc.
14763
14764 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14765
14766         * c-common.c (check_format_info): Don't call a variadic function
14767         with a non-literal format string.
14768
14769         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
14770
14771         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
14772         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
14773         Likewise.
14774
14775         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
14776         Likewise.
14777
14778         * collect2.c (collect_wait): Likewise.
14779
14780         * dbxout.c (dbxout_type): Likewise.
14781
14782         * gcc.c (do_spec_1): Likewise.
14783
14784         * genemit.c (gen_insn, gen_expand): Likewise.
14785
14786         * genrecog.c (write_switch, write_subroutine): Likewise.
14787
14788         * mips-tfile.c (catch_signal, botch): Likewise.
14789
14790         * print-rtl.c (print_rtx): Likewise.
14791
14792         * toplev.c (default_print_error_function, report_error_function,
14793         _fatal_insn): Likewise.
14794
14795 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
14796
14797         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
14798
14799 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14800
14801         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
14802         operations when needed.
14803         * i386.md (fop_?f_comm): New.
14804         (fop_?f_1): Do not accept commutative operands.
14805
14806 1999-11-25  Andreas Jaeger  <aj@suse.de>
14807
14808         * config/mips/mips.md (casesi_internal): Add missing brace.
14809
14810 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
14811
14812         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
14813         (splice_child_die): Handle moving a child DIE from the declaration
14814         DIE of a class to its specification.
14815         (gen_struct_or_union_type_die): Use 'complete' consistently.
14816         (gen_decl_die): Generate the virtual context DIE first.
14817         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
14818
14819 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
14820
14821         * config/mips/mips.md (call_value_multiple_interanal1): New.
14822
14823 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
14824
14825         * dwarf2out.c (free_AT, free_die): New fns.
14826         (remove_children): Call them.
14827         (output_line_info): Disable removal of duplicate notes.
14828
14829         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
14830         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
14831         means pretend the type isn't defined.
14832         Don't defer emitting types.
14833         (gen_type_die_for_member): New fn.
14834         (gen_decl_die): Call it.
14835         (splice_child_die): New fn.
14836         (gen_member_die): Call it rather than generate duplicate dies.
14837
14838         Defer emitting information for the abstract instance of an inline
14839         until we either inline it or emit an out-of-line copy.
14840         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
14841         from output_inline_function if DECL_ABSTRACT is also set.
14842         (block_ultimate_origin): Likewise.
14843         (gen_abstract_function): New fn.
14844         (gen_decl_die, gen_inlined_subroutine_die): Call it.
14845         (gen_subprogram_die):  An abstract instance is not a declaration
14846         just because it doesn't match current_function_decl.  Don't abort
14847         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
14848         has an abstract origin.
14849         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
14850         abstract instance here.
14851
14852 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
14853
14854         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
14855         where we need to reload fpul from a system register.
14856
14857 1999-11-24  Andreas Jaeger  <aj@suse.de>
14858
14859         * config/mips/linux.h (CPP_PREDEFINES): Added.
14860         (LINK_SPEC): Remove -Y since this is only needed on sparc.
14861
14862 1999-11-24  Andreas Jaeger  <aj@suse.de>
14863
14864         * config/mips/linux.h (TARGET_VERSION): Added.
14865         (HANDLE_SYSV_PRAGMA): Added.
14866         (DEFAULT_VTABLE_THUNKS): Added.
14867
14868 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14869
14870         * local-alloc.c (qty): New structure and static variable.
14871         (qty_phys_reg): Remove, all references changed to qty.
14872         (qty_n_refs): Likewise.
14873         (qty_min_class): Likewise.
14874         (qty_birth): Likewise.
14875         (qty_death): Likewise.
14876         (qty_size): Likewise.
14877         (qty_mode): Likewise.
14878         (qty_n_calls_crossed): Likewise.
14879         (qty_alternate_class): Likewise.
14880         (qty_changes_size): Likewise.
14881         (qty_first_reg): Likewise.
14882         (alloc_qty): Rename variable QTY to QTYNO.
14883         (finf_free_reg): Likewise.
14884         (local_alloc): Allocate qty, do not allocate the removed variables.
14885
14886 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
14887
14888         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
14889         when -membedded-pic is passed.
14890
14891         * config/mips/mips.md (casesi): Handle 64-bit case too.
14892         (casesi_internal_di): New insn.
14893
14894         * config/mips/mips.c (embedded_pic_offset): Always make the
14895         embedded-pic subtractions relative to the name of the current
14896         function by use of the magic string "..CURRENT_FUNCTION".
14897         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
14898
14899 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
14900
14901         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
14902         of (const_int 0), when what we really care about is
14903         whether it's a zero constant anyway.
14904         (div_trap_mips16): Likewise.
14905
14906 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
14907
14908         * loop.c (loop_optimize): Always find_loop_tree_blocks and
14909         unroll_block_trees when generating debuggable code.
14910
14911         * tree.h (unsave_expr_1): New function.
14912         (lang_unsave): New variable.
14913         (get_callee_fndecl): New function.
14914         * tree.c (unsave_expr_now_r): New function.
14915         (lang_unsave): Define.
14916         (unsave_expr_1): Likewise.
14917         (unsave_expr_now_r): Split out from unsave_expr_now.
14918         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
14919         call unsave_expr_now_r.
14920         (get_callee_fndecl): Define.
14921
14922         * Makefile.in (gencheck): Don't depend on lang_tree_files.
14923         (gencheck.o): Do depend on lang_tree_files.
14924
14925         * integrate.h (copy_decl_for_inlining): New declaration.
14926         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
14927         (copy_decl_for_inlining): New function.
14928         (integrate_parm_decls): Use it.
14929         (integrate_decl_tree): Likewise.
14930
14931 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
14932
14933         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
14934         the second two from the first.
14935         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
14936         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
14937         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
14938         ISA_HAS_FP4.
14939         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
14940         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
14941         ISA_HAS_FP4.
14942
14943 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
14944
14945         * pa.md (call_internal_symref, call_value_internal_symref): No mode
14946         needed on the address operand.
14947         * pa.c (call_operand_address): Check for the correct mode.
14948
14949 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
14950
14951         * loop.c: Include "basic-block.h".
14952         (try_copy_prop, replace_loop_reg): New functions.
14953         (load_mems): Detect registers that just hold copies of the hoisted
14954         mem, and call try_copy_prop to eliminate them.
14955         * Makefile.in (loop.o): Update dependencies.
14956
14957 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
14958
14959         * Makefile.in (gencheck.o): Depend on gencheck.h.
14960         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
14961         (insn-peep.o): Depend on except.h and function.h.
14962         (insn-attrtab.o): Depend on RECOG_H.
14963         (insn-output.o): Depend on toplev.h and flags.h.
14964         (gengenrtl.o): Depend on real.h.
14965         (gen-protos.o): Depend on cpplib.h and cpphash.h.
14966         Unify all dependencies to be on RECOG_H rather than recog.h.
14967
14968 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14969
14970         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
14971         * configure.in: Try building a bi-arch 32/64-bit compiler on
14972         sparc-*-solaris2.7 and higher.
14973         * configure: Rebuild.
14974
14975 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
14976
14977         * config/freebsd.h: New, FreeBSD architecture independent file.
14978         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
14979         independent pieces.
14980         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
14981         directly by i386/freebsd.h.
14982         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
14983         independent configuration file.
14984         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
14985         directly by i386/freebsd.h.
14986         * configure: Rebuilt.
14987
14988         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
14989         which is in the user's namespace.
14990         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
14991         `i386' which is not in our namespace.
14992
14993 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
14994
14995         * invoke.texi (ARM Options): Add in -mno-alignment-traps
14996
14997 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
14998
14999         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
15000         (add_dwarf_attr, add_child_die): Just push onto the front.
15001         (reverse_die_lists): New fn.
15002         (add_sibling_attributes): Use it.
15003         (push_decl_scope): Reorganize.
15004         (add_name_and_src_coords_attributes): Don't set file and line for
15005         an artificial decl.
15006         (gen_subprogram_die): An artificial function doesn't need to match
15007         file and line.
15008         (gen_compile_unit_die): Return the generated die.  Only add
15009         AT_comp_dir if the filename is relative.
15010         (remove_AT): Simplify loop.  Also free string values.
15011         (output_die): A DIE ref can't be null.
15012         (output_value_format, value_format): Take a dw_attr_ref.
15013         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
15014         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
15015         AT_addr, AT_lbl): New fns.
15016         (various): Use them.
15017         (various): Constify.
15018
15019 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15020
15021         * combine.c (combine_simplify_rtx): When handling a SUBREG,
15022         take SUBREG_WORD into account.
15023         (if_then_else_cond): Likewise.
15024
15025 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
15026
15027         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
15028         clause from BSD license, pursuant with
15029
15030           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
15031
15032 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
15033
15034         * loop.c (load_mems): Reformat slightly.
15035         * basic-block.h (regset_head): New typedef.
15036         (INIT_REG_SET): New macro.
15037
15038 1999-11-22  Bruce Korb  <autogen@linuxbox.com
15039
15040         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
15041         (mips-dec-bsd*): non-functional code
15042         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
15043
15044         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
15045         added three replacement fixes
15046         (no_double_slash): removed comments that are not (any longer) pertinent
15047         (bad_lval): this fix currently runs against many files.
15048         The comment seems to indicate that we should select for files
15049         containing 'pragma extern_prefix'.
15050
15051         * fixinc/fixinc.x86-linux-gnu: deleted
15052         * fixinc/inclhack.sh:  regen
15053         * fixinc/fixincl.x:  regen
15054         * fixinc/fixincl.sh:  regen
15055
15056 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
15057
15058         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
15059         its code is INSN and it has no notes.
15060
15061 1999-11-22  Andrew Haley  <aph@cygnus.com>
15062
15063         * varasm.c (function_defined): Remove.
15064         (make_function_rtl): Don't set function_defined.
15065         (make_decl_rtl): Remove global register warning.
15066         * regclass.c (no_global_reg_vars): New variable.
15067         (globalize_reg): Warn if function has already been defined.
15068         (regclass_init): Set no_global_reg_vars.
15069
15070 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15071
15072         * regclass.c (reg_pref): New structure and static variable
15073         (prefclass): Delete.
15074         (altclass): Delete.
15075         (all uses of prefclass and altclass): Use reg_pref instead.
15076
15077 1999-11-21  Nick Clifton  <nickc@cygnus.com>
15078
15079         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
15080         -malignment-traps.
15081         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
15082         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
15083         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
15084
15085 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
15086
15087         * varasm.c (output_constructor): Solve problem with long long
15088         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
15089
15090 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15091
15092         * global.c (allocno): New structure and static variable.
15093         (allocno_reg): Remove, all references replaced by allocno.
15094         (allocno_size): Likewise.
15095         (hard_reg_conflicts): Likewise.
15096         (hard_reg_preferences): Likewise.
15097         (hard_reg_copy_preferences): Likewise.
15098         (hard_reg_full_preferences): Likewise.
15099         (regs_someone_prefers): Likewise.
15100         (allocno_calls_crossed): Likewise.
15101         (allocno_n_refs): Likewise.
15102         (allocno_live_length): Likewise.
15103         (find_reg): Rename ALLOCNO to NUM.
15104
15105         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
15106         references updated.
15107         (may_move_out_cost): New variable.
15108         (init_reg_sets_1): Initialize may_move_out_cost.
15109         (record_reg_classes): Use may_move_out_cost.
15110
15111         * regclass.c (dump_regclass): New function.
15112         (regclass): New parameter DUMP, call DUMP_REGCLASS.
15113         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
15114         pass rtl_dump_file to regclass.
15115         * rtl.h (regclass): Update prototype.
15116
15117 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15118
15119         * i386.md (neg, not and abs patterns): Revmap to use
15120         ix86_expand_unary_operator and ix86_unary_operator_ok.
15121         (add?f and sub?f expanders): Force operand 1 to register.
15122         * i386.c (ix86_expand_unary_operator): Rewrite.
15123         (ix86_unary_operator_ok): Ensure that memory operands
15124         match real opcode.
15125         (ix86_binary_operator_ok): Do not allow operand 1 to
15126         come into memory and operand 0 not.
15127         (ix86_expand_binary_operator): Ensure that
15128         src1 is not non-matching memory.
15129
15130         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
15131         to support integer registers and memory.
15132         (abss?2_integer): Likewise.
15133
15134         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
15135         (REG_CLASS_NAMES): Likewise.
15136         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
15137         and GENERAL_REGS.
15138         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
15139         (movsf): Likewise; unify 4th and 5th alternative.
15140         (pushdf): Likewise.
15141         (movdf_1): Likewise; rename to movdf_integer.
15142         (pushxf): Likewise; rename to pushxf_integer; fix output template;
15143         remove redundant splitter.
15144         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
15145         (movdf_nointeger): New.
15146         (movxf_nointeger): New.
15147         (pushxf_nointeger): New.
15148
15149         * i386.md (extend?f?f): Split to expander and pattern, refuse two
15150         memory operands in patterns.
15151         (fop*): Refuse two memory operands.
15152
15153         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
15154         on !TARGET_USE_CLTD CPUs.
15155
15156 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
15157
15158         * extend.texi: Document C++ restricted pointers and references.
15159
15160 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
15161
15162         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
15163         (invalidate_skipped_set): Call it unconditionally.
15164         (cse_set_around_loop): Likewise.
15165
15166 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
15167
15168         * rtl.texi (mem): Add documentation for alias-set argument
15169         to RTX `mem'.
15170
15171 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15172
15173         * i386.h (struct_processor_costs): New fields int_load, int_store,
15174         fp_move, fp_load and fp_store
15175         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
15176         fp->int moves
15177         (MEMORY_MOVE_COST): New macro.
15178         * i386.c (386_cost): Define new fields.
15179         (i486_cost): Likewise.
15180         (pentium_cost): Likewise.
15181         (pentiumpro_cost): Likewise.
15182         (k6_cost): Likewise.
15183
15184 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
15185                           Geoffrey Keating  <geoffk@cygnus.com>
15186
15187         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
15188
15189         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
15190         MASK_ALIGN_INT.
15191
15192         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
15193         (TARGET_STRICT_ALIGNMENT): New macro.
15194         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
15195         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
15196         * invoke.texi (M680x0 Options): Document -mstrict-align.
15197
15198 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
15199                           Richard Henderson  <rth@cygnus.com>
15200
15201         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
15202         (ix86_split_long_move): Declare.
15203         * i386.c (split_xf, ix86_split_movdi): Remove.
15204         (ix86_split_to_parts, ix86_split_long_move): New.
15205         * i386.md (dimode move splitters): Use ix86_split_long_move.
15206         (dfmode move splitters): Likewise.
15207         (xfmode move splitters): Likewise.
15208         (movsf_1): Allow F->r.
15209         (movdf_1, movxf_1): Allow F->ro.
15210
15211 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
15212
15213         * except.h (struct eh_entry): Add goto_entry_p.
15214         (eh_region_from_symbol): Remove prototype.
15215         * except.c (find_func_region_from_symbol): New function.
15216         (emit_cleanup_handler): Likewise.
15217         (eh_region_from_symbol): Make it static.
15218         (add_new_handler): Verify the argument.
15219         (find_func_region): Update comment.
15220         (expand_eh_region_end): Expand handlers here, rater than waiting
15221         until expand_leftover_cleanups or start_all_catch.
15222         (expand_leftover_cleanups): Don't expand here.
15223         (expand_start_all_catch): Or here.
15224         (expand_rethrow): Check the return value from find_func_region.
15225         * function.c (expand_function_end): Emit the catch_clauses.
15226
15227 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
15228
15229         * integrate.c (expand_inline_function): Add necessary check for NULL.
15230
15231 1999-11-18  Nick Clifton  <nickc@cygnus.com>
15232
15233         * toplev.c (main): Correctly detect an unrecognised option.
15234
15235         * cppinit.c (cpp_handle_option): Do not claim to have consumed
15236         a -f option if it has not been recognised.
15237
15238 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
15239
15240         * basic-block.h (update_life_extent): Remove trailing comma on
15241         enumeration type list.
15242
15243 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15244
15245         * varasm.c (output_constructor) Solved problem with long long
15246         bitfields. Corrected calculating this_time and shift. Also
15247         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
15248
15249 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
15250
15251         * flow.c (split_edge): Take looping structure into account when
15252         determining where to put the new block note.
15253
15254 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
15255
15256         * Makefile.in (ggc-none.o): Provide host specific version if
15257         needed.
15258
15259 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
15260
15261         * cse.c (delete_trivially_dead_insns): Identify no-op insns
15262         containing subregs too.
15263
15264 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
15265
15266         * invoke.texi: Add documentation for -muninit-const-in-rodata.
15267         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
15268         (TARGET_UNINIT_CONST_IN_RODATA): Define.
15269         (text_section): Add switches -munint-const-in-rodata and
15270         -mno-uninit-const-in-rodata.
15271         (ASM_OUTPUT_COMMON): Remove.
15272         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
15273         const objects should be placed in read-only data. Otherwise declare
15274         them in common.
15275
15276 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
15277
15278         * jump.c (jump_optimize_1): Revert last change.
15279
15280 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
15281
15282         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
15283         test if optimizing for size.
15284
15285 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
15286
15287         * Makefile.in (toplev.o): Depend on except.h.
15288         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
15289
15290 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15291
15292         * i386.md (divmodsi4): Rewrite to expander.
15293         (*divmodsi4_nocltd): New.
15294         (*divmodsi4_cltd): New.
15295         (divmodsi4 splitter): Handle the case when input comes in edx.
15296         (udivmodhi4): Do not use constraints in exander.
15297         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
15298
15299 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
15300
15301         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
15302         for the common case.
15303
15304 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
15305
15306         * explow.c (hard_function_value): Add outgoing argument.
15307         * expr.h (hard_function_value): Declare it.
15308         * calls.c (expand_call, emit_library_call_value): Update callers.
15309         * function.c (aggregate_value_p): Ditto.
15310         (diddle_return_value): Must look at the outgoing registers
15311         on archs with register windows.
15312
15313 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
15314
15315         * alpha.c (alpha_build_va_list): Use make_lang_type and
15316         initialize TYPE_NAME for the va_list record.
15317
15318         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
15319
15320         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
15321         for printing.
15322         * ggc.h (struct ggc_statistics): Rearrange elements for better
15323         packing on 64-bit hosts.
15324         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
15325         (compute_nearerout): Likewise.
15326
15327 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
15328
15329         * config/rs6000/rs6000.c (first_reg_to_save): Save
15330         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
15331
15332 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
15333
15334         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
15335         notion of nesting to find the DIE for a type or function.
15336         DIEs can go in limbo even if we got a context_die.
15337         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
15338         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
15339         for local type.
15340         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
15341         (gen_type_die): Writing out the context doesn't cause member class
15342         template instantiations to be written out as well.
15343
15344 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
15345
15346         * rs6000.h (ASM_OUTPUT_DEF): New.
15347         Based on proposed addition from David Edelsohn.
15348
15349 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
15350             Bruce Korb  <autogen@linuxbox.com>
15351
15352         * fixinc/inclhack.def
15353         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
15354         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
15355                 in net/inet.h.
15356         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
15357         (svr4_endian): enabled with SVR5
15358         (svr4_mkdev): simplified syntax and enabled with SVR5
15359
15360 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
15361
15362         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
15363         * configure: Rebuilt.
15364         * config/t-freebsd-thread: New file.
15365
15366 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
15367
15368         * i386.c (ix86_decompose_address): Verify the base is a REG
15369         before trying to examine its register number.
15370
15371         * basic-block.h: Remove all #defines and prototypes related to
15372         integer lists.
15373         (free_bb_mem, compute_preds_succs): Remove prototype.
15374         * rtl.h (free_bb_mem): Remove prototype.
15375         * flow.c (alloc_int_list_node); Remove function.
15376         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
15377         (compute_preds_succs, free_bb_mem): Likewise.
15378         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
15379         * toplev.c (rest_of_compilation): Likewise.
15380         * haifa-sched.c (build_control_flow): Use flow generated edge
15381         list to build the haifa specific edge list.
15382         (find_rgns): Use new CFG data structures instead of pred/succ lists.
15383         (schedule_insns): Do not build pred/succ lists anymore.  Instead
15384         build the edge table.
15385
15386         * basic-block.h (dump_bb_data): Remove declaration.
15387         * flow.c (dump_bb_data): Remove function.
15388         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
15389         (sbitmap_union_of_predsucc): Likewise.
15390
15391         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
15392         argument.  All callers changed.
15393         (delete_null_pointer_checks_1): No longer need to compute the
15394         pred/succ lists.
15395
15396         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
15397         All callers changed.
15398         (pre_expr_reaches_here_p_work): Likewise.
15399         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
15400         * lcm.c (compute_laterin): Fix initialization of LATER.
15401         (compute_nearerout): Similarly for NEARER.
15402
15403 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15404
15405         * cse.c (set_nonvarying_address_components): Delete unused function.
15406         (refers_to_p): Likewise.
15407
15408 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
15409
15410         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
15411         needed.
15412
15413 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15414
15415         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
15416         definition in do while (0).
15417
15418 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
15419
15420         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
15421
15422 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
15423
15424         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
15425
15426 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
15427
15428         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
15429         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
15430         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
15431         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
15432
15433         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
15434         saved on the stack.  Output more accurate stack frame statistics
15435         into assembler file.
15436
15437 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
15438
15439         * genextract.c (record_insn_name): New function.
15440         (get_insn_name): No longer a stub.
15441         (main): Call record_insn_name for each insn.  After each label
15442         written, print the insn name in a comment.
15443
15444 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15445
15446         * output.h (const_section, init_section, fini_section): Add
15447         prototypes.
15448
15449         * alpha/elf.h (const_section): Delete declaration.
15450
15451         * svr4.h (const_section): Likewise.
15452
15453 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
15454
15455         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
15456         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
15457         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
15458         expressions.
15459         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
15460         variable-sized array bounds.
15461
15462 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
15463
15464         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
15465         ASM_OUTPUT_LABEL.
15466
15467 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15468
15469         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
15470         addresses the same way GO_IF_LEGITIMATE_INDEX does.
15471
15472 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15473
15474         * cse.c (hash_arg_in_struct): Delete.
15475         (struct table_elt): Delete elt in_struct.
15476         (struct set): Delete elt src_in_struct.
15477         (merge_equiv_classes): Don't set either hash_arg_in_struct or
15478         the corresponding in_struct elts.
15479         (canon_hash): Likewise.
15480         (safe_hash): Likewise.
15481         (find_best_addr): Likewise.
15482         (record_jump_cond): Likewise.
15483         (cse_insn): Likewise.
15484
15485 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
15486
15487         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
15488
15489         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
15490         unsigned types.
15491
15492 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
15493
15494         * function.c (diddle_return_value): Put back check that the DECL_RTL
15495         for the function is a register.
15496
15497         * function.c (diddle_return_value): Use hard_function_value to
15498         get an rtx suitable for use in the USE/CLOBBER insn.
15499
15500         * global.c (global_conflicts): Update comments.
15501         (record_conflicts): No need to record conflicts between pseudos here.
15502
15503 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
15504
15505         * fixinc/fixincl.c: Added verbose levels for status messages
15506
15507 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15508
15509         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
15510         operand as argument to expand_and or expand_binop.
15511
15512 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
15513
15514         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
15515         gcc_add_string_root.
15516
15517 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
15518
15519         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
15520
15521 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
15522
15523         * flow.c (compute_flow_dominators): Initially put all blocks on
15524         the worklist.
15525         * lcm.c (compute_antinout_edge, compute_available): Similarly.
15526         * gcse.c (compute_cprop_avinout): Remove.
15527         (compute_cprop_data): Use compute_available.
15528         (delete_null_pointer_checks_1): Use compute_available.
15529
15530         * basic-block.h (compute_available): Returns a void now.
15531         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
15532         to return a value anymore.
15533         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
15534         worklists.  Fix boundary cases. Compute maximal solutions.
15535         (compute_laterin, compute_nearerout): Similarly.
15536
15537         * dwarf2out.c (add_AT_location_description): Allow
15538         (mem (plus (pseudo) (...)) too.
15539
15540 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
15541
15542         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
15543
15544 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
15545                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15546
15547         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
15548
15549         * gansidecl.h: Likewise.
15550
15551         * rtl.c: Likewise.
15552
15553         * rtl.h: Likewise.
15554
15555         * toplev.h: Likewise.
15556
15557         * tree.c: Likewise.
15558
15559         * tree.h: Likewise.
15560
15561         * varray.c: Likewise.
15562
15563         * varray.h: Likewise.
15564
15565 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
15566
15567         * gcov.c (struct arcdata): Add hits and total, remove prob.
15568         (output_branch_counts): New.
15569         (process_args): Set output_branch_counts if -c.
15570         (calculate_branch_probs): Store hits and total instead of
15571         percentage.
15572         (output_data): Emit counts if output_branch_counts is true.
15573         * gcov.texi (Invoking Gcov): Document -c switch..
15574
15575 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
15576
15577         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
15578         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
15579
15580 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
15581
15582         * invoke.texi (C Dialect Options): Add missing builtins from
15583         c-common.c to list.
15584         * extend.texi (Other Builtins): Copy to this list.
15585
15586 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15587
15588         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
15589         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
15590         redundant bitmap.h.
15591
15592 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
15593
15594         * flow.c (compute_flow_dominators): No longer treat basic block 0
15595         or (n_basic_blocks - 1) specially.  Clear the AUX field before
15596         starting computation of doms/pdoms.  Fix initial state for pdoms.
15597
15598 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15599
15600         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
15601         match rtl.o's: added ggc.h and toplev.h
15602         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
15603         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
15604         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
15605
15606 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
15607
15608         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
15609         from HAVE_DOS_BASED_FILESYSTEM.
15610         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
15611         HAVE_DOS_BASED_FILESYSTEM.
15612         (main): Likewise.
15613         (split_directories): Only special-case DOS file names if
15614         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
15615         instead of explicit tests.  Conditionalize on !VMS.
15616         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
15617         tests.  Conditionalize on !VMS.
15618         (process_command): Only use make_relative_prefix if !VMS.
15619         (free_split_directories): Conditionalize on !VMS.
15620         (DIR_UP): Conditionalize on !VMS.
15621
15622 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15623
15624         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
15625
15626 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15627
15628         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
15629         case.
15630
15631 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
15632
15633         * invoke.texi (Environment Variables): Document relative path
15634         lookup.
15635         * gcc.c (DIR_UP): If not defined, define as "..".
15636         (standard_bindir_prefix): New static, holds target location to
15637         install binaries.
15638         (split_directories): New function to split a filename into
15639         component directories.
15640         (free_split_directories): New function, release memory allocated
15641         by split_directories.
15642         (make_relative_prefix): New function, make a relative pathname if
15643         the compiler is not in the expected location.
15644         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
15645         can figure out an appropriate prefix from argv[0].
15646         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
15647         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
15648         STANDARD_BINDIR_PREFIX.
15649
15650 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15651
15652         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
15653         in c4x.c.
15654         * config/c4x/c4x.h: Moved prototypes to c4x.h.
15655         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
15656         c4x_secondary_memory_needed) Delete.
15657         (fp_zero_operand): Add mode argument.
15658
15659 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
15660
15661         * reload1.c (reload_reg_free_for_value_p): Don't use a register
15662         that is in reload_reg_used.
15663
15664 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
15665
15666         * config/arm/arm-protos.h: New file: Prototypes for functions
15667         defined in arm.c and pe.c.
15668         * config/arm/arm.h: Fix compile time warnings.
15669         * config/arm/arm.c: Fix compile time warnings.
15670         * config/arm/pe.h: Fix compile time warnings.
15671         * config/arm/aout.h: Fix compile time warnings.
15672
15673 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
15674
15675         * config/m32r/m32r-protos.h: New file: Prototypes for functions
15676         defined in m32r.c
15677
15678         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
15679         Add support for subtargets.
15680         Add prototypes for new predicates.
15681         Add scheduling macros.
15682
15683         * config/m32r/m32r.c: Fix compile time warnings.
15684         (int8_operand): New predicate function.
15685         (reg_or_cmp_int16_operand): New predicate function.
15686         (extend_operand): New predicate function.
15687         (m32r_adjust_code): New scheduling function.
15688         (m32r_adjust_priorty): New scheduling function.
15689         (m32r_sched_init): New scheduling function.
15690         (m32r_sched_reorder): New scheduling function.
15691         (m32r_sched_variable_issue): New scheduling function.
15692         (direct_return): New codegen function.
15693         (m32r_not_same_reg): New rtl testsing function.
15694
15695         * config/m32r/m32r.md: Fix compile time warnings.
15696         Add support for pre decrement and post increment memory
15697         references.
15698         Add S<cc> patterns.
15699         Add fabs patterns.
15700
15701 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15702
15703         * global.c (EXECUTE_IF_CONFLICT): Don't define.
15704         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
15705         (find_reg): Likewise.
15706
15707 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
15708
15709         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
15710         to avoid assembler errors.
15711
15712 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
15713
15714         * config/v850/v850-protos.h: New file: Prototypes for functions
15715         defined in v850.c
15716         * config/v850/v850.h: Move prototypes to v850-protos.h
15717         * config/v850/v850.c: Move prototypes to v850-protos.h
15718         * config/v850/v850.md: Fix compile time warnings.
15719
15720         * config/fr30/fr30-protos.h: New file: Prototypes for functions
15721         defined in fr30.c
15722         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
15723         * config/fr30/fr30.c: Fix compile time warnings.
15724         * config/fr30/fr30.md: Fix compile time warnings.
15725
15726 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
15727
15728         * tree.h (get_containing_scope): Declare it.
15729         * tree.c (get_containing_scope): New fucntion.
15730         (decl_function_context): Use it.
15731         * toplev.c (rest_of_compilation): Use get_containing_scope.
15732
15733 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15734
15735         * Makefile.in (rtl.o): Depend on toplev.h.
15736
15737 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
15738
15739         * cse.c (delete_trivially_dead_insns): Replace alloca with
15740         xmalloc/xcalloc.
15741         * except.c (update_rethrow_references): Likewise.
15742         (init_eh_nesting_info): Likewise.
15743         * function.c (identify_blocks): Likewise.
15744         * gcse.c (dump_hash_table): Likewise.
15745         * graph.c (print_rtl_graph_with_bb): Likewise.
15746         * loop.c (combine_movables): Likewise.
15747         (move_movables): Likewise.
15748         (count_loop_regs_set): Likewise.
15749         (strength_reduce): Likewise.
15750         * profile.c (compute_branch_probabilities): New function, split
15751         out from ...
15752         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
15753         * regclass.c (regclass): Likewise.
15754         * regmove.c (regmove_optimize): Likewise.
15755         * toplev.c (compile_file): Likewise.
15756         (main): Don't mess with the stack rlimit.
15757
15758 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
15759
15760         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
15761         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
15762
15763 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
15764
15765         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
15766
15767 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
15768
15769         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
15770         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
15771         macro expansion.
15772
15773 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
15774
15775         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
15776
15777 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
15778
15779         * gcse.c (post_dominators): Kill.
15780         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
15781         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
15782         pass in a pdom array since we do not need pdoms.
15783         * haifa-sched.c (schedule_insns): Similarly.
15784         * flow.c (compute_dominators): Remove dead function.
15785         (compute_flow_dominators): Do not compute doms or pdoms if the
15786         caller does not request them.  Split up loop to build doms and
15787         pdoms.  Use a worklist to compute doms and pdoms.
15788         * basic-block.h (compute_dominators): Remove prototype.
15789
15790 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
15791
15792         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
15793         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
15794         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
15795         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
15796         (cant_move, fed_by_spec_load, is_load_insn): Remove.
15797         (schedule_region): Remove unused variable.
15798         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
15799
15800 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
15801
15802         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
15803         (update_equiv_regs): Likewise.
15804         (block_alloc): Likewise.
15805         * reg-stack.c (reg_to_stack): Likewise.
15806         (convert_regs_2): Likewise.
15807         * reload1.c (reload_as_needed): Likewise.
15808
15809 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
15810
15811         * Makefile.in (dbxout.o): Depend on ggc.h.
15812         (dwarf2out.o): Likewise.
15813         (xcoffout.o): Likewise.
15814         * dbxout.c: Include ggc.h.
15815         (dbxout_init): Register lastfile as a root.
15816         * dwarf2out.c: Include ggc.h.
15817         (dwarf2out_line): Register lastfile as a root.
15818         * xcoffout.c: Include ggc.h.
15819         (xcoffout_source_line): Register xcoff_lastfile as a root.
15820
15821 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
15822
15823         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
15824
15825 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
15826
15827         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
15828         defined.
15829         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
15830
15831 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15832
15833         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
15834         (EXECUTE_IF_CONFLICT): Likewise.
15835         (ALLOCNO_LIVE_P): Avoid signed division.
15836         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
15837         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
15838         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
15839
15840 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
15841
15842         * haifa-sched.c (schedule_block): Don't crash if there's no
15843         next insn for an interblock movement.
15844         (add_branch_dependences): Don't allow clobber insns to move either.
15845
15846 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
15847
15848         * i386.c (split_xf): New.
15849         * i386-protos.h: Declare it.
15850         * i386.md (movxf_1): Add general regs alternatives.
15851         (movxf_1+1): New splitter for same.
15852
15853 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
15854
15855         * function.c (purge_addressof_1): Add missing return values.
15856
15857 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
15858
15859         * function.c (is_addressof): New function.  Returns true if
15860         the given piece of RTL is an ADDRESSOF.
15861         (purge_addressof_1): Make boolean.  Return false if the
15862         ADDRESSOFs could not be purged.
15863         (purge_addressof): If ADDRESSOFs could not be purged from the
15864         notes attached to an insn, remove the offending note(s),
15865         unless they are attached to a libcall.
15866
15867 1999-11-05  Andreas Jaeger  <aj@suse.de>
15868
15869         * genoutput.c (null_operand =): Initialize all fields.
15870
15871         * errors.h: Add extern to prototypes.
15872
15873 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
15874
15875         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
15876         * configure: Rebuilt.
15877
15878 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15879
15880         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
15881         (mirror_conflicts): New function.
15882         (global_alloc): Call it.
15883         (expand_preferences): Remove redundant CONFLICTP test.
15884         (find_reg, dump_conflicts): Likewise.
15885         (prune_preferences): Process conflicts one word at a time.
15886
15887 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
15888
15889         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
15890         instead of an explicit loop.
15891
15892 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
15893
15894         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
15895         if REG_RETVAL check succeeds, then put classp in src_elt.
15896
15897 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
15898
15899         * function.c (pad_to_arg_alignment): Only update argument_pad
15900         if the argument's alignment is greater than STACK_BOUNDARY.
15901
15902 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
15903
15904         * bitmap.h (BITMAP_XFREE): New.
15905         * flow.c (life_analysis): Use it.
15906         (life_analysis_1): Free blocks.
15907
15908         * combine.c (undo_commit): New.
15909         (try_combine): Use it.  Don't zap undobuf.undos.
15910         (combine_instructions): Don't zap undobuf.undos; free the
15911         undobuf.frees list.
15912
15913         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
15914
15915         * stmt.c (cost_table_): New.
15916         (estimate_case_costs): Use it instead of xmalloc.
15917
15918         * toplev.c (compile_file): Reuse dumpname memory instead
15919         of strdup'ing it.
15920
15921 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
15922
15923         * reg-stack.c (convert_regs_1): Initialize target_stack->top
15924         after verifying an EH edge.
15925
15926         * haifa-sched.c (init_rgn_data_dependences): Correctly
15927         size bb_pending_lists_length when zeroing.
15928
15929 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
15930
15931         * function.c (diddle_return_value): New.
15932         (expand_function_end): Use it.
15933         * stmt.c (expand_null_return): Likewise.
15934         (expand_value_return): Likewise.
15935
15936         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
15937
15938         * reload1.c (reload): Don't remove return value clobbers.
15939
15940 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
15941
15942         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
15943
15944 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
15945
15946         * cse.c (cse_main): Use xmalloc, not alloca.
15947         (cse_basic_block): Likewise.
15948         * local-alloc.c (local_alloc): Likewise.
15949
15950 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
15951                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15952
15953         * rtl.c: Include toplev.h.
15954         (fatal): Remove declaration.
15955
15956 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
15957
15958         * haifa-sched.c (schedule_block): Fix thinko.
15959
15960 1999-11-03  James McKelvey <mckelvey@fafnir.com>
15961
15962         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
15963         S_IR* defined values
15964
15965 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
15966
15967         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
15968         call `malloc' instead.
15969
15970 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
15971
15972         * flags.h (flag_renumber_insns): Declare.
15973         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
15974         renumbering table.
15975         * rtl.h (renumber_insns): Change prototype.
15976         * toplev.c (flag_renumber_insns): Define.
15977         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
15978
15979 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
15980
15981         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
15982         and fpsqrtd.  Use them and create fdiv function unit to more
15983         accurately represent fpu sqrt pipeline semantics on UltraSparc.
15984         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
15985
15986 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
15987
15988         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
15989         3 on UltraSparc.
15990         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
15991         insn into ready list, do not use just a raw swap.
15992
15993 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
15994
15995         * rtl.h (renumber_insns): New function.
15996         (remove_unnecessary_notes): Likewise.
15997         * emit-rtl.c (renumber_insns): Define.
15998         (remove_unncessary_notes): Likewise.
15999         * toplev.c (rest_of_compilation): Remove dead code.
16000         Use renumber_insns and remove_unncessary_notes.
16001
16002         * gcse.c (struct null_pointer_info): New type.
16003         (get_bitmap_width): New function.
16004         (current_block): Remove.
16005         (nonnull_local): Likewise.
16006         (nonnull_killed): Likewise.
16007         (invalidate_nonnull_info): Take a null_pointer_info as input.
16008         (delete_null_pointer_checks_1): New function.
16009         (delete_null_pointer_checks): Use it.
16010
16011         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
16012         (split_edges): Likewise.
16013         (schedule_block): Likewise.
16014         (compute_block_backward_dependencies): Likewise.
16015         (schedule_region): Likewise.
16016         (schedule_insns): Likewise.
16017
16018 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
16019
16020         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
16021         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
16022         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
16023         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
16024         * jump.c (delete_unreferenced_labels): Don't delete if
16025         LABEL_ALTERNATE_NAME is set.
16026         * print-rtl.c (print_rtx): Dump alternate name.
16027         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
16028         * rtl.h (LABEL_ALTERNATE_NAME): Define.
16029         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
16030         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
16031
16032 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16033
16034         * fix-header.c (recognized_extern, recognized_function): Constify
16035         a char*.
16036
16037         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
16038         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
16039         (compute_available): Remove unused variable `last'.
16040         (compute_nearerout): Remove unused variable `temp_bitmap'.
16041         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
16042         Remove unused variable `x'.
16043
16044         * scan.h (recognized_function, recognized_extern): Constify a
16045         char*.
16046
16047         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
16048
16049 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16050
16051         * varasm.c (decode_rtx_const): Use XSTR to access the string
16052         of a SYMBOL_REF.
16053
16054 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
16055
16056         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
16057
16058 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16059
16060         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
16061
16062 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
16063
16064         * pa.c (ireg_operand): New function.
16065         * pa.h (PREDICATE_CODES): Handle ireg_operand.
16066         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
16067         Fix out of date comment.
16068
16069         * pa.md (negdi2): Turn into expander + anonymous pattern.
16070
16071         * reload.c (find_reloads): Fix typos in recent change.
16072
16073         * dwarf2out.c: Do not include ctype.h.
16074
16075 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16076
16077         * regclass.c (record_reg_classes): Always use may_move_cost when
16078         seeing how operand fits with various register classes.
16079
16080 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
16081
16082         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
16083         * toplev.c: Revert Nov 1 13:22 change.
16084
16085 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
16086
16087         * config/pa/pa.md (height reduction patterns): Add checks for
16088         overlapping operands to avoid semantic-destroying splits for
16089         height reduction patterns.
16090
16091 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16092
16093         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
16094         have been an hyphen, fixed.
16095         * configure: Rebuilt.
16096
16097 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
16098
16099         * config/arm/tpe.h: Add prototypes for exported functions.
16100         * config/arm/pe.c: Fix compile time warnings.
16101         * config/arm/semi.h: Fix compile time warnings.
16102         * config/arm/arm.c: Fix compile time warnings.
16103         * config/arm/arm.h: Fix compile time warnings.
16104         * config/arm/arm.md: Fix compile time warnings.
16105         * config/arm/thumb.c: Fix compile time warnings.
16106         * config/arm/thumb.h: Fix compile time warnings.
16107         * config/arm/thumb.md: Fix compile time warnings.
16108
16109 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
16110
16111         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
16112         detection code
16113
16114         * unroll.c (unroll_loop): Remove LOOP notes when loop is
16115         completely unrolled.
16116
16117 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16118
16119         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
16120
16121 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
16122
16123         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
16124         * rtl.h (rtx_equal_p): Move prototype.
16125         * rtl.c (rtx_equal_function_value_matters): Move from
16126         rtlanal.c
16127         (rtx_equal_p): Likewise.
16128         * rtlanal.c (rtx_equal_function_value_matters): Delete.
16129         (rtx_equal_p): Likewise.
16130
16131 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
16132
16133         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
16134         ! HAS_INIT_SECTION.
16135
16136 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
16137
16138         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
16139
16140         * pa.h (ADDR_VEC_ALIGN): Define.
16141
16142         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
16143         notes when presented with "if (foo) break; end_of_loop" and
16144         the break sequence gets moved out of the loop.
16145
16146         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
16147         Remove explicit zero initializations of entries within MAP.
16148
16149 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
16150
16151         * reg-stack.c (convert_regs_1): Handle EH edges specially.
16152
16153 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
16154
16155         * bitmap.h (BITMAP_XMALLOC): New macro.
16156         * flow.c (CLEAN_ALLOCA): Remove.
16157         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
16158         (life_analysis): Likewise.
16159         (update_life_info): Don't use CLEAN_ALLOCA.
16160         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
16161         (calculate_global_regs_live): Likewise.
16162         (print_rtl_with_bb): Likewise.
16163         (verify_flow_info): Likewise.
16164         * global.c (global_alloc): Likewise.
16165         (global_conflicts): Likewise.
16166         * integrate.c (save_for_inline_nocopy): Likewise.
16167         (expand_inline_function): Likewise.
16168         * jump.c (jump_optimize_1): Likewise.
16169         (duplicate_loop_exit_test): Likewise.
16170         (thread_jumps): Likewise.
16171         * loop.c (loop_optimize): Likewise.
16172         (combine_givs): Likewise.
16173         (recombine_givs): Likewise.
16174         * reorg.c (dbr_schedule): Likewise.
16175         * unroll.c (unroll_loop): Likewise.
16176
16177         * combine.c (combine_instructions): Use xmalloc instead of alloca.
16178
16179 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
16180
16181         * toplev.c (rest_of_compilation): Don't optimize the CFG
16182         when rebuilding, just before dbr.
16183
16184 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16185
16186         * output.h (assemble_end_function, assemble_destructor,
16187         assemble_constructor, assemble_gc_entry, assemble_global,
16188         assemble_label, output_constant_pool) Constify a char*.
16189
16190         * varasm.c (assemble_destructor, assemble_constructor,
16191         assemble_gc_entry, assemble_end_function, assemble_global,
16192         assemble_label, output_constant_pool): Likewise.
16193
16194 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
16195
16196         * config/arm/thumb.c (thumb_expand_prologue): Add comments
16197         explaining what is goin on in this function.
16198
16199 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16200
16201         * regclass.c (record_reg_classes): In matching case, recompute
16202         costs since the direction of movement is different.
16203
16204 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
16205
16206         * resource.c (mark_target_live_regs): For unconditional branches,
16207         the resources found at the branch target should be added to the
16208         resources found so far, not intersected.
16209
16210 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
16211
16212         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
16213         old cpp's.
16214         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
16215         (sys/mman.h): Include this file only if #HAVE_MMAP.
16216         (run_compiles): Initialize `esac_fmt' with one old KR string, not
16217         with automatically concatenated ANSI strings.
16218
16219 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
16220
16221         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
16222         (DIV_ROUND_UP): Robustify.
16223         (ggc_recalculate_in_use_p): New function.
16224         (release_pages): Don't inline it.
16225         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
16226         outer contexts.
16227         (ggc_pop_context): Use ggc_recalculate_in_use_p.
16228         (clear_marks): Always save in_use_p.
16229         (sweep_pages): Use ggc_recalculate_in_use_p.
16230         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
16231         Release pages before counting statistics.
16232
16233 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
16234
16235         * toplev.c (rest_of_compilation): Fix thinko in this change:
16236
16237         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
16238
16239         (rest_of_compilation): If inside an inlined external function,
16240         pretend we are just being declared.
16241
16242 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
16243
16244         * flow.c (calculate_global_regs_live): Fix thinko.
16245
16246         * integrate.c (expand_inline_function): Fix bugs in previous
16247         change from Oct 28, 1999.
16248
16249 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
16250
16251         * stmt.c (expand_value_return): Fix typo in this change:
16252
16253         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16254         (expand_value_return): Correctly convert VAL when promoting function
16255         return; support RETURN_REG being a PARALLEL.
16256
16257 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
16258
16259         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
16260
16261 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16262
16263         * hard-reg-set.h (reg_names): Constify a char*.
16264
16265         * regclass.c  (reg_names): Likewise.
16266
16267         * regs.h (reg_names): Likewise
16268
16269         * a29k/a29k.c (reg_names): Delete declaration.
16270
16271         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
16272
16273         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
16274         arc_output_function_epilogue): Likewise.
16275
16276         * elxsi/elxsi.c (reg_names): Likewise.
16277
16278         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
16279
16280         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
16281         Likewise.
16282
16283         * m88k/m88k.c (output_function_profiler): Likewise.
16284
16285         * sparc/sparc.c (sparc_flat_output_function_prologue,
16286         sparc_flat_output_function_epilogue): Likewise.
16287
16288 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
16289
16290         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
16291         warning from -Wuninitialized and put it under -W.
16292         * function.c (uninitialized_vars_warning): Warn only when the
16293         corresponding flag is set.
16294
16295 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
16296
16297         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
16298         is nonzero and the single set does not have an elt, then assign
16299         it an elt.
16300
16301         * simplify-rtx.c: New file.
16302         * Makefile.in (OBJS): Add simplify-rtx.o
16303         (simplify-rtx.o): Add dependencies.
16304         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
16305         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
16306         (cse_gen_binary, simplify_unary_operation): Delete.
16307         (simplify_binary_operation, simplify_plus_minus): Likewise.
16308         (check_fold_consts, simplify_relation_operation): Likewise.
16309         (simplify_ternary_operation): Likewise.
16310         (delete_trivially_dead_insns): Simplify the contents of the
16311         REG_EQUAL note before trying to substitute it into the source
16312         of the reg-reg copy at the end of a libcall sequence.
16313
16314         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
16315         references/callers changed.
16316
16317         * mn10200.c (mn10200_va_arg): Force the return value into a
16318         register.
16319
16320         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
16321
16322         * cccp.c (macroexpand): Avoid out of range accesses for omitted
16323         arguments.
16324
16325 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
16326
16327         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
16328
16329 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
16330
16331         * fold-const.c (fold): Fix thinko when optimizing comparisons
16332         against -0.0.
16333
16334 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
16335
16336         * gcc.texi (Passes): Update front-end files to their current
16337         location.
16338
16339 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
16340
16341         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
16342         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
16343         (PREDICATE_CODES): Add addition_operation.
16344         * alpha-protos.h (addition_operation): Declare.
16345         (secondary_reload_class): Likewise.
16346         * alpha.c (addition_operation): New.
16347         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
16348         * alpha.md (adddi3): Turn into expander.
16349         (*lda, *adddi_2): New.
16350         (movsf, movdf patterns): Don't preference integer regs.
16351         (movsi, movdi patterns): Don't preference fp regs.
16352
16353 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
16354
16355         * genrecog.c (write_switch): Check for duplicate CODE cases.
16356
16357 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
16358
16359         * ggc-common.c: Update pre-function commentary.
16360         * ggc-page.c: Likewise.
16361         (poison): Remove.
16362         (poison_pages): Use memset directly.
16363         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
16364         (ggc_collect): Poison before sweeping.
16365         * ggc-simple.c: Update pre-function commentary.
16366         (ggc_alloc_obj): Poison non-zeroed memory.
16367
16368 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
16369
16370         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
16371         match format string, even on 64-bit hosts.
16372         * gcc-page.c (ggc_page_print_statistics): Likewise.
16373
16374 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
16375
16376         * config/i386/i386.c (ix86_cpu): Revert last patch.
16377         * config/i386/i386.h (ix86_cpu): Ditto.
16378
16379 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
16380
16381         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
16382         TYPE_SIZE, convert type of result to sizetype.
16383
16384 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
16385
16386         * flow.c (count_or_remove_death_notes): Equate NULL with the
16387         universal set.
16388
16389         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
16390         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
16391         dbr_schedule.
16392
16393         * i386.c (pic_label_no): Delete.
16394         (ix86_attr_length_default): Don't use single_set to peek
16395         inside a parallel.
16396
16397         * recog.c (peephole2_optimize): Allow recog_next_insn to index
16398         the first insn after bb->end.
16399         * i386.md (push mem peeps): Scratch is live after evaluation
16400         of the memory.
16401         (cmp mem peep): Similarly.
16402
16403 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
16404
16405         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
16406         * function.c (pad_to_arg_alignment): Add missing braces.
16407
16408 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16409
16410         * alpha/alpha-protos.h (literal_section): Add prototype.
16411         (alpha_need_linkage, alpha_start_function,alpha_end_function):
16412         Constify a char*.
16413
16414         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
16415         prototype.
16416         (alpha_start_function, alpha_end_function, float_strings,
16417         alpha_need_linkage): Constify a char*
16418
16419         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
16420
16421         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
16422
16423         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
16424
16425         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
16426
16427 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16428
16429         * flow.c (debug_flow_info): Add prototype.
16430
16431         * gcc.c (main): Likewise.
16432
16433         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
16434         Likewise.
16435
16436         * reload1.c (failed_reload, set_reload_reg): Likewise.
16437
16438         * mips-tfile.c (main): Likewise.
16439         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
16440         with ATTRIBUTE_NORETURN.
16441
16442 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
16443
16444         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
16445         DECL is not a memory ref.
16446
16447 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
16448
16449         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
16450         * config/i386/i386.c (ix86_cpu): Add extern attribute.
16451
16452 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
16453
16454         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
16455         * config/mips/elf64.h: ditto.
16456
16457 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
16458
16459         * expr.c (emit_push_insn): New argument alignment_pad.
16460         Update all callers.  Adjust stack pointer based on alignment pad.
16461         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
16462         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
16463         (locate_and_pad_parm): New argument alignment_pad.  Update all
16464         callers.
16465         * expr.h (emit_push_insn): Update prototype.
16466         (locate_and_pad_parm): Update prototype.
16467         * calls.c (arg_data):  Add new field alignment_pad.
16468         (initialize_argument_information): Initialize alignment_pad.
16469
16470 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
16471
16472         * except.c (free_eh_nesting_info): Free the info itself.
16473         * function.c (free_after_compilation): Don't free NULL.
16474         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
16475         (pre_edge_insert): Free inserted.
16476         * stmt.c (free_stmt_status): Don't free NULL.
16477
16478 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
16479
16480         * gcov.c (DIR_SEPARATOR): Provide default.
16481         (output_data): Add test for MS-DOS format absolute filename.
16482         (fancy_abort): Correct program name.
16483         (open_files): Open all files in binary mode.
16484         * libgcc2.c (__bb_exit_func): Likewise.
16485
16486         * profile.c (init_branch_prob): Specify binary when opening files.
16487
16488         * flags.h (flag_unwind_tables): New decl.
16489         * toplev.c (flag_unwind_table): New definition.
16490         (f_options): Add -funwind-tables.
16491         (decode_g_option): Clarify warning when unknown -g option is given.
16492         (rest_of_compilation): If inside an inlined external function,
16493         pretend we are just being declared.
16494
16495         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
16496         (dwarf2out_frame_finish): Likewise.
16497
16498 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
16499
16500         * fold-const.c (merge_ranges): If not in0, but in1, handle
16501         upper bounds equal like subset case.
16502
16503 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
16504
16505         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
16506         passed in a register but moved to the stack.
16507
16508 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
16509
16510         * gcc.c (pass_exit_codes, greatest_status): New variables.
16511         (struct option_map): Add entry for "--pass-exit-codes".
16512         (execute): Update greatest_status if error.
16513         (display_help): Add documentation for -pass-exit-codes.
16514         (process_command): Handle -pass-exit-codes.
16515         (main): Look at pass_exit_codes and greatest_status on call to exit.
16516
16517 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16518
16519         * reload.c (find_reloads): Refine test for no input reload
16520         case to not includes reloads emitted after insn.
16521
16522         * function.c (find_temp_slots_from_address): Handle sum involving
16523         a register that points to a temp slot.
16524         (update_temp_slot_address): Make recursive call if both old and
16525         new are PLUS with a common operand.
16526         * calls.c (expand_call): Mark temp slot for result as having
16527         address taken.
16528
16529         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
16530
16531         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
16532         component as well as "BINUTILS".
16533
16534         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
16535         * integrate.c (copy_rtx_and_substitute): Likewise.
16536         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
16537         All callers changed.
16538         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
16539
16540         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
16541         gdb extensions, write size of type; also be more consistent
16542         in using references when this is a subtype.
16543
16544         * pa.md (extv, extzv, insv): Use define_expand to reject constant
16545         that is out of range.
16546
16547         * loop.c (unknown_constant_address_altered): New variable.
16548         (prescan_loop): Initialize it.
16549         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
16550         (invariant_p, case MEM): Remove handling for volatile and readonly;
16551         check new variable if readonly.
16552         (check_dbra_loop): Chdeck unknown_constant_address_altered.
16553
16554         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
16555         (addr_affects_sp_p): Removed from note_mem_written and only
16556         define #ifdef AUTO_INC_DEC.
16557
16558         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
16559
16560         * regclass.c (record_reg_classes): Properly handle register move
16561         directions.
16562
16563         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
16564         Don't think valid if both operands are invalid.
16565         (struct constant_descriptor): New field RTL.
16566         (mark_const_hash_entry): Mark it.
16567         (record_constant{,_rtx}): Initialize it.
16568         (output_constant_def): Allocate RTL in permanent obstack and
16569         save in table.
16570         ({record,compare}_constant_1): Modes must match for
16571         CONSTRUCTOR of ARRAY_TYPE.
16572
16573         * c-common.h (initializer_constant_valid_p): Delete decl from here.
16574         * output.h (initializer_constant_valid_p): Move decl to here.
16575         * c-common.c (initializer_constant_valid_p): Delete function from here.
16576         * varasm.c (initializer_constant_valid_p): Move function to here.
16577
16578         * tree.h (STRIP_SIGN_NOPS): New macro.
16579         * fold-const.c (optimize_minmax_comparison): New function.
16580         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
16581         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
16582         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
16583         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
16584         widening conversions.
16585         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
16586         to look at size of mode, not precision of type; also add missing cases.
16587         (optimize_bit_field_compare, decode_field_reference): Don't try to
16588         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
16589
16590         * dwarf2out.c (ctype.h): Include.
16591         (dwarf2out_set_demangle_name_func): New function.
16592         (size_of_line_info): Deleted.
16593         (output_line_info): Compute size of line info table from difference
16594         of labels.
16595         (base_type_die, add_name_attribute): Call demangle function, if any.
16596         (field_byte_offset): Use bits per word for variable length fields.
16597         (gen_array_type_die): Add array name.
16598         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
16599         (dwarf2out_add_library_unit_info): New function.
16600
16601         * explow.c (set_stack_check_libfunc): New function.
16602         (stack_check_libfunc): New static variable.
16603         (probe_stack_range): Allow front-end to set up a libfunc to call.
16604
16605         * combine.c (simplify_comparison): When making comparison in wider
16606         mode, check for having commuted an AND and a SUBREG.
16607         (contains_muldiv): New function.
16608         (try_combine): Call it when dividing a PARALLEL.
16609         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
16610         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
16611         a PLUS.
16612         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
16613         use one of the CLOBBERs instead.
16614         (if_then_else_cond): If comparing against zero, just return thing
16615         being compared.
16616
16617         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
16618         Don't generate shifts and subtract if have conditional arithmetic.
16619
16620         * rtl.h (delete_barrier): New declaration.
16621         * jump.c (jump_optimize): Set up to handle conditional call.
16622         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
16623         (delete_barrier): New function.
16624
16625         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
16626
16627         * recog.c (nonmemory_operand): Accept ADDRESSOF.
16628
16629         * tree.c (build_type_attribute_variant): Push to obstack of
16630         ttype around type_hash_canon call.
16631
16632         * expr.c (placeholder_list): Move decl to file scope.
16633         (expand_expr): Don't force access to volatile just because its
16634         address is taken.
16635         If ignoring reference operations, just expand the operands.
16636         (expand_expr, case COMPONENT_REF): Propagate
16637         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
16638         Refine test for using bitfield operations vs pointer punning.
16639         (expand_expr, case CONVERT_EXPR): If converting to
16640         BLKmode UNION_TYPE from BLKmode, just return inner object.
16641         Use proper mode in store_field call.
16642         Properly set sizes of object to store and total size in store_field
16643         call for convert to union.
16644         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
16645         memory (like for ADDR_EXPR).  Also, don't put constant in register if
16646         we'll want it in memory.
16647         (readonly_fields_p): New function.
16648         (expand_expr, case INDIRECT_REF): Call it if LHS.
16649         (expand_assignment): Handle a RESULT_DECL where
16650         DECL_RTL is a PARALLEL.
16651         (do_jump, case WITH_RECORD_EXPR): New case.
16652         (get_inner_reference): Always go inside a CONVERT_EXPR
16653         and NOP_EXPR if both modes are the same.
16654         (store_field): Use bitfield operations if size of bitsize is not same
16655         as size of RHS's type.
16656         Check for bitpos not a multiple of alignment in BLKmode case.
16657         Do block move in largest possible alignment.
16658         (store_constructor): Set BITSIZE to -1 for variable size and properly
16659         in case of array of BLKmode.
16660         (expand_expr_unaligned): New function.
16661         (do_compare_and_jump): Call it.
16662
16663         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
16664         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
16665         does not include 'o'.
16666
16667         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
16668         both SET_DEST and SET_SRC reference a virtual register.
16669         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
16670
16671         * integrate.c (expand_inline_function): Handle case of setting
16672         virtual stack vars register (from built in setjmp); when parameter
16673         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
16674         (subst_constant): Add new parm, MEMONLY.
16675         (expand_inline_function, integrate_parm_decls): Pass new parm.
16676         (integrate_decl_tree): Likewise.
16677         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
16678         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
16679         (copy_rtx_and_substitute, case SET): Add explicit calls to
16680         copy_rtx_and_substitute for both sides.
16681
16682         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
16683         constraints.
16684         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
16685         within INDEX_TYPE, instead of before.
16686         (fixup_gotos): Use f->target_rtl, not the next insn,
16687         since latter may be from a later fixup.
16688         (expand_value_return): Correctly convert VAL when promoting function
16689         return; support RETURN_REG being a PARALLEL.
16690         (expand_return): When checking for result in regs and having
16691         cleanup, consider PARALLEL in DECL_RTL as being in regs.
16692
16693 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
16694
16695         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
16696         last_nominal_fname): Mark const.
16697         (struct include_hash: name, nshort, control_macro): Mark
16698         const.
16699         (struct macrodef: symnam): Mark const.
16700         (struct if_stack: fname): Mark const.
16701         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
16702         (IStable): New character-syntax array which encompasses all
16703         the old is_foo arrays.
16704         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
16705         is_space): New macros for interrogating IStable.
16706         (check_macro_name): Kill last argument.  All callers changed.
16707
16708         * cppinit.c (initialize_char_syntax): Delete.
16709         (is_idchar, is_idstart, is_hor_space, is_space,
16710         trigraph_table): Delete.
16711         (IStable): New.  Initialize with clever macros to avoid
16712         information duplication.
16713         (builtin_array): Table of builtins to get rid of explicit list
16714         in initialize_builtins.
16715         (initialize_builtins): Use builtins_array.
16716         (cpp_start_read): Call init_IStable, and set IStable['$'] if
16717         opts->dollars_in_ident.
16718
16719         * cppexp.c: Change all refs to is_xyz[] arrays to use new
16720         is_xyz() macros.
16721         (cpp_parse_expr): Avoid 'format string is not constant'
16722         warning. Use ISGRAPH to identify printable chars.
16723         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
16724         is_xyz() macros.
16725         (read_and_prescan): Map trigraphs to chars with open-coded
16726         if-else-if-... sequence, not a lookup table.
16727         * cpphash.c: Change all refs to is_xyz[] arrays to use new
16728         is_xyz() macros.
16729         * cpplib.c: Change all refs to is_xyz[] arrays to use new
16730         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
16731         (check_macro_name): Remove ability to report an invalid
16732         assertion name, which is never used.
16733         (do_line): Constify a couple of char *'s.
16734         * cppmain.c (main): Call cpp_cleanup before returning.
16735
16736 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
16737
16738         * ggc.h (struct ggc_statistics): New type.
16739         (ggc_get_size): New function.
16740         (ggc_print_statistics): Likewise.
16741         * ggc-common.c (ggc_stats): New variable.
16742         (ggc_mark_rtx_children): Keep statistics.
16743         (ggc_mark_tree_children): Likewise.
16744         (ggc_print_statistics): New function.
16745         * ggc-page.c (struct globals): Add bytes_mapped field.
16746         (alloc_anon): Update it.
16747         (release_pages): Likewise.
16748         (ggc_get_size): New function.
16749         (ggc_page_print_statistics): New function.
16750         * ggc-simple.c (ggc_get_size): New function.
16751
16752 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
16753
16754         * flow.c (propagate_block): When the last reference to a label
16755         before an ADDR_VEC is deleted because the reference is a dead
16756         store, delete the ADDR_VEC.
16757
16758 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
16759
16760         * resource.c (find_free_register): Don't use the frame pointer
16761         if frame_pointer_needed.
16762
16763 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
16764
16765         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
16766         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
16767
16768         * config/i960/i960.c (i960_va_start): New locals base, num.
16769         Use INDIRECT_REF instead of ARRAY_REF on valist.
16770         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
16771
16772 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
16773
16774         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
16775
16776 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
16777
16778         * tree.def (PLACEHOLDER_EXPR): Update comments.
16779
16780 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16781
16782         * c-common.c (check_format_info): Avoid non-literal format string
16783         warnings when `first_arg_num' is zero.
16784
16785 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16786
16787         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
16788
16789 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
16790
16791         * arm.md (casesi_insn): Add a clobber of the condition code
16792         register.
16793
16794 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
16795
16796         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
16797         used by both cc1 and cc1plus.
16798
16799 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
16800
16801         * config/arm/arm.c: Initialise arm_structure_size_boundary to
16802         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
16803         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
16804         to the value 32 if it has not already been defined.
16805         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
16806         Override definition in arm.h with a value of 8.
16807
16808 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
16809
16810         * c-pragma.c (push_alignment): Don't check the return value
16811         of xmalloc.
16812
16813 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
16814
16815         * sparc.h (ADJUST_COST): Fix thinko.
16816
16817 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
16818
16819         * cccp.c (rescan): Fixed obp pointer handling around call to
16820         check_expand subroutine.
16821
16822 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
16823
16824         * gcse.c (delete_null_pointer_checks): Only record non-null info
16825         for pseudos when examining stores.
16826
16827         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
16828         splitters for these patterns.  Use "#" for output templates.
16829         (addsi3_carryin_shift): New pattern.
16830
16831 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
16832
16833         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
16834         of the function return register into a plain REG until
16835         after function inlining is done.
16836
16837 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
16838
16839         * jump.c (jump_optimize_1): If we did cross-jumping, and
16840         the data will matter, rebuild the CFG.
16841         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
16842         not optimizing.  Don't run shorten_branches.
16843         * toplev.c (rest_of_compilation): Run shorten_branches after
16844         reg_to_stack.
16845
16846 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
16847
16848         * rtl.h (note_stores): Add additional paramter.
16849         * rtlanal.c (reg_set_p_1): Take additional paramter.
16850         (reg_set_last_1): Likewise.
16851         (reg_set_p): Adjust call to note_stores.
16852         (reg_set_last): Likewise.
16853         (note_stores): Pass data parameter to worker function.
16854         * alias.c (record_set): Take additional parameter.
16855         (init_alias_analysis): Pass it.
16856         * caller-save.c (mark_set_regs): Take additional parameter.
16857         (save_call_clobbered_regs): Pass NULL to note_stores.
16858         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
16859         parameter.
16860         (record_dead_and_set_regs_1): Likewise.
16861         (reg_dead_at_p_1): Likewise.
16862         (combine_instructions): Adjust calls to note_stores.
16863         (try_combine): Likewise.
16864         (record_dead_insn): Remove.
16865         (record_dead_and_set_regs): Adjust calls to note_stores.
16866         (reg_dead_at_p): Likewise.
16867         * cse.c (invalidate_skipped_set): Take additional parameter.
16868         (cse_check_loop_start): Likewise.
16869         (cse_check_loop_start_value): Remove.
16870         (cse_set_around_loop): Adjust calls to note_stores.
16871         * flow.c (notice_stack_pointer_modification): Take additional
16872         parameter.  Remove duplicate declaration.
16873         (record_volatile_insns): Adjust calls to note_stores.
16874         * gcse.c (record_set_info): Take additional parameter.
16875         (record_last_set_info): Likewise.
16876         (invalidate_nonnull_info): Likewise.
16877         (record_set_insn): Remove.
16878         (compute_sets): Adjust calls to note_stores.
16879         (last_set_insn): Remove.
16880         (compute_hash_table): Adjust calls to note_stores.
16881         (insert_insn_end_bb): Likewise.
16882         (delete_null_pointer_checks): Likewise.
16883         * global.c (mark_reg_store): Take additional parameter.
16884         (mark_reg_clobber): Likewise.
16885         (reg_becomes_live): Likewise.
16886         (global_conflicts): Adjust calls to note_stores.
16887         (build_insn_chain): Likewise.
16888         * integrate.c (note_modified_parmregs): Take additional parameter.
16889         (mark_stores): Likewise.  Make it static.
16890         (save_for_inline_nocopy): Adjust calls to note_stores.
16891         (try_constants): Likewise.
16892         * integrate.h (mark_stores): Remove declaration.
16893         * jump.c (mark_modified_reg): Take additional parameter.
16894         (thread_jumps): Adjust calls to note_stores.
16895         * local-alloc.c (validate_equiv_mem_from_store): Take additional
16896         parameter.
16897         (no_equiv): Likewise.
16898         (reg_is_set): Likewise.
16899         (validate_equiv_mem): Adjust calls to note_stores.
16900         (update_equiv_regs): Likewise.
16901         (block_alloc): Likewise.
16902         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
16903         (note_addr_stored): Take additional parameter.
16904         (note_set_pseudo_multiple_uses): Likewise.
16905         (record_initial): Likewise.
16906         (prescan_loop): Adjust calls to note_stores.
16907         (strength_reduce): Likewise.
16908         (check_dbra_loop): Likewise.
16909         * regmove.c (flags_set_1): Take additional paramter.
16910         (mark_flags_life_zones): Adjust calls to note_stores.
16911         * reload1.c (mark_not_eliminable): Take additional parameter.
16912         (forget_old_reloads_1): Likewise.
16913         (reload_cse_invalidate_rtx): Likewise.
16914         (reload_cse_check_clobber): Likewise.
16915         (reload_combine_note_store): Likewise.
16916         (move2add_note_store): Likewise.
16917         (reload): Adjust calls to note_stores.
16918         (reload_as_needed): Likewise.
16919         (emit_reload_insns): Likewise.
16920         (reload_cse_regs_1): Likewise.
16921         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
16922         (reload_combine): Adjust calls to note_stores.
16923         * resource.c (update_live_status): Take additional paramter.
16924         (mark_target_live_regs): Adjust calls to note_stores.
16925         * stupid.c (find_clobbered_regs): Take additional parameter.
16926         (stupid_life_analysis): Adjust calls to note_stores.
16927
16928 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
16929
16930         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
16931         definition.
16932
16933         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
16934         definition.
16935
16936         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
16937         of the variable arm_structure_size_boundary.
16938
16939 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
16940
16941         * alias.c (init_alias_analysis): Allocate reg_known_value and
16942         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
16943         and reg_seen.
16944         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
16945         * cse.c (cse_main): Call end_alias_analysis.
16946         * haifa-sched.c (schedule_insns): Likewise.
16947         * local-alloc. (update_equiv_regs): Likewise.
16948         * reload1.c (reload_cse_regs): Likewise.
16949
16950 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16951
16952         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
16953         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
16954         mapping from MASK_FPU.
16955
16956 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
16957
16958         * sparc.md (call): Don't bound structure return size to 0xfff.
16959
16960 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
16961
16962         * resource.c (mark_target_live_regs): Check that the target
16963         insn wasn't created after compute_bb_for_insn.
16964
16965 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
16966
16967         * ggc-page.c (poison_pages): Don't be overzealous.
16968
16969 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
16970
16971         * alias.c: Update comments for ADDRESS.
16972         (nonlocal_reference_p): Look inside the ADDRESS to determine if
16973         it is a local memory reference.
16974
16975         * c-typeck.c (build_function_call): Check that the built-in
16976         function is of class BUILT_IN_NORMAL before trying to recongize
16977         it as BUILT_IN_ABS.
16978         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
16979         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
16980
16981 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
16982
16983         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
16984         of alloca.
16985         (pre_gcse): Likewise.
16986         (hoist_expr_reaches_here_p): Likewise.
16987         (hoist_code): Likewise.
16988         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
16989         code to ...
16990         (pre_expr_reaches_here_p_work): ... here.
16991         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
16992         code to ...
16993         (expr_reaches_here_p_work): ... here.
16994
16995 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
16996
16997         * resource.c (find_basic_block): Delete.
16998         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
16999         (init_resource_info): Call compute_bb_for_insn.
17000
17001 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
17002
17003         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
17004         with already adjacent blocks, but no fallthru.
17005         (merge_blocks_move_successor_nojumps): Simplify.
17006         (debug_flow_info): New.
17007
17008         * toplev.c (rest_of_compilation): Open jump1 dump file before
17009         jump and close after, as opposed to just using dump_rtl.
17010
17011 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17012
17013         * reload.h (earlyclobber_operand_p): Declare.
17014         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
17015         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
17016         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
17017         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
17018
17019 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
17020                           Richard Henderson  <rth@cygnus.com>
17021
17022         * emit-rtl.c (emit_block_insn_before): New.
17023         (emit_block_insn_after): New.
17024         * basic-block.h: Declare them.
17025
17026         * bitmap.h: Protect from multiple inclusion.
17027
17028         * recog.c (scratch_operand): Handle VOIDmode correctly.
17029
17030         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
17031
17032         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
17033         * function.c (assign_parms): Likewise.
17034         * global.c (global_conflicts): Clarify STACK_REGS commentary.
17035
17036         * reg-stack.c (max_uid): Remove.
17037         (blocks, block_begin, block_end, block_drops_in): Remove.
17038         (block_stack_in, block_out_reg_set, block_number): Remove.
17039         (struct block_info_def, BLOCK_INFO): New.
17040         (enum emit_where): New.
17041         (current_block): New.
17042         (BLOCK_NUM): Remove.
17043         (mark_regs_pat, record_label_references): Remove.
17044         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
17045         (nan): New.
17046         (goto_block_pat, print_blocks, dump_stack_info): Remove.
17047         (reg_to_stack): Simplified test for existance of fp code.  Use
17048         flow.c code.  Call shorten_branches after cross-jump opt.
17049         (check_asm_stack_operands): Renamed from record_asm_reg_life.
17050         Return false if the asm doesn't use stack regs.  Don't do life
17051         analysis on the asm.
17052         (emit_pop_insn): Replace function pointer arg `when' with
17053         enum `where'.  Update all callers.
17054         (change_stack): Likewise.  Update basic block end.
17055         (emit_swap_insn): Use current_block->head to limit reverse search
17056         for start of block.  Use emit_block_insn_after.
17057         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
17058         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
17059         structure assignment instead of bcopy.
17060         (print_stack): New.
17061         (convert_regs_entry, convert_regs_exit): New.
17062         (convert_regs_1, convert_regs_2): Split out from convert_regs.
17063         Work on basic blocks and the CFG.
17064         (convert_regs): Use them.
17065
17066         * i386.c (output_fix_trunc): Remove code for DImode input operand
17067         not at top-of-stack.
17068         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
17069         appropriate mode.
17070         (fix_truncdi_1): Allow any mode scratch.
17071
17072 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
17073
17074         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
17075         * linux.h, netbsd.h, vms.h: Not here.
17076
17077 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
17078
17079         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
17080         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
17081         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
17082         CONDITIONAL_REGISTER_USEAGE): Use them.
17083         * config/mips/mips.c (mips_move_1word,mips_move_2words,
17084         gen_conditional_branch,override_options) : Use them.
17085         * config/mips/mips.md : Use them.
17086
17087 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
17088
17089         * i386.md (zero_extendqihi2): Use SImode register name with andl.
17090
17091 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
17092
17093         * integrate.c (function_cannot_inline_p): Don't allow inlining
17094         if setjmp is used.
17095
17096 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17097
17098         * c-parse.in (cast_expr): Constify.
17099
17100         * cccp.c (special_symbol): Likewise.
17101
17102         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
17103
17104         * dwarf2out.c (base_type_die): Likewise.
17105
17106         * global.c (allocno_compare): Likewise.
17107
17108         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
17109
17110         * regclass.c (fix_register): Likewise.
17111
17112         * rtl.h (fix_register): Likewise.
17113
17114         * stupid.c (stupid_reg_compare): Likewise.
17115
17116         * toplev.c (decode_f_option): Likewise.
17117
17118         * tree.c (build_complex_type): Likewise.
17119
17120 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
17121
17122         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
17123
17124 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17125
17126         * reload.c (find_reloads): Compute mode and nregs fields of all
17127         reloads.
17128         * reload1.c (calculate_needs_all_insns): Simplify a bit.
17129         (calculate_needs): Use precomputed mode/nregs values.
17130         (allocate_reload_reg): Likewise.
17131         Break out two...
17132         (failed_reload, set_reload_reg): ... new functions.
17133         (choose_reload_regs_init): New function, mostly broken out from...
17134         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
17135         Also lose one #if 0 block.
17136
17137 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
17138
17139         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
17140         substitution.
17141
17142 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
17143
17144         * tree.h (BLOCK_TYPE_TAGS): Remove.
17145         (BLOCK_END_NOTE): Likewise.
17146         (BLOCK_LIVE_RANGE_FLAG): Likewise.
17147         (BLOCK_LIVE_RANGE_START): Likewise.
17148         (BLOCK_LIVE_RANGE_END): Likewise.
17149         (tree_block): Remove live_range_flag, live_range_var_flag, and
17150         type_tags.  Remove end_note, live_range_start, and live_range_end.
17151         (remember_end_note): Remove prototype.
17152         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
17153         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
17154         remember_end_note.
17155         * ggc-common.c (ggc_mark_tree_children): Don't mark
17156         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
17157         * integrate.c (adjust_copied_decl_tree): Remove.
17158         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
17159         * stmt.c (last_block_end_note): Remove.
17160         (init_stmt): Don't add a GC root for it.
17161         (expand_fixup): Don't set it.
17162         (remember_end_note): Remove.
17163         (expand_end_bindings): Don't set last_block_end_note.
17164
17165 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17166
17167         * reload1.c (reload_reg_free_for_value_p): Show
17168         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
17169         reloads.
17170
17171 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
17172
17173         * expmed.c (extract_bit_field): Allow for the case of non-integer
17174         objects that are smaller than a word (like SFmode on a 64-bit
17175         machine).
17176
17177         * loop.c (basic_induction_var): A non-integer variable which is
17178         being set by a paradoxical subreg is probably not a biv.
17179
17180 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
17181
17182         * prefix.c (translate_name) Check for empty prefix string.
17183
17184 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
17185
17186         * Makefile.in (CPP_CROSS_NAME): New variable.
17187         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
17188         xcpp.
17189         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
17190         names of the files to be uninstalled.
17191
17192 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
17193
17194         * collect2.c (IS_DIR_SEPARATOR): Define.
17195         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
17196
17197         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
17198         functions too.
17199
17200         * haifa-sched.c (add_dependence): Update the true dependency
17201         cache the first time we add a true dependence to the LOG_LINKS chain.
17202
17203 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
17204
17205         * fold-const.c (fold): Fix comment.
17206
17207 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17208
17209         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
17210         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
17211         dbxout_start_new_source_file, dbxout_source_file,
17212         dbxout_source_line, dbxout_finish, dbxout_type_fields,
17213         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
17214         Constify a char*.
17215         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
17216         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
17217         (dbxout_block): Initialize variable `blocknum'.
17218
17219         * dbxout.h (dbxout_init, dbxout_finish,
17220         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
17221         dbxout_args, dbxout_source_line): Constify a char*.
17222
17223         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
17224         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
17225         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
17226         low_pc_attribute, high_pc_attribute, body_begin_attribute,
17227         body_end_attribute, comp_dir_attribute, sf_names_attribute,
17228         src_info_attribute, mac_info_attribute, producer_attribute,
17229         lookup_filename, generate_macinfo_entry, fundamental_type_code,
17230         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
17231         dwarfout_undef): Constify a char*.
17232         (add_incomplete_type, retry_incomplete_types): Add prototypes.
17233
17234         * dwarfout.h (dwarfout_define, dwarfout_undef,
17235         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
17236
17237 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
17238
17239         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
17240         (MULTILIB_ISA_DEFAULT): New.
17241         (MULTILIB_DEFAULTS): Use it.
17242         * config/mips/mips.c (): Remove the now unnecessary definition
17243         of MIPS_ISA_DEFAULT.
17244         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
17245         unnecessary definition.
17246
17247 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
17248
17249         * arm.md (pic_load_addr): Add constraints to operand 1.
17250
17251 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
17252
17253         * fixinc/genfixes:  Provide a means for specifying -D options to
17254         AutoGen
17255
17256 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
17257
17258         * arm.c (arm_override_options): Correct initialization of
17259         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
17260         arm_is_strong, and arm_is_6_or_7.
17261
17262         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
17263         (note_set_pseudo_multiple_uses): New function.
17264         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
17265         if a pseudo set in the loop exit is used elsewhere.
17266
17267 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
17268
17269         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
17270
17271 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
17272
17273         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
17274         a single load-address pattern.
17275
17276 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
17277
17278         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
17279         depending on whether or not line-number notes are present.
17280
17281 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17282
17283         * cccp.c (progname, file_buf, default_include, include_file,
17284         macrodef, definition, hashval, wchar_type, user_label_prefix,
17285         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
17286         expand_to_temp_buffer, is_system_include, base_name,
17287         absolute_filename, read_name_map, open_include_file,
17288         record_control_macro, check_precompiled, check_preconditions,
17289         pcfinclude, pass_thru_directive, create_definition,
17290         check_macro_name, comp_def_part, collect_expansion,
17291         check_assertion, read_token_list, assertion_install,
17292         assertion_lookup, eval_if_expression, conditional_skip,
17293         validate_else, skip_quoted_string, quote_string, macarg1,
17294         error_from_errno, install, lookup, hashf, dump_defn_1,
17295         perror_with_name, pfatal_with_name, main, trigraph_pcp,
17296         check_white_space, rescan, handle_directive, monthnames,
17297         special_symbol, do_include, remap_include_file, write_output,
17298         arglist, do_assert, do_unassert, do_line, do_error, do_once,
17299         do_ident, do_sccs, do_xifdef, skip_if_group,
17300         output_line_directive, macroexpand, macarg, change_newlines,
17301         initialize_builtins, make_definition): Constify a char*.
17302
17303         * pcp.h (stringdef): Likewise.
17304
17305 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
17306
17307         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
17308         not of pattern.
17309
17310 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
17311                           Richard Henderson  <rth@cygnus.com>
17312
17313         * alias.c: Include ggc.h.
17314         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
17315         (record_set): Verify enough room in reg_base_value.
17316         (init_alias_analysis): Allocate reg_base_value with xcalloc.
17317         Register it as a GC root.
17318         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
17319         * Makefile.in (alias.o): Depend on ggc.h.
17320
17321         * unroll.c (unroll_loop): Verify the insn before a barrier
17322         is a JUMP_INSN before checking JUMP_LABEL.
17323
17324 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17325
17326         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
17327         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
17328         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
17329         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
17330         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
17331         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
17332
17333 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17334
17335         * output.h (ctors_section, dtors_section, bss_section): Prototype.
17336
17337         * alpha/alpha-interix.h (text_section): Delete prototype.
17338         * alpha/elf.h (text_section): Likewise.
17339         * arm/linux-elf.h (text_section): Likewise.
17340         * arm/linux-telf.h (text_section): Likewise.
17341         * c4x/c4x.h (text_section): Likewise.
17342         * dsp16xx/dsp16xx.h (bss_section): Likewise.
17343         * elfos.h (text_section): Likewise.
17344         * i386/aix386ng.h (text_section): Likewise.
17345         * i386/i386-interix.h (text_section): Likewise.
17346         * i386/sco5.h (text_section): Likewise.
17347         * i386/svr3gas.h (text_section): Likewise.
17348         * nextstep.h (text_section): Likewise.
17349         * psos.h (text_section): Likewise.
17350         * ptx4.h (text_section): Likewise.
17351         * svr3.h (text_section): Likewise.
17352         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
17353
17354 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17355
17356         * final.c (peephole): Delete prototype.
17357
17358         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
17359         (pre_insert_copies): Remove unused variable `bb'.
17360
17361         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
17362         prototypes.
17363
17364         * output.h (peephole): Add prototype.
17365
17366 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
17367
17368         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
17369         -O0.
17370
17371 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
17372
17373         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
17374         for inlined declarations.
17375
17376 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
17377
17378         * arm.c (logical_binary_operator): New fucntion.
17379         * arm.h (logical_binary_operator): Declare it.
17380         (PREDICATE_CODES): Handle logical_binary_operator.
17381         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
17382         output constraints.  Add appropriate splitters.
17383         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
17384         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
17385         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
17386
17387 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17388
17389         * genoutput.c (struct operand_data): New elt eliminable.
17390         (output_operand_data): Write it.
17391         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
17392         (compare_operands): Take it into account.
17393         * recog.h (struct insn_operand_data): New elt eliminable.
17394         * reload1.c (check_eliminable_occurrences, elimination_effects): New
17395         functions.
17396         (old_asm_operands_vec, new_asm_operands_vec): Delete.
17397         (eliminate_regs): Move code that detects changes to elimination
17398         target regs into new function elimination_effects.
17399         Delete one #if 0 block.
17400         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
17401         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
17402         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
17403         Only call eliminate_regs for real operands of the insn, not for parts
17404         of its structure or parts matched by things like match_operator.
17405         Use elimination_effects and check_eliminable_occurrences.  Use
17406         copy_insn to duplicate the pattern when not in the final pass.
17407
17408 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
17409
17410         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
17411         and fld.
17412
17413 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
17414
17415         * fixinc/README: document the "mach" machine matching test
17416         * fixinc/fixfixes.c: Implement the #else/#endif label fix
17417         * fixinc/fixtests.c: Implement the #else/#endif label test
17418         * fixinc/inclhack.def: utilize these tests and fixes
17419         * fixinc/inclhack.sh:  regen
17420         * fixinc/fixincl.x:  regen
17421         * fixinc/fixincl.sh:  regen
17422
17423 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
17424
17425         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
17426         depend on ggc.h.
17427
17428 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
17429
17430         * gcc.1: Document exit codes.
17431
17432 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17433
17434         * calls.c: Include tm_p.h later, so everything we need is defined.
17435         * expr.c: Likewise.
17436         * function.c: Likewise.
17437
17438         * except.c: Include tm_p.h.
17439
17440         * sparc.c: Likewise.
17441         (dwarf2out_cfi_label): Don't prototype.
17442         (check_return_regs, epilogue_renumber,
17443         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
17444         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
17445         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
17446         ultra_schedule_insn): Add static prototype.
17447         (data_segment_operand, text_segment_operand): Call itself with the
17448         proper number of arguments.
17449         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
17450
17451         * sparc.h: Move all declarations to sparc-protos.h.
17452         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
17453         symbolic_operand.
17454
17455         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
17456
17457         * config/svr4.h (text_section, ctors_section, dtors_section): Add
17458         Prototypes.
17459         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
17460         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
17461         ASM_OUTPUT_ASCII): Constify a char*.
17462
17463         * sparc-protos.h: New file for sparc prototypes.
17464
17465 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17466
17467         * function.c (record_insns, contains): Always declare and define.
17468         (record_insns): Mark with ATTRIBUTE_UNUSED.
17469
17470 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
17471
17472         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
17473         to .section when outputting a .bss section to deal with multiple
17474         .bss input sections (as happens with -fdata-sections)
17475         Also output %progbits, not @progbits so the assembler doesn't treat as
17476         a comment.
17477         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
17478
17479         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
17480         thumb parts even when building with non-thumb CPUs, by forcing
17481         thumb mode.
17482
17483 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
17484
17485         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
17486         (movdf_const_intreg_sp64): Similarly.
17487
17488         * local-alloc.c (update_equiv_regs): Check the correct insn
17489         for pre-existing REG_EQUIV notes.
17490
17491 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
17492
17493         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
17494         block reached by a branch if we're not going to actually process
17495         this block.
17496
17497 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
17498
17499         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
17500         a local extern function declaration.
17501
17502 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
17503
17504         * i386.c (ix86_expand_prologue): Properly wrap USE around
17505         reg for CALL_INSN_FUNCTION_USAGE.
17506
17507 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
17508
17509         * config/mips/mips.md (movdf_internal1a): Allow floating-point
17510         move between GP_REGs.
17511
17512 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
17513
17514         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
17515         the mode size when finding out if an offset is legal.
17516
17517 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
17518
17519         * basic-block.h (PROP_*): Move constants from ...
17520         * flow.c: ... here.
17521         (compute_bb_for_insn): Free the array before reallocating.
17522         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
17523         (allocate_reg_life_data): Reset all reg variables collected by
17524         propagate_block.
17525         (get_block_head_tail): Don't convert from bb to block.
17526         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
17527         (find_insn_reg_weight): Take block not bb.
17528         (schedule_block): Don't set block num for moved insns.
17529         (schedule_region): Don't update_life_info or find_insn_reg_weight.
17530         (schedule_insns): Do it here instead.
17531         * combine.c (combine_instructions): Invoke compute_bb_for_insn
17532         before update_life_info.
17533         * recog.c (split_all_insns, peephole2_optimize): Update for
17534         new arg to update_life_info.
17535         * rtlanal.c (remove_note): Cope with NULL note.
17536         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
17537         if we did sched1.
17538
17539 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
17540
17541         * jump.c (jump_optimize_1): More accurately detect casesi insns.
17542
17543         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
17544         block records so that merge_blocks_nomove will clean up correctly.
17545         (split_edge): Handle casesi insns.
17546
17547         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
17548
17549 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
17550
17551         * pa.md (call, call_value): Do not emit a blockage after restoring
17552         the PIC register.
17553
17554 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
17555
17556         * c-typeck.c (c_expand_asm_operands): Fix typo.
17557
17558 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17559
17560         * arm.c (fpu_rhs_operand): Verify modes.
17561         (fpu_add_operand): Likewise.
17562         (di_operand): Likewise.
17563         (soft_df_operand): Likewise.
17564
17565 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
17566
17567         * arm.c (arm_return_in_memory): APCS rules state that the elements
17568         of a structure returned in a register must be 'integer-like'.
17569
17570 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
17571
17572         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
17573         in the source tree when the generated targets are out of date
17574         * fixinc/genfixes: Alter it to run individual fixes for make.
17575         * fixinc/README: rewrite
17576         * fixinc/inclhack.def: moved initial comments to README
17577
17578 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
17579
17580         * toplev.c (main): Do not generate an error message if an
17581         unrecognised command line switch is recognisable by another
17582         language.  If extra_warnings are enabled, then generate a
17583         warning message instead.
17584
17585 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17586
17587         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
17588         (insert_pack_attributes): Delete prototype.
17589
17590         * c-pragma.c (default_alignment): New static variable.
17591         (push_alignment): Initialize to current effective alignment.
17592         (pop_alignment): Use to set new alignment.
17593         (insert_pack_attributes): Delete function.
17594         (handle_pragma_token): Set default_alignment as well each time
17595         a #pragma pack(<n>) is encountered.
17596
17597 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
17598
17599         * reg-stack.c (stack_result): Aggregates are not returned in
17600         stack registers.
17601
17602 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
17603
17604         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
17605
17606 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
17607
17608         * basic-block.h (set_block_num): Declare.
17609         * flow.c (update_life_info): Don't call compute_bb_for_insn
17610         or free_basic_block_vars.
17611         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
17612         (insn_orig_block): Remove.
17613         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
17614         (schedule_block): Keep BLOCK_NUM up-to-date.
17615         (schedule_insns): Use compute_bb_for_insn.
17616         * recog.c (split_all_insns): Likewise.
17617         (peephole2_optimize): Likewise.
17618
17619 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
17620
17621         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
17622         if the pic register is used.
17623
17624 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17625
17626         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
17627         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
17628         if that tests TREE_PERMANENT.
17629
17630 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
17631
17632         * cse.c (invalidate_for_call): Do not remove memory references from
17633         the table here.  It's handled elsewhere.
17634
17635         * haifa-sched.c (add_dependence): Protect references to the
17636         true dependency cache with #ifdef INSN_SCHEDULING.
17637         (remove_dependence): Similarly.
17638
17639         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
17640         to the cfg code that this is a return instruction.
17641         * mn10300.md (return_internal): Similarly.
17642
17643         * combine.c (get_last_value): If the last set of a register
17644         is after subst_low_cuid, then we can not use it to determine
17645         the register's last value.
17646
17647 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
17648
17649         * Makefile.in: Back out previous change.
17650
17651 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
17652
17653         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
17654
17655         * haifa-sched.c (add_dependence): Only check/update the cache
17656         if it exists.
17657         (remove_dependence): Likewise.
17658         (schedule_insns): Only create the true_dependency_cache if the
17659         average number of instructions in a basic block is very large.
17660
17661 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
17662
17663         * Makefile.in (ggc-common.o): Depend on genrtl.h.
17664         (ggc-simple.o): Likewise.
17665         (ggc-page.o): Likewise.
17666
17667 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
17668
17669         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
17670         Prototype for exported functions.
17671         (pre_lcm, pre_rev_lcm): Remove prototypes.
17672         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
17673         (compute_available): Move to lcm.c, and change parameter order.
17674         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
17675         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
17676         (gcse_main): No longer call compute_preds_succs.  Rebuild the
17677         set table after reach pre pass.
17678         (pre_insert_map, pre_delete_map, edge_list): New.
17679         (alloc_pre_mem): Allocate edge vectors.
17680         (free_pre_mem): Delete edge vectors.
17681         (compute_pre_data): Call new edge based lcm routines.
17682         (process_insert_insn): New function.
17683         (insert_insn_end_bb): Use it.
17684         (pre_edge_insert): New function.
17685         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
17686         needed.
17687         (pre_insert_copies): Revamp using new edge based lcm outputs.
17688         (pre_delete): Likewise.
17689         (one_pre_gcse_pass): Insert & remove fake edges to the exit
17690         block.
17691         (compute_code_hoist_vbeinout): New new edge based routines.
17692         * lcm.c: Remove all the old LCM functions.  Replace with new ones
17693         that work with the new cfg datastructures and work with edges
17694         instead of blocks.
17695
17696 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17697
17698         * reload.h (struct reload): Add new fields "mode" and "nregs".
17699         * reload1.c: Change all occurrences of reload_mode and reload_nregs
17700         to reference the "mode" and "nregs" field within struct reload.
17701
17702 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
17703
17704         * haifa-sched.c (true_dependency_cache): New.
17705         (add_dependence): Use the true dependency cache to avoid expensive
17706         walks down the LOG_LINKS dependency list.  Add entries to the
17707         cache as necessary.
17708         (remove_dependence): Remove entries from the true dependency cache
17709         as needed.
17710         (schedule_insns): Allocate and initialize and free the true
17711         dependency cache.
17712
17713         * haifa-sched.c (schedule_insns): Do not remove inter-block
17714         dependencies anymore.
17715
17716 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
17717
17718         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
17719         * i386/t-winnt: Likewise.
17720
17721 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
17722
17723         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
17724
17725 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
17726
17727         * Makefile.in (LANGUAGES): Omit "proto".
17728         (clean): Remove stale comment about removing unprotoize.c.
17729
17730 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17731
17732         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
17733         using arithmetic on void pointers.
17734
17735 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
17736
17737         * haifa-sched.c (compute_block_forward_dependencies): Only check
17738         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
17739
17740 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
17741
17742         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
17743         (expr_equiv_p): Reject memories with different alias sets.
17744
17745 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
17746
17747         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
17748         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
17749         (f_options): Add "bounded-pointers" and "bounds-check" entries.
17750         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
17751         (lang_init): Set default for flag_bounds_check if still "unspecified".
17752
17753 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17754
17755         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
17756
17757 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17758
17759         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
17760         instructions.
17761
17762 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17763
17764         * config/c4x/c4x.md (*db_noclobber,
17765         *decrement_and_branch_until_zero_noclobber): New patterns and
17766         associated splitters.
17767
17768 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17769
17770         * config/c4x/c4x.md (parallel instruction patterns): Rework
17771         constraints to keep reload happy.
17772
17773 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17774
17775         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
17776         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
17777         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
17778         Add new patterns and associated post-reload splitters.
17779
17780 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17781
17782         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
17783
17784 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17785
17786         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
17787         if appropriate.
17788         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
17789
17790 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17791
17792         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
17793         memory mode.
17794
17795 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
17796
17797         * pa.c (move_operand): Rely on memory_address_p to determine the
17798         validity of non-indexed memory addresses.
17799         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
17800         operand in DFmode and SFmode when generating PA2.0 code.
17801
17802 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
17803
17804         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
17805
17806 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
17807
17808         * mips.c (function_prologue): Fix argument types.
17809         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
17810         (casesi_internal): Write to the scratch register.
17811
17812 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
17813
17814         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
17815         to U_CHAR **.
17816         (parse_charconst): Delete unnecessary cast when calling
17817         cpp_parse_escape.
17818         (cpplib.h): Kill prototype of cpp_parse_escape.
17819
17820 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
17821
17822         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
17823         * unroll.c (unroll_loop): Cast return value of alloca.
17824         * i370/i370.c: Include function.h and toplev.h.
17825         (i370_label_scan): Remove c++ commented abort.
17826         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
17827         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
17828         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
17829         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
17830
17831 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
17832
17833         * config/t-freebsd: Do not override USER_H.
17834         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
17835
17836 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
17837                           Mumit Khan  <khan@xraylith.wisc.edu>
17838
17839         * c-parse.in (component_decl): Support anonymous struct/union.
17840         (%expect): Update.
17841         * c-parse.y: Regenerate.
17842         * c-parse.c: Likewise.
17843         * objc/objc-parse.y: Likewise.
17844         * objc/objc-parse.c: Likewise.
17845         * c-decl.c (finish_struct): Don't sort the fields.
17846         (field_decl_cmp): Delete unused function.
17847
17848 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
17849
17850         * sparc.md (movsf_const_intreg): Revert last constraint change.
17851         (movdf_const_intreg_sp32): Likewise.
17852
17853 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
17854
17855         * cse.c: Include hashtab.h instead of splay-tree.h
17856         (struct cse_reg_info): No longer use variant union.  Add new
17857         field "regno".  All references changed to avoid union.
17858         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
17859         (free_cse_reg_info): Remove.
17860         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
17861         (get_cse_reg_info): Revamp to use expandable hash tables instead
17862         of splay trees.  Initialize new fields in cse_reg_info structure.
17863         (new_basic_block): Similarly.
17864
17865 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
17866
17867         * genrecog.c (message_with_line): Prototype.
17868         (validate_pattern): Pass along the set for the dest, not a flag.
17869         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
17870         Check for PC/CC0 as sources.
17871         (nodes_identical): Check for children position match before
17872         allowing the combination.
17873
17874         * rtl.c (read_rtx): Track line number across \\\n.
17875
17876 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
17877
17878         * mips.h (SPECIAL_MODE_PREDICATES): New.
17879         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
17880         (movdi+1, movsi+1): Add output reload constraint.
17881         (casesi_internal): Likewise.  Fix commentary.
17882         (return_internal): Use pmode_register_operand.
17883
17884 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
17885
17886         * 1750a.md (movstrqi): Add missing output reload constraint.
17887         (call_value): Likewise.
17888         * a29k.md (cpxxx patterns): Add missing match_operator mode.
17889         (jmpfdec): Add missing inout reload constraint.
17890         * elxsi.md (addsi patterns): Add missing output reload constraint.
17891         (move from sp): Use @ alternates.
17892         (call_value): No constraint on output.
17893         * fr30.md (movsi_pop): Add missing output reload constraint.
17894         (movsf_constant_store): Likewise.
17895         (splits): Remove constraints.
17896         (subsi3): Add missing mode.
17897         * i370.md (cmpstrsi+1): Add missing output reload constraint.
17898         (call_value): Likewise.
17899         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
17900         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
17901         * m32r.md (movsicc_internal): Add output reload constraint.
17902         (movstrsi_internal): Add inout reload constraints.
17903         * m88k.h (reg_names): Don't declare.
17904         (SPECIAL_MODE_PREDICATES): New.
17905         * m88k.md (*): Use register_operand not reg_or_0_operand
17906         on destinations.
17907         * mn10200.h (PREDICATE_CODES): New.
17908         * ns32k.md (ffs pattern): Add output reload constraint.
17909         * pdp11.md (sob pattern): Add inout reload constraint.
17910         * sh.md (splits): Remove constraints.
17911         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
17912         * v850.md (pattern_is_ok_for_epilogue): Likewise.
17913         * vax.md (jgequ pattern): Add inout reload constraint.
17914
17915 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
17916
17917         * configure.in (djgpp): Revert previous patch.
17918         * configure: Rebuit.
17919         * config/i386/djgpp.h: Revert previous patch.
17920
17921 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
17922
17923         * fixinc/inclhack.def: Restore patch lost during last merge of
17924         "no_bogosity" branch.
17925         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
17926
17927 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17928
17929         * fixincludes: Add a HPUX 11 fix for inttypes.h.
17930         * fixinc/inclhack.def: Same.
17931         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
17932
17933 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
17934
17935         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
17936         as the base of a PLUS.
17937
17938 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17939
17940         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
17941         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
17942
17943 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
17944
17945         * pa.md (post_stw+1): Use pmode_register_operand.
17946         (dcacheflush, icacheflush): Likewise.
17947
17948         * i386.md (movstricthi_1): Allow r/r.
17949
17950 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
17951
17952         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
17953         to (not (and (arg0) (arg1))). Similary for and.
17954
17955         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
17956         fallthrough to associate code.
17957         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
17958         bits in common.
17959
17960         * combine.c (simplify_logical): Convert XOR to IOR if operands have
17961         no bits in common; remove XOR to ROTATE conversion.
17962
17963 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17964
17965         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
17966
17967 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17968
17969         * config/c4x/c4x.c (dst_operand): New.
17970         (PREDICATE_CODES): Update.
17971         * config/c4x/c4x.h (dst_operand): Declare it.
17972         * config/c4x/c4x.md:  Define mode for each unspec usage.
17973         (move patterns):  Use dst_operand predicate instead of src_operand.
17974         (movqi_update, movqf_update): Delete.
17975
17976 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
17977
17978         * recog.c (pmode_register_operand): New.
17979         * recog.h: Declare it.
17980         * genrecog.c (pred_codes): Likewise.
17981         (special_mode_pred_table): Likewise.
17982         (validate_pattern): Don't warn no mode for address_operand.
17983
17984         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
17985         if the operand is not insn-like.
17986
17987 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
17988                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
17989
17990         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
17991
17992 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
17993
17994         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
17995         instead of general_operand in a SET_DEST.  Use const_double_operand
17996         instead of an explicit test against CONST_DOUBLE.
17997         (movsf_const_lo): Add missing register mode.
17998         (goto_handler_and_restore): Add auxiliary test for Pmode.
17999         (flush): Adjust to use address_operand.
18000         (return_sf_no_fpu): Add missing output constraint.
18001
18002 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
18003
18004         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
18005         for call return value.
18006         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
18007
18008 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
18009
18010         * toplev.c (main): Only warn about options for other languages.
18011         * collect2.c (main): Pass -w to sub-gcc.
18012
18013 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
18014
18015         * flow.c (propagate_block): Add call-clobbered registers to
18016         significant too.
18017
18018         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
18019         zapping mem_set_list.
18020         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
18021         (mark_set_1, mark_used_regs): Likewise.
18022
18023 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
18024
18025         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
18026
18027 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
18028
18029         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
18030         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
18031         options. Also add a new item "C-only Warning Options" to the
18032         option summary.
18033
18034 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
18035
18036         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
18037         from multiple calls.
18038
18039 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
18040
18041         * i386.md (call value patterns): Move to the end of the file.
18042         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
18043
18044 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
18045
18046         * configure.in (djgpp configuration): Define extra_objects..
18047         * configure: Rebuilt.
18048         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
18049         (DTORS_SECTION_ASM_OP): Define.
18050         (INIT_SECTION_ASM_OP): Define.
18051         (FINI_SECTION_ASM_OP): Define.
18052         (DATA_SECTION_ASM_OP): Define.
18053         (TEXT_SECTION_ASM_OP): Define.
18054         (EH_FRAME_SECTION_ASM_OP): Define.
18055         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
18056         (STARTFILE_SPEC): Add crtbegin.o.
18057         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
18058         to here from LINK_COMMAND_SPEC.
18059         (DO_GLOBAL_CTORS_BODY): Define.
18060         (CRTSTUFF_USE_FINI_SECTION): Define
18061         (HAS_INIT_SECTION): Delete.
18062
18063 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
18064
18065         * Makefile.in (all.cross): Depend on xcpp$(exeext).
18066
18067 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
18068
18069         * pa.h (PREDICATE_CODES): New.
18070
18071         * genrecog.c (validate_pattern): Condense the destination
18072         non-lvalue message.
18073
18074 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
18075
18076         * alpha.md (call-1): Supply missing mode for operator.
18077         (*): Add missing output reload constraints.  Remove constraints
18078         from define_splits.
18079
18080         * i386.h (SPECIAL_MODE_PREDICATES): New.
18081         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
18082         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
18083         (addsi_lea_3): Add missing mode for op 3.
18084         (prologue_set_got, prologue_get_pc): Add missing modes.
18085         (*) Add missing output reload constraints.
18086
18087 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
18088
18089         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
18090         check for member bit-size overflow and use var_size if it occurs.
18091         (layout_record): Use bitsize_int() to define the type size in bits.
18092         Likewise for computation and assignment to DECL_FIELD_BITPOS.
18093         (layout_decl): Likewise when assigning to DECL_SIZE.
18094
18095 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
18096
18097         * genrecog.c (validate_pattern): Typo last change.  Verify
18098         that output operands have output reloads.
18099
18100 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
18101
18102         * genrecog.c (special_mode_pred_table): New.
18103         (NUM_SPECIAL_MODE_PREDS): New.
18104         (find_operand): New.
18105         (validate_pattern): New argument `insn'.  Warn for assignment to
18106         any predicate accepting non-lvalues.  Conditionaly warn for
18107         match_operand without a mode.  Try much harder to match source
18108         and destination modes on a set.
18109         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
18110
18111 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
18112
18113         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
18114
18115 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
18116
18117         * combine.c (simplify_logical): Recognize xor pattern that encodes
18118         rotation.
18119
18120 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18121
18122         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
18123         alignment.
18124
18125 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
18126
18127         * ggc-page.c (MAP_FAILED): Provide default.
18128
18129 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
18130
18131         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
18132         * sparc.h (PREDICATE_CODES): Update.
18133
18134 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
18135
18136         * alpha.c (some_ni_operand): New.
18137         * alpha-protos.h: Declare it.
18138         * alpha.h (PREDICATE_CODES): Update.
18139         * alpha.md (sXaddq reload insns): Use some_ni_operand
18140         for SET_DEST instead of some_operand.
18141
18142 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
18143                           Jim Wilson  <wilson@cygnus.com>
18144
18145         * genrecog.c (maybe_both_true_2): Don't compare modes of
18146         two DT_pred tests.
18147         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
18148         after find_afterward.
18149         (debug_decision_1): Dump next and afterward codes.
18150
18151 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
18152
18153         * rtl.c (dump_and_abort): Remove.
18154         (fatal_with_file_and_line): New.
18155         (fatal_expected_char): New.
18156         (read_rtx_lineno, read_rtx_filename): New.
18157         (read_skip_spaces): Track line number.
18158         (read_name): Use fatal_with_file_and_line.
18159         (read_rtx): Use fatal_expected_char.  Track line number.
18160         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
18161
18162         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
18163         if it isn't a CODE_LABEL.
18164
18165         * genattr.c (main): Set read_rtx_filename.
18166         * genattrtab.c (main): Likewise.
18167         * gencodes.c (main): Likewise.
18168         * genconfig.c (main): Likewise.
18169         * genemit.c (main): Likewise.
18170         * genextract.c (main): Likewise.
18171         * genflags.c (main): Likewise.
18172         * genopinit.c (main): Likewise.
18173         * genoutput.c (main): Likewise.
18174         * genpeep.c (main): Likewise.
18175
18176         * genrecog.c (decision_test.u.insn): Add `lineno'.
18177         (pattern_lineno, error_count): New variables.
18178         (message_with_line): New.
18179         (add_to_sequence): Break out checking code to ...
18180         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
18181         (merge_insn): Use message_with_line.
18182         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
18183         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
18184
18185 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18186
18187         * expr.c (store_constructor): Clear union if constructor is empty.
18188
18189 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
18190
18191         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
18192         Add !endian checks.  Change %{...} to %(...).
18193
18194 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
18195
18196         * i386.md (*addsi3_cc): Renamed from addcsi3.
18197         (*addsi3_carry): Renamed from addxsi3.
18198         (*subsi3_cc): Renamed from subcsi3.
18199         (*subsi3_carry): Renamed from subxsi3.
18200         (*xorqi_cc_1): Renamed from xorcqi_1.
18201         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
18202         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
18203
18204 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
18205
18206         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
18207         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
18208
18209 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
18210
18211         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
18212         climb up the chain of insns.
18213
18214 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
18215
18216         * genrecog.c (write_subroutine): Careful for null trees.
18217         (process_tree): Don't elide empty functions.
18218
18219 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
18220
18221         * Makefile.in (genrtl.o): Depend on ggc.h.
18222         * configure.in (valloc): Probe for it.
18223         (with-gc): Use ggc-page if valloc present.
18224         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
18225         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
18226         (ggc_alloc_string): Moved from ggc-page.c.
18227         * ggc-none.c (ggc_alloc_obj): New.
18228         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
18229         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
18230         (struct globals): Likewise for dev_zero_fd.
18231         (init_ggc): Likewise for it's initialization.
18232         (ggc_allocated_p): Move careful dereference from ...
18233         (ggc_lookup_page_table): ... here.  Delete.
18234         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
18235         (alloc_anon): Use valloc if no mmap.
18236         (release_pages): Use free if using valloc.
18237         (ggc_alloc_obj): Renamed from alloc_obj.
18238         (ggc_set_mark): Renamed from mark_obj.
18239         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
18240         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
18241         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
18242         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
18243         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
18244         (ggc_collect): Use fp printing instead of our own rounding.
18245         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
18246         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
18247         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
18248         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
18249         (struct ggc_string, struct ggc_any): Delete.
18250         (offsetof): Provide default definition.
18251         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
18252         (PTR_KEY): New.
18253         (struct ggc_mem): New, from corpse of ggc_any.
18254         (struct ggc_status): Delete.
18255         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
18256         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
18257         (n_strings_collected, n_anys_collected): Delete.
18258         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
18259         (ggc_alloc_string, ggc_alloc): Delete.
18260         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
18261         (ggc_free_string, ggc_free_any): Delete.
18262         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
18263         (ggc_compare_addresses, ggc_mark_string): Delete.
18264         (ggc_mark_string_if_gcable, ggc_mark): Delete.
18265         (search_data): Delete.
18266         (struct globals): New.
18267         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
18268         (tree_insert, tree_lookup): New.
18269         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
18270         (clear_marks, sweep_objs): New.
18271         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
18272         (init_ggc): Set allocated_last_gc.
18273         (ggc_push_context): Gut.  Use G.context.
18274         (ggc_pop_context): Likewise.
18275         (ggc_pop_context_1): New.
18276         (debug_ggc_tree): New.
18277         (debug_ggc_balance, tally_leaves): New.
18278         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
18279         (ggc_mark_string_if_gcable): Remove decl.
18280         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
18281         (ggc_mark_rtvec_children): New.
18282         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
18283         (ggc_mark_if_gcable): New decl.
18284         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
18285         (ggc_alloc_tree, ggc_alloc): Likewise.
18286         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
18287         (ggc_alloc_obj): New decl.
18288         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
18289         (ggc_alloc_tree, ggc_alloc): Likewise.
18290         (ggc_set_mark): New decl.
18291         * rtl.h (struct rtx_def): Remove gc_mark.
18292         (struct rtvec_def): Likewise.
18293         * tree.h (struct tree_common): Likewise.
18294
18295 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
18296
18297         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
18298         float_format and thread_file definitions.
18299         * configure: Rebuilt.
18300
18301 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
18302
18303         * extend.texi (Function Names): Document types of function names.
18304
18305 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18306
18307         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
18308         an earlyclobbered output conflict with RELOAD_INPUT reloads.
18309
18310 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18311
18312         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
18313
18314 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18315
18316         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
18317
18318 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
18319
18320         * collect2.c (main): Do prelimnary link on AIX if rflag.
18321
18322 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
18323
18324         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
18325         __CTOR_LIST__ in opposite order, which is the correct order for sorted
18326         constructors.
18327         (__do_global_dtors): similarly for __DTOR_LIST__.
18328
18329 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18330                                 Diego Novillo <dnovillo@cygnus.com>
18331
18332         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
18333         FPUL_REGS.
18334
18335 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
18336
18337         * fixincl/*: Merged "no_bogosity" branch
18338         * fixincl/fixlib.h: protect against doubly defining t_bool
18339         * fixincl/server.h: protect against doubly defining t_bool
18340
18341 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
18342
18343         * genoutput.c: Include toplev.h.
18344
18345 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
18346
18347         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
18348         Undef.
18349         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
18350         * configure: Regenerate.
18351
18352 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
18353
18354         * gcse.c (delete_null_pointer_checks): Returns void.
18355
18356 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18357
18358         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
18359         * emit-rtl.c (copy_insn_1): Likewise.
18360
18361 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
18362
18363         * config/mips/mips.c (mips_build_va_list): Correct
18364         TREE_CHAIN setting when hard-float.
18365         (mips_va_start): Use corrected setting.
18366         (mips_va_arg): Likewise.  Also pass a tree to build of
18367         POSTINCREMENT_EXPR rather than a naked 'int'.
18368
18369 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
18370
18371         * ggc.h (ggc_push_context): Fix comment.
18372         (ggc_pop_context): Likewise.
18373         (mark_string_if_gcable): Likewise.
18374         * ggc-common.c (ggc_mark_rtx_children): Use
18375         ggc_mark_string_if_gcable.
18376         * ggc-page.c (ggc_lookup_page_table): New function.
18377         (ggc_allocated_p): Likewise.
18378         (mark_obj): Fix formatting.
18379         (ggc_mark_string_if_gcable): New function.
18380         * ggc-simple.c (ggc_allocated_strings): New variable.
18381         (ggc_strings_used): Likewise.
18382         (ggc_compare_addresses): New function.
18383         (ggc_pop_context): Pop the `any' memory too.
18384         (ggc_mark_string_if_gcable): New function.
18385         (ggc_collect): Initialize and tear down ggc_allocated_strings.
18386
18387 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
18388
18389         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
18390         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
18391         * rs6000.c (expand_block_move): Match movstrsi_?reg register
18392         changes.
18393
18394 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
18395
18396         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
18397         (sched_reg_live_length, sched_reg_basic_block): Delete.
18398         (current_block_num, bb_live_regs, old_live_regs): Delete.
18399         (dead_notes, struct sometimes): Delete.
18400         (sched_note_set, birthing_insn_p): Delete.
18401         (adjust_priority): Gut useless reg lifetime code.
18402         (create_reg_dead_note, attach_deaths): Delete.
18403         (attach_deaths_insn, new_sometimes_live): Delete.
18404         (finish_sometimes_live): Delete.
18405         (find_pre_sched_live, find_post_sched_live): Delete.
18406         (update_reg_usage): Delete.
18407         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
18408         (schedule_insns): Delete reg lifetime code.
18409         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
18410         (unlink_other_notes): Adjust REG_NOTE commentary.
18411         (reemit_notes): Use REG_SAVE_NOTE.
18412         (schedule_block): Likewise.
18413         (schedule_region): Allocate bitmap of blocks in region.  Use
18414         count_or_remove_death_notes.  Use update_life_info.
18415
18416         * rtl.h (REG_SAVE_NOTE): New.
18417         * rtl.c (reg_note_name): Update.
18418
18419 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
18420
18421         * combine.c (refresh_blocks, need_refresh): New.
18422         (combine_instructions): Allocate refresh_blocks.  Invoke
18423         update_life_info if needed.
18424         (distribute_notes): Mark refresh_blocks instead of installing
18425         USE insns.
18426         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
18427         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
18428
18429         * Makefile.in (recog.o): Depend on basic-block.h.
18430
18431 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
18432
18433         * genrecog.c (add_to_sequence): Thinko last change: delete
18434         shadowing allow_const_int variable.
18435
18436 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18437
18438         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
18439         __GNUC__ and __GNUC_MINOR__.
18440
18441         * gansidecl.h: Likewise.
18442
18443         * rtl.c: Likewise.
18444
18445         * rtl.h: Likewise.
18446
18447         * toplev.h: Likewise.
18448
18449         * tree.c: Likewise.
18450
18451         * tree.h: Likewise.
18452
18453         * varray.c: Likewise.
18454
18455         * varray.h: Likewise.
18456
18457 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18458
18459         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
18460         use one before a jump table.
18461
18462         * rtl.def (ADDRESS): Change documentation to match reality.
18463         * md.texi: Don't document it.
18464         * gmicro.md (load address pattern): Use 'p' constraint, delete use
18465         of ADDRESS rtx.
18466
18467         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
18468
18469 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
18470
18471         * genrecog.c (add_to_sequence): Move allow_const_int test outside
18472         known predicate block; default allow_const_int true.
18473         (debug_decision_list): New.
18474
18475 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
18476
18477         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
18478
18479 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
18480
18481         * gcse.c (gcse_main): Avoid global optimizations if we have a
18482         large number of basic blocks and the ratio of edges to blocks
18483         is high.
18484         (delete_null_pointer_checks): Likewise.
18485
18486 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
18487
18488         * c-common.c (check_format_info): Warn if format string isn't a
18489         string literal.
18490
18491 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
18492
18493         * configure.in (arm*-*-*): Don't let autoconf remove brackets
18494         * configure: regenerate
18495
18496 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
18497
18498         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
18499         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
18500         (peepholes): Re-enable.
18501
18502 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
18503
18504         * Makefile.in (flow.o): Depend on TREE_H.
18505         * basic-block.h (REG_SET_EQUAL_P): New.
18506         (XOR_REG_SET): New.
18507         (n_edges): Declare.
18508         (free_regset_vector): Remove declaration.
18509         (flow_delete_insn_chain): Declare.
18510         (enum update_life_extent): New.
18511         (update_life_info, count_or_remove_death_notes): Declare.
18512         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
18513         Verify register live at bb->global_live_at_start before adding USE.
18514         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
18515         (CLEAN_ALLOCA): New.
18516         (n_edges): New.
18517         (PROP_*): New flags.
18518         (find_basic_blocks_1): Use alloc_EXPR_LIST.
18519         (clear_edges): Zero n_edges.
18520         (make_edge): Increment n_edges.
18521         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
18522         (flow_delete_insn_chain): Export.
18523         (delete_block): Decrement n_edges.
18524         (merge_blocks_nomove): Likewise.
18525         (life_analysis): Give life_analysis_1 PROP flags.
18526         (verify_wide_reg_1, verify_wide_reg): New.
18527         (verify_local_live_at_start): New.
18528         (update_life_info): Rewrite to call into propogate_block.
18529         (mark_reg): New.
18530         (mark_regs_live_at_end): After reload, if epilogue as rtl,
18531         always mark stack pointer.  Conditionally mark PIC register.
18532         After reload, mark call-saved registers, return regsiters.
18533         (life_analysis_1): Accept PROP flags not remove_dead_code.
18534         Call mark_regs_live_at_end before zeroing regs_ever_live.
18535         Use calculate_global_regs_live.  Copy global_live_at_end before
18536         calling final propagate_block.  Zero reg_next_use on exit.
18537         (calculate_global_regs_live): New.
18538         (allocate_bb_life_data): Don't allocate bb->local_set.
18539         (init_regset_vector, free_regset_vector): Remove.
18540         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
18541         Test flags before every operation.  Warn if prologue/epilogue insn
18542         would have been deleted.
18543         (mark_set_regs, mark_set_1): Accept and use FLAGS.
18544         Use alloc_EXPR_LIST.
18545         (mark_used_regs): Accept and use FLAGS, not FINAL.
18546         Remove special handling for RETURN.
18547         (try_pre_increment): Use alloc_EXPR_LIST.
18548         (dump_flow_info): Dump n_edges.
18549         (unlink_insn_chain, split_hard_reg_notes): Remove.
18550         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
18551         (find_insn_with_note, new_insn_dead_notes): Remove.
18552         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
18553         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
18554         (replace_insns): Remove.
18555         (count_or_remove_death_notes): New.
18556         (verify_flow_info): Abort on error after all checks.
18557         (remove_edge): Decrement n_edges.
18558         (remove_fake_edges): Tweak format.
18559         * haifa-sched.c (schedule_insns): Use split_all_insns.
18560         * output.h (update_life_info): Remove declaration.
18561         * recog.c (split_all_insns): From the corpse of split_block_insns,
18562         do the whole function block by block.  Use update_life_info.
18563         (recog_last_allowed_insn): New.
18564         (recog_next_insn): Mind it.
18565         (peephole2_optimize): Set it.  Walk backwards through blocks.
18566         Use update_life_info.
18567         * rtl.h (update_flow_info, replace_insns): Remove declarations.
18568         (split_all_insns): Declare.
18569         * toplev.c (rest_of_compilation): Thread prologue before flow2.
18570         Use split_all_insns.
18571
18572         * i386.md (or -1 peep2s): Disable.
18573
18574 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
18575
18576         * config/mips/mips.md (movstrsi+[123]) : Combine these into
18577         a single pattern.  Scrap the 'd' versions as unnecessary.
18578
18579         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
18580         tablejump_mips162,tablejump_internal4): The operands to a
18581         label_ref must be VOIDmode.
18582
18583 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18584
18585         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
18586
18587 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
18588
18589         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
18590
18591 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
18592
18593         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
18594         cache every function if ggc_p.
18595
18596 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18597
18598         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
18599         instead of copy_rtx.  Accept sequences that contain asm statements.
18600         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
18601         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
18602         orig_asm_operands_vector, copy_asm_operands_vector,
18603         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
18604         variables.
18605         * rtl.h (copy_insn, copy_insn_1): Declare.
18606
18607 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18608
18609         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
18610
18611         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
18612         arguments to `current_file_function_operand'.
18613
18614         * genrecog.c: Include hard-reg-set.h and resource.h in the
18615         generated output file.
18616
18617         * real.c: Include tm_p.h.
18618
18619 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18620
18621         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
18622         output operand.
18623
18624 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
18625
18626         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
18627         before the fctiwz insn.
18628
18629 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18630                           Mark Mitchell  <mark@codesourcery.com>
18631
18632         * tree.c (make_lang_type_fn): New funtion pointer.
18633         (make_lang_type): Call it.
18634         * tree.h (make_lang_type): Declare.
18635         (make_lang_type_fn): Likewise.
18636         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
18637
18638 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
18639
18640         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
18641         make sure that HIGH instructions are copied into BASE_REGS.
18642
18643 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
18644
18645         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
18646
18647 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
18648
18649         * c-decl.c (finish_struct): Use simpler method of
18650         removing elements of a singly-linked list.
18651
18652 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
18653
18654         * alpha.md (peephole2's): Comment out peephole2's that generate
18655         buggy code.
18656
18657 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
18658
18659         * genrecog.c (add_to_sequence): Disable mode check for
18660         wildcard matches.
18661
18662 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18663
18664         * ggc-simple.c (init_ggc): Set empty_string.
18665
18666 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
18667
18668         * configure.in: Detect mmap.  Add --with-gc=foo to select
18669         garbage collector; default to page if mmap available.
18670         * Makefile.in (GGC): Substitute.
18671
18672 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
18673
18674         * c-decl.c (ggc_p): Enable.
18675
18676 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18677
18678         * flow.c (verify_flow_info): Make it extern & unconditionally define.
18679
18680 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
18681
18682         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
18683         string for little-endian-data.
18684
18685 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
18686
18687         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
18688         case somebody tries to compile --enable-checking code with gcc
18689         1.34 or such.
18690
18691 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
18692
18693         * genrecog.c (add_to_sequence): Verify operand to label_ref is
18694         VOIDmode.
18695
18696 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
18697
18698         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
18699         * jump.c (jump_optimize_1): Document why.
18700
18701 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18702
18703         * collect2.c (scan_prog_file, scan_libraries): Prototype function
18704         pointers and casts for `int_handler' and `quit_handler'.
18705
18706         * flow.c (verify_flow_info, split_hard_reg_notes,
18707         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
18708         remove_edge, remove_fake_successors): Add static prototypes.
18709         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
18710         (mark_set_1): Initialize variable `regno'.
18711         (unlink_insn_chain): Likewise for variable `curr'.
18712         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
18713
18714         * loop.c (strength_reduce): Initialize variable
18715         `unrolled_insn_copies'.
18716         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
18717         prototypes.  Change these functions to take const PTR parameters
18718         to avoid prototype conflict when used as the comparson argument
18719         for qsort.
18720         (check_dbra_loop): Initialize variable `comparison_val'.
18721
18722         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
18723         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
18724         (find_valid_class): Initialize variable `best_class'.
18725         (find_reloads): Call memcpy, not bcopy.
18726
18727         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
18728         (hard_reg_use_compare): Don't needlessly cast away const.
18729         (reload_reg_class_lower): Likewise.
18730         (choose_reload_regs): Initialize variable `regno'.
18731
18732 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
18733
18734         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
18735
18736 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
18737
18738         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
18739         ({,d}discard): Add forward declarations.  Declare parameter as
18740         unused.
18741         (main_without_main): Explicitly declare return type to be int.
18742         (memcpy): Properly declare.
18743
18744         * libgcc2.c (toplevel): If inhibit_libc is defined and not
18745         building the trampoline support, declare malloc, free, and
18746         atexit.
18747         (__clear_cache): Mark arguments as potentially unused.
18748
18749         * frame.c (toplevel): If inhibit_libc is defined, declare
18750         malloc and free.
18751
18752 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
18753
18754         * flow.c (make_edge): Accept an optional 2D bitmap in which
18755         to cache edge existence.  Update all callers.
18756         (make_label_edge, make_eh_edge): Pass through the edge cache.
18757         (make_edges): Provide the cache.
18758
18759 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18760
18761         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
18762         a char*.
18763         (local_mbtowc): Change the type of variable `i' from int to size_t.
18764
18765         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
18766         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
18767
18768 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
18769
18770         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
18771         after other includes that define the appropriate types.  Include
18772         tm_p.h for getting user prototypes.
18773         * ggc-callbacks.c (toplevel): Ditto.
18774         * ggc-none.c (toplevel): Ditto.
18775         * gcc-page.c (toplevel): Ditto.
18776         * ggc-simple.c (toplevel): Ditto.
18777
18778 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
18779                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
18780
18781         * config/mips/mips.c (mips_move_2words): Split doubles if
18782         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
18783
18784 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
18785
18786         * genrecog.c (struct decision_test): New.
18787         (struct decision): Remove test-related members, sort the rest by size.
18788         (IS_SPLIT): Simplify.
18789         (new_decision, new_decision_test): New.
18790         (add_to_sequence): Use them.  No special handling for args of
18791         non-MATCH codes.
18792         (maybe_both_true): Renamed from not_both_true; return sense changed.
18793         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
18794         of maybe_both_true and adjusted for decision_test.
18795         (position_merit): Remove.
18796         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
18797         (merge_accept_insn): New, broken out of merge_trees.
18798         (merge_trees): Use them.  No special case for c_test; no node
18799         splitting; use test type instead of position_merit.
18800         (factor_tests): New.
18801         (simplify_tests): New.
18802         (break_out_subroutines): Don't write code now.
18803         (find_afterward): New.
18804         (write_afterward, write_switch, write_cond): New.
18805         (write_action, is_unconditional): New.
18806         (write_node): New.  Use them.
18807         (write_tree_1): Rewrite.  Use the new functions above.
18808         (write_tree): Remove afterward processing.
18809         (write_subroutine): Simplify function variant emission.
18810         (write_subroutines): New.
18811         (same_codes, clear_codes): Remove.
18812         (same_modes, clear_modes): Remove.
18813         (write_header): New, broken out of main.
18814         (make_insn_sequence): Use new_decision and new_decision_test.
18815         (process_tree): New, broken out of main.
18816         (main): Adjust for merge_trees interface change.
18817         Don't #define operands in the output file.
18818         (record_insn_name): New, broken out of make_insn_sequence.
18819         (debug_decision_2, debug_decision_1, debug_decision_0): New.
18820         (debug_decision): New.
18821
18822 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
18823
18824         * resource.c (find_free_register): Mark class_str argument const.
18825         * resource.h: Update prototype to match.
18826
18827         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
18828         * i386.md: Give all anonymous insns names.
18829
18830 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
18831
18832         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
18833         blocks.
18834
18835 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
18836
18837         * toplev.c (dbr_sched_time): Unconditional.
18838         (peephole2_time): New.
18839         (compile_file): Add pass numbers to all of the dump file suffixes.
18840         Dump peephole2_time.  Don't dump times for non-applicable passes.
18841         (rest_of_compilation): Add pass numbers to dump file suffixes.
18842         Conditionalize calls to the scheduler.
18843         * invoke.texi: Update.
18844
18845 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
18846
18847         * flow.c (make_edges): Fix insn iteration.
18848         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
18849         (find_basic_blocks_1): Fix spelling mistake.
18850
18851 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
18852
18853         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
18854         always have side-effects.  Use memset not bzero.
18855         (make_node): Likewise.
18856
18857 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
18858
18859         * stmt.c (expand_anon_union_decl): When any of the elements of the
18860         union is addressable, so is the entire union.
18861
18862 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
18863
18864         * sbitmap.c (sbitmap_ones): Don't set too many bits.
18865
18866         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
18867         * bitmap.c (bitmap_operation): Return true iff TO changed.
18868         (bitmap_equal_p): New.
18869         (bitmap_bit_p): Tidy arithmetic.
18870         (debug_bitmap_file): Likewise.
18871
18872 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
18873
18874         * toplev.c (rest_of_compilation): Turn on cse_not_expected
18875         before cse2 instead of after.
18876
18877 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
18878
18879         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
18880         register offsets.
18881
18882 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18883
18884         * cppinit.c (is_idchar initializer): Loosen tests to accept
18885         gcc 2.>6 and >2.
18886
18887 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
18888
18889         * mips.md: Define conditional move patterns for floating point
18890         operands and DI mode conditions.
18891
18892 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
18893
18894         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
18895         always have side-effects.
18896
18897 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
18898
18899         * mn10200.c (asm_file_start): Fix typo.
18900
18901         * cppinit.c (is_idchar initializer): Tighten tests for when
18902         to put the table into initialized memory.
18903
18904         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
18905         not an array of rtunion.
18906         * gcc-page.c (ggc_alloc_rtvec): Similarly.
18907         * gcc-simple (ggc_free_rtvec): Similarly.
18908
18909         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
18910         of rtunions.
18911
18912         * mbchar.h: Add missing #endif.
18913
18914         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
18915         (FPBIT, DPBIT): Define.
18916
18917 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18918
18919         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
18920
18921         * profile.c (instrument_arcs, output_gcov_string,
18922         tablejump_entry_p): Add static prototypes.
18923         (output_gcov_string): Constify a char*.
18924
18925         * regmove.c (replacement_quality, fixup_match_2): Add static
18926         prototypes.
18927
18928         * resource.h (reg_dead_p): Add extern prototype.
18929
18930         * rtl.c (trim_filename): Add static prototype.
18931
18932         * scan-decls.c (skip_to_closing_brace): Likewise.
18933
18934         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
18935         (expand_end_case): Initialize variable `range'.
18936         (emit_case_nodes): Remove unused prototype `rtx_fn'.
18937
18938         * varasm.c (asm_emit_uninitialised): Add static prototype.
18939         (asm_emit_uninitialised, assemble_variable): Mark parameter with
18940         ATTRIBUTE_UNUSED.
18941
18942 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18943
18944         * cpplib.c (if_directive_nameo): Add static prototype.
18945
18946         * cse.c (cse_insn): Remove unused variable `p'.
18947
18948         * except.c (create_rethrow_ref, push_entry,
18949         receive_exception_label, new_eh_region_entry, find_func_region,
18950         clear_function_eh_region, process_nestinfo): Add static prototypes.
18951         (get_reg_for_handler): Hide definition.
18952         (process_nestinfo): Initialize variable `extra_handlers'.
18953
18954         * expr.h (expand_builtin_longjmp): Add extern prototype.
18955
18956         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
18957
18958         * function.c (prepare_function_start): Likewise.
18959         (pop_function_context_from): Mark parameter `context' with
18960         ATTRIBUTE_UNUSED.
18961         (push_temp_slots_for_block, flush_addressof): Hide definition.
18962
18963         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
18964         solve_program_flow_graph, calculate_branch_probs,
18965         function_summary, main, fancy_abort): Add prototypes.
18966
18967         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
18968         (add_hash): Constify a char*.
18969
18970         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
18971         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
18972         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
18973
18974         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
18975
18976         * lists.c (free_list, zap_lists): Likewise.
18977
18978 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18979
18980         * alias.c (nonlocal_reference_p): Add static prototype.
18981
18982         * bitmap.c (bitmap_element_allocate): Prototype args in function
18983         pointer cast.
18984
18985         * builtins.c (stabilize_va_list): Add static prototype.
18986         (expand_builtin_va_arg): Constify a char*.
18987
18988         * c-lex.c (getch, put_back, extend_token_buffer_to,
18989         read_line_number, token_getch, token_put_back): Add static
18990         prototypes.
18991
18992         * c-parse.gperf (hash, is_reserved_word): Likewise.
18993
18994         * cccp.c (is_dir_separator): Likewise.
18995
18996 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18997
18998         * graph.h: New file to prototype functions exported by graph.c.
18999
19000         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
19001
19002         * graph.c: Include graph.h.
19003
19004         * toplev.c: Likewise.  Remove redundant prototypes.
19005
19006 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
19007
19008         * invoke.texi: Removed duplicated description for -Q.
19009
19010 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
19011
19012         * extend.texi: Grammar fix in __extension__ text.
19013
19014 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
19015
19016         * md.texi (define_peephole2): New section.
19017
19018 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
19019
19020         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
19021         (mov $-1 to or peepholer): Enable for pentium when optimizing for
19022         speed.
19023
19024 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
19025
19026         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
19027
19028 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
19029
19030         * i386.md (ffs expander): Emit Pentium friendly code for
19031         TARGET_PENTIUM.
19032
19033 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
19034
19035         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
19036         for non-trees.
19037         (build1): Likewise.
19038
19039 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19040
19041         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
19042
19043 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
19044
19045         * config/m68k/m68k.c (use_return_insn): Return false if the pic
19046         register is in use.
19047
19048 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19049
19050         * md.texi (No Constraints): Delete section.
19051         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
19052         * final.c (final_scan_insn): We always have register constraints.
19053         * genattrtab.c: Don't include "insn-config.h".
19054         (write_attr_case): We always have register constraints.
19055         * genconfig.c (register_constraint_flag): Delete.
19056         (walk_insn_part): Don't check whether we have register constraints.
19057         (main): Don't write out "#define REGISTER_CONSTRAINTS".
19058         * genoutput.c (have_constraints): Delete.
19059         (main): Don't set it.
19060         (output_operand_data): We always have constraints.
19061         (scan_operands): Likewise.
19062         (compare_operands): Likewise.
19063         * local-alloc.c (block_alloc): We always have constraints.
19064         (requires_inout): Always compile this function.
19065         * recog.c (extract_insn): We always have constraints.
19066         (constrain_operands, reg_fits_class_p): Always compile these
19067         functions.
19068         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
19069         fields.
19070         (struct insn_operand_data): Likewise.
19071         * regclass.c (regclass): We always have constraints.
19072         (record_reg_classes, copy_cost, record_address_regs,
19073         auto_inc_dec_reg_p): Always compile these functions.
19074         * regmove.c (regmove_optimize): We always have constraints.
19075         * reload.c (find_reloads): Likewise.
19076         * reload1.c (reload): Likewise.
19077         (reload_cse_simplify_operands): Likewise.
19078         * i860.c (output_delay_insn): Likewise.
19079
19080 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
19081
19082         * iris6.h (BUILD_VA_LIST_TYPE): Define.
19083
19084 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
19085
19086         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
19087         for the va_list record.
19088
19089 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
19090
19091         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
19092         prologues.
19093
19094 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
19095
19096         * alias.c: Include insn-flags.h.
19097         * Makefile.in (alias.o): Update.
19098
19099 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
19100
19101         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
19102         to LTU and GEU.  Handle more cases using sbb.
19103
19104 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
19105
19106         * i386.md (truncatexfdf splitters): Do not use subreg.
19107         (fop XFmode patterns): Fix mode in operand testing.
19108
19109 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
19110
19111         * jump.c (jump_optimize_1): Amend last change to test only the
19112         form of the operand, not the insn.
19113
19114         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
19115         not register_operand to determine when B may need preloading.
19116
19117 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
19118
19119         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
19120         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
19121         (call-value patterns): Move to end of file.
19122         (*): Remove mode from label_ref in (pc) context.
19123         (movstrqi): Use memory not general_operand for BLKmode operands.
19124         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
19125         to register_operand operands.
19126         (peep2 patterns): Convert from commented-out peephole patterns.
19127
19128 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19129
19130         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
19131         to BUILT_IN_INIT_DWARF_REG_SIZES.
19132         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
19133         Renamed from BUILT_IN_DWARF_REG_SIZE; call
19134         expand_builtin_init_dwarf_reg_sizes.
19135         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
19136         with __builtin_init_dwarf_reg_size_table.
19137         * dwarf2out.c (struct reg_size_range): Delete.
19138         (expand_builtin_init_dwarf_reg_sizes): New function.
19139         (expand_builtin_dwarf_reg_size): Delete.
19140         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
19141         (expand_builtin_dwarf_reg_size): Don't declare.
19142         * libgcc2.c (dwarf_reg_size_table_initialized): New.
19143         (dwarf_reg_size_table): New.
19144         (init_reg_size_table): New function.
19145         (copy_reg): Use dwarf_reg_size_table.
19146         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
19147         before use.
19148
19149 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
19150
19151         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
19152         Correctly build argument list to constructor and destructor functions.
19153
19154 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
19155
19156         * c-tree.h (warn_float_equal): Declare.
19157         * c-decl.c (warn_float_equal): Define.
19158         (c_decode_option): Recognize -W[no-]float-equal.
19159         * c-typeck.c (build_binary_op): Conditionally warn
19160         about equality tests of floating point types.
19161         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
19162         * invoke.texi: Add docs for -Wfloat-equal warning.
19163
19164 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
19165
19166         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
19167         generating RTL directly.
19168         * mips.h (INIT_TARGET_OPTABS): Likewise.
19169         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
19170
19171         * expr.h (init_mov_optab): Delete declaration
19172
19173         * h8300.c (WORD_REG_USED): Update to avoid useless register
19174         saves in interrupt functions and functions which never return.
19175
19176         * cse.c (struct set): Delete inner_dest_loc field.
19177         (cse_insn): Remove assignments to inner_dest_loc field.
19178
19179 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
19180
19181         * ggc-page.c: Don't include <unistd.h> etc taken care of
19182         by "system.h".  Include <sys/mman.h> afterward.
19183
19184 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
19185
19186         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
19187         ggc_alloc_string.
19188
19189 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
19190
19191         * xcoffout.c (xcoffout_declare_function): Add documentation.
19192         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
19193         TARGET_64BIT.  Compare constant to -1, not bit pattern.
19194         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
19195         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
19196         gen_movsi typos.
19197
19198 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
19199
19200         * dwarf2out.c (add_abstract_origin_attribute): Abort if
19201         origin_die is NULL.
19202         (gen_inlined_enumeration_type_die): Do not abort if the type has
19203         not been writeen out.
19204         (gen_inlined_structure_type_die): Do not abort if the type has
19205         not been writeen out.
19206         (gen_inlined_union_type_die): Do not abort if the type has
19207         not been writeen out.
19208         (gen_tagged_type_instantiation_die): Do not abort if the type
19209         has not been written out.
19210
19211 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19212
19213         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
19214         call it.
19215         * reg-stack.c (straighten_stack): Copy hard reg set with
19216         COPY_HARD_REG_SET.
19217
19218 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
19219
19220         * builtins.c (stabilize_va_list): Stabilize array type va_list
19221         to a pointer type, not the base record type.
19222         (expand_builtin_va_copy): Dereference the pointers explicitly;
19223         use the correct size for the copy.
19224
19225         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
19226         (rs6000_va_arg): Likewise.
19227
19228 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
19229
19230         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
19231
19232 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
19233
19234         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
19235         field.
19236         (DECL_BUILT_IN_CLASS): Adjust accordingly.
19237
19238 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
19239
19240         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
19241         (init_ggc): Use it instead of a constant.
19242         (ggc_collect): Bound allocated_last_gc by it.
19243
19244 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
19245
19246         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
19247         with va_list.
19248
19249 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
19250
19251         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
19252         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
19253         * configure:  Regen.
19254         * config/mips/openbsd.h:  New, OpenBSD little endian target.
19255         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
19256         * config/mips/xm-openbsd.h:  New, OpenBSD host.
19257
19258 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
19259
19260         * config/m68k/m68k.c (output_function_prologue,
19261         output_function_epilogue): Use
19262         current_function_uses_pic_offset_table instead of regs_ever_live
19263         to decide whether to save/restore pic register.
19264         (legitimize_pic_address): Don't modify regs_ever_live any more.
19265
19266 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
19267
19268         * function.h (struct function): Add x_dont_save_pending_sizes_p.
19269         * stor-layout.c (variable_size): Don't add sizes to the pending
19270         sizes list if x_dont_save_pending_sizes_p is set.
19271
19272 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
19273
19274         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
19275         for symbolic_operand().
19276         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
19277
19278 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19279
19280         * combine.c (gen_rtx_combine): Add missing call to va_end().
19281
19282         * final.c (asm_fprintf): Likewise.
19283
19284         * genattrtab.c (attr_rtx): Likewise.
19285
19286 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
19287
19288         * cse.c: Update comments.
19289         (cse_insn): When converting a conditional/computed jump into
19290         an unconditional jump, always make sure a BARRIER immediately
19291         follows the converted jump.  Do not delete unreachable code.
19292         (cse_basic_block): Do not delete unreachable code.
19293         * toplev.c (rest_of_compilation): Move call to
19294         delete_trivially_dead_insns after the conditional call to
19295         jump_optimize.
19296
19297 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19298
19299         * collect2.c (make_temp_file): Don't prototype.
19300
19301         * gcc.c (make_temp_file): Likewise.
19302
19303         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
19304
19305 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
19306
19307         * varasm.c (asm_emit_uninitialised): New function: Generate
19308         the assembler statements necessary to declare an uninitialised
19309         variable.
19310         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
19311         variable.
19312         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
19313         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
19314         section.
19315         (assemble_variable): Use asm_emit_uninitialised to emit an
19316         uninitialised variable.
19317
19318 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
19319
19320         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
19321         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
19322         <geoffk@cygnus.com>.
19323
19324 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19325
19326         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
19327         * c-common.h (builtin_function): Don't declare.
19328
19329         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
19330         DECL_BUILT_IN.
19331         (pushdecl): Likewise.
19332         (finish_decl): Likewise.
19333         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
19334         int.  All callers changed.
19335         Set the builtin's DECL_BUILT_IN_CLASS.
19336         * tree.h (enum built_in_class): New.
19337         (enum built_in_function): Delete NOT_BUILT_IN.
19338         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
19339         in a union.
19340         (DECL_SET_FUNCTION_CODE): Likewise.
19341         (DECL_BUILT_IN_CLASS): New macro.
19342         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
19343         (struct tree_decl): Split builtin function code field into a
19344         struct.
19345         (builtin_function): Declare.
19346
19347 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
19348
19349         * optabs.c (init_traps): Fix typo in last change.
19350
19351 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
19352
19353         * toplev.c (rest_of_decl_compilation): Update comment.
19354
19355 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
19356
19357         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
19358         in .sbss if appropriate.
19359         (EXTRA_SECTION_FUNCTIONS): Add sbss.
19360         (SBSS_SECTION_ASM_OP): New macro.
19361         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
19362         (EXTRA_SECTIONS): Add in_sbss.
19363         * config/mips/mips.h: Prototype sbss_section.
19364
19365 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
19366
19367         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
19368         to disappear.
19369
19370 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
19371
19372         * optabs.c (init_traps): Register trap_rtx as a GC root.
19373
19374 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19375
19376         * config/mips/mips.c (function_arg_pass_by_reference): Define
19377         unconditionally, since it's called unconditionally.
19378
19379 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
19380
19381         * toplev.c (documented_lang_options): Add -fshort-wchar.
19382         * c-decl.c (c_decode_option): Likewise.
19383         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
19384         for wchar_t.
19385         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
19386         * gcc.c (default_compilers): If -fshort-wchar,
19387         override __WCHAR_TYPE__.
19388         * tm.texi (C Dialect Options): Add -fshort-wchar.
19389
19390         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
19391         symbol for a variable.
19392
19393         * cpplib.h (CPP_PREPROCESSED): New macro.
19394         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
19395         we're seeing this input for a second time.
19396
19397 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
19398
19399         * emit-rtl.c (init_emit_once): Initialize modes first.
19400
19401 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
19402
19403         * config/i386/i386.c (pic_label_name): Change to char pointer.
19404         (global_offset_table): New variable.
19405         (load_pic_register): Fill global_offset_table if it hasn't
19406         already been done.  Allocate pic_label_name dynamically.
19407         * ggc.h (empty_string): New variable.
19408         * ggc-simple.c (empty_string): Likewise.
19409         (init_ggc): Allocate empty_string and add as root.
19410         * stmt.c (digit_strings): New variable.
19411         (init_stmt): Add last_block_end_note as root.  Allocate and
19412         initialize digit_strings.
19413         (expand_asm_operands): Use empty_string instead of string
19414         constant.  Use digit_strings instead of string constants.
19415         * profile.c (init_arc_profiler): Allocate string with
19416         ggc_alloc_string instead of xmalloc.
19417         (output_func_start_profiler): Likewise.
19418         * c-typeck.c (digest_init): Check if init is error_mark_node.
19419
19420 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
19421                           Richard Henderson  <rth@cygnus.com>
19422
19423         * ggc-page.c: New file.
19424         * Makefile.in (ggc-page.o): New.
19425
19426 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
19427
19428         * invoke.texi: Document -fdelete-null-pointer-checks
19429         * toplev.c (flag_delete_null_pointer_checks): New.
19430         (f_options): Add entry for -fdelete-null-pointer-checks.
19431         (rest_of_compilation): Conditionalize null pointer check
19432         elimination on flag_delete_null_pointer_checks.
19433         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
19434
19435 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
19436
19437         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
19438         copyright notice and special exception to GPL.
19439
19440 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19441
19442         * abi64.h (mips_function_value): Add prototype arguments.
19443
19444         * mips-protos.h: New file with mips prototypes.
19445
19446         * mips.c: Include "tm_p.h".
19447         (mktemp, lookup_name): Add prototype arguments.
19448         (extern_list, string_constant, mips_fill_delay_slot,
19449         mips_output_external, mips_output_external_libcall,
19450         mips_output_filename, mips_declare_object, function_prologue,
19451         mips_expand_prologue, function_epilogue, mips16_constant,
19452         build_mips16_function_stub, mips_output_conditional_branch):
19453         Constify a char*.
19454         (mips_va_start): Remove unused variable `u'.
19455         (mips_va_arg): Cast value to unsigned when comparing against one.
19456         (trace): Delete.
19457         (save_restore_insns, mips_expand_prologue): Add missing arg in
19458         call to `large_int'.
19459
19460         * mips.h: Move prototypes to mips-protos.h.
19461         (data_section, memory_address_p, rdata_section,
19462         readonly_data_section, simple_epilogue_p, text_section): Delete
19463         prototypes delcared elsewhere.
19464         (mips_epilogue_delay_slots, print_options): Delete unused decls.
19465         (trace): Delete.
19466         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
19467
19468         * mips.md: Delete extra args in call to `mips_move_2words'.
19469
19470         * xm-iris6.h (alloca): Add prototype argument.
19471
19472         * genpeep.c: Include "tm_p.h" in generated output file.
19473
19474 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19475
19476         * basic-block.h (find_edge_index): Change parameters.
19477         * flow.c (verify_edge_list): Pass basic_block parameters to
19478         find_edge_index instead of integers.
19479
19480 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
19481
19482         * combine.c (simplify_comparison): Use an unsigned shift to adjust
19483         the constant.
19484
19485 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
19486
19487         * gcc.1: Fix a formatting error.
19488
19489 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
19490
19491         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
19492         i786, mn10200, mn10300, pdp11, v850.
19493
19494 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
19495
19496         * libgcc2.c (num_digits): Add prototype with
19497         __attribute__((const)).
19498         (__terminate): Add prototype.
19499
19500 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
19501
19502         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
19503
19504         * alpha/alpha.c (print_operand): Fix type of `code'.
19505         (alpha_output_filename): Constify.
19506         * alpha/alpha.h: Move all function declarations ...
19507         * alpha/alpha-protos.h: ... here.  New file.
19508         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
19509         (SECTION_FUNCTION_TEMPLATE): Likewise.
19510
19511 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19512
19513         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
19514         * expr.c (expand_expr): Likewise.
19515         (do_jump): Likewise.
19516         (do_store_flag): Pass ccp_store_flag to can_compare_p.
19517         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
19518         accessor macros.
19519         (enum can_compare_purpose): New.
19520         (can_compare_p): Adjust prototype.
19521         (prepare_cmp_insn, prepare_operand): Declare.
19522         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
19523         * optabs.c (cmp_available_p): Deleted.
19524         (expand_abs): Pass ccp_jump to can_compare_p.
19525         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
19526         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
19527         Call can_compare_p rather than cmp_available_p.
19528         (prepare_operand): No longer static.
19529         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
19530         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
19531         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
19532         sequence to use emit_cmp_and_jump_insns.
19533         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
19534
19535 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
19536
19537         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
19538         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
19539         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
19540         (plus (reg) (const_int 0))
19541         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
19542
19543 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
19544
19545         * rs6000.c (expand_block_move): DImode loads and stores require
19546         word-aligned displacements.  Increment address registers with
19547         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
19548
19549 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
19550
19551         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
19552         is no name for the base type, rather than segfault.  If we are
19553         writing out a complex integer type, use DW_ATE_lo_user.
19554
19555         * expr.c (emit_move_insn_1): If we are copying a complex that fits
19556         in one word or less (complex char, complex short, or on 64 bit
19557         systems complex float) to/from a hard register, copy it through
19558         memory instead of dying in gen_{real,imag}part.  If we have a
19559         short complex type, prevent inlining since it allocates stack
19560         memory.
19561
19562         * tree.c (build_complex_type): If we are writing dwarf2 output,
19563         generate a name for complex integer types.
19564
19565 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19566
19567         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
19568         * flow.c (remove_edge): Remove extra whitespace.
19569         (remove_fake_edges): Fix comment.
19570         (add_noreturn_fake_exit_edges): Use the correct name.
19571
19572 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
19573
19574         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
19575         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
19576         (clean): Depend on INTL_CLEAN.
19577         (maintainer-clean): Adjust.
19578
19579 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19580
19581         * configure.in (AC_PREREQ): Bump to 2.13.
19582         (AC_C_STRINGIZE): Call this instead of using a custom macro.
19583
19584         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
19585
19586         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
19587
19588         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
19589
19590         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
19591         (HAVE_STRINGIZE): Define.
19592
19593 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
19594
19595         * c-parse.in: save and restore warn_pointer_arith on __extension__
19596         along with pedantic.
19597         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
19598         Set the type of extension to itype rather than $<itype>1 kludge.
19599         * extend.texi (Alternate Keywords): Adjust documentation.
19600         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
19601
19602 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
19603
19604         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
19605         most assembler templates.
19606
19607         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
19608         FP loads and stores.
19609         (following_call): Always return zero for the PA8000.
19610         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
19611         FP loads and stores.
19612         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
19613
19614         * pa.h (BRANCH_COST): Define.
19615
19616         * pa.md (return, return_internal): Use bve for PA2.0.
19617
19618         * pa.md (fused multiply): Add variants which reduce height for the
19619         fused multiply, but which still generate 2 insns.
19620         (fnegabs): Similarly.
19621
19622         * pa.md (subsi3): Turn into an expander.  Create two anonymous
19623         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
19624         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
19625
19626         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
19627         for TARGET_PA_20.
19628         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
19629         code generation.
19630         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
19631         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
19632
19633         * regclass.c (init_regs): Add "top_of_stack" as a garbage
19634         collection root.
19635
19636         * flow.c (record_active_eh_regions): Terminate loop after finding
19637         the last insn in the last basic block.
19638
19639 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19640
19641         * config/c4x/c4x.md: Delete parallel instruction peepholes.
19642
19643 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19644
19645         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
19646
19647 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19648
19649         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
19650         splitting to not use output template.
19651
19652 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19653
19654         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
19655         * config/c4x/c4x.c (c4x_va_start): New function.
19656
19657 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
19658
19659         * genrecog.c (not_both_true): Handle correctly cases when called for
19660         tests with different positions in the insn.
19661
19662 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19663
19664         * machmode.h (HOST_PTR_PRINTF): Move from here ...
19665
19666         * system.h (HOST_PTR_PRINTF): ... to here.
19667
19668         * mips-tfile.c: Don't include machmode.h.
19669
19670         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
19671         (mips-tfile.o): Don't depend on machmode.h.
19672
19673 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19674
19675         * haifa-sched.c (sched_analyze): Rename local variable `region' to
19676         avoid conflicts with typedef struct `region' at the top level scope.
19677
19678 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
19679
19680         * basic-block.h (basic_block): Add eh_beg, eh_end.
19681         * flow.c (entry_exit_blocks): Update.
19682         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
19683         Call new functions.
19684         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
19685         lists.c functions to allocate insn lists.
19686         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
19687         edge creation ...
19688         (make_eh_edge): ... here.  New.
19689         (move_stray_eh_region_notes): New.
19690         (record_active_eh_regions): New.
19691         (delete_unreachable_blocks): Split out block merging ...
19692         (try_merge_blocks): ... here.  New.
19693         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
19694         Dump debugging data.
19695         (merge_blocks_move_successor_nojumps): Likewise.
19696         (merge_blocks): Use eh_beg+eh_end to validate block movement.
19697
19698 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
19699
19700         * extend.texi (Bound member functions): Document unbound pmf
19701         conversion.
19702
19703 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19704
19705         * flow.c (split_edge): Handle insertion on a fallthrough edge which
19706         has the EXIT_BLOCK as a dest.
19707
19708 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19709
19710         * flow.c (remove_edge): New function to remove an edge from the
19711         flow graph.
19712         (remove_fake_successors): New function to remove fake successor edges.
19713         (remove_fake_edges): New function to remove all fake edges from the
19714         flow graph.
19715         (add_fake_exit_edges): New function to add fake edges from all blocks
19716         with no successors to the exit block.
19717         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
19718         prototypes for new functions.
19719
19720 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19721
19722         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
19723         Use Pmode to determine whether to output .dword or .word.
19724
19725 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
19726
19727         * tree.c (built_in_filename): New variable.
19728         (BUILT_IN_FILENAME): New macro.
19729         (init_tree_codes): Allocate built_in_filename.
19730         (make_node): Use built_in_filename instead of string constant.
19731
19732 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
19733
19734         * configure.in: Add fr30 target.
19735         * configure: Regenerate.
19736         * config/fr30: New directory.
19737         * config/fr30/crti.asm: New file.
19738         * config/fr30/fr30.c: New file.
19739         * config/fr30/crtn.asm: New file.
19740         * config/fr30/fr30.h: New file.
19741         * config/fr30/fr30.md: New file.
19742         * config/fr30/lib1funcs.asm: New file.
19743         * config/fr30/t-fr30: New file.
19744         * config/fr30/xm-fr30.h: New file.
19745
19746 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
19747
19748         * flow.c (merge_blocks_move_successor_nojumps): Delete the
19749         BARRIER at the end of the successor, not the BARRIER before
19750         the successor.
19751
19752         * pa.c (pa_add_gc_roots): Fix thinko in last change.
19753
19754 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
19755
19756         * stmt.c (any_pending_cleanups): Don't crash when
19757         current_function->stmt is unset.
19758
19759 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19760
19761         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
19762         other initializations that may use it for relative offsets.
19763
19764 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19765
19766         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
19767         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
19768         * config/i386/sol2dbg.h: Removed.
19769         * config/i386/sol2gas.h: New file, to enable gas work-around.
19770         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
19771         Don't use sol2dbg.h.
19772         * configure: Rebuilt.
19773
19774 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
19775
19776         * invoke.texi (-fthis-is-variable): Remove documentation.
19777
19778 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
19779
19780         * basic-block.h (compute_bb_for_insn): Declare.
19781         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
19782         to use; set size of basic_block_for_insn directly.
19783         (find_basic_blocks): Update.
19784
19785 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19786
19787         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
19788
19789 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19790
19791         * crtstuff.c (ON_EXIT): Delete empty macro definition.
19792         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
19793
19794 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
19795
19796         * c-decl.c (c_decode_option): Extend comment.
19797
19798 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
19799
19800         * toplev.c (progname): Make 'const char *'
19801         (flag_print_mem): Move out of main.
19802         (version_flag): Move out of main.
19803         (filename): Move out of main.
19804         (debug_args): Remove g prefix from options.
19805         (documented_lang_options): Remove cpplib specific options.
19806         (display_help): Add g prefix to debug options.
19807         (check_lang_option): Delete this function.
19808         (decode_d_option): New function: Decode -d... option.
19809         (decode_f_option): New function: Decode -f... option.
19810         (decode_W_option): New function: Decode -W... option.
19811         (decode_g_option): New function: Decode -g... option.
19812         (independent_decode_option): New function: Decode a language
19813         independent command line option.
19814         (main): Invoke lang_decode_option and then
19815         independent_decode_option on each command line option in
19816         turn.
19817
19818 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
19819
19820         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
19821          * fold-const.c (fold_range_test): Do not try to fold the range
19822          test if the rhs or lhs has side effects.
19823
19824         * basic-block.h (compute_flow_dominators): Declare.
19825
19826         * gcse.c (alloc_code_hoist_mem): New function.
19827         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
19828         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
19829         (hoist_code, one_code_hoisting_pass): Likewise.
19830         (gcse_main): If optimizing for size, then hoist expressions
19831         computed in multiple dominated basic blocks.
19832
19833         * gcse.c (invalid_nonnull_info): New function.
19834         (delete_null_pointer_checks): Likewise.
19835         * rtl.h (delete_null_pointer_checks): Declare.
19836         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
19837
19838         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
19839         (merge-blocks_move_successor_nojumps): Likewise.
19840         (merge_blocks): Allow merging of some blocks, even if it requires
19841         physical movement of the blocks, but not if it requires new jumps.
19842
19843         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
19844         Callers and prototype changed.
19845         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
19846
19847 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19848
19849         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
19850         -YP when both -p and -pg are present.  From i386/sol2.h.
19851
19852 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19853
19854         * Makefile.in (distclean): Delete tm_p.h.
19855         * configure.in: Create a new file, "tm_p.h", from a list in
19856         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
19857         "i386/i386-protos.h".
19858
19859         * alias.c: Include "tm_p.h".
19860         * c-typeck.c: Likewise.
19861         * calls.c: Likewise.
19862         * cse.c: Likewise.
19863         * emit-rtl.c: Likewise.
19864         * explow.c: Likewise.
19865         * expmed.c: Likewise.
19866         * expr.c: Likewise.
19867         * final.c: Likewise.
19868         * flow.c: Likewise.
19869         * fold-const.c: Likewise.
19870         * function.c: Likewise.
19871         * gcse.c: Likewise.
19872         * global.c: Likewise.
19873         * haifa-sched.c: Likewise.
19874         * integrate.c: Likewise.
19875         * jump.c: Likewise.
19876         * local-alloc.c: Likewise.
19877         * loop.c: Likewise.
19878         * optabs.c: Likewise.
19879         * recog.c: Likewise.
19880         * reg-stack.c: Likewise.
19881         * regclass.c: Likewise.
19882         * regmove.c: Likewise.
19883         * reload.c: Likewise.
19884         * reload1.c: Likewise.
19885         * reorg.c: Likewise.
19886         * resource.c: Likewise.
19887         * stmt.c: Likewise.
19888         * stor-layout.c: Likewise.
19889         * toplev.c: Likewise.
19890         * tree.c: Likewise.
19891         * unroll.c: Likewise.
19892         * genattrtab.c (main): Make generated file include "tm_p.h".
19893         * genemit.c (main): Likewise.
19894         * genoutput.c (main): Likewise.
19895         * genrecog.c (main): Likewise.
19896
19897         * i386.h: Delete all prototypes.
19898         * i386.c: Include "tm_p.h".
19899         (ix86_attr_length_default): Call constant_call_address_operand
19900         with correct number of arguments.
19901         * i386-protos.h: New file.
19902         * i386.md (unnamed patterns): Call constant_call_address_operand
19903         with correct number of arguments.
19904         (exception_receiver): Call load_pic_register with correct number
19905         of arguments.
19906
19907 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
19908
19909         * c-pragma.c (mark_align_stack): Dereference the void* properly.
19910
19911 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
19912
19913         * rtl.h (insns_safe_to_move_p): New function.
19914         * loop.c (find_and_verify_loops): Use it.
19915         * rtlanal.c (insns_safe_to_move_p): Define it.
19916
19917 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
19918
19919         * c-pragma.c: Include ggc.h.
19920         * Makefile.in (c-pragma.o): Update.
19921
19922 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19923
19924         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
19925         (LIB_SPEC): Likewise.
19926         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
19927         Reindent -YP/-p/-pg.
19928         Copied from config/sparc/sol2.h.
19929
19930 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
19931
19932         * c-pragma.c (mark_align_stack): New.
19933         (init_pragma): New.
19934         * c-pragma.h (init_pragma): Declare it.
19935         * c-lex.c (init_parse): Call it.
19936
19937 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19938
19939         * configure.in: Pick up thread library on Solaris/x86 just
19940         like on Solaris/sparc.
19941         * configure: Rebuilt.
19942
19943 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
19944
19945         * rtl.h (global_rtx_index): New enum.
19946         (global_rtl): Change to array of rtx.
19947         (pc_rtx, cc0_rtx): Redefine accordingly.
19948         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
19949         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
19950         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
19951         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
19952         (const_int_rtx): Change to array of rtx.
19953         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
19954         accordingly.
19955         * emit-rtl.c (global_rtl): Change to array of rtx.
19956         (const_int_rtx): Change to aray of rtx.
19957         (gen_rtx_CONST_INT): Redefine accordingly.
19958         (init_emit_once): Allocate and initialize global_rtl.  Likewise
19959         for const_int_rtx.  Add both as GC roots.
19960         * genattrtab.c (global_rtl): Update declaration.
19961
19962 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
19963
19964         * Makefile (USER_H): Add iso646.h back.
19965
19966 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
19967
19968         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
19969         zapping the LOG_LINKS of sched_before_next_call.
19970
19971         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
19972         * pa.c (insn_refs_are_delayed): Renamed from
19973         insn_sets_and_refs_are_delayed.
19974
19975 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
19976
19977         * functiion.h (struct function): Add x_whole_function_mode_p.
19978         (retrofit_block): Declare.
19979         * function.c (retrofit_block): New function.
19980         (identify_blocks): Add assertions.  Allow an incomplete set of
19981         block notes if we're still generating code for the function.
19982         * integrate.c: Include loop.h.
19983         (expand_inline_function): Call find_loop_tree_blocks to map block
19984         notes to blocks when in whole-function mode.  Use retrofit_block
19985         to insert new BLOCKs for the inlined function, rather than
19986         insert_block.
19987         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
19988         * Makefile.in (integrate.o): Depend on loop.h.
19989
19990 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
19991
19992         * tree.h (warn_about_unused_variables): Declare.
19993         * stmt.c (warn_about_unused_variables): New function, split out
19994         from ...
19995         (expand_end_bindings): Here.
19996
19997 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
19998
19999         * stmt.c (preserve_subexpressions_p): Don't crash when
20000         current_function->stmt is unset.
20001
20002 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
20003
20004         * stmt.c (expand_start_bindings): Allow callers to pass a flag
20005         indicating that no NOTE_INSN_BLOCK_BEG note is required.
20006         (expand_start_target_temps): Use it.
20007         * except.c (expand_eh_region_start_for_decl): Likewise.
20008         * expr.c (expand_expr): Likewise.
20009
20010 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20011
20012         * fold-const.c (operand_equal_p): Pay attention to side effects.
20013
20014 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
20015
20016         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
20017         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
20018
20019         * tlink.c (scan_linker_output): Look for keywords before accepting
20020         a mangled name in quotes.
20021
20022 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
20023
20024         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
20025         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
20026
20027 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
20028
20029         * alpha.md: Revert Thu Nov 26 change that came in through the
20030         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
20031         Avoid earlyclobber when possible.
20032
20033 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20034
20035         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
20036
20037         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
20038         Define HAVE_ON_EXIT.
20039
20040 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20041
20042         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
20043         CTYPE_CONV in all ctype macros.
20044
20045         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
20046         from system.h.
20047
20048         * cexp.y (initialize_random_junk): Likewise.
20049
20050         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
20051
20052         * i370.c (handle_pragma): Likewise.
20053
20054         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
20055
20056         * v850.c (override_options): Likewise.
20057
20058         * doprint.c (_doprnt): Likewise.
20059
20060         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
20061         Likewise.
20062
20063         * fixinc/server.c (load_data): Likewise.
20064
20065         * fold-const.c (real_hex_to_f): Likewise.
20066
20067         * genattr.c (write_upcase, gen_attr): Likewise.
20068
20069         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
20070         write_upcase): Likewise.
20071
20072         * genemit.c (print_code): Likewise.
20073
20074         * genopinit.c (gen_insn): Likewise.
20075
20076         * genpeep.c (print_code): Likewise.
20077
20078         * genrecog.c (print_code): Likewise.
20079
20080         * optabs.c (init_libfuncs): Likewise.
20081
20082 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
20083
20084         * haifa-sched.c (sched_analyze): Keep the list of notes organized
20085         in pairs.
20086         (reemit_notes): Likewise.
20087
20088 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
20089
20090         * ggc.h (ggc_root): Move to ggc-common.c.
20091         (roots): Remove.
20092         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
20093         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
20094         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
20095         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
20096         * ggc-common.c (ggc_root): Move from ggc.h.
20097         (roots): Declare, static.
20098         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
20099         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
20100         null or check/set mark bit.
20101         (ggc_mark_roots): New.
20102         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
20103
20104 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
20105
20106         * m32r.c: Include toplev.h.
20107         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
20108         (gen_compare): Rename swap_p to must_swap to match uses.
20109         Add default abort case.
20110         (m32r_output_function_epilogue): Remove unused variables.
20111         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
20112         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
20113         define to empty parameter list.  Update all uses.
20114         (predicate decls): Use enum machine_mode not int.
20115         * m32r.md (movsi): Call abort, not fatal_insn.
20116         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
20117
20118 1999-09-14  Andrew Haley  <aph@cygnus.com>
20119
20120         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
20121         use $0 instead of 0.
20122
20123 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20124
20125         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
20126         computation out of loop over hard regs.
20127
20128 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
20129
20130         * function.c (identify_blocks): Don't shadow a variable in an
20131         outer scope.
20132         * integrate.c (integrate_decl_tree): Don't use pushlevel,
20133         pushdecl, or poplevel to build up the new BLOCK tree.
20134         (expand_inline_function): Likewise.
20135         (integrate_parm_decls): Likewise.
20136
20137 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
20138
20139         * c-typeck.c (qualify_type): Merge qualifiers from both types.
20140
20141 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
20142
20143         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
20144         * invoke.texi: Document this change.
20145
20146 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
20147
20148         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
20149         Free the struct.
20150         (mark_emit_status): Renamed from mark_emit_state.
20151         * except.c (mark_eh_status): Renamed from mark_eh_state.
20152         Check not null before marking.
20153         (free_eh_status): New.
20154         * expr.c (mark_expr_status, free_expr_status): New.
20155         * function.c (free_machine_status): New.
20156         (free_after_parsing): New.
20157         (free_after_compilation): Move bits to free_after_parsing; call
20158         free_eh_status, free_expr_status; zero the marked members of the
20159         function state.
20160         (prepare_function_start): No can_garbage_collect.
20161         Call init_eh_for_function.
20162         (expand_dummy_function_end): Free up current_function state.
20163         (mark_function_status): Renamed from mark_function_state.
20164         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
20165         * function.h (struct function): No can_garbage_collect.
20166         (free_machine_status, free_after_parsing): Declare.
20167         (free_eh_status, free_expr_status): Declare.
20168         * ggc.h (mark_expr_status): Declare.
20169         * stmt.c (free_stmt_status): Free the struct.
20170         (mark_stmt_status): Renamed from mark_stmt_state.
20171         (init_stmt): Don't call init_eh.
20172         (init_stmt_for_function): Don't call init_eh_for_function.
20173         * toplev.c (compile_file): Call init_eh.
20174         (rest_of_compilation): Free basic block info before ggc_collect.
20175         Call free_after_parsing; conditionally call free_after_compilation.
20176         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
20177         Check not null before marking.
20178         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
20179
20180 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
20181
20182         * c-lex.c (yylex): Initialize warn.
20183
20184 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
20185
20186         * pa.c (emit_move_sequence): Properly set the mode of the scratch
20187         register when performing secondary reloads for the SAR register.
20188
20189 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
20190
20191         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
20192         (NOTE_BLOCK): New macro.
20193         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
20194         * function.h (identify_blocks): Change prototype.
20195         * function.c (identify_blocks): Simplify.
20196         (reorder_blocks): Likewise.
20197         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
20198         NOTE_INSN_BLOCK_{BEG,END}.
20199         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
20200         the list of saved notes if the note isn't a
20201         NOTE_INSN_BLOCK_{BEG,END}.
20202         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
20203         NOTE_BLOCK_NUMBER.
20204         (reemit_notes): Adjust recreation of notes to reflect new saved
20205         note structure.
20206         * print-rtl.c (print_rtx): Print the address of the BLOCK when
20207         printing a block note.
20208         * stmt.c (block_vector): Remove.
20209         (find_loop_tree_blocks): Simplify.
20210         (unroll_block_trees): Likewise.
20211         * tree.h (reorder_block): Change prototype.
20212
20213 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
20214
20215         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
20216         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
20217         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
20218         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
20219         (atexit, exit): Simplify.
20220         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
20221         * config/lots: Remove defns of HAVE_ATEXIT.
20222
20223 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
20224
20225         * calls.c (precompute_arguments): Fix typo in comment.
20226         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
20227         TARGET_EXPR.
20228
20229 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
20230
20231         * dsp16xx.c (override_options): Fix typos in GC root registration.
20232
20233 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
20234
20235         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
20236         from config/svr4.h.
20237         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
20238         (FUNCTION_PROFILER): Redefine appropriately for Linux.
20239         (CC1_SPEC): Likewise.
20240
20241 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20242
20243         * genattr.c (main): Add extern prototype.  Call return, not exit.
20244         * genattrtab.c (main): Likewise.
20245         * gencheck.c (main): Likewise.
20246         * gencodes.c (main): Likewise.
20247         * genconfig.c (main): Likewise.
20248         * genemit.c (main): Likewise.
20249         * genextract.c (main): Likewise.
20250         * genflags.c (main): Likewise.
20251         * gengenrtl.c (main): Likewise.
20252         * genopinit.c (main): Likewise.
20253         * genoutput.c (main): Likewise.
20254         * genpeep.c (main): Likewise.
20255         * genrecog.c (main): Likewise.
20256
20257         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
20258         * genattrtab.c (get_insn_name): Likewise.
20259         * gencodes.c (get_insn_name): Likewise.
20260         * genconfig.c (get_insn_name): Likewise.
20261         * genemit.c (get_insn_name): Likewise.
20262         * genextract.c (get_insn_name): Likewise.
20263         * genflags.c (get_insn_name): Likewise.
20264         * genopinit.c (get_insn_name): Likewise.
20265         * genpeep.c (get_insn_name): Likewise.
20266
20267         * gencheck.c (usage): Add static prototype.
20268         * genextract.c (print_path): Constify a char*.
20269         * genopinit.c (optabs): Likewise.
20270         * genoutput.c (operand_data, data, output_predicate_decls,
20271         compare_operands): Likewise.
20272         * genrecog.c (write_tree): Add default case in switch.
20273
20274 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20275
20276         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
20277
20278         * print-rtl.c (get_insn_name): Remove prototype.
20279
20280         * toplev.h (progname): Declare const.
20281
20282         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
20283         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
20284         dump_sched_info, dump_local_alloc, regset_release_memory,
20285         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
20286         error_with_file_and_line, error_with_decl, error_for_asm, error,
20287         fatal, warning_with_file_and_line, warning_with_decl, warning,
20288         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
20289         Remove redundant prototypes.
20290
20291         (notice, check_lang_option, report_file_and_line, vnotice,
20292         mark_file_stack): Add static prototype.
20293         (set_fatal_function): Add prototype.
20294         (vnotice, report_file_and_line, set_fatal_function,
20295         check_lang_option): Constify a char*.
20296         (main): Prototype.  Call return, not exit.
20297
20298 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20299
20300         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
20301
20302         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
20303
20304         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
20305
20306         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
20307
20308 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20309
20310         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
20311         behave as if it's zero in all cases.
20312         (expand_function_start): Adjust call to assign_parms.
20313         * tree.h (assign_parms): Adjust prototype.
20314         * objc/objc-act.c (hack_method_prototype): Adjust call to
20315         assign_parms.
20316
20317 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
20318
20319         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
20320         arg_pointer_rtx fixed if the argument pointer register is
20321         not fixed.
20322         (NONZERO_BASE_PLUS_P): Likewise.
20323
20324 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
20325
20326         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
20327         match_insn2 to match_insn.
20328         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
20329
20330 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
20331
20332         * Makefile.in (USER_H): Remove va-foo.h.
20333
20334         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
20335         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
20336         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
20337         va-spur.h,va-v850.h}: Remove.
20338
20339 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
20340
20341         * sparc/sparc.md (eligible_for_return_delay): New attribute.
20342         (in_return_delay): Use it instead of match_insn.
20343
20344 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20345
20346         * config/alpha/va_list.h (va-alpha.h): Do not include.
20347         (__gnuc_va_list): Typedef as in varargs.h.
20348
20349 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
20350
20351         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
20352         DECL_LIVE_RANGE_RTL.
20353
20354 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
20355
20356         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
20357         not NOTE_BLOCK_NUMBER.
20358         (expand_eh_region_end): Likewise.
20359         (find_exception_handler_labels): Likewise.
20360         (scan_region): Likewise.
20361         (exception_optimize): Likewise.
20362         (update_rethrow_references): Likewise.
20363         (set_insn_eh_region): Likewise.
20364         * final.c (final_scan_insn): Likewise.
20365         * flow.c (make_edges): Likewise.
20366         * integrate.c (expand_inline_function): Likewise.
20367         * print-rtl.c (print_rtx): Likewise.
20368
20369 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
20370
20371         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
20372         terms of builtin functions and types.
20373
20374         * mips.c (mips_build_va_list): New.
20375         (mips_va_start, mips_va_arg): New.
20376         * mips.h (BUILD_VA_LIST_TYPE): New.
20377         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
20378
20379         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
20380         (sh_build_va_list, sh_va_start, sh_va_arg): New.
20381         * sh.h (BUILD_VA_LIST_TYPE): New.
20382         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
20383
20384 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
20385
20386         * recog.h (struct recog_data): Make dup_num, operand_address_p,
20387         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
20388         (struct insn_data): Likewise with n_operands, n_dups,
20389         n_alternatives, output_format.
20390         * regclass.c (scan_one_insn): Cast n_operands to int before
20391         arithmetic inside comparison.
20392
20393 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
20394
20395         * toplev.c (compile_function): Unconditionally emit nop.
20396
20397 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20398
20399         * haifa-sched.c (actual_hazard): Move declaration of variable
20400         `this_cost' into the scope where it is used.
20401
20402 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20403
20404         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
20405         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
20406         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
20407
20408         * genrecog.c (make_insn_sequence): Call memset, not bzero.
20409
20410         * jump.c (find_insert_position): Don't declare or define unless
20411         !HAVE_conditional_arithmetic.
20412         (returnjump_p_1, delete_prior_computation): Add static prototypes.
20413
20414         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
20415
20416         * recog.c (offsettable_address_p): Prototype function pointer.
20417         (preprocess_constraints): Call memset, not bzero.
20418
20419         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
20420         (gcc_obstack_init): Don't declare.
20421         (fix_sizetype): Add static prototype.
20422         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
20423         (tree_cons): Call memset, not bzero.
20424
20425         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
20426         definition in macro ASM_WEAKEN_LABEL.
20427         (mark_const_hash_entry): Add static prototype.
20428
20429 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20430
20431         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
20432
20433         * unroll.c (find_common_reg_term, subtract_reg_term,
20434         loop_find_equiv_value): Add static prototypes.
20435         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
20436         (copy_loop_body): Remove unreachable break statement.
20437
20438         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
20439
20440         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
20441
20442 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20443
20444         Undo some changes from the gcc2 merge:
20445         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
20446         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
20447         pointers.
20448
20449         Undo this change:
20450         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
20451         * emit-rtl.c (gen_lowpart_common): Disable optimization of
20452         initialized float-int union if the value is a NaN.
20453
20454 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20455
20456         * gthr-win32.h: New file.
20457
20458         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
20459         shared as a valid attribute.
20460         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
20461         * extend.texi: Document `shared' variable attribute.
20462
20463 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
20464
20465         * configure.in: Handle --enable-threads on FreeBSD.
20466         * configure: Rebuit.
20467
20468 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
20469
20470         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
20471         thread support.
20472         * configure: Rebuilt.
20473
20474 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
20475                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
20476                           Rosimildo DaSilva <rdasilva@connecttel.com>
20477
20478         * configure.in (m68k-*-rtemscoff*): Added.
20479         * configure.in (mips64orion-*-rtems*): Converted to ELF.
20480         * configure.in (sparc-*-rtemsaout*): Added as alias for old
20481         sparc-rtems configuration.
20482         * configure.in (sparc-*-rtemself*): Added.
20483         * configure.in (sparc-*-rtems*): Now ELF not a.out.
20484         * config/i386/rtems.h: Added comment.
20485         * config/sparc/rtemself.h: New file.
20486
20487         * configure.in (m68k-rtemself): Added.
20488         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
20489         and DWARF_DEBUGGING_INFO.
20490         * config/m68k/crti.s: New file.
20491         * config/m68k/crtn.s: New file.
20492         * config/m68k/t-crtstuff: New file.
20493         * config/m68k/rtemself.h: New file.
20494
20495         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
20496         global ctor/dtor and C++ exception handling.
20497         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
20498         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
20499         ENDFILE_SPEC.
20500         * config/i386/t-rtems-i386: New File.
20501
20502 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
20503
20504         * stmt.c (expand_end_case): Return right away if the case stack is
20505         empty.
20506
20507 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
20508
20509         * Makefile.in (version.c): Remove rule incorrectly brought in from
20510         the gcc2 merge.
20511
20512 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
20513
20514         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
20515         * msdos/top.sed:  Take into account a prepended $(SHELL) to
20516         move-if-change.
20517         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
20518
20519         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
20520
20521 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20522
20523         * regmove.c (fixup_match_1): Don't change an unchanging register.
20524         (stable_but_for_p): Renamed to:
20525         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
20526         Changed all callers.
20527
20528 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
20529
20530         * loop.c (strength_reduce): Don't call reg_used_between_p if the
20531         insn from BL2 is after the insn from BL.
20532
20533 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
20534
20535         * recog.h (INSN_OUTPUT_FORMAT_*): New.
20536         (struct insn_data): Merge `template' and `outfun' into `output'.
20537         Add `output_format'.
20538         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
20539         (struct data): Remove `outfun'; add `output_format'.
20540         (name_for_index): Remove declaration.
20541         (output_insn_data): Handle output formats.
20542         (process_template): Emit the bare array for @.
20543         (gen_expand, gen_split): Set output_format to NONE.
20544         * output.h (get_insn_template): Declare.
20545         * final.c (get_insn_template): New.
20546         (final_scan_insn): Use it.
20547         * toplev.c (compile_file): Likewise.
20548
20549         * c4x/c4x.c (c4x_process_after_reload): Likewise.
20550         * i860/i860.c (output_delayed_branch): Likewise.
20551         (output_delay_insn): Likewise.
20552
20553 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20554
20555         * rtl.c (obstack_alloc_rtx): Removed.
20556
20557 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
20558
20559         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
20560
20561 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
20562
20563         * i386.c (call_insn_operand): Reject const_int.
20564         (expander_call_insn_operand): Use call_insn_operand.
20565
20566 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20567
20568         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
20569
20570 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
20571
20572         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
20573         Use DImode operation.
20574
20575 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
20576
20577         * gcc.c: Include sys/resource.h.
20578         (report_times): New flag.
20579         (execute):  If report_times is set, calculate and report the
20580         CPU time consumed by each subprocess.
20581
20582         (rus, prus): New globals.
20583         (option_map): Add --time.
20584         (display_help): Document -time.
20585         (process_command): Set report_times if -time is given.
20586         Turn off -pipe if -time is given.
20587
20588         * invoke.texi: Document new option -time.
20589
20590         * configure.in: Check for getrusage.  Check if we have to
20591         prototype getrusage.
20592         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
20593         * configure: Regenerate.
20594         * config.in: Regenerate.
20595
20596 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
20597
20598         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
20599         fields.
20600
20601 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
20602
20603         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
20604         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
20605         (nan): Return _thenan_sf or _thenan_df as appropriate.
20606         (L_thenan_sf): Define _thenan_sf.
20607         (L_thenan_df): Define _thenan_df.
20608
20609         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
20610         (DPBIT_FUNCS): Add _thenan_df.
20611
20612 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
20613
20614         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
20615         TYPE_SIZE_UNIT.
20616
20617 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20618
20619         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
20620
20621         * gcc.h: New file.
20622         (lang_specific_driver): Don't take a function pointer parameter.
20623         All callers changed.
20624
20625         * gcc.c: Include gcc.h.
20626         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
20627         lang_specific_extra_outfiles, fatal): Don't declare.
20628         (multilib_defaults_raw): Constify.
20629         (read_specs): Call memset, rather than bzero.
20630         (main): Call return, not exit.
20631         (lookup_compiler): Call memcpy, not bcopy.
20632         (fatal): Make extern.
20633
20634         * cppspec.c: Include gcc.h.
20635         (lang_specific_driver): Initialize variable `quote'.  Constify a
20636         char*.  All calls to the function pointer parameter now
20637         explicitly call `fatal'.
20638
20639         * gccspec.c (lang_specific_driver): Include gcc.h.
20640
20641 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
20642
20643         * arm.c (note_invalid_constants): Use recog_data.operand_type
20644         for recog_op_type.
20645
20646 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20647
20648         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
20649         Declare.
20650
20651         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
20652         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
20653         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
20654         reload_secondary_in_reload, reload_secondary_out_reload,
20655         reload_secondary_in_icode, reload_secondary_out_icode,
20656         reload_reg_rtx, reload_when_needed): Delete declarations.
20657         (struct reload): New structure.
20658         (rld): Declare new array.
20659         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
20660         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
20661         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
20662         reload_secondary_in_reload, reload_secondary_out_reload,
20663         reload_secondary_in_icode, reload_secondary_out_icode,
20664         reload_reg_rtx, reload_when_needed): Delete definitions.
20665         (rld): New array.
20666         (whole file): Replace uses of the deleted arrays with uses of rld.
20667         * reload1.c (whole file): Replace uses of the deleted arrays with
20668         uses of rld.
20669         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
20670         explicit loops, not with bcopy.
20671
20672 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
20673
20674         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
20675         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
20676         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
20677         insn_name): Delete and consolidate into new structures.
20678         (insn_operand_predicate_fn): New.
20679         (insn_output_fn): New.
20680         (insn_gen_fn): New.
20681         (struct insn_operand_data): New.
20682         (struct insn_data): New.
20683         (insn_data): New.
20684         (OUT_FCN): Update for insn_data change.
20685         * builtins.c (expand_builtin_strlen): Likewise.
20686         (expand_builtin_memcmp): Likewise.
20687         * combine.c (make_extraction, simplify_comparison): Likewise.
20688         * cse.c (canon_reg, cse_insn): Likewise.
20689         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
20690         * expmed.c (store_bit_field, extract_bit_field): Likewise.
20691         (emit_store_flag): Likewise.
20692         * expr.c (convert_move, emit_block_move): Likewise.
20693         (clear_storage, emit_push_insn, expand_increment): Likewise.
20694         (do_store_flag): Likewise.
20695         * expr.h (GEN_FCN): Likewise.
20696         (insn_gen_function): Die.
20697         * final.c (final_scan_insn): Update for insn_data change.
20698         (output_asm_name): Likewise.
20699         * function.c (fixup_var_refs_1): Likewise.
20700         * loop.c (check_dbra_loop): Likewise.
20701         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
20702         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
20703         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
20704         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
20705         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
20706         * regmove.c (gen_add3_insn): Likewise.
20707         * reload.c (push_secondary_reload, combine_reloads): Likewise.
20708         (find_reloads, find_reloads_address_1): Likewise.
20709         (debug_reload_to_stream): Likewise.
20710         * reload1.c (emit_reload_insns, gen_reload): Likewise.
20711         * stmt.c (expand_end_case): Likewise.
20712         * toplev.c (compile_file): Likewise.
20713
20714         * c4x/c4x.c (c4x_process_after_reload): Likewise.
20715         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
20716
20717         * print-rtl.c (insn_name_ptr): Remove declaration.
20718         (get_insn_name): Declare.
20719         (print_rtx): Use it.
20720         * genoutput.c (insn_name_ptr): Remove.
20721         (next_operand_number): New.
20722         (struct operand_data): New.
20723         (null_operand, odata, odata_end): New.
20724         (struct data): Use struct operand_data.
20725         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
20726         (get_insn_name): Renamed from name_for_index.
20727         (output_prologue): Define NO_MD_PROTOTYPES.
20728         (output_predicate_decls): Break out from output_epilogue.
20729         Iterate over the operands list.
20730         (output_operand_data): Break out from output_epilogue.  Emit
20731         just the operands list.
20732         (output_insn_data): Break out from output_epilogue.  Emit just
20733         the insn data.
20734         (output_epilogue): Remove.
20735         (output_get_insn_name): New.
20736         (constraints, op_n_alternatives, predicates, address_p): Die.
20737         (modes, strict_low, seen): Die.
20738         (scan_operands): Take new param `d' instead of writing to
20739         seven global variables.
20740         (compare_operands): New.
20741         (place_operands): New.
20742         (validate_insn_alternatives): Update for struct data change.
20743         (gen_insn): Don't zero or copy 7 global arrays.  Update for
20744         scan_operands; call place_operands.
20745         (gen_peephole, gen_expand, gen_split): Likewise.
20746         (main): Update for new output routines.
20747
20748         * genattr.c (insn_name_ptr): Remove.
20749         (get_insn_name): New function.
20750         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
20751         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
20752         * genrecog.c: Likewise.
20753
20754         * alpha.md (adddi3): Make `pattern' array static.
20755
20756 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20757
20758         * config/c4x/c4x.h (c4x_rpts_cycles_string,
20759         c4x_cpu_version_string): Constify char *.
20760         * config/c4x/c4x.c (c4x_rpts_cycles_string,
20761         c4x_cpu_version_string): Likewise.
20762
20763 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
20764
20765         * tree.c (save_tree_status): Revert 10 Sep change.
20766         (restore_tree_status): Likewise.  Call obstack_free with NULL
20767         before freeing the obstack proper.
20768
20769 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
20770
20771         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
20772
20773         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
20774         surrounding context.
20775
20776 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
20777
20778         * tree.c (type_hash_canon): Put all types in the hash-table, when
20779         GC'ing.
20780
20781 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
20782
20783         * recog.h (struct recog_data, recog_data): New.
20784         (recog_foo variables): Kill.
20785         * recog.c (recog_operand, recog_operand_loc): Kill.
20786         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
20787         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
20788         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
20789         (recog_data): Define.
20790         (extract_insn): Update all recog_foo references to use recog_data.
20791         (preprocess_constraints, constrain_operands): Likewise.
20792         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
20793         * genattrtab.c (main): Likewise.
20794         * genextract.c (main): Likewise.
20795         * genoutput.c: Likewise.
20796         * genrecog.c (write_subroutine, main): Likewise.
20797         * local-alloc.c (block_alloc): Likewise.
20798         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
20799         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
20800         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
20801         * reload.c (find_reloads, find_reloads_toplev): Likewise.
20802         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
20803         (reload_cse_simplify_operands): Likewise.
20804
20805         * arc/arc.c (arc_final_prescan_insn): Likewise.
20806         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
20807         * h8300/h8300.c (notice_update_cc): Likewise.
20808         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
20809         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
20810         * mn10200/mn10200.c (notice_update_cc): Likewise.
20811         * mn10300/mn10300.c (notice_update_cc): Likewise.
20812         * romp/romp.c (update_cc): Likewise.
20813         * sparc/sparc.c (check_pic): Likewise.
20814         * v850/v850.c (notice_update_cc): Likewise.
20815
20816         * genemit.c (main): Don't declare recog_operand.
20817
20818 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
20819
20820         * ggc.h (rtvec_def): Forward declare.
20821         (tree_node): Likewise.
20822         (ggc_root): Define.
20823         (roots): Declare.
20824         (ggc_set_mark_rtx): Add prototype.
20825         (ggc_set_mark_rtvec): Likewise.
20826         (ggc_set_mark_tree): Likewise.
20827         * ggc-simple.c (ggc_root): Don't define.
20828         (roots): Don't declare.
20829         (ggc_mark_rtx): Remove.
20830         (ggc_mark_rtvec): Likewise.
20831         (ggc_mark_tree): Likewise.
20832         (ggc_mark_varray): Likewise.
20833         (ggc_mark_tree_hash_table_entry): Likewise.
20834         (ggc_mark_tree_hash_table): Likewise.
20835         (ggc_set_mart_rtx): New function.
20836         (ggc_set_mark_rtvec): Likewise.
20837         (ggc_set_mark_tree): Likewise.
20838         (ggc_add_root): Remove.
20839         (ggc_add_rtx_root): Likewise.
20840         (ggc_remove_tree_root): Likewise.
20841         (ggc_add_string_root): Likewise.
20842         (ggc_add_tree_varray_root): Likewise.
20843         (ggc_add_tree_hash_table_root): Likewise.
20844         (ggc_del_root): Likewise.
20845         (ggc_mark_rtx_ptr): Likewise.
20846         (ggc_mark_tree_ptr): Likewise.
20847         (ggc_mark_string_ptr): Likewise.
20848         (ggc_mark_tree_varray_ptr): Likewise.
20849         (ggc_mark_tree_hash_table_ptr): Likewise.
20850         * ggc-common.c: New file.
20851         * Makefile.in (OBJS): Add ggc-common.o.
20852         (ggc-common.o): List dependencies.
20853
20854 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
20855
20856         * cppalloc.c (xstrdup): Use memcpy.
20857         * cpperror.c (cpp_print_containing_files): Don't use
20858         cpp_notice.
20859         * cpplib.c (conditional_skip): Set temp->lineno.
20860         (do_endif): Make error message less obscure.
20861         (if_directive_name): New function.
20862         (cpp_get_token [case EOF]): Unwind the if stack and generate
20863         error messages for each unterminated conditional in this file.
20864         (parse_string):  Do not behave differently if -traditional.
20865
20866 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
20867
20868         * builtins.c (expand_builtin_va_arg): Cope with an array-type
20869         va_list decomposing to pointer-type.
20870         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
20871         (rs6000_va_arg): Likewise.
20872
20873 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
20874
20875         * except.c (start_dynamic_handler): Compute size using
20876         STACK_SAVEAREA_MODE.
20877
20878 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20879
20880         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
20881         include directory headers.  Don't define strrchr.  Don't provide
20882         my_* replacement functions.  Prefer PTR over `pointer_type'.
20883         Don't prototype system functions.  Don't redefine getopt.
20884
20885         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
20886         safe_read, safe_write, save_pointers, restore_pointers,
20887         is_id_char, in_system_include_dir, directory_specified_p,
20888         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
20889         find_corresponding_lparen, referenced_file_is_newer,
20890         save_def_or_dec, munge_compile_params, gen_aux_info_file,
20891         process_aux_info_file, identify_lineno, check_source,
20892         seek_to_line, forward_to_next_token_char, output_bytes,
20893         output_string, output_up_to, other_variable_style_function,
20894         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
20895         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
20896         find_static_definition, connect_defs_and_decs, add_local_decl,
20897         add_global_decls, needs_to_be_converted, visit_each_hash_node,
20898         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
20899         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
20900         scan_for_missed_items, edit_file, string_list_cons): Add static
20901         prototypes.
20902         (standard_exec_prefix, target_machine, target_version,
20903         default_syscalls_dir, string_list, string_list_cons, find_file,
20904         do_cleaning): Constify a char*.
20905         (safe_read, safe_write): Use PTR, not a char*.
20906         (is_id_char): Take an int, not a char.
20907         (main): Add prototype.  Call return, not exit.
20908
20909 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
20910
20911         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
20912         when comparing types.
20913
20914 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
20915
20916         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
20917         (strength_reduce): Release the varrays from the no-bivs early exit.
20918
20919         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
20920         the loop over the registers.
20921
20922         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
20923         for a new obstack.
20924         (restore_tree_status): Check that instead when freeing the obstack.
20925
20926 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
20927
20928         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
20929         as pointers.
20930
20931 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20932
20933         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
20934         operand size modifiers.
20935
20936 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20937
20938         * c-common.c (c_common_nodes_and_builtins): Don't build
20939         va_list_type_node.
20940         * c-common.h (enum c_tree_index and related accesor macros): Remove
20941         everything now declared in tree.h.
20942         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
20943         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
20944         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
20945         (error_mark_node, void_type_node, char_type_node, integer_type_node,
20946         unsigned_type_node, ptr_type_node, va_list_type_node,
20947         integer_zero_node, null_pointer_node, integer_one_node): Delete.
20948         (init_decl_processing): Call build_common_tree_nodes and
20949         build_common_tree_nodes_2 instead of building their nodes here.
20950         Don't add roots for these nodes.
20951         * stor-layout.c (size_zero_node, size_one_node): Delete.
20952         (set_sizetype): Make a new node for bitsizetype each time.
20953         * tree.c (global_trees): New variable.
20954         (init_obstacks): Add a gc root for it.
20955         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
20956         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
20957         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
20958         (build_common_tree_nodes): New function.
20959         (fix_sizetype): New function.
20960         (build_common_tree_nodes_2): New function.
20961         * tree.h (enum tree_index): New.
20962         (global_trees): Declare.
20963         Add accessor macros for all nodes now moved to global_trees.
20964         Delete their declarations.
20965
20966 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
20967
20968         * c-decl.c (finish_function): When processing a nested function,
20969         push and pop GC context around rest_of_compilation.
20970
20971 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
20972
20973         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
20974         Default ix86_arch to PROCESSOR_I386.
20975         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
20976         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
20977         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
20978         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
20979         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
20980         (EXTRA_SPECS): Remove deleted specs.
20981
20982 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
20983
20984         * function.c (assign_stack_local_1): Allocate from
20985         function->x_frame_offset, not frame_offset.
20986
20987 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
20988
20989         * ggc.h (lang_cleanup_tree): Remove.
20990         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
20991         * ggc-callbacks.c (lang_cleanup_tree): Remove.
20992
20993         * c-decl.c (finish_struct): Use ggc_alloc to allocate
20994         TYPE_LANG_SPECIFIC when garbage collecting.
20995         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
20996         (lang_cleanup_tree): Remove.
20997
20998 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
20999
21000         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
21001         * crtstuff.c: Not here.
21002         * dwarf2out.c: Or here.
21003         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
21004         info.
21005
21006 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
21007
21008         * function.h (free_after_compilation): Remove decl parameter.
21009         (free_varasm_status0: Likewise.
21010         (free_emit_status): Likewise.
21011         (free_stmt_status): Likewise.
21012         (free_after_compilation): Likewise.
21013         (init_lang_status): New variable.
21014         (free_lang_status): Likewise.
21015         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
21016         * function.c (init_lang_status): New variable.
21017         (free_lang_status): Likewise.
21018         (push_function_context_to): Don't set function::decl here.
21019         (free_after_copmilation): Make decl parameter implicit.  Call
21020         free_lang_status if defined.
21021         (prepare_function_start): Call init_lang_status if defined.
21022         (init_function_start): Set function::decl here.
21023         * profile.c (output_func_start_profiler): Don't call pushdecl
21024         until we've actually started the function.
21025         * stmt.c (free_stmt_status): Make decl parameter implicit.
21026         * toplev.c (rest_of_compilation): Don't pass decl to
21027         free_after_compilation.
21028         * varasm.c (free_varasm_status): Likewise.
21029
21030 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21031
21032         * except.c (call_get_eh_context): Add root when allocating static
21033         tree variable.
21034
21035 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
21036
21037         * arm.c: Include "ggc.h".
21038         (arm_add_gc_roots): New function.
21039         (arm_override_options): Call it.
21040         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
21041
21042         * arm.md (define_asm_attributes): Add a pool_range attribute.
21043
21044 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
21045
21046         * extend.texi (Volatiles): New node.
21047
21048 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
21049
21050         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
21051         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
21052         (struct ggc_any): Replace `mark' with `magic_mark'.
21053         (ggc_alloc_string): Use memcpy, not bcopy.
21054         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
21055         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
21056         (ggc_free_any): New.
21057         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
21058         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
21059         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
21060         Use IS_MARKED. Use ggc_free_any.
21061
21062 1999-09-09  Scott Bambrough <scottb@netwinder.org>
21063
21064         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
21065
21066 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
21067
21068         * toplev.c (main): Always init_ggc.
21069
21070 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
21071
21072         * except.c (find_all_handler_type_matches): Free the list if
21073         we found no matches.
21074
21075         * combine.c (SUBST): Break out to a real function do_SUBST.
21076         (SUBST_INT): Likewise.
21077         * gcse.c (free_pre_mem): Free `temp_bitmap'.
21078         (pre_insert): Free `inserted'.
21079         * loop.c (basic_induction_var): Always set `location'.
21080
21081         * function.c (expand_function_end): Add initial_trampoline as a root.
21082         * rtl.h (init_varasm_once): Declare.
21083         * toplev.c (compile_file): Call it.
21084         * ggc-simple.c (ggc_mark_string_ptr): New.
21085         (ggc_add_string_root): New.
21086         (ggc_collect): Disable collection avoidance temporarily.
21087         * ggc.h (ggc_add_string_root): Declare.
21088         * except.c (create_rethrow_ref): Use ggc_alloc_string.
21089         * optabs.c (init_libfuncs): Likewise.
21090         * varasm.c (named_section): Use ggc_alloc_string.
21091         (make_function_rtl): Likewise.
21092         (make_decl_rtl): Likewise.
21093         (assemble_static_space): Likewise.
21094         (assemble_trampoline_template): Likewise.
21095         (output_constant_def): Likewise.
21096         (force_const_mem): Likewise.
21097         (mark_const_hash_entry): New.
21098         (mark_pool_sym_hash_table): New.
21099         (mark_varasm_state): Use it.
21100         (init_varasm_once): New.
21101
21102         * expr.h (init_one_libfunc): Declare.
21103         * optabs.c (init_one_libfunc): New.
21104         (init_optabs): Use it.
21105         * config/gofast.h: Likewise.
21106         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
21107         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
21108
21109 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
21110
21111         * Makefile.in (cppexp.o): Depend on cpphash.h.
21112         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
21113         Include cpphash.h.
21114         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
21115         * cpplib.c (do_define): Generalise to handle poisoned definitions,
21116         redefining poisoned identifiers, etc.
21117         (do_undef): Don't allow poisoned identifiers to be undefined.
21118         (do_pragma): Add #pragma poison.
21119         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
21120
21121         * cccp.c: Add T_POISON node type.
21122         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
21123         poisoned xxx.
21124         (do_define): Generalise to handle poisoned definitions,
21125         redefining poisoned identifiers, etc.
21126         (do_undef): Don't allow poisoned identifiers to be undefined.
21127         (do_pragma): Add #pragma poison.
21128         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
21129
21130         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
21131         * c-pragma.h: Add ps_poison state.  We now always have generic
21132         pragmas.
21133
21134 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
21135
21136         * ggc.h (ggc_alloc): New function.
21137         (ggc_mark): Likewise.
21138         * ggc-simple.c (ggc_any): New structure.
21139         (ggc_status): Add anys.
21140         (n_anys_collected): New variable.
21141         (ggc_alloc): Define.
21142         (ggc_mark): Likewise.
21143         (ggc_collect): Collect the anys.
21144
21145 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21146
21147         * c-decl.c (mark_binding_level): Make static to match prototype.
21148
21149 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
21150
21151         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
21152
21153 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
21154
21155         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
21156         will use into account.  Expand the max width to 5.
21157         * rtl.c: Likewise.
21158
21159 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
21160
21161         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
21162         for the rtx length.
21163
21164 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
21165
21166         * alpha.md (call value patterns): Remove the result predicates.
21167
21168 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
21169
21170         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
21171         last change.
21172
21173 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21174
21175         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
21176         changed from extern char *, to extern PTR.  Also fix typo in
21177         NEED_DECLARATION_REALLOC test.
21178
21179         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
21180
21181 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21182
21183         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
21184         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
21185         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
21186         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
21187
21188         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
21189
21190         * cccp.c (pcfinclude): Likewise.
21191
21192         * global.c (allocno_compare): Likewise.
21193
21194         * haifa-sched.c (rank_for_schedule): Likewise.
21195
21196         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
21197
21198         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
21199
21200         * stupid.c (stupid_reg_compare): Likewise.
21201
21202         * tree.c (_obstack_allocated_p): Likewise.
21203
21204         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
21205
21206 1999-09-08  Bruce Korb  autogen@linuxbox.com
21207
21208         * Makefile.in: Give the hapless gperf user a hint about
21209         why "gperf -F" fails.
21210
21211 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
21212
21213         * lists.c: Include ggc.h.
21214         (zap_lists): New.
21215         (init_EXPR_INSN_LIST_cache): Install it.
21216
21217         * ggc-simple.c (init_ggc): Absorb the old init.
21218         (ggc_push_context): Use xcalloc.
21219         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
21220         (ggc_collect): Add [rvts] tags to the collection stats.
21221
21222 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
21223
21224         * cccp.c (main): Fix handling of -include and -imacros options.
21225
21226 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
21227
21228         * cpplib.c (cpp_push_buffer): Fix order of arguments.
21229
21230 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
21231
21232         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
21233         genrtl.c.
21234
21235 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
21236
21237         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
21238         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
21239         and SET_DEST. Update comment.
21240
21241 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21242
21243         * config/c4x/c4x.c: Include ggc.h.
21244         (c4x_add_gc_roots): New function.
21245         (c4x_override_options): Call c4x_add_gc_roots.
21246
21247 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
21248
21249         * defaults.h (TARGET_ESC): Move ...
21250         * system.h: ... here, where Linas had it in the first place.  Silly me.
21251
21252 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
21253
21254         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
21255         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
21256         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
21257         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
21258         * defaults.h (TARGET_ESC): Add default.
21259
21260 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
21261
21262         * configure.in: add i370-*-openedition, i370-*-mvs and
21263         i370-*-linux targets
21264
21265 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
21266
21267         * dsp16xxx.c: Include ggc.h
21268         (override_options): Mark GC roots.
21269         * mn10200.c: Include ggc.h.
21270         (asm_file_start): Mark GC roots.
21271         * tahoe.c: Include ggc.h.
21272         (extensible_operand): Mark GC roots.
21273
21274 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
21275
21276         * README: Add section discussing status of ELF ABI.
21277         * i370.c: Fix misc spelling mistakes.
21278         (i370_label_scan): Updated notes, exception handling.
21279         (i370_function_prolog): Simplify ELF stack handling.
21280         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
21281         (STACK_GROWS_DOWNWARD): ELF stack grows down.
21282         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
21283         * i370.md: (movdi): Add notes.
21284         (floatsidf2): Use stack not rtca for scratch float area.
21285         (iorsi3): Correct operand constraints.
21286         * x-oe: Restore TAROUTOPTS which are used by pax.
21287
21288 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
21289
21290         * rs6000.c: Include ggc.h.
21291         (rs6000_add_gc_roots): New function.
21292         (override_options): Call it.
21293
21294 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
21295
21296         * alpha.h (alpha_compare): New.
21297         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
21298         * alpha.c: Likewise for the definitions.
21299         (alpha_emit_conditional_branch): Update for alpha_compare.
21300         (alpha_emit_conditional_move): Likewise.
21301         * alpha.md (cmpdf, cmpdi): Likewise.
21302         (setcc patterns): Likewise.  Zero alpha_compare after use.
21303         (sne): Optimize (x != 0) into (0U < x).
21304
21305 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
21306
21307         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
21308         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
21309         (INIT_EXPANDERS): Remove.
21310         * alpha.c: Include ggc.h.
21311         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
21312         (alpha_init_machine_status, alpha_mark_machine_status): New.
21313         (override_options): Install them.
21314         (struct machine_function): Moved to alpha.h.
21315         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
21316         (alpha_init_expanders): Remove.
21317         (alpha_return_addr): Adjust to use current_function->machine.
21318         (alpha_ra_ever_killed): Likewise.
21319         (alpha_expand_epilogue): Likewise.
21320         * alpha.md (eh_epilogue): Likewise.
21321
21322 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
21323                           Melissa O'Neill  <oneill@cs.sfu.ca>
21324                           Geoffrey Keating  <geoffk@cygnus.com>
21325
21326         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
21327         call-used registers (call-saved registers must still be contiguous
21328         and end with r31, of course).
21329
21330 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
21331
21332         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
21333         (self_promoting_type_p): Delete.
21334         (self_promoting_args_p): Move ...
21335         * c-common.c: ... here.
21336         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
21337         (simple_type_promotes_to): New.
21338         * builtins.c (lang_type_promotes_to): New.
21339         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
21340         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
21341         * c-common.h: ... here.
21342         (self_promoting_args_p, simple_type_promotes_to): Declare.
21343         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
21344         (grokdeclarator): Likewise.
21345         * tree.h (lang_type_promotes_to): Declare.
21346
21347 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
21348
21349         Add some machine-dependent GC roots.
21350         * sparc.c: Include ggc.h.
21351         (sparc_add_gc_roots): New function.
21352         (mark_ultrasparc_pipeline_state): Likewise.
21353         (override_options): Call sparc_add_gc_roots.
21354         * pa.c: Include ggc.h.
21355         (pa_add_gc_roots): New function.
21356         (mark_deferred_plabels): Likewise.
21357         (override_options): Call pa_add_gc_roots.
21358         * mips.c: Include ggc.h.
21359         (mips_add_gc_roots): New function.
21360         (override_options): Use it.
21361
21362 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21363
21364         * cpperror.c (cpp_file_line_for_message): Constify a char*.
21365
21366         * cppexp.c (parse_number, parse_charconst, cpp_lex,
21367         cpp_parse_expr): Add static prototypes.
21368         (parse_charconst): Don't cast away const-ness.
21369         (token): Constify a char*.
21370
21371         * cppfiles.c (file_name_list, include_hash, find_include_file,
21372         finclude, initialize_input_buffer): Constify a char*.
21373         (file_cleanup, find_position): Add static prototypes.
21374
21375         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
21376         collect_expansion): Add static prototypes.
21377         (cpp_install, create_definition, monthnames): Constify a char*.
21378
21379         * cpphash.h (cpp_install): Likewise.
21380
21381         * cppinit.c (known_suffixes, default_include,
21382         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
21383         (base_name, dump_special_to_buffer, initialize_dependency_output):
21384         Add static prototypes.
21385
21386         * cpplib.c (my_strerror): Constify a char*.
21387         (null_underflow, null_cleanup, skip_comment, copy_comment,
21388         copy_rest_of_line, handle_directive, pass_thru_directive,
21389         get_directive_token, read_line_number, cpp_print_file_and_line,
21390         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
21391         v_cpp_warning_with_line, detect_if_not_defined,
21392         consider_directive_while_skipping): Add static prototypes.
21393         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
21394         cpp_pedwarn_with_file_and_line): Constify a char*.
21395
21396         * cpplib.h (cpp_options, include_hash, progname, definition,
21397         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
21398         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
21399         find_include_file, deps_output, include_hash): Constify a char*.
21400
21401         * cppmain.c (progname): Constify.
21402         (main): Add prototype.  Use return, not exit.
21403
21404         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
21405         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
21406         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
21407         check_protection): Add static prototype.
21408         (xfree): Remove.
21409         (progname, recognized_macrom, recognized_extern): Constify a char*.
21410         (main): Add prototype.
21411
21412         * gen-protos.c (progname): Constify a char*.
21413
21414 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
21415
21416         * emit-rtl.c (free_emit_status): Take decl as a parameter.
21417         (init_emit_once): Add more GC roots.
21418         * except.c (mark_func_eh_entry): New function.
21419         (mark_eh_node): Mark false_label and rethrow_label.
21420         (init_eh): Add more GC roots.
21421         * function.c (free_after_compilation): Take decl as a paramter.
21422         Call free_stmt_status.
21423         (mark_function_state): Don't assume x_parm_reg_stack_loc is
21424         non-NULL.
21425         * function.h (free_after_compilation): Change prototype.
21426         (free_varasm_status): Likewise.
21427         (free_emit_status): Likewise.
21428         (free_stmt_status): New function.
21429         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
21430         Remove, replacing with ...
21431         (ggc_status): New structure.
21432         (ggc_chain): New variable.
21433         (init_gcc): Define.
21434         (ggc_push_context): New function.
21435         (ggc_pop_context): Likewise.
21436         (ggc_alloc_rtx): Adjust for use of ggc_chain.
21437         (ggc_alloc_rtvec): Likewise.
21438         (ggc_alloc_tree): Likewise.
21439         (ggc_alloc_string): Likewise.
21440         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
21441         (ggc_mark_tree): Give language-dependent code a chance to mark
21442         `x' nodes.
21443         (ggc_mark_tree_varray): Handle empty arrays.
21444         (ggc_collect): Adjust for use of ggc_chain.  Clear
21445         bytes_alloced_since_last_gc.
21446         * ggc.h (ggc_pop_context): New function.
21447         (ggc_push_context): Likewise.
21448         * print-tree.c (print_node): Don't print obstacks when GC'ing.
21449         * stmt.c (free_stmt_status): New function.
21450         (init_stmt_for_function): Clear last_expr_value.
21451         * toplev.c (rest_of_compilation): Always call free_after_compilation.
21452         Conditionalize call to ggc_collect.
21453         (main): Call init_ggc.
21454         * tree.c (push_obstacks): Do the push, even when GC'ing.
21455         (push_obstacks_nochange): Likewise.
21456         (pop_obstacks): Liekwise.
21457         * varasm.c (free_varasm_status): Take decl as a parameter.
21458
21459 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21460
21461         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
21462         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
21463         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
21464         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
21465
21466 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
21467
21468         * pa/x-pa-mpeix: New file for the MPE port.
21469
21470         * pa/quadlib.asm: New file for long double support.
21471
21472         * configure.in: Add hppa1.0-*-mpeix for MPE port.
21473         * configure: Rebuilt.
21474
21475 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
21476
21477         * final.c (shorten_branches): Fix last change.
21478
21479 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
21480
21481         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
21482
21483 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
21484
21485         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
21486         details.
21487
21488 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21489
21490         * c-aux-info.c (concat): Don't define.
21491
21492         * cccp.c (my_strerror): Likewise.  All callers changed to use
21493         xstrerror instead.
21494         (do_include): Call xstrdup, not xmalloc/strcpy.
21495         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
21496         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
21497
21498         * collect2.c (my_strsignal): Likewise.  All callers changed to use
21499         strsignal instead.
21500         (locatelib): Call xstrdup, not xmalloc/strcpy.
21501
21502         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
21503
21504         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
21505
21506         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
21507
21508         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
21509
21510         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
21511
21512         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
21513
21514         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
21515         malloc/realloc.
21516         (find_all_handler_type_matches): Likewise.  Don't check return
21517         value.
21518         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
21519         xmalloc, not malloc.
21520         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
21521
21522         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
21523         (init_spec): Call xcalloc, not xmalloc/bzero.
21524         (set_spec): Call xstrdup, not save_string.
21525         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
21526         (find_a_file): Call xstrdup, not xmalloc/strcpy.
21527         (process_command): Call xstrdup, not save_string.
21528         (main): Call xcalloc, not xmalloc/bzero.
21529
21530         * gcov.c (xmalloc): Don't define.
21531         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
21532         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
21533         (output_data): Call xcalloc, not xmalloc/bzero.
21534
21535         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
21536
21537         * mips-tdump.c (xmalloc): Don't define.
21538         (print_symbol): Call xmalloc, not malloc.
21539         (read_tfile): Call xcalloc, not calloc.
21540
21541         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
21542         Don't define.  All callers of xfree/my_strsignal changed to use
21543         free/strsignal instead.
21544         (allocate_cluster): Call xcalloc, not calloc.
21545
21546         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
21547         Fix memory leak, free allocated memory.
21548
21549         * prefix.c (translate_name): Call xstrdup, not save_string.
21550         (update_path): Likewise.
21551
21552         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
21553
21554         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
21555         Don't define.  Callers of xfree/savestring2 changed to use
21556         free/concat instead.
21557
21558         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
21559         (init_elim_table): Likewise.
21560
21561         * resource.c (init_resource_info): Likewise.
21562
21563         * stupid.c (stupid_life_analysis): Likewise.
21564
21565         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
21566         (open_dump_file): Call concat, not xmalloc/strcpy/...
21567         (clean_dump_file): Likewise.
21568         (compile_file): Call xstrdup, not xmalloc/strcpy.
21569
21570 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
21571
21572         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
21573         * v850.c (v850_va_arg): New.
21574
21575 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21576
21577         * haifa-sched.c: Tidy comments.
21578
21579 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21580
21581         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
21582         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
21583         $(out_object_file)): Depend on ggc.h.
21584         * c-common.c: Include "ggc.h".
21585         (combine_strings): If doing GC, use ggc_alloc_string.
21586         * c-decl.c: Include "ggc.h".
21587         (ggc_p): Define with value 0.
21588         (mark_binding_level): New function.
21589         (init_decl_processing): Add GC roots.
21590         (mark_c_function_context): New function.
21591         (lang_mark_false_label_stack): New function.
21592         (lang_mark_tree): New function.
21593         (lang_cleanup_tree): New function.
21594         * c-lang.c: Include "ggc.h".
21595         (lang_init): Call c_parse_init.
21596         * c-lex.c: Include "ggc.h".
21597         (check_linenum): If doing GC, don't copy filenames to permanent
21598         obstack.
21599         * c-parse.in: Include "ggc.h".
21600         (c_parse_init): New function.
21601         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
21602         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
21603
21604         * except.c (mark_eh_state): Mark more state.
21605         * function.c (mark_function_state): Likewise.
21606         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
21607         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
21608         * toplev.c (mark_file_stack): New function.
21609         (compile_file): If doing GC, use ggc_alloc_string on input filename.
21610         (main): Add root for input_file_stack.
21611
21612         * i386.c: Include "ggc.h".
21613         (ix86_mark_machine_status): New function.
21614         (override_options): Set mark_machine_status.
21615
21616 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21617
21618         * tree.c (copy_node): Copy node contents also if doing GC.
21619
21620 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
21621
21622         * collect2.c (scan_libraries): Fix double-thinko :-).
21623
21624 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
21625
21626         * collect2.c (scan_libraries): Fix thinko.
21627
21628         * cse.c (delete_trivially_dead_insns): Do not skip the last
21629         insn if it is a real insn.
21630
21631 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
21632
21633         * Makefile.in (ggc-simple.o): Depend on hash.h.
21634         * ggc.h (ggc_add_tree_hash_table_root): Declare.
21635         (ggc_mark_tree_varray): Likewise.
21636         (ggc_mark_tree_hash_table): Likewise.
21637         * ggc-simple.c: Include hash.h.
21638         (ggc_mark_tree_hash_table_ptr): New function.
21639         (ggc_mark_tree_hash_table_entry): Likewise.
21640         (ggc_mark_tree_hash_table): Likewise.
21641         (ggc_add_tree_hash_table_root): Likewise.
21642         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
21643         rtx, when defining fields.
21644
21645 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
21646
21647         * profile.c (output_func_start_profiler): Remove apparently
21648         nonsensical call to start_sequence.
21649
21650 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
21651
21652         * clipper/clipper.c (clipper_va_start): Fix typos.
21653
21654         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
21655         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
21656         (spur_va_arg): New stub.
21657
21658         * configure.in: Comment out pyramid.
21659
21660 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
21661
21662         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
21663         don't conflict with the bits that win32, cygwin, and dgux
21664         defines.
21665
21666 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
21667                           Bernd Schmidt <bernds@cygnus.co.uk>
21668
21669         * integrate.c (function_cannot_inline_p): Do not inline
21670         functions with forced labels.
21671
21672 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
21673                           Bernd Schmidt <bernds@cygnus.co.uk>
21674                           Mark Mitchell  <mark@codesourcery.com>
21675
21676         * Makefile.in (ggc-simple.o): Depend on varray.h.
21677         (rtl.o): Depend on ggc.h.
21678         (genattrtab.o): Depend on ggc.h.
21679         (print-tree.o): Likewise.
21680         (fold-const.o): Likewise.
21681         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
21682         (make_insn_raw): Don't cache insns when GC'ing.
21683         (emit_insn_before): Likewise.
21684         (emit_insn_after): Likewise.
21685         (emit_insn): Likewise.
21686         (start_sequence): Use xmalloc to allocate the sequence_stack.
21687         (end_sequence): Add free to free it.
21688         (gen_sequence): Don't cache insns when GC'ing.
21689         (clear_emit_caches): Don't use sequence_element_free_list.
21690         (init_emit): Use xcalloc, not xmalloc+bzero.
21691         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
21692         * function.c (pop_function_context_from): Use free to free the
21693         fixup_var_refs_queue.
21694         (put_reg_into_stack): Allocate it with xmalloc.
21695         * genattrtab.c: Include ggc.h.
21696         (operate_exp): Don't use obstack_free when GC'ing.
21697         (simplify_cond): Likewise.
21698         (simplify_text_exp): Likewise.
21699         (optimize_attrs): Likewise.
21700         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
21701         GC'ing.
21702         (gencode): Generate a #include for ggc.h.
21703         * ggc-callbacks.c (ggc_p): Define it to zero.
21704         * ggc-none.c (ggc_p): Likewise.
21705         * ggc-simple.c: Include varray.h.
21706         (ggc_mark_tree_varray): New function.
21707         (ggc_add_tree_varray_root): Likewise.
21708         (ggc_mark_tree_varray_ptr): Likewise.
21709         * ggc.h (ggc_p): Declare.
21710         (varray_head_tag): Likewise.
21711         (ggc_add_tree_varray_root): Declare.
21712         * print-tree.c (print_node): Don't check for TREE_PERMANENT
21713         inconsistencies when GC'ing.
21714         * rtl.c: Include ggc.h.
21715         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
21716         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
21717         (rtx_free): Don't call obstack_free when GC'ing.
21718         * toplev.c (rest_of_compilation): Call ggc_collect after every
21719         pass, if GC'ing.
21720         * tree.c (push_obstacks): Do nothing, if GC'ing.
21721         (pop_obstacks_nochange): Likewise.
21722         (pop_obstacks): Likewise.
21723         (make_node): Use ggc_alloc_tree when GC'ing.
21724         (copy_node): Likewise.
21725         (get_identifier): Use ggc_alloc_string when GC'ing.
21726         (build_string): Likewise.
21727         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
21728         (tree_cons): Likewise.
21729         (build1): Likewise.
21730         (type_hash_canon): Don't call obstack_free when GC'ing.
21731
21732 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
21733
21734         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
21735         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
21736
21737 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
21738                           Bernd Schmidt <bernds@cygnus.co.uk>
21739                           Mark Mitchell  <mark@codesourcery.com>
21740
21741         * Makefile.in (stor-layout.o): Depend on ggc.h.
21742         (expr.o): Depend on ggc.h.
21743         (profile.o): Depend on ggc.h.
21744         (stor-layout.o): Depend on ggc.h.
21745         * emit-rtl.c (init_emit_once): Add gc roots.
21746         * expr.c: Include ggc.h.
21747         (emit_block_move): Add gc roots.
21748         (clear_storage): Likewise.
21749         * expr.h (init_stor_layout_once): New function.
21750         * profile.c: Include ggc.h.
21751         (init_arc_profiler): profiler_label is a root.
21752         * scan.c (make_sstring_space): Trust xrealloc to function
21753         correctly with first parameter NULL.
21754         * stor-layout.c: Include ggc.h.
21755         (set_sizetype): Add gc root.
21756         (init_stor_layout_once): New function.
21757         * toplev.c (compile_file): Call it.
21758
21759 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
21760                           Bernd Schmidt <bernds@cygnus.co.uk>
21761                           Mark Mitchell  <mark@codesourcery.com>
21762
21763         * Makefile.in (tree.o): Depend on ggc.h.
21764         (varasm.o): Likewise.
21765         (function.o): Likewise.
21766         (stmt.o): Likewise.
21767         (except.o): Likewise.
21768         (optabs.o): Likewise.
21769         (emit-rtl.o): Likewise.
21770         * emit-rtl.c: Include ggc.h.
21771         (sequence_element_free_list): Remove, and all references.
21772         (mark_sequence): New functions.
21773         (mark_emit_state): New function.
21774         * except.c: Include ggc.h.
21775         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
21776         (mark_tree_label_node): New functions.
21777         (mark_eh_state): New function.
21778         * function.c: Include ggc.h.
21779         (mark_temp_slot, mark_function_chain): New functions.
21780         (mark_function_state): New function.
21781         (init_function_once): New function.
21782         * function.h (init_function_once): New function.
21783         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
21784         * ggc.h (label_node): Declare.
21785         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
21786         (lang_mark_false_label_stack): New function.
21787         (mark_temp_slot): Remove declaration.
21788         (mark_function_chain): Likewise.
21789         (mark_eh_state): Adjust prototype.
21790         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
21791         Likewise.
21792         * optabs.c: Include ggc.h.
21793         (mark_optab): New function.
21794         (init_optabs): Add gc roots.
21795         * stmt.c: Include ggc.h.
21796         (mark_cond_nesting, mark_loop_nesting): New functions.
21797         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
21798         (mark_stmt_state): New function.
21799         * toplev.c (compile_file): Call init_function_once.
21800         * tree.c: Include ggc.h.
21801         (type_hash): Move declaration earlier in file.
21802         (TYPE_HASH_SIZE, type_hash_table): Likewise.
21803         (init_obstacks): Add gc roots.
21804         (mark_type_hash): New function.
21805         * varasm.c: Include ggc.h.
21806         (mark_pool_constant): New function.
21807         (mark_varasm_state): New function.
21808
21809 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21810
21811         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
21812
21813 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
21814
21815         * c-decl.c (struct language_function): Renamed from struct c_function.
21816         Delete elt NEXT.
21817         (c_function_chain): Delete.
21818         (push_c_function_context): New arg F.  Don't warn about nested
21819         functions here.  Fill LANGUAGE elt of F.  Delete code to update
21820         c_function_chain.  Don't call push_function_context.
21821         (pop_c_function_context): New arg F.  Restore from there instead of
21822         from c_function_chain.  Don't call pop_function_context.  Clear out
21823         LANGUAGE field of F when done.
21824         * c-lang.c: Include "function.h"
21825         (lang_init): Initialize save_lang_status and restore_lang_status.
21826         * c-parse.in (nested_function, nested_function_notype): Warn about
21827         nested functions.  Call push_function_context/pop_function_context
21828         instead of the _c_ variants.
21829         * c-tree.h (push_c_function_context, pop_c_function_context): Update
21830         prototype.
21831         * Makefile.in (c-lang.o): Update dependencies.
21832
21833         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
21834         regno_pointer_flag, regno_pointer_align.
21835         (gen_reg_rtx): Use xrealloc to enlarge them.
21836         (free_emit_status): New function.
21837         * function.c (mark_machine_status, mark_lang_status): New variables.
21838         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
21839         in some bits from assign_stack_local.  All callers changed to use new
21840         name.
21841         (assign_stack_local): Just call assign_stack_local_1.
21842         (free_after_compilation): New function.
21843         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
21844         (trampoline_address): Likewise.
21845         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
21846         (prepare_function_start): Explicitly clear some more variables.
21847         * function.h (struct function): New elt can_garbage_collect.
21848         (mark_machine_status, mark_lang_status): Declare variables.
21849         (free_after_compilation, free_emit_status, free_varasm_status,
21850         init_varasm_status): Declare functions.
21851         * toplev.c (rest_of_compilation): Call free_after_compilation when
21852         done with the current function.
21853         * varasm.c (free_varasm_status): New function.
21854
21855 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
21856
21857         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
21858         (EXPAND_BUILTIN_VA_ARG): Define.
21859         * sparc.c (sparc_va_start): New.
21860         (sparc_va_arg): New.
21861
21862 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21863
21864         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
21865
21866 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21867
21868         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
21869
21870 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
21871
21872         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
21873         (OBJS): Add $(GGC).
21874         (ggc-callbacks.o): New target.
21875         * ggc-callbacks.c: New file.
21876
21877 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21878
21879         * expr.h: Collapse individual optab and libfunc vars to arrays.
21880         (optab_index, libfunc_index): New enumerations.
21881         (optab_table, libfunc_table): New arrays.
21882         Add accessor macros for both.
21883
21884         * optabs.c (optab_table, libfunc_table): New.
21885         Delete declarations for individual optab and libfunc vars.
21886
21887 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
21888
21889         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
21890
21891 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
21892
21893         * Makefile.in (GGC, GGC_LIB): New.
21894         (HOST_RTL): Include ggc-none.o.
21895         (ggc-simple.o): New target.
21896         (ggc-none.o): Likewise.
21897         * tree.h (tree_common): Add gc_mark.
21898         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
21899         (struct rtvec_def): Add gc_mark.
21900         * emit-rtl.c (global_rtl): Update static initializers to contain
21901         enough initializers.
21902         * ggc.h, ggc-none.c, ggc-simple.c: New files.
21903         * toplev.c (gc_time): New variable.
21904         (all_time): New variable.
21905         (compile_file): Print gc time.
21906         (print_time): Calculate percentage of the whole.
21907
21908 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21909
21910         Change obstack memory management and varasm constant pool handling so
21911         that nested functions are treated like any other functions.
21912         * function.c (init_machine_status): New variable.
21913         (push_function_context_to): Set contains_functions for the outer
21914         function.  Don't call save_varasm_status.
21915         (pop_function_context_from): Don't call restore_varasm_status.  Don't
21916         set current_function_contains_functions.
21917         (prepare_function_start): Call init_varasm_status rather than
21918         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
21919         is non-null.
21920         * function.h (struct function) Add field varasm.  Delete fields
21921         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
21922         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
21923         (init_machine_status): Declare.
21924         (save_varasm_status, restore_varasm_status): Delete declarations.
21925         (save_tree_status, restore_tree_status): Delete last argument.
21926         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
21927         code.  All callers changed.
21928         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
21929         save_constants_in_decl_trees, restore_constants, save_constants,
21930         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
21931         functions.
21932         (inlining): New variable.
21933         (reg_map, label_map, insn_map, orig_asm_operands_vector,
21934         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
21935         variables.
21936         (save_for_inline_nocopy): Don't save constants.
21937         Don't set inl_emit field in current_function.
21938         (expand_inline_function): Use emit field, not inl_emit, of the inlined
21939         function.  Set new variable inlining before
21940         calling copy_rtx_and_substitute.
21941         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
21942         constant pool references if inlining is nonzero.
21943         Delete ADDRESS and (most of the) CONST cases.
21944         (output_inline_function): Save and restore current_function/
21945         current_function_decl.  Delete restore_constants code.  Don't call
21946         init_const_rtx_hash_table.
21947         * output.h (init_const_rtx_hash_table): Don't declare.
21948         * rtl.h (struct function): Declare.
21949         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
21950         * toplev.c (rest_of_compilation): Don't treat nested functions or
21951         functions containing them specially.  Delete all code to deal with
21952         save_for_inline_copying.
21953         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
21954         inline_obstacks): Delete variables.
21955         (save_tree_status): Lose arg CONTEXT.  All callers changed.
21956         Simply allocate a new function_maybepermanent_obstack for the new
21957         function, delete all the special cases.
21958         Don't save inline_obstacks.
21959         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
21960         Delete special handling for function_maybepermanent_obstack; simply
21961         free it if empty.
21962         Don't restore inline_obstacks.
21963         (permanent_allocation):  Delete code that frees inline_obstacks.
21964         (print_inline_obstack_statistics): Delete function.
21965         (dump_tree_statistics): Don't call it.
21966         * varasm.c (struct varasm_status): New.
21967         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
21968         last_pool, pool_offset, const_double_chain): Delete global
21969         variables, replace with accessor macros.
21970         (immed_double_const): Don't walk const_double_chain outside a
21971         function, but don't treat nested functions specially anymore.
21972         (immed_real_const_1): Likewise.
21973         (clear_const_double_mem): Don't treat nested functions specially.
21974         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
21975         (save_varasm_status, restore_varasm_status): Delete functions.
21976         (init_varasm_status): New function.
21977         (force_const_mem): Don't treat nested functions specially.
21978         (find_pool_constant): Accept new arg F, search for constants in
21979         that function's pool rather than the current one.  All callers
21980         changed.
21981         (get_pool_constant_for_function, get_pool_mode_for_function): New
21982         functions.
21983
21984         * i386.c (init_386_machine_status): New function, mostly from
21985         clear_386_stack_locals.
21986         (struct machine_functions): Rename element names to avoid name
21987         clashes.
21988         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
21989         macros, replacing global variables.
21990         (clear_386_stack_locals, save_386_machine_status,
21991         restore_386_machine_status): Delete functions.
21992         (override_options): Initialize init_machine_status.
21993         * i386.h (INIT_EXPANDERS): Delete macro.
21994         (save_386_machine_status, restore_386_machine_status,
21995         clear_386_stack_locals): Delete declarations.
21996
21997 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21998
21999         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
22000         (doloop_begin):  Simplify pattern and use emit_jump_insn.
22001         (doloop_end): Simplify pattern, switch operand order,
22002         and use emit_jump_insn.
22003
22004 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
22005
22006         * function.h (struct function): Add new element LANGUAGE.
22007         (save_lang_status): Declare new variable.
22008         (restore_lang_status): Likewise.
22009         * function.c (save_lang_status): Define.
22010         (restore_lang_status): Likewise.
22011         (push_function_context_to): Call language-specific save function.
22012         (pop_function_context_from): Call language-specific restore function.
22013
22014 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
22015
22016         * i386.md (movsf_1): Check REG_P before use of REGNO.
22017         (movdf_1): Likewise.
22018         (movxf_1): Likewise.
22019         (extendsfdf2): Likewise.
22020         (extendsfxf2): Likewise.
22021         (extenddfxf2): Likewise.
22022
22023 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22024
22025         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
22026         constants into memory.
22027         (c4x_shiftable_constant): New function.
22028         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
22029         (c4x_shiftable_constant): Declare.
22030         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
22031         ashlqi3_noclobber): Add new patterns and associated splitters.
22032
22033 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
22034
22035         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
22036         * dwarf2out.c (dwarf2out_frame_init): Likewise.
22037         * final.c (shorten_branches): Likewise.
22038         * global.c (global_alloc): Likewise.
22039         * haifa-sched.c (build_control_flow): Likewise.
22040         * stmt.c (check_for_full_enumeration_handling): Likewise.
22041         (estimate_case_costs): Likewise.
22042
22043 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
22044
22045         * rtl.h (RTL_CHECKC2): Fix typo in last change.
22046
22047 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
22048
22049         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
22050         (recompute_reg_usage): Likewise.
22051         * rtlanal.c (find_regno_fusage): Likewise.
22052
22053         * rtl.c (rtl_check_failed_code1): New function.
22054         (rtl_check_failed_code2): New.
22055         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
22056         (RTL_CHECKC1, RTL_CHECKC2): New.
22057         (XC*): New accessor macros.
22058         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
22059         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
22060         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
22061         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
22062         (TRAP_*, RANGE_INFO_*): Likewise.
22063
22064 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22065
22066         * Makefile.in (tlink.o): Don't depend on toplev.h.
22067
22068         * collect2.c (c_file, o_file, export_file, import_file, ldout,
22069         output_file, nm_file_name, ldd_file_name, strip_file_name,
22070         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
22071         add_prefix, prefix_from_env, prefix_from_string, do_wait,
22072         fork_execute, maybe_unlink, add_to_list,
22073         extract_init_priority, write_list, dump_list,
22074         dump_prefix_list, write_list_with_asm, write_c_file,
22075         write_c_file_stat, write_c_file_glob, scan_prog_file,
22076         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
22077         ignore_library, extract_string, notice, dump_file, target_machine,
22078         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
22079         read_file, print_load_command): Constify a char*.
22080         (fdopen, error, fatal, fatal_perror): Don't prototype.
22081         (my_strerror): Remove.  All callers use xstrerror instead.
22082         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
22083         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
22084         to xcalloc/strcpy/strcat/...  to one call to concat.
22085         (main, scan_prog_file, scan_libraries): Use an intermediate
22086         `const char **' to build an argv array.
22087         (mapfile, libselect, libcompare, locatelib): Add prototypes.
22088
22089         * collect2.h (collect_execute, collect_wait, dump_file,
22090         file_exists): Constify a char*.
22091         (ldout, c_file_name, temporary_obstack, permanent_obstack,
22092         temporary_firstobj, vflag, debug): Add extern declarations.
22093         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
22094
22095         * tlink.c: Don't include toplev.h.
22096         (vflag, debug, ldout, c_file_name, temporary_obstack,
22097         permanent_obstack, temporary_firstobj): Don't declare.
22098         (tlink_execute, frob_extension, symbol_hash_lookup,
22099         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
22100         recompile_files, read_repo_files, demangle_new_symbols,
22101         scan_linker_output): Constify a char*.
22102         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
22103         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
22104
22105 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
22106
22107         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
22108         (relative) rather than jsr (absolute) subroutine call insns.
22109         * config/m68k/m68k-coff.h: Ditto.
22110
22111 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
22112
22113         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
22114         now rework these too.
22115         (arm_reorg): If an insn can't reach the end of the current pool,
22116         ensure that we emit that pool before the insn.
22117
22118 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
22119
22120         * tlink.c (scan_linker_output): Skip the initial underscore in
22121         a mangled name if appropriate.
22122
22123 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22124
22125         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
22126         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
22127         error_with_ivar, gen_declarator, create_builtin_decl,
22128         my_build_string, generate_descriptor_table, generate_ivars_list,
22129         generate_dispatch_table, check_protocols, TAG_GETCLASS,
22130         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
22131         dump_base_name, lang_decode_option, build_encode_expr,
22132         start_class, finish_class, encode_pointer, really_start_method,
22133         gen_declaration, dump_interface, handle_class_ref, handle_impent):
22134         Constify.
22135         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
22136         Add static prototypes.
22137         (build_objc_string_decl, build_selector_reference_decl,
22138         encode_bitfield, build_class_reference_decl): Remove unused
22139         parameter, all callers changed.
22140         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
22141         (objc_printable_name): Likewise.  Change second parameter to type int.
22142         (init_objc): Use memcpy, not bcopy, to avoid casts.
22143
22144 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
22145
22146         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
22147         reg notes on a deleted insn.
22148         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
22149
22150 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
22151
22152         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
22153
22154 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22155
22156         * stmt.c (expand_asm_operands): Fix index into inout_mode when
22157         reading it.
22158
22159 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
22160
22161         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
22162         * tm.texi (MD_ASM_CLOBBERS): Document it.
22163
22164 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
22165
22166         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
22167         * except.c (expand_rethrow): Remove unused variable.
22168         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
22169         * flow.c (replace_insns): Likewise.
22170         (create_edge_list, verify_edge_list): Likewise.
22171         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
22172
22173         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
22174         is special code to run.
22175         (main): Don't define operands to emit_operand.
22176         * genrecog.c (main): Don't emit an empty peephole2_insn function.
22177
22178         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
22179
22180         * alpha/alpha.h (normal_memory_operand): Declare.
22181         (reg_no_subreg_operand): Declare.
22182         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
22183
22184 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
22185
22186         * c-parse.in (compstmt_primary_start): New, broken out of first
22187         part of compstmt handling in primary.
22188         (primary): Use it.  Add an error clause.
22189         (compstmt_nostart): Renamed from compstmt; remove all
22190         initial invocations of compstmt_start.
22191         (compstmt): New.
22192
22193 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
22194
22195         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
22196         needed.
22197
22198 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
22199
22200         * combine.c (simplify_shift_const): Remove extra semicolon.
22201         * dwarf2out.c (remove_AT): Likewise.
22202         * expmed.c (expand_mult): Likewise.
22203         * gcov.c (create_program_flow_graph): Likewise.
22204         * reorg.c (mostly_true_jump): Likewise.
22205
22206 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
22207
22208         * fold-const.c (fold_range_test): Do not try to fold the range
22209         test if the rhs or lhs has side effects.
22210
22211         * combine.c (simplify_rtx): Recognize another case of a synthesized
22212         sign extension.
22213
22214         * varasm.c (mark_constant_pool): When marking indirect references,
22215         only look at SYMBOL_REFs.
22216
22217         * except.c (expand_fixup_region_end): Do not peek at
22218         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
22219
22220 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
22221
22222         * flags.h: New variables align_loops, align_loops_log,
22223         align_jumps, align_jumps_log, align_labels, align_labels_log,
22224         align_functions, align_functions_log.
22225         * toplev.c: Define them.
22226         (f_options): Handle -falign-* when they have no argument.
22227         (main): Add logic to set variables for -falign-functions,
22228         -falign-jumps, -falign-labels, -falign-loops.
22229         Make it -fsched-verbose=<n> and -finline-limit=<n>.
22230         (display_help): Change help to match options.
22231         * final.c (LABEL_ALIGN): Default to align_labels_log.
22232         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
22233         (LOOP_ALIGN): Default to align_loops_log.
22234         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
22235         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
22236         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
22237         * varasm.c (assemble_start_function): Handle align_functions.
22238
22239         * config/sparc/sparc.h: Don't declare sparc_align_*.
22240         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
22241         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
22242         sparc.c.
22243         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
22244         it's a promise.
22245         * config/sparc/sparc.c: Delete sparc_align_loops,
22246         sparc_align_jumps, sparc_align_funcs and the corresponding string
22247         variables.
22248         (sparc_override_options): Default align_functions on ultrasparc.
22249         Delete -malign-* handling.
22250
22251         * config/mips/mips.c (override_options):  On 64-bit targets,
22252         try to align code to 64-bit boundaries.
22253         (print_operand): New substitution, %~,
22254         which aligns labels to align_labels_log.
22255         * config/mips/mips.md (div_trap_normal): Use %~.
22256         (div_trap_mips16): Likewise.
22257         (abssi): Likewise.
22258         (absdi2): Likewise.
22259         (ffssi2): Likewise.
22260         (ffsdi2): Likewise.
22261         (ashldi3_internal): Likewise.
22262         (ashrdi3_internal): Likewise.
22263         (lshrdi3_internal): Likewise.
22264         (casesi_internal): Likewise.
22265
22266 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
22267
22268         Merge new ia32 backend from the branch!
22269
22270         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
22271         See ChangeLog.P2 on new_ia32_branch for details.
22272
22273         * rtl.h (stack_regs_mentioned_p): Delete prototype.
22274         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
22275         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
22276         * i386/gas.h (ASM_FILE_START): Define.
22277         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
22278         for name change of ix86_valid_decl_attribute_p.
22279         (i386_pe_valid_type_attribute_p): Similarly.
22280
22281 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
22282
22283         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
22284         to step through CC modes.
22285
22286 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22287
22288         * regmove.c (fixup_match_1): Don't move INSN in front of P if
22289         it would end up in the shadow of a live flags regsiter.
22290
22291 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22292
22293         * reload1.c: Fix many indentation problems.
22294         * reload.c: Likewise.
22295
22296 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
22297
22298         * alias.c (non_local_reference_p): Constify fmt.
22299
22300 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
22301
22302         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
22303
22304 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
22305
22306         * cse.c (delete_trivially_dead_insns): Do not delete stores to
22307         the internal_arg_pointer.
22308
22309 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
22310
22311         Merge peephole2 from new_ia32_branch:
22312         * Makefile.in (STAGESTUFF): Add *.peephole2.
22313         (mostlyclean): Likewise.
22314         (recog.o): Depend on resource.h.
22315
22316         * final.c (peephole): Conditionalize decl on HAVE_peephole.
22317         (final_scan_insn): Likewise for the invocation of peephole.
22318         * genconfig.c (main): Look for peephole and peephole2 patterns.
22319         Emit HAVE_peephole* accordingly.
22320         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
22321         * flags.h (flag_peephole2): Declare.
22322         * toplev.c: New pass peephole2.  New flag -fpeephole2.
22323
22324         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
22325         * gencodes.c (main): Likewise.
22326         * genextract.c (main): Likewise.
22327         * genoutput.c (main): Likewise.
22328         * genemit.c (max_operand_1): Look for the max scratch operand.
22329         (gen_rtx_scratch): New.
22330         (gen_exp): Use it, and pass on new arg subroutine_type.
22331         (gen_expand): Take max scratch into account.
22332         (gen_split): Emit peephole2 functions.
22333         (output_peephole2_scratch): New.
22334         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
22335         * genrecog.c (routine_type): Add PEEPHOLE2.
22336         (IS_SPLIT): New.
22337         (make_insn_sequence): Match outer parallel for peep2.  Discard
22338         top level scratches and dups.
22339         (add_to_sequence): New args insn_type and top.  Update all callers.
22340         Handle toplevel peep2 matching insns.
22341         (write_subroutine): Handle peep2.
22342         (write_tree_1): Likewise.
22343         (write_tree): Likewise.
22344         (main): Likewise.
22345         (change_state): New arg afterward.  Update all callers.
22346         Handle matching separate insns.
22347         * recog.c (recog_next_insn): New.
22348         (peephole2_optimize): New.
22349         * rtl.def (DEFINE_PEEPHOLE2): New.
22350         * resource.c (find_free_register): New argument last_insn.  Use it
22351         to find a register available through the entire span.
22352         * resource.h (find_free_register): Update prototype.
22353
22354 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
22355
22356         * i386.c (output_strlen_unroll): Don't write xops[7]
22357         label if it wasn't set.
22358
22359 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
22360
22361         * cpplib.c (struct directive): Const-ify name pointer and
22362         function pointer prototype.
22363         (validate_else, do_define, do_line, do_include, do_undef,
22364         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
22365         do_elif, do_endif, do_sccs, do_assert, do_unassert,
22366         do_warning): Const-ify second arg.
22367         (directive_table): Mark const.  Reorder entries by frequency
22368         of usage, record statistics.
22369
22370 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
22371
22372         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
22373         bounds- check RTL accesses if --enable-checking.
22374         (RTVEC_ELT): Bounds check if --enable-checking.
22375         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
22376         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
22377         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
22378         GET_NUM_ELEM.
22379         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
22380         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
22381
22382         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
22383         (NOTE_SOURCE_FILE): Use X0STR.
22384         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
22385         MEM_ALIAS_SET): Use X0INT.
22386         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
22387         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
22388         Use X0EXP.
22389         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
22390         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
22391         (rtl_check_failed_bounds, rtl_check_failed_type1,
22392         rtl_check_failed_type2, rtvec_check_failed_bounds): New
22393         functions.
22394         (fancy_abort): Fix comment.
22395
22396         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
22397         (cse_insn): Decrement LABEL_NUSES for jump target before
22398         deleting jump insn.
22399         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
22400         * final.c (alter_subreg): Compute regno before changing x to
22401         REG; set REGNO(x) after changing it.
22402         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
22403         notes containing CONST_INTs.
22404         (delete_eh_regions): Use NOTE_EH_HANDLER.
22405         * function.c (put_reg_into_stack): Make reg a MEM before
22406         initializing it.
22407         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
22408         delete insn.
22409         (gen_mem_addressof): Make reg a MEM before initializing it.
22410         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
22411         X0WINT.
22412         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
22413         deleting an insn, not after.
22414         (block_alloc): Only look at PATTERN(insn) if we have to, and
22415         only if it's format class 'i'.
22416         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
22417         CONST_INT before using its INTVAL.
22418         * print-rtl.c (print_rtx): Use X0STR.
22419         * regmove.c (fixup_match_1): Don't look at PATTERN of
22420         non-class-'i' insn chain elements.
22421         * reload.c (loc_mentioned_in_p): Take address of
22422         in->fld[1].rtx directly.
22423         * reload1.c (reload): Change reg to a MEM before initializing
22424         it.
22425         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
22426         have no names.
22427         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
22428
22429 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
22430
22431         * config/mips/mips.c (machine_dependent_reorg): Force a
22432         barrier to output the local constant pool if a barrier hasn't
22433         been found at a natural point in the instruction stream.
22434
22435 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22436
22437         * c-parse.in (language_string): Constify.
22438
22439         * dwarf2out.c (language_string): Remove declaration.
22440
22441         * dwarfout.c (language_string): Likewise.
22442
22443         * toplev.c (language_string, init_parse, finish_parse): Likewise.
22444
22445         * tree.h (language_string, init_parse, finish_parse): Declare.
22446
22447         * i386/sun386.h (language_string): Remove declaration.
22448
22449         * mips.h (language_string): Likewise.
22450
22451         * nextstep.h (language_string): Likewise.
22452
22453         * nextstep21.h (language_string): Likewise.
22454
22455         * rs6000.c (language_string): Likewise.
22456
22457 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22458
22459         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
22460         (getpwd.o): Remove target.
22461
22462         * getpwd.c: Delete file.  Its in libiberty now.
22463
22464         * dbxout.c (getpwd): Don't prototype.
22465         * dwarf2out.c (getpwd): Likewise
22466         * dwarfout.c (getpwd): Likewise
22467         * final.c (getpwd): Likewise.
22468         * protoize.c (getpwd): Likewise.
22469
22470 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22471
22472         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
22473
22474 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
22475
22476         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
22477         mark_set_resources.
22478
22479 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
22480
22481         * fixinc/Makefile.in (subdir): New.
22482         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
22483         (Makefile): New.
22484
22485 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
22486
22487         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
22488         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
22489         be shared.
22490
22491         * invoke.texi: Fix typo.
22492
22493         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
22494         changed.  Handle autoincrement addressing modes.
22495
22496         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
22497         just like we would the virtual incoming args register when
22498         integrating.
22499
22500 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
22501
22502         * rs6000.h (ASM_FILE_START): Specify complete filename, including
22503         path, in .file directive.
22504
22505 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
22506
22507         * gcc.texi (External Bugs): Remove obsolete note about Perl on
22508         SunOS.
22509
22510 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
22511
22512         * stdbool.h: Make the typedef name _Bool, with bool a #defined
22513         alias.
22514
22515 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22516
22517         * tree.c (tree_code_name): Constify a char*.
22518
22519         * tree.h (tree_code_name, decl_printable_name): Likewise.
22520
22521         * function.h (struct function): Likewise.
22522
22523         * toplev.c (decl_name, decl_printable_name): Likewise.
22524
22525         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
22526
22527         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
22528         (init_objc): Remove function pointer cast.
22529
22530 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
22531
22532         * pa.md (interspace_jump): New pattern.
22533         (builtin_longjmp): New expander.
22534
22535 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
22536
22537         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
22538         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
22539         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
22540
22541 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
22542
22543         * jump.c (delete_prior_computation): Also check calls
22544         to constant functions.  Don't bother checking for a
22545         REG_UNUSED note before adding it.
22546         (delete_computation): Handle multi-word hard registers
22547         when synthesizing missing REG_DEAD notes for a register
22548         which is both set and used by an insn.
22549
22550 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22551
22552         * loop.c (this_loop_info): New variable.
22553         (loop_has_call, loop_has_volatile, loop_has_tablejump,
22554         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
22555         All uses updated.
22556         (prescan_loop, strength_reduce): New argument loop_info.  All callers
22557         updated.
22558         (scan_loop): New variable loop_info, initialise to address of
22559         this_loop_info.
22560         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
22561         Delete variable loop_has_multiple_exit targets and replace with
22562         field in this_loop_info.
22563         (find_and_verify_loops): Rename this_loop to this_loop_num.
22564         (strength_reduce): Delete loop_iteration_info.  Replace variable
22565         loop_info with function argument of same name.
22566         (insert_bct): Rework test for loop being completely unrolled.
22567
22568         * loop.h (struct loop_info): New fields num, loops_enclosed,
22569         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
22570         has_indirect_jump, and cont.  Redefine use of unroll_number.
22571         (loop_unroll_number): Delete.
22572
22573         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
22574         field of loop_info.
22575         (loop_iterations): Delete variable vtop and instead use
22576         loop_info->vtop computed in prescan_loop.
22577
22578 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
22579
22580         * fix-header.c (main): Do not pass a null pointer to strcmp.
22581
22582 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
22583
22584         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
22585         filenames.
22586         * configure: Rebuilt.
22587
22588 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
22589
22590         * jump.c (jump_optimize_1): Do not delete assignments to
22591         internal_arg_pointer.
22592         * cse.c (delete_trivially_dead_insns): Always consider a set of
22593         the internal_arg_pointer live.
22594
22595 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
22596
22597         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
22598         (update_life_info) [REG_WAS_0]: Search the original insns rather
22599         than the new insns for the note.  Fix typos finding note_dest.
22600         If no dest found, discard the note rather than abort.
22601         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
22602         (replace_insns): Remove the old insn list after update_life_info
22603         not before.
22604
22605 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
22606
22607         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
22608         sched_analyze_insn.
22609         (sched_analyze_1): Let add_dependence care for not adding dups.
22610         (sched_analyze_2): Likewise.
22611         (add_branch_dependences): Likewise.
22612
22613 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22614
22615         * i386/winnt.c (export_list): New type.
22616         (exports_head): Rename to
22617         (export_head):  this.
22618         (i386_pe_record_exported_symbol): Add is_data flag.
22619         (i386_pe_asm_file_end): Emit directive for exported variables.
22620         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
22621         prototype.
22622         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
22623         (ASM_DECLARE_OBJECT_NAME): Likewise.
22624         (ASM_DECLARE_FUNCTION_NAME): Likewise.
22625         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
22626
22627 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
22628
22629         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
22630
22631         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
22632         operand.
22633
22634 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
22635
22636         * config/openbsd.h: Define SET_ASM_OP.
22637         * tm.texi: cross-reference SET_ASM_OP in the index.
22638
22639 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
22640
22641         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
22642         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
22643         and class_narrowest_mode at compile time.  Kill init_rtl.
22644         Mark rtx_length, mode_class, mode_size, mode_unit_size,
22645         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
22646         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
22647         EXTRA_CC_NAMES.
22648         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
22649         format.
22650         * rtl.h: Declare rtx_length and rtx_format as const.
22651         * machmode.def: Define CC().  Use CC() to define CCmode.  If
22652         EXTRA_CC_MODES is defined, expand it here.
22653         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
22654         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
22655         const.  Kill all references to EXTRA_CC_MODES.
22656
22657         * toplev.c: Don't prototype or call init_rtl.
22658         * optabs.c: Don't call init_mov_optab.
22659         * genemit.c: Don't generate init_mov_optab.  Don't call
22660         init_rtl.
22661         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
22662         here.
22663         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
22664         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
22665         genrecog.c: Don't call init_rtl.
22666
22667         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
22668         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
22669         definition of EXTRA_CC_MODES.
22670
22671         * md.texi: Kill ref to EXTRA_CC_NAMES.
22672         * tm.texi: Document new way to define EXTRA_CC_MODES.
22673
22674         * genrecog.c: Do not look up the name of a define_split.
22675         (Unrelated bugfix.)
22676
22677 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
22678
22679         * config/v850/v850.md: Fix typo introduced by previous delta.
22680
22681 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22682
22683         * gcc.c (fatal): Make definition static to match prototype.
22684
22685 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22686
22687         * combine.c (get_last_value): Don't look for earlier sets if the last
22688         known set is somewhere in between the insns being combined.
22689
22690 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
22691
22692         * configure.in: Don't use shell ! to negate exit codes
22693         * configure: Regenerate
22694
22695 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
22696
22697         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
22698         the fact that ALIGN is measured in bits, not bytes.
22699
22700 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
22701
22702         * errors.c: New file; defines functions error, warning, and
22703         fatal, variables have_error and progname.
22704         * errors.h: New file; prototypes and decls for stuff in errors.c.
22705
22706         * Makefile: Add rules to build errors.o and
22707         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
22708         genopinit, genrecog, genextract, genpeep, genattr, and
22709         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
22710         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
22711         genpeep.o, genattr.o, and genoutput.o.
22712
22713         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
22714         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
22715         define or prototype fatal.  Set progname at beginning of main.
22716         * genoutput.c:  Likewise, and don't define or prototype error
22717         either.
22718
22719         * c-typeck.c (c_expand_start_case): Return immediately if exp
22720         is an ERROR_MARK.
22721         * fold-const.c (operand_equal_p): Return immediately if arg1
22722         or arg0 are ERROR_MARKs.
22723         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
22724         fields of type ERROR_MARK when calculating if the record can
22725         go in a register.
22726
22727 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
22728         with much help from Jeffrey A Law and Richard Henderson
22729
22730         * i386.md: In the 6 insns which call output_fix_trunc,
22731         earlyclobber operands[0].
22732
22733 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
22734
22735         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
22736         creating new registers.
22737
22738 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
22739
22740         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
22741         i386_reg_alloc_order, i386_regparm_string,
22742         i386_align_loops_string, i386_align_jumps_string,
22743         i386_align_funcs_string, i386_preferred_stack_boundary_string,
22744         and i386_branch_cost_string as type "const char *".
22745         * i386.c: Define all above strings as type "const char *".
22746
22747 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
22748
22749         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
22750         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
22751
22752 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
22753
22754         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
22755         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
22756
22757 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
22758
22759         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
22760         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
22761         (dwarf2out_line, dwarf2out_finish): Likewise.
22762         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
22763
22764 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22765
22766         * tree.c (lang_unsave_expr_now) : Correct return type.
22767         * tree.h (lang_unsave_expr_now) : Same.
22768
22769 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
22770
22771         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
22772         instead of duplicating code.
22773
22774 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22775
22776         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
22777
22778 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
22779
22780         * tree.h: fancy_abort always takes three args.
22781         * resource.c: Move include of system.h before toplev.h.
22782
22783 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
22784
22785         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
22786         as SYMBOL_REFs.
22787
22788 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
22789
22790         * system.h: Don't redefine abort or trim_filename.
22791         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
22792         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
22793         whether or not __FUNCTION__ is available.
22794         * tree.h: Duplicate rtl.h's definition of abort, for files
22795         that don't include rtl.h.  Delete all code to perform type
22796         checking with a compiler other than GCC.
22797         * varray.h: Delete all code to perform type checking with a
22798         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
22799         its arguments exactly once, using a statement expression.
22800         Adjust the VARRAY_<type> accessor macros to match.
22801         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
22802         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
22803         caller's location.  Define fatal_insn and fatal_insn_not_found
22804         as macros that use _fatal_insn and _fatal_insn_not_found.
22805         (fancy_abort, trim_filename): Kill prototypes.
22806
22807         * rtl.c (trim_filename): Move here from toplev.c.
22808         (fancy_abort): New function.
22809         (DIR_SEPARATOR): Provide default definition.
22810         * tree.c (tree_check_failed, tree_class_check_failed): Go
22811         through fancy_abort.
22812         (tree_check, tree_class_check, cst_or_constructor_check,
22813         expr_check): Delete.
22814         * varray.c (varray_check_failed): New function.
22815         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
22816         _fatal_insn and _fatal_insn_not_found.  Go through
22817         fancy_abort.
22818         (trim_filename, fancy_abort): Delete.
22819
22820         * builtins.c (expand_builtin_args_info): Report ICE with abort.
22821         * except.c (start_catch_handler): Report ICE with error/abort
22822         combo.
22823         * final.c (output_operand_lossage): Likewise.
22824         * flow.c (verify_flow_info): Likewise.
22825
22826         * gcc.c: Prototype fatal.
22827         * gengenrtl.c: Undef abort after including rtl.h not system.h.
22828         * genattr.c, genattrtab.c, genemit.c, genextract.c,
22829         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
22830         Don't define fancy_abort.
22831
22832 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
22833
22834         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
22835         canonization.
22836
22837 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
22838
22839         * m88k.h (VERSION_INFO2): Kill.
22840         (VERSION_STRING): Kill.
22841         (TM_RCS_ID): Kill.
22842         (VERSION_INFO1): Tidy.
22843         (TARGET_VERSION): Update.
22844         * m88k/dgux.h (VERSION_INFO2): Kill.
22845         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
22846         * m88k/luna.h (VERSION_INFO1): Tidy.
22847         * m88k/sysv4.h (VERSION_INFO1): Likewise.
22848         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
22849         (output_file_start): Adjust for death of VERSION_STRING.
22850
22851 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
22852
22853         * cpplib.c (detect_if_not_defined): New function.
22854         (do_if): Use it to detect potential once-only headers.
22855
22856 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
22857
22858         * c-common.c (combine_strings): Always set TREE_CONSTANT.
22859
22860 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22861
22862         * combine.c (nonzero_bits) : Allow single-ly set registers to be
22863         anywere in the function only if they are pseudos and set before
22864         being used (not live at the start of the function).
22865         (num_sign_bit_copies) : Same.
22866         (get_last_value_validate) : Same.
22867         (get_last_value) : Same.
22868
22869 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
22870
22871         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
22872         where N and M are constant and N is an integer multiple of M.
22873
22874 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22875
22876         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
22877         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
22878         sbitmap_union_of_preds): Add prototypes.
22879         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
22880         the intersection of successors with the new flow graph structures.
22881         (sbitmap_intersection_of_preds): New function to compute the
22882         intersection of predecessors with the new flow graph structures.
22883         (sbitmap_union_of_succs): New function to compute the union of
22884         successors with the new flow graph structures.
22885         (sbitmap_union_of_preds): New function to compute the union of
22886         predecessors with the new flow graph structures.
22887         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
22888         (expr_reaches_here_p): Use edge and basic_block structures instead
22889         of s_preds and s_succs.
22890         (compute_cprop_avinout): Use new sbitmap routines.
22891         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
22892         of s_preds and s_succs.
22893         * flow.c (compute_flow_dominators): Compute dominators using
22894         edges and basic blocks instead of s_preds and s_succs.
22895
22896 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22897
22898         * lists.c (unused_insn_list, unused_expr_list): New file for
22899         maintaining various types of lists. New statics for maintaining a
22900         cache of available INSN_LIST and EXPR_LIST nodes.
22901         (free_list): Static function for freeing a list of INSN/EXPR nodes.
22902         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
22903         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
22904         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
22905         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
22906         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
22907         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
22908         (free_INSN_LIST_node): Free an individual INSN_LIST node.
22909         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
22910         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
22911         (remove_dependence, free_pending_lists): Use new global routines.
22912         (flush_pending_lists, sched_analyze_insn): Use new global routines.
22913         (sched_analyze, compute_block_backward_dependences): Use new routines.
22914         (sched_analyze_1, sched_analyze_2): Use new routines.
22915         (schedule_insns): Use new global routines.
22916         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
22917         prototypes.
22918         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
22919         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
22920         prototypes.
22921         * toplev.c (rest_of_compilation): Initialize node cache.
22922         * Makefile.in (OBJS): Add lists.o to list of object files.
22923         (lists.o): Add dependancies.
22924
22925 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
22926
22927         * config/v850/v850.md: Fix compile time warning messages.
22928         * config/v850/v850.c: Fix compile time warning messages.
22929         * config/v850/v850.h: Fix compile time warning messages.
22930
22931 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22932
22933         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
22934         Remove unused prototype for `init_lengths'.
22935
22936 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22937
22938         * calls.c (emit_call_1): Mark parameter `stack_size' with
22939         ATTRIBUTE_UNUSED.
22940         (expand_call): Initialize variable `insn'.
22941         (emit_library_call): Likewise for variable `high_to_save'.
22942         (emit_library_call_value): Likewise.
22943         (store_one_arg): Likewise for variables `lower_bound' and
22944         `upper_bound'.
22945
22946         * combine.c (try_combine): Likewise for variables `i2_code_number'
22947         and `other_code_number'.
22948         (find_split_point): Likewise for variables `pos', `unsignedp' and
22949         `inner'.
22950         (simplify_if_then_else): Likewise for variables `op' and `c1'.
22951         (simplify_and_const_int): Remove unused variable `width'.
22952         (merge_outer_ops): Likewise.
22953
22954         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
22955         HOST_WIDE_INT' when comparing against one.
22956         (simplify_relational_operation): Likewise.
22957         (cse_insn): Initialize variables `src_eqv_volatile',
22958         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
22959
22960         * final.c (init_final): Constify parameter `filename'.
22961         (final_start_function): Mark parameter `optimize' with
22962         ATTRIBUTE_UNUSED.
22963         (profile_function): Likewise for parameters `first' and `optimize'.
22964         (output_source_line): Likewise for parameter `file'.
22965
22966         * integrate.c (subst_constants): Cast a value to `size_t' when
22967         comparing against one.
22968         (mark_stores): Initialize variable `mode'.  Cast a value to
22969         `size_t' when comparing against one.
22970
22971         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
22972
22973         * loop.c (move_movables): Initialize variable `first'.
22974         (strength_reduce): Likewise for variable `increment'.
22975         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
22976         value to `size_t' when comparing against one.
22977         (load_mems): Initialize variable `end_label'.
22978
22979         * output.h (init_final): Constify parameter.
22980
22981         * reload.c (decompose): Initialize variable `base'.
22982
22983         * reload1.c (reload): Likewise for variable `is_scalar'.
22984         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
22985         (choose_reload_regs): Initialize variable `mode'.
22986         (emit_reload_insns): Likewise for variable `store_insn'.
22987         (reload_cse_noop_set_p): Mark parameter `insn' with
22988         ATTRIBUTE_UNUSED.
22989         (reload_combine): Initialize variable `set'.
22990
22991         * unroll.c (unroll_loop): Likewise for variable `local_label'.
22992         (copy_loop_body): Cast a value to `size_t' when comparing against
22993         one.
22994
22995         * varasm.c (assemble_variable): Initialize variable `size_tree'.
22996         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
22997         (remove_from_pending_weak_list): Mark parameter `name' with
22998         ATTRIBUTE_UNUSED.
22999
23000 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23001
23002         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
23003         gcse dump file.
23004
23005 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
23006
23007         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
23008         (ASM_DECLARE_FUNCTION_NAME): Define.
23009         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
23010         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
23011         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
23012         not already defined.
23013
23014 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
23015
23016         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
23017         of n_popped when call/call_value are not defined.
23018
23019 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
23020
23021         * tm.texi: GNU CC -> GCC conversion.
23022         (CC1_SPEC): Indicate it is used for all language front ends.
23023
23024 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
23025
23026         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
23027         NOTE_INSN_EH_REGION_END correctly.
23028
23029 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
23030                           Jeff Law <law@cygnus.com>
23031
23032         * loop.c (strength_reduce): Automatically unroll loops if the
23033         unrolled loop size is smaller than the rolled loop size.
23034
23035         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
23036         and delete comment that code should be rewritten.
23037
23038 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
23039
23040         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
23041         as reachable.
23042
23043         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
23044
23045 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23046
23047         * fixinc/mkfixinc.sh: Don't fix uwin headers.
23048         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
23049         (LINK_SPEC): Add -u _main when building executables.
23050         (ASM_DECLARE_FUNCTION): Update from Cygwin.
23051         (ASM_FILE_END): Use the default for ix86-pe.
23052         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
23053
23054 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
23055
23056         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
23057         and ASM_CLOSE_PAREN are empty strings.
23058
23059 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
23060                           Geoffrey Keating <geoffk@cygnus.com>
23061
23062         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
23063         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
23064         (unprotoize.o): Ditto.
23065         (test-protoize-simple): Don't define STD_PROTO_DIR.
23066         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
23067         changes to make 'test-protoize-simple' pass.
23068         (STD_PROTO_DIR): Remove define.
23069         (STANDARD_EXEC_PREFIX): Supply default define.
23070         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
23071         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
23072         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
23073         (GET_ENV_PATH_LIST): New macro.
23074         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
23075         (do_processing): Initialize default_syscalls_dir using new
23076         macros.  Use it to initialize syscalls_absolute_filename.
23077
23078 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
23079
23080         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
23081         B into a register before emit_conditional_move.
23082
23083 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
23084
23085         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
23086         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
23087         multiplicand out of (+ (* a b) (* c d)).
23088
23089 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
23090                           Richard Henderson  <rth@cygnus.com>
23091
23092         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
23093         (new_insn_dead_notes): Likewise.
23094         (update_n_sets): Likewise.
23095         (update_flow_info): Move to flow.c, renamed to update_life_info;
23096         extend to handle multiple source insns.
23097         * flow.c: Include resource.h
23098         (unlink_insn_chain): New.
23099         (split_hard_reg_notes): New.
23100         (maybe_add_dead_note): New.
23101         (maybe_add_dead_note_use): New.
23102         (find_insn_with_note): New.
23103         (new_insn_dead_notes): New.
23104         (update_n_sets): New.
23105         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
23106         (maybe_remove_dead_notes): New.
23107         (update_life_info): New.
23108         (prepend_reg_notes): New.
23109         (replace_insns): New.
23110         * output.h (update_life_info): Declare.
23111         * recog.c (split_block_insns): Use update_life_info.
23112         * resource.c (find_free_register): Use reg_alloc_order, don't use
23113         fixed regs, make sure the mode is supported, don't use new regs.
23114         (reg_dead_p): New.
23115         * rtl.h (replace_insns): Declare.
23116
23117 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
23118
23119         * expr.c (expand_expr): Cope with COND_EXPRs with one
23120         non-returning branch.
23121
23122 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
23123
23124         * expr.c (store_expr): Always pass down the target, even when not
23125         doing CSE.
23126
23127 1999-08-24  Nick Clifton  <nickc@cygnus.com>
23128
23129         * configure.in: Define target_cpu_default for v850 targets.
23130         * configure: Regenerate
23131
23132         * config/v850/v850.h (TARGET_CPU_generic): Define.
23133         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
23134         addresses are 4 byte aligned.
23135
23136         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
23137         addresses.
23138
23139 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23140
23141         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
23142         (main): Add prototypes.
23143
23144         * genattrtab.c (substitute_address, write_const_num_delay_slots,
23145         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
23146         (write_attr_get): Emit prototypes along with function definition.
23147         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
23148         (write_complex_function): Emit static prototype along with
23149         function definition.
23150
23151         * genemit.c (gen_split): Emit prototypes along with function
23152         definition.
23153
23154         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
23155         Likewise for predicates and `insn_operand_predicate'.
23156         (process_template): Emit static prototype along with function
23157         definition.
23158
23159         * genrecog.c (make_insn_sequence): Constify a char*.  Add
23160         prototypes for get_split_*().
23161         (write_subroutine): Emit prototypes along with function
23162         definition.
23163
23164 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23165
23166         * gcse.c (find_avail_set): Follow chains of register-register copies.
23167         Use oprs_not_set_p to guarantee that the returned value can be
23168         substituted.
23169         (cprop_insn): Don't verify the return value of find_avail_set with
23170         oprs_not_set_p.
23171
23172         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
23173         (cprop_cc0_jump): New function.
23174         (cprop_insn): Break out new function cprop_jump and use it.
23175         Also use cprop_cc0_jump for machines with CC0.
23176         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
23177
23178         * tree.h (current_function_calls_setjmp,
23179         current_function_calls_longjmp): Delete declarations.
23180         * dsp16xx.c: Include "function.h".
23181         * elxsi.c: Likewise.
23182         * gmicro.c: Likewise.
23183         * h8300.c: Likewise.
23184         * i370.c: Likewise.
23185         * m32r.c: Likewise.
23186         * mn10200.c: Likewise.
23187         * mn10300.c: Likewise.
23188         * ns32k.c: Likewise.
23189         * spur.c: Likewise.
23190         * v850.c: Likewise.
23191
23192         * rtl.h (rtx_equal_function_value_matters): Declare.
23193         * toplev.c (rtx_equal_function_value_matters): Don't declare.
23194         * cse.c: Likewise.
23195         * function.c: Likewise.
23196         * emit-rtl.c: Likewise.
23197
23198 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
23199
23200         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
23201         call.
23202
23203 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
23204
23205         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
23206         exactly.
23207
23208 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
23209
23210         * cpp.texi: Add a node documenting macro varargs (copied
23211         from extend.texi).
23212
23213 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
23214
23215         * cppspec.c: Put a null pointer at the end of the new argv.
23216
23217 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
23218
23219         * configure.in: Remove code to select/de-select the haifa
23220         scheduler.  Every scheduled port gets haifa now.
23221         * configure: Rebuilt.
23222         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
23223         * sched.c Deleted.
23224         * Makefile.in: Corresponding changes.
23225
23226 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23227
23228         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
23229         All callers changed.
23230         (prepare_float_lib_cmp): Likewise.
23231         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
23232         * expr.h (emit_float_lib_cmp): Delete declaration.
23233         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
23234         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
23235         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
23236         specially.
23237         (cmptf): Now conditional on TARGET_HARD_QUAD.
23238
23239 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
23240
23241         * resource.c (mark_target_live_regs): Use
23242         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
23243
23244 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23245
23246         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
23247
23248         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
23249
23250         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
23251
23252 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23253
23254         * rtl.h (rtx_format): Constify a char*.
23255
23256         * rtl.c (rtx_format): Likewise.
23257         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
23258         (init_rtl): Use accessor macro, not `rtx_format'.
23259
23260         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
23261         char*.
23262
23263         * caller-save.c (mark_referenced_regs): Likewise.
23264
23265         * combine.c (subst, make_compound_operation, known_cond,
23266         gen_rtx_combine, update_table_tick, get_last_value_validate,
23267         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
23268
23269         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
23270         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
23271         count_reg_usage): Likewise.
23272
23273         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
23274         Likewise.
23275
23276         * final.c (leaf_renumber_regs_insn): Likewise.
23277
23278         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
23279         dump_edge_info, count_reg_references): Likewise.
23280
23281         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
23282         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
23283         Likewise.
23284
23285         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
23286         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
23287         add_label_notes): Likewise.
23288
23289         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
23290         clear_struct_flag, count_sub_rtxs, count_alternatives,
23291         compares_alternatives_p, contained_in_p, walk_attr_value,
23292         write_expr_attr_cache): Likewise.
23293
23294         * genconfig.c (walk_insn_part): Likewise.
23295
23296         * genemit.c (max_operand_1, gen_exp): Likewise.
23297
23298         * genextract.c (walk_rtx): Likewise.
23299
23300         * genflags.c (num_operands): Likewise.
23301
23302         * genoutput.c (scan_operands): Likewise.
23303
23304         * genpeep.c (match_rtx): Likewise.
23305
23306         * genrecog.c (add_to_sequence): Likewise.
23307
23308         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
23309         Likewise.
23310
23311         * integrate.c (save_constants, copy_for_inline,
23312         copy_rtx_and_substitute, subst_constants, restore_constants):
23313         Likewise.
23314
23315         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
23316         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
23317
23318         * local-alloc.c (contains_replace_regs, memref_referenced_p):
23319         Likewise.
23320
23321         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
23322         add_label_notes, replace_call_address, count_nonfixed_reads,
23323         invariant_p, find_single_use_in_loop, find_mem_givs,
23324         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
23325         Likewise.
23326
23327         * print-rtl.c (reg_names, print_rtx): Likewise.
23328
23329         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
23330
23331         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
23332         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
23333         print_blocks): Likewise.
23334
23335         * regclass.c (fix_register, record_address_regs,
23336         reg_scan_mark_refs): Likewise.
23337
23338         * regmove.c (stable_but_for_p): Likewise.
23339
23340         * reload.c (loc_mentioned_in_p, operands_match_p,
23341         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
23342         copy_replacements, refers_to_regno_for_reload_p,
23343         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
23344         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
23345         Likewise.
23346
23347         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
23348         delete_address_reloads_1, count_occurrences,
23349         reload_cse_mem_conflict_p, reload_combine_note_use,
23350         add_auto_inc_notes): Likewise.
23351
23352         * resource.c (mark_referenced_resources, mark_set_resources):
23353         Likewise.
23354
23355         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
23356         reg_mentioned_p, regs_set_between_p, modified_between_p,
23357         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
23358         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
23359         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
23360         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
23361
23362         * sched.c (sched_analyze_2, attach_deaths): Likewise.
23363
23364         * stupid.c (stupid_mark_refs): Likewise.
23365
23366         * unroll.c (remap_split_bivs): Likewise.
23367
23368         * varasm.c (mark_constants): Likewise.
23369
23370         * a29k/a29k.c (uses_local_reg_p): Likewise.
23371
23372         * alpha/alpha.c (summarize_insn): Likewise.
23373
23374         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
23375         eliminate_lr2ip): Likewise.
23376
23377         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
23378
23379         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
23380         reg_mentioned_in_mem): Likewise.
23381
23382         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
23383         symbolic_reference_mentioned_p): Likewise.
23384
23385         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
23386
23387         * sh/sh.c (regs_used, mark_use): Likewise.
23388
23389         * vax/vax.c (vax_rtx_cost): Likewise.
23390
23391 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23392
23393         * machmode.h (mode_name): Constify a char*.
23394
23395         * rtl.c (mode_name): Likewise.
23396
23397         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
23398
23399         * optabs.c (init_libfuncs): Constify a char*.
23400
23401         * print-tree.c (mode_name): Remove redundant declaration.
23402         (print_node): Use accessor macro, not `mode_name'.
23403
23404         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
23405         not `mode_name'.
23406         (new_spill_reg): Constify a char*.
23407
23408         * tree.c (mode_name): Remove redundant declaration.
23409
23410 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23411
23412         * rtl.c (rtx_name): Constify a char*.
23413
23414         * rtl.h (rtx_name, fix_sched_param): Likewise.
23415
23416         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
23417         (mypr): Use accessor macro, not `rtx_name'.
23418
23419         * genemit.c (print_code): Constify a char*.
23420
23421         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
23422
23423         * genpeep.c (print_code): Constify a char*.
23424
23425         * genrecog.c (print_code): Likewise.
23426
23427         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
23428         end_bb): Add static prototype.
23429         (draw_edge): Constify a char*.
23430         (end_bb): Remove unused parameter.
23431
23432         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
23433         print_block_visualization): Constify a char*.
23434
23435 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
23436
23437         * c-common.c (c_get_alias_set): Update comment.
23438
23439 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
23440
23441         * linux.h (LIB_SPEC): Added.
23442
23443 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23444
23445         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
23446
23447 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
23448
23449         * tree.c (expr_check): Fix typo in last change.
23450
23451 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
23452
23453         * rtl.def (NOTE): Change format to "iuu0n".
23454         (ADDR_DIFF_VEC): Change format to "eEee0".
23455         (ADDRESSOF): Change format to "eit".
23456
23457         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
23458         (RTVEC_ELT): Change to match.
23459         (XVECEXP): Use XVEC and RTVEC_ELT.
23460         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
23461         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
23462         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
23463         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
23464         TRAP_CONDITION, TRAP_CODE): Use XEXP.
23465         (INTVAL): Use XWINT.
23466         (ADDRESSOF_DECL): Use XTREE.
23467         (SET_ADDRESSOF_DECL): Delete.
23468         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
23469         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
23470         ifdefed out since 2.6 at least.
23471         (gen_rtvec_vv): Delete prototype.
23472
23473         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
23474         not rtunion.
23475         (copy_most_rtx): Handle 't' format letter.
23476         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
23477         (gen_rtvec_vv): Delete function.  All callers changed to use
23478         gen_rtvec_v instead.
23479         * print-rtl.c (print_rtx): Move special casing of NOTEs to
23480         the '0' format letter.
23481
23482         * function.c (gen_mem_addressof): Don't use
23483         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
23484         instead.
23485         * integrate.c (copy_rtx_and_substitute): Likewise.
23486         Copy 't' slots with XTREE.
23487         (subst_constants): Treat 't' slots like '[swi]' slots.
23488         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
23489         * jump.c (rtx_equal_for_thread_p): Likewise.
23490         * rtlanal.c (rtx_equal_p): Likewise.
23491         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
23492         only four arguments.
23493         * gengenrtl.c (type_from_format): Provide correct types for
23494         'b' and 't' slots.
23495
23496
23497         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
23498         If a recent gcc is in use (always in stage2 and beyond), use
23499         statement expressions, so we don't make a function call unless
23500         the check fails.  Evaluate arguments exactly once.
23501         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
23502         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
23503         Delete.
23504         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
23505         they evaluate their arguments exactly once, irrespective of
23506         the compiler in use.
23507
23508         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
23509         is used by the currently-enabled check macros.  This is:
23510         (tree_check_failed, tree_class_check_failed): For gcc.
23511         (tree_check, tree_class_check, cst_or_constructor_check,
23512         expr_check): For other compilers.
23513
23514         * gencheck.c: Do not define any *_CHECK1 macros.
23515
23516 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
23517                           Mark Mitchell <mark@codesourcery.com>
23518
23519         * c-common.c (c_get_alias_set): Fix support for poitners and
23520         references.
23521
23522 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
23523
23524         * alias.c: Include tree.h.
23525         (nonlocal_reference_p, mark_constant_function): New functions.
23526         * flow.c (life_analysis): Call mark_constant_function.
23527         * rtl.h (mark_constant_function): Declare it.
23528
23529 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
23530
23531         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
23532         unrecognisable switches.
23533
23534 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23535
23536         * loop.c (recombine_givs): Set ix field after sorting.
23537         (recombine_givs): Remove bogus index / giv lockstep looping.
23538
23539 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23540
23541         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
23542         on CODE.
23543         (emit_store_flag_force): Use do_compare_rtx_and_jump.
23544         (do_cmp_and_jump): Formatting fixes.
23545         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
23546         do_compare_rtx_and_jump instead of compare_from_rtx.
23547         (do_compare_rtx_and_jump): New function; mostly copied from
23548         compare_from_rtx.
23549         (do_jump_for_compare): Delete.
23550         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
23551         MIN_EXPR.
23552         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
23553         of compare/do_jump_for_compare pairs.
23554         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
23555         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
23556         compare_from_rtx/do_jump_for_compare pairs.
23557         (do_jump_by_parts_equality): Likewise.
23558         (do_jump_by_parts_equality_rtx): Likewise.
23559         * expr.h (do_compare_rtx_and_jump): Declare.
23560         * optabs.c (prepare_cmp_insn): New function, contains most of the code
23561         that used to be in emit_cmp_insn.
23562         (cmp_available_p): New function.
23563         (prepare_operand): New function.
23564         (emit_cmp_and_jump_insn_1): New function, contains some code that used
23565         to be in emit_cmp_insn.
23566         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
23567         parameters to be pointers; don't emit final compare but modify some of
23568         the values pointed to by the args so the caller can perform the
23569         correct comparison.
23570         (expand_binop): Call emit_store_flag_force with signed forms of
23571         comparison code.
23572         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
23573         emit_jump_insn pair.
23574         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
23575         emit_cmp_and_jump_insn_1.  Call emit_queue.
23576         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
23577         arg.
23578         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
23579         jump sets cc0 before deleting it.
23580         * integrate.c (expand_inline_function): Likewise.
23581         * unroll.c (unroll_loop): Similar changes in several places.
23582         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
23583         before deleting it.
23584
23585 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23586
23587         * Makefile.in (insn-recog.o): Update dependencies.
23588         * genrecog.c (main): Make generated file include "function.h".
23589
23590 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
23591
23592         * cse.c (cse_insn): Call never_reached_warning when a jump is
23593         changed to be unconditional.
23594         * flags.h: Declare warn_notreached.
23595         * flow.c (delete_block): Call never_reached_warning when
23596         a block is deleted.
23597         * jump.c (delete_barrier_successors): Call never_reached_warning
23598         when we delete everything after a BARRIER.
23599         (never_reached_warning): New function.
23600         * rtl.h: Declare never_reached_warning.
23601         * toplev.c (warn_notreached): New variable.
23602         (lang_independent_options): Set warn_notreached
23603         when -Wunreachable-code.
23604         (compile_file): We need line numbers for -Wunreachable-code.
23605
23606 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
23607
23608         * haifa-sched.c (insn_unit): Fix typo on out of range test.
23609         * sched.c (insn_unit): Likewise.
23610
23611 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
23612
23613         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
23614
23615 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23616
23617         * flow.c (create_edge_list): Use xmalloc, not malloc.
23618
23619 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
23620
23621         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
23622         C-style comments.  Do not lose the character before double slash.
23623
23624 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23625
23626         * basic-block.h (struct edge_list): Stucture to maintain a vector
23627         of edges.
23628         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
23629          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
23630         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
23631         New function prototypes.
23632         * flow.c (create_edge_list): Function to create an edge list.
23633         (free_edge_list): Discards memory used by an edge list.
23634         (print_edge_list): Debug output showing an edge list.
23635         (verify_edge_list): Internal consistency check for an edge list.
23636         (find_edge_index): Function to find an edge index for a pred and succ.
23637
23638 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
23639
23640         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
23641         hashtable.
23642
23643 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
23644
23645         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
23646
23647 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
23648
23649         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
23650
23651 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
23652
23653         * toplev.c (rest_of_compilation): Allow machine dependent
23654         reorganisation pass to place information into the RTL dump
23655         file if it so wishes.
23656
23657 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
23658
23659         * explow.c (hard_function_value): Use VOIDmode instead of
23660         MAX_MACHINE_MODE.
23661         * stmt.c (expand_return): Likewise.
23662         * stor-layout.c (get_best_mode): Likewise.
23663
23664         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
23665         emit call instead of emit_insn call.
23666
23667 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23668
23669         * configure.in: Handle --disable/enable-win32-registry.
23670         * install.texi: Document --disable/enable-win32-registry.
23671         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
23672         (WIN32_REGISTRY_KEY): New macro.
23673         * prefix.c: Use to enable/disable win32-specific code.
23674         (lookup_key): Use versioned key.
23675         * configure: Regenerate.
23676         * config.in: Likewise.
23677
23678 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
23679
23680         * cpplib.c (read_line_number): New fn, split out of...
23681         (do_line): Here.
23682
23683 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23684
23685         tree.c (lang_unsave_expr_now) : New.
23686         (unsave_expr_now): Call lang_unsave_expr_now.
23687         tree.h (lang_unsave_expr_now) : New.
23688
23689 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
23690
23691         * toplev.c (flag_new_exceptions): On by default.
23692
23693 1999-08-13  Michael Meissner  <meissner@cygnus.com>
23694
23695         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
23696
23697 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
23698
23699         * dwarfout.c (fundamental_type_code): Return FT_boolean for
23700         INTEGER_TYPE with precision==1, it's __java_boolean.
23701
23702 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23703
23704         * global.c (prune_preferences): Move some invariants out of the
23705         inner loop.
23706
23707 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
23708
23709         * configure.in (alpha*-dec-osf*): Add osf5.
23710
23711 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
23712
23713         * configure.in: Rework handling of ARM GNU/Linux slightly.
23714         (arm*-*-linux-gnuoldld): New target.
23715         * configure: Regenerate.
23716         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
23717         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
23718         * config/arm/linux-oldld.h: New file.
23719         * config/arm/linux-elf26.h: Don't include linux-elf.h.
23720         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
23721         Don't define.
23722         * config/arm/linux-elf.h (ASM_SPEC): Define.
23723         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
23724         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
23725         for 26-bit APCS and old linker.
23726         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
23727         `arm_elf'.
23728         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
23729         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
23730         don't define `arm' or `arm_elf'.
23731         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
23732         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
23733
23734 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
23735
23736         * rtl.texi: Fix typo.
23737
23738 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
23739
23740         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
23741
23742 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
23743
23744         * extend.texi (C++ Signatures): Remove node.
23745         * invoke.texi: Remove discussion of -fhandle-signatures,
23746         signature, sigof, __signature__, and __sigof__.
23747
23748 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
23749
23750         * Makefile.in (JAVAGC): Removed.
23751
23752 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23753
23754         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
23755
23756 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
23757
23758         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
23759
23760 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
23761
23762         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
23763         a register that is already known to be a pointer.
23764
23765 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
23766
23767         * fixinc/inclhack.tpl: Only install assert.h conditionally.
23768         * fixinc/inclhack.sh: Regenerated.
23769         * fixinc/fixincl.sh: Regenerated.
23770
23771 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
23772
23773         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
23774         Fix documentation of -ansi flag to describe its C++ behavior.
23775         Remove bogus reference to GCC 2.9.
23776
23777 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
23778
23779         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
23780         note if it is non-NULL.
23781
23782 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23783
23784         * except.h (eh_nesting_info): Add new structure defintion.
23785         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
23786         (reachable_handlers, update_rethrow_references): Add function
23787         prototypes.
23788         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
23789         a rethrow symbol instead of an integer exception region number.
23790         * flow.c (Make_edges): Use new exception nesting routines to determine
23791         which handlers are reachable from a CALL or asynchronous insn.
23792         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
23793         goto receivers.
23794         (delete_eh_regions): Update rethrow labels, and don't delete
23795         regions which are the target of a rethrow.
23796         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
23797         avoid overloading the SYMBOL_REF_USED flag.
23798         (rethrow_symbol_map): Use new rethrow_ref field.
23799         (rethrow_used): Use new rethrow_ref field.
23800         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
23801         of an integer.  Fix formatting.
23802         (output_exception_table_entry): Use new rethrow_ref field.
23803         (can_throw): Check for EH_REGION_NOTE before deciding
23804         whether a CALL can throw or not.
23805         (scan_region): Call rethrow_used() instead of accessing data structure.
23806         (update_rethrow_references): New function to make sure only regions
23807         which are still targets of a rethrow are flagged as such.
23808         (process_nestinfo): New static function to initialize a handler
23809         list for a specific region.
23810         (init_eh_nesting_info): New function to allocate and initialize
23811         the list of all EH handlers reachable from all regions.
23812         (reachable_handlers): New function to retrieve the list of handlers
23813         reachable from a specific region and insn.
23814         (free_eh_nesting_info): New function to dispose of a list of
23815         reachable handlers.
23816
23817 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23818
23819         * flow.c (split_edge): Set JUMP_LABEL field.
23820         (commit_one_edge_insertion): Set head correctly for insert_before.
23821         When inserting insns, update insn block numbers if allocated.
23822
23823 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23824
23825         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
23826         retry_incomplete_types): Add static prototype.
23827         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
23828         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
23829         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
23830         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
23831         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
23832         Constify a char*.
23833
23834         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
23835         dwarf2out_start_source_file, dwarf2out_line): Likewise.
23836
23837 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23838
23839         * output.h (assemble_name): Constify a char*.
23840
23841         * varasm.c (UNIQUE_SECTION, assemble_start_function,
23842         assemble_variable, assemble_name): Likewise.
23843
23844         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
23845
23846         * arm/pe.c (arm_pe_unique_section): Likewise.
23847
23848         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
23849
23850         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
23851
23852         * i386/interix.c (i386_pe_unique_section): Likewise.
23853
23854         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
23855
23856         * i386/winnt.c (i386_pe_unique_section): Likewise.
23857
23858         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
23859
23860         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
23861
23862         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
23863
23864         * pa/pa.c (output_call): Likewise.
23865
23866         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
23867
23868         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
23869
23870         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
23871         Likewise.
23872
23873         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
23874         Likewise.
23875
23876         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
23877
23878         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
23879         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
23880
23881         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
23882
23883 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23884
23885         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
23886
23887 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23888
23889         * tree.h (lang_identify): Constify a char*.
23890         (print_error_function): Add extern prototype.  Constify a char*.
23891
23892         * c-lang.c (lang_identify): Constify a char*.
23893
23894         * objc/objc-act.c (lang_identify): Constify a char*.
23895
23896 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23897
23898         * genpeep.c (main): Make generated file include "function.h".
23899         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
23900
23901 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23902
23903         * Makefile.in: Update dependencies.
23904         * alias.c: Include "function.h"
23905         * c-decl.c: Likewise.
23906         * caller-save.c: Likewise.
23907         * calls.c: Likewise.
23908         * combine.c: Likewise.
23909         * cse.c: Likewise.
23910         * explow.c: Likewise.
23911         * final.c: Likewise.
23912         * global.c: Likewise.
23913         * graph.c: Likewise.
23914         * local-alloc.c: Likewise.
23915         * loop.c: Likewise.
23916         * optabs.c: Likewise.
23917         * profile.c: Likewise.
23918         * recog.c: Likewise.
23919         * regclass.c: Likewise.
23920         * regmove.c: Likewise.
23921         * reload.c: Likewise.
23922         * reorg.c: Likewise.
23923         * resource.c: Likewise.
23924         * sched.c: Likewise.
23925         * stupid.c: Likewise.
23926         * config/1750a/1750a.c: Likewise.
23927         * config/a29k/a29k.c: Likewise.
23928         * config/arc/arc.c: Likewise.
23929         * config/arm/arm.c: Likewise.
23930         * config/arm/thumb.c: Likewise.
23931         * config/c4x/c4x.c: Likewise.
23932         * config/clipper/clipper.c: Likewise.
23933         * config/convex/convex.c: Likewise.
23934         * config/fx80/fx80.c: Likewise.
23935         * config/i860/i860.c: Likewise.
23936         * config/m68k/m68k.c: Likewise.
23937         * config/m88k/m88k.c: Likewise.
23938         * config/mips/mips.c: Likewise.
23939         * config/pdp11/pdp11.c: Likewise.
23940         * config/pyr/pyr.c: Likewise.
23941         * config/romp/romp.c: Likewise.
23942         * config/sh/sh.c: Likewise.
23943         * config/tahoe/tahoe.c: Likewise.
23944         * config/vax/vax.c: Likewise.
23945         * config/we32k/we32k.c: Likewise.
23946         * config/sparc/sparc.c: Include "function.h".
23947         (mem_min_alignment): Test current_function rather than
23948         regno_pointer_align.
23949         * config/pa/pa.c: Likewise.
23950         (compute_frame_size): Delete declaration of
23951         current_function_outgoing_args_size.
23952         * config/arc/arc.h (current_function_varargs): Delete declaration.
23953         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
23954         declaration.
23955         * config/i370/i370.h (current_function_outgoing_args_size): Delete
23956         declaration.
23957         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
23958         current_function_uses_pic_offset_table.
23959         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
23960         of current_function_returns_pointer.
23961         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23962         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23963         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23964         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23965         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23966         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23967         * config/m88k/m88k.c: Include "function.h"
23968         (call_used_regs, current_function_pretend_args_size,
23969         current_function_outgoing_args_size, frame_pointer_needed): Delete
23970         declarations.
23971         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
23972         declaration.
23973         * config/mips/mips.h (current_function_calls_alloca): Delete
23974         declaration.
23975         * config/mn10200/mn10200.h (current_function_needs_context,
23976         rtx_equal_function_value_matters): Delete declarations.
23977         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
23978         flag_pic): Delete declarations.
23979         * config/pa/pa.h (current_function_pretend_args_size,
23980         current_function_decl): Delete declarations.
23981         * config/pa/som.h (current_function_varargs): Delete declaration.
23982         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
23983         declaration.
23984         * config/pyr/pyr.h (current_function_pretend_args_size,
23985         current_function_args_size, current_function_calls_alloca): Delete
23986         declarations.
23987         * config/sh/sh.h (current_function_varargs): Delete declaration.
23988         * config/sparc/sparc.h (current_function_outgoing_args_size,
23989         current_function_calls_alloca, current_function_decl): Delete
23990         declarations.
23991         * config/spur/spur.h (current_function_pretend_args_size,
23992         current_function_calls_alloca): Delete declarations.
23993         * config/v850/v850.c (current_function_outgoing_args_size): Delete
23994         declaration.
23995         * config/vax/vms.h (current_function_name): Delete declaration.
23996         * gcse.c: Include "function.h".
23997         (current_function_name, current_function_calls_setjmp): Delete
23998         declarations.
23999         * haifa-sched.c: Include "function.h".
24000         (forced_labels): Delete declaration.
24001         * jump.c: Likewise.
24002         * reg-stack.c: Likewise.
24003         * reload1.c: Likewise.
24004         * genemit.c (main): Make generated file include function.h.
24005         * genoutput.c (output_prologue): Likewise.
24006
24007         * builtins.c (saveregs_value, apply_args_value): Delete variables.
24008         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
24009         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
24010         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
24011         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
24012         macros for some of them.
24013         (emit_filename, emit_lineno): Delete declarations.
24014         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
24015         regno_pointer_* variables through current_function.
24016         (gen_inline_header_rtx): Delete function.
24017         (save_emit_status): Delete function.
24018         (set_new_last_label_num): New function.
24019         (clear_emit_caches): New function.
24020         (restore_emit_status): Just clear last_labelnum and call
24021         clear_emit_caches.
24022         (get_last_insn_anywhere): Variable sequence_stack is now accessed
24023         through macro seq_stack.
24024         (add_insn_after): Likewise.
24025         (add_insn_before): Likewise.
24026         (remove_insn): Likewise.
24027         (pop_topmost_sequence): Likewise.
24028         (in_sequence_p): Likewise.
24029         (start_sequence_for_rtl_expr): Likewise.
24030         (start_sequence): Likewise, and likewise for
24031         sequence_rtl_expr/seq_rtl_expr.
24032         (push_topmost_sequence): Likewise.
24033         (end_sequence): Likewise.
24034         (init_virtual_regs): Now takes a "struct emit_status *" argument.
24035         All callers changed.  Store into that pointer instead of globals.
24036         (init_emit): Allocate emit elt of current_function.
24037         Changes for sequence_rtl_expr/sequence_stack renaming.
24038         Call clear_emit_caches instead of doing it in-line.
24039         Access regno_pointer_* variables through current_function.
24040         (init_emit_once) Don't clear sequence_stack.
24041
24042         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
24043         Delete variables.
24044         (arg_pointer_save_area): Delete declaration.
24045         (finish_expr_for_function): Renamed from init_queue; no longer static.
24046         (init_expr): Don't call init_queue.
24047         (save_expr_status, restore_expr_status): Delete functions.
24048         (expand_expr): Changes to reflect new layout of struct function.
24049         Don't access current_function_check_memory_usage when current_function
24050         is 0.
24051         * expr.h (forced_labels, save_expr_regs, saveregs_value,
24052         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
24053         current_function_outgoing_args_size, current_function_arg_offset_rtx,
24054         current_function_uses_const_pool, function_call_count,
24055         current_function_uses_pic_offset_table, nonlocal_labels,
24056         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
24057         current_function_check_memory_usage, nonlocal_goto_handler_slots,
24058         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
24059         declarations.
24060         (finish_expr_for_function): Declare.
24061         * flags.h (current_function_has_nonlocal_label,
24062         current_function_has_nonlocal_goto, current_function_is_thunk,
24063         current_function_has_computed_jump): Delete declarations.
24064         * flow.c (forced_labels): Delete declaration.
24065         * function.c (current_function_pops_args,
24066         current_function_returns_struct, current_function_returns_pcc_struct,
24067         current_function_needs_context, current_function_calls_setjmp,
24068         current_function_calls_longjmp, current_function_has_nonlocal_label,
24069         current_function_has_nonlocal_goto, current_function_is_thunk,
24070         current_function_has_computed_jump, current_function_calls_alloca,
24071         current_function_contains_functions, current_function_returns_pointer,
24072         current_function_epilogue_delay_list, current_function_args_size,
24073         current_function_pretend_args_size, current_function_arg_offset_rtx,
24074         current_function_outgoing_args_size, current_function_varargs,
24075         current_function_stdarg, current_function_args_info, cleanup_label,
24076         current_function_name, current_function_uses_const_pool,
24077         current_function_instrument_entry_exit, current_function_return_rtx,
24078         current_function_uses_pic_offset_table, nonlocal_labels,
24079         current_function_internal_arg_pointer, current_function_cannot_inline,
24080         current_function_check_memory_usage, function_call_count,
24081         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
24082         nonlocal_goto_stack_level, return_label, save_expr_regs,
24083         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
24084         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
24085         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
24086         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
24087         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
24088         Delete variables.
24089         (push_function_context_to): Don't save them.  Don't call
24090         save_storage_status, save_emit_status or save_expr_status.
24091         (pop_function_context_from): Don't restore them.  Don't call
24092         restore_storage_status or restore_expr_status.
24093         (get_func_frame_size): New function.
24094         (get_frame_size): Use it.
24095         (assign_outer_stack_local): Reflect some member name changes in struct
24096         function.
24097         (put_reg_into_stack): Likewise.
24098         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
24099         seq_rtl_expr.
24100         (fixup_var_refs): Likewise.
24101         (fix_lexical_addr): Likewise.
24102         (trampoline_address): Likewise.
24103         (prepare_function_start): Clear field inlinable of current_function.
24104         (init_function_for_compilation): New function.
24105         (expand_dummy_function_end): New function.
24106         (expand_function_end): Call finish_expr_for_function.
24107         * function.h (struct emit_status): New; fields moved here from struct
24108         function and from global variables.  Add accessor macros for some of
24109         the fields.
24110         (struct expr_status): Likewise.
24111         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
24112         (struct function): Add fields expr and emit, inlinable, inl_emit,
24113         original_arg_vector, original_decl_initial, inl_last_parm_insn,
24114         inl_max_label_num.  Add many comments.
24115         Add accessor macros for all elts of struct function that no longer
24116         have a global variable.
24117         (cleanup_label, return_label, frame_offset, tail_recursion_label,
24118         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
24119         stack_slot_list): Delete declarations.
24120         (get_func_frame_size): Declare.
24121         (save_expr_status, restore_expr_status, save_emit_status,
24122         save_storage_status, restore_storage_status): Delete declarations.
24123         (init_virtual_regs): Declare.
24124         * output.h (current_function_pops_args,
24125         current_function_returns_struct, current_function_returns_pcc_struct,
24126         current_function_needs_context, current_function_calls_setjmp,
24127         current_function_calls_longjmp, current_function_calls_alloca,
24128         current_function_has_nonlocal_label, current_function_varargs,
24129         current_function_has_computed_jump, current_function_returns_pointer,
24130         current_function_contains_functions, current_function_args_size,
24131         current_function_pretend_args_size, current_function_stdarg,
24132         current_function_outgoing_args_size, current_function_args_info,
24133         current_function_name, current_function_return_rtx,
24134         current_function_epilogue_delay_list,
24135         current_function_uses_const_pool, current_function_cannot_inline):
24136         Delete declarations.
24137         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
24138         regno_reg_rtx): Delete declaration.
24139         (REGNO_POINTER_FLAG): Delete macro.
24140         * stmt.c (expand_goto): Changes to reflect that some fields in struct
24141         function were renamed.
24142         * stor-layout.c (save_storage_status, restore_storage_status): Delete
24143         functions.
24144         * toplev.c: Include "function.h".
24145         (current_function_decl): Delete declaration.
24146         (compile_file): Call init_dummy_function_start and
24147         expand_dummy_function_end around some initializations that need to
24148         emit rtl.
24149         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
24150         Call init_function_for_compilation.
24151         * unroll.c: Include "function.h"
24152         (unroll_loop): Access regno_pointer_* variables through
24153         current_function.
24154
24155         * tree.h (struct tree_decl): Add elt f to saved_insns member.
24156         (DECL_SAVED_INSNS): use it.
24157         (expand_dummy_function_end): Declare.
24158         (init_function_for_compilation): Declare.
24159         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
24160         that it's no longer an INLINE_HEADER.
24161         (expand_call): Likewise.
24162         * integrate.c (finish_inline): Delete function.
24163         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
24164         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
24165         args.  Don't generate an INLINE_HEADER rtx, just return the arg
24166         vector.  All callers changed.
24167         (save_for_inline_copying):  Create a duplicate struct emit_status to
24168         hold the emit state for compiling the current function.  Use this and
24169         the other new fields in struct function that are for integration
24170         instead of an INLINE_HEADER.
24171         Use memcpy instead of bcopy.
24172         Store the current struct function in DECL_SAVED_INSNS of fndecl.
24173         (save_for_inline_nocopy): Similar changes, except no new emit_status
24174         is needed here.
24175         (expand_inline_function): Get information from function structure,
24176         not from an inline header rtx.
24177         (output_inline_function): Lose code to extract the necessary
24178         information from an inline header; simply put back the function
24179         structure into current_function.  Clear its inlinable elt.
24180         * rtl.def (INLINE_HEADER): Delete.
24181         * rtl.h: Delete all accessors for an INLINE_HEADER.
24182         (gen_inline_header_rtx): Delete declaration.
24183         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
24184         Delete declarations.
24185         (REGNO_POINTER_ALIGN): Delete.
24186         (clear_emit_caches): Declare.
24187         (set_new_last_label_num): Declare.
24188
24189 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
24190
24191         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
24192
24193         * except.c (expand_eh_region_start_for_decl): Always start a new block.
24194         * stmt.c (is_eh_region): Make sure current_function is present, too.
24195
24196 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
24197
24198         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
24199         for 64bit PA targets.
24200
24201         * pa.h (SELECT_SECTION): Define.
24202         * som.h (SELECT_SECTION): Delete.
24203
24204 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24205
24206         * alias.c (init_alias_analysis): Wrap call to
24207         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
24208
24209 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
24210
24211         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
24212         <sys/asm.h> contains an asm comment with an apostrophe
24213         * fixinc/inclhack.sh:  regen
24214         * fixinc/fixincl.x:  regen
24215
24216 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
24217
24218         * function.c (init_function_start): Clear prologue & epilogue.
24219         (prologue_epilogue_contains): New function.
24220         * alias.c (init_alias_analysis): Use it.
24221         * rtl.h (prologue_epilogue_contains): Declare it.
24222
24223 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
24224
24225         * jump.c (onlyjump_p): New function.
24226         * rtl.h: Declare it.
24227         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
24228         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
24229
24230 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
24231
24232         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
24233         to invert loops.  Simplify block scanning.
24234
24235 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
24236
24237         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
24238         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
24239
24240 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
24241
24242         * config/sparc/liteelf.h: New file to support sparclite-elf target
24243         * config/sparc/t-sp86x: New file to support sparc86x targets
24244         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
24245         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
24246         * configure.in: Support above target triplets
24247         * configure: Regenerated
24248
24249 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
24250
24251         * fixinc/server.c (server_setup): Do not prefix function used as
24252         parameter with `&'.
24253
24254 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
24255
24256         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
24257         Remove fp reg alternatives.
24258
24259 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
24260
24261         * Makefiin (TAROUTOPTS): Kill.
24262         (install-headers-tar): Use "xpf" for tar headerfile extraction
24263         * i370/x-oe (TAROUTOPTS): Delete.
24264         * m68k/x-apollo68 (TAROUTOPTS): Delete.
24265         * m68k/x-hp320 (TAROUTOPTS): Delete.
24266         * m68k/x-hp320g (TAROUTOPTS): Delete.
24267         * gcc.texi: Update bug reporting text.
24268
24269 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
24270
24271         * reg-stack.c (change_stack) Fixed problem with negative array index.
24272
24273 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
24274
24275         * extend.texi, install.texi: Fix spelling mistakes.
24276
24277         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
24278         (s-attrtab); No longer try to use pre-made insn-attrtab file.
24279         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
24280         PREMADE_ATTRTAB_MD.
24281         * mips/t-ecoff: Likewise.
24282         * mips/t-elf: Likewise.
24283         * mips/t-mips: Likewise.
24284         * mips/t-osfrose: Likewise.
24285         * mips/t-r3900: Likewise.
24286         * mips/t-svr3: Likewise.
24287         * mips/t-svr4: Likewise.
24288         * mips/t-ultrix: Likewise.
24289
24290         * gcc.texi: Document recommend means to provide software floating
24291         point libraries in libgcc.a
24292
24293 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
24294
24295         * c-lex.c (yylex): We can have a number with no digits.
24296
24297 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
24298
24299         * jump.c (delete_prior_computation): New function, broken
24300         out of delete_computation.  Check for side effects with
24301         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
24302         multi-word hard registers.
24303         (delete_computation): Use it.  Check for side effects with
24304         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
24305         missing REG_DEAD note for a register which is both set and
24306         used by an insn.
24307
24308 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
24309
24310         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
24311         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
24312         (ASM_FILE_START): Import _mcount with the right type.
24313         (ASM_DECLARE_FUNCTION_NAME): Define.
24314         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
24315         * pa.c (output_function_prologue): Always emit the function's label
24316         here.
24317         * pa.h (TEXT_SPACE_P): Define.
24318         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
24319         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
24320         * som.h (TEXT_SPACE_P): Delete.
24321         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
24322         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
24323
24324 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
24325
24326         * expr.c (emit_group_load): Allow src to be a CONCAT.
24327
24328 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24329
24330         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
24331         (___mulsi3): Use '!' comment character.
24332
24333 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24334
24335         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
24336
24337 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
24338
24339         * gcc.c: Update URLs and mail addresses.
24340         * gcc.texi: Likewise.
24341
24342 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
24343
24344         * rs6000.c (current_file_function_operand): Return zero for
24345         weak functions.
24346         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
24347         weak symbols.
24348         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
24349         for weak symbols.
24350
24351 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
24352
24353         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
24354         allocate space in the stack frame for the PIC register.
24355
24356 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
24357
24358         * m68k.md (xordi3, anddi3): These patterns are not available on
24359         the coldfire.
24360
24361 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
24362
24363         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
24364         (PUT_REAL): Likewise.
24365
24366 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24367
24368         * final.c (shorten_branches): Don't add an alignment for loops
24369         that have no label inside.
24370
24371 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24372
24373         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
24374         prototypes in macro HAVE_cmpstrsi.
24375
24376         * cpplib.c (cpp_get_token): Remove unused label `op3'.
24377
24378         * emit-rtl.c (operand_subword): Remove unused variable
24379         `bits_per_word'.
24380
24381         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
24382
24383         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
24384
24385 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
24386
24387         * cpphash.c (macroexpand): Delete leading whitespace when arg
24388         is concatenated before.
24389         (unsafe_chars): Correct test for whether + and - can extend a
24390         token.
24391
24392         * cppinit.c (cpp_start_read): Do dependencies for
24393         -include/-imacros files also.
24394
24395         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
24396         tokenizing non-directive lines.
24397         (cpp_expand_to_buffer): Temporarily disable no-output mode.
24398         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
24399         the input file.
24400
24401 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
24402
24403         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
24404
24405         * c-lex.c: Sync with C++ frontend.
24406         (linemode): New variable.
24407         (parse_float): imag, conversion_errno, and type are output only.
24408         (yylex): Adjust.  Move initial '.' case into main switch.
24409         Use linemode.
24410         (handle_generic_pragma): Just deal with tokens.
24411         (readescape): Use ISXDIGIT and ISGRAPH.
24412         * c-parse.in: Add END_OF_LINE token.
24413
24414         * c-lex.c (lang_init): Generalize.
24415         (nextchar): Remove.  Replace uses with UNGETC.
24416         (skip_white_space): Handle linemode here.  Optimize for cpplib.
24417         (skip_white_space_on_line): Remove.
24418         (extend_token_buffer_to): New fn.
24419         (extend_token_buffer): Use it.
24420         (read_line_number, check_newline): Just deal with tokens.
24421         (token_getch, token_put_back): New fns.
24422         (yylex): Use them.  More cpplib optimizations.  Simplify.
24423
24424 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
24425                           Jason Merrill  <jason@yorick.cygnus.com>
24426
24427         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
24428         (consume_string): Make this smart about USE_CPPLIB.
24429         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
24430         (yylex): Rewrite to be intelligent about USE_CPPLIB.
24431         Also, clean up cases where we redundantly set token_buffer[0].
24432         (read_line_number): New fn.
24433         (ignore_escape_flag): New variable.
24434
24435 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
24436
24437         * a29k/t-a29kbare: Fix some comments.
24438         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
24439         (FPBIT, DPBIT): Define.
24440         * a29k/t-vx29k: Likewise.
24441         * arc/t-arc: Likewise.
24442         * arm/t-arm-elf: Likewise.
24443         * arm/t-bare: Likewise.
24444         * arm/t-pe: Likewise.
24445         * arm/t-pe-thumb: Likewise.
24446         * arm/t-semi: Likewise.
24447         * arm/t-thumb: Likewise.
24448         * arm/t-thumb-elf: Likewise.
24449         * arm/t-thumb-linux: Likewise.
24450         * h8300/t-h8300: Likewise.
24451         * i960/t-i960: Likewise.
24452         * i960/t-vxworks960: Likewise.
24453         * m32r/t-m32r: Likewise.
24454         * mips/t-ecoff: Likewise.
24455         * mips/t-elf: Likewise.
24456         * mips/t-r3900: Likewise.
24457         * pa/t-pro: Likewise.
24458         * rs6000/t-aix43: Likewise.
24459         * rs6000/t-beos: Likewise.
24460         * rs6000/t-newas: Likewise.
24461         * rs6000/t-ppccomm: Likewise.
24462         * rs6000/t-rs6000: Likewise.
24463         * rs6000/t-winnt: Likewise.
24464         * rs6000/t-xnewas: Likewise.
24465         * rs6000/t-xrs6000: Likewise.
24466         * sh/t-sh: Likewise.
24467         * sparc/t-elf: Likewise.
24468         * sparc/t-sparcbare: Likewise.
24469         * sparc/t-sparclite: Likewise.
24470         * sparc/t-splet: Likewise.
24471         * v850/t-v850: Likewise.
24472         * mn10200/t-mn10200: Fix comments.
24473         * mn10300/t-mn10300: Likewise.
24474
24475         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
24476         dummy operand.  Allocate a new pseudo for the dummy operand.
24477         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
24478
24479         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
24480
24481 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
24482
24483         * configure: Rebuilt.
24484         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
24485
24486 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
24487
24488         * recog.c (preproces_constraints): Zero recog_op_alt before
24489         processing the constraints.
24490
24491         * arm.c (typedef minipool_node): Renamed from pool_node.
24492         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
24493         (add_minipool_constant): New function.
24494         (dump_minipool): New function.
24495         (find_barrier): Remove special case for getting the insn size of
24496         an insn that references the constant pool.
24497         (minipool_fixup): New structure.
24498         (push_minipool_barrier): New function.
24499         (push_minipool_fix): New function.
24500         (note_invalid_constants): New function.
24501         (add_pool_constant, dump_table, fixit, broken_move): Delete.
24502         (arm_reorg): Rewrite code to fix up the constant pool into a
24503         series of mini-pools embedded in the insn stream.
24504         (arm_output_epilogue): New function, made mainly from the body
24505         of output_func_epilogue.
24506         (output_func_epilogue): Move insn generation part of epilogue code
24507         to arm_output_epilogue.
24508         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
24509         * arm.md (pool_range): New attribute.
24510         (zero_extendqidi2): Add attribute pool_range.
24511         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
24512         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
24513         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
24514         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
24515         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
24516         (epilogue): New expand.
24517         (epilogue_insn): New insn.  Call arm_output_epilogue.
24518
24519         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
24520         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
24521
24522 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
24523
24524         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
24525
24526 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
24527
24528         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
24529
24530 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
24531
24532         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
24533
24534 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
24535
24536         * global.c: Fix comment.
24537
24538 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
24539
24540         * gcc.c (access_check): New static function.
24541         (find_a_file): Use it when searching a directory list.
24542         * collect2.c (find_a_file): Don't accept directories found when
24543         searching a directory list.
24544
24545 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
24546
24547         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
24548         function parameters with `&'.
24549         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
24550
24551 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
24552
24553         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
24554         or tidy_fallthru_edge if the last insn in the block is not
24555         an unconditional jump or a simple conditional jump.
24556
24557 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24558
24559         * Makefile.in (c-decl.o): Depends on defaults.h.
24560
24561 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
24562
24563         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
24564         PA1.1 and above.
24565         (CLASS_MAX_NREGS): Likewise.
24566
24567 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
24568
24569         * cse.c (cse_insn): Fix dumb thinko in last change.
24570
24571 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24572
24573         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
24574         "const char *".
24575
24576 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
24577
24578         * dwarf2out.c (add_location_or_const_value_attribute): Correct
24579         test for sizes of passed and declared parameter types.
24580
24581 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24582
24583         * fixincludes: Fix the return type of bsearch, char* -> void*.
24584
24585         * fixinc/inclhack.def: Likewise.
24586
24587 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
24588
24589         * invoke.texi (-fdump-translation-unit): New option.
24590
24591 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
24592
24593         * expr.h (PROMOTE_PROTOTYPES): Move ...
24594         * defaults.h: ... to here.
24595         * c-decl.c: Include defaults.h instead of expr.h.
24596         * c-typeck.c: Include defaults.h.
24597
24598 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
24599
24600         * toplev.h (errorcount): Declare.
24601         (warningcount): Likewise.
24602         (sorrycount): Likewise.
24603         * c-lex.c (errorcount): Don't declare.
24604         * dwarf2out.c (errorcount): Don't declare.
24605
24606 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
24607
24608         * config/libgloss.h: Add a note discouraging use with ELF.
24609         * configure.in: Don't use libgloss.h for ELF targets.
24610         Always use_collect2 on a.out targets.
24611
24612 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
24613
24614         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
24615         (force_to_mode, case ASHIFTRT): Add shiftrt label.
24616
24617 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24618
24619         * loop.c (strength_reduce): When doing biv->giv conversion, update
24620         reg note of NEXT->insn.
24621
24622 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
24623
24624         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
24625
24626 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
24627
24628         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
24629         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
24630         Ensure expr.h is included.
24631         * c-typecheck.c (convert_arguments): Ditto.
24632
24633         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
24634
24635         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
24636         * config/convex/convex.h: Ditto.
24637         * config/dsp16xx/dsp16xx.h: Ditto.
24638         * config/fx80/fx80.h: Ditto.
24639         * config/gmicro/gmicro.h: Ditto.
24640         * config/i370/i370.h: Ditto.
24641         * config/i386/i386.h: Ditto.
24642         * config/m32r/m32r.h: Ditto.
24643         * config/m68k/m68k.h: Ditto.
24644         * config/m88k/m88k.h: Ditto.
24645         * config/mips/mips.h: Ditto.
24646         * config/pa/pa.h: Ditto.
24647         * config/pyr/pyr.h: Ditto.
24648         * config/tahoe/tahoe.h: Ditto.
24649         * config/we32k/we32k.h: Ditto.
24650
24651         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
24652         based on arch size.
24653
24654         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
24655
24656         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
24657         from comment.
24658
24659         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
24660
24661 1999-08-02  Richard Henderson  <rth@cygnus.com>
24662
24663         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
24664         for the register spill block.
24665         (m32r_va_arg): New.
24666         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
24667         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
24668
24669         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
24670         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
24671         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
24672
24673 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
24674
24675         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
24676         MAX_WCHAR_TYPE defined in sparc.h.
24677         * config/sparc/linuxaout.h: Likewise.
24678         * config/sparc/linux64.h: Likewise.
24679         Also default to -mvis if CPU is UltraSPARC.
24680
24681 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
24682
24683         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
24684         (RTX_OK_FOR_OLO10): Likewise.
24685         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
24686         %lo(), allow it in addresses...
24687         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
24688         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
24689         does not make sense.
24690         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
24691         (sparc_output_scratch_registers): New function.
24692         (output_function_prologue, sparc_flat_output_function_prologue): Use
24693         it.
24694         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
24695         defined.
24696         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
24697         * configure.in: Add check for .register pseudo-op support in as and
24698         check for offsetable %lo().
24699         * acconfig.h: Add templates for the above checks.
24700         * configure: Regenerate.
24701
24702 1999-08-02  Richard Henderson  <rth@cygnus.com>
24703
24704         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
24705         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
24706         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
24707
24708 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24709
24710         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
24711         reg_biv_class.
24712
24713 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
24714
24715         * config/float-sparc.h: New file.
24716         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
24717         sparc-*-linux-gnu and sparc64-*-linux*.
24718
24719 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24720
24721         * rs6000.c (rs6000_va_list): Type is an array.
24722         (rs6000_va_start): Don't doubly adjust for varargs.
24723         (rs6000_va_arg): Evaluate long long GPR adjustment.
24724
24725 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
24726
24727         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
24728         -maix64 and -maix32.
24729         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
24730         LINK_SPEC): Change appropriately.
24731         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
24732         (u_short_cint_operand): Likewise.
24733         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
24734         for 64-bit hosts.
24735         * rs6000/t-aix43 (MULTILIB): Change to -m64.
24736
24737         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
24738
24739 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
24740
24741         * rs6000/rs6000.c (num_insns_constant_wide): Correct
24742         for type promotion.
24743         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
24744         (non_add_cint_operand): Likewise.
24745         (logical_operand): Likewise.
24746         (non_logical_cint_operand): Likewise.
24747         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
24748         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
24749         (rs6000_select_rtx_section): Suppress warning.
24750         (small_data_operand): Suppress warning.
24751         (rs6000_got_register): Suppress warning.
24752         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
24753         type, so `J' is generally the wrong constraint for a SImode value;
24754         use `L' instead.
24755         (andsi3_internal2): Likewise.
24756         (andsi3_internal3): Likewise.
24757         (iorsi3_internal1): Likewise.
24758         (xorsi3_internal1): Likewise.
24759         (movsi): Likewise.
24760         (movsf_softfloat): Likewise.
24761         (scc insns): Likewise.
24762         (movsi+2): Preserve sign bits of SImode constant.
24763         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
24764         (movdf+1): Sign-extend properly.
24765         (movdi_32+1): Sign-extend properly.
24766         (scc insns): Sign-extend properly.
24767
24768         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
24769         K, L, and T.
24770
24771 1999-08-02  Richard Henderson  <rth@cygnus.com>
24772
24773         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
24774         -mcpu parsing code.
24775         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
24776         * alpha.md (all fp insns): Likewise.
24777
24778 1999-08-02  Nick Clifton  <nickc@cygnus.com>
24779
24780         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
24781         already defined.
24782
24783 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
24784
24785         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
24786         pic_load_label generator directly.
24787         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
24788         No longer a named pattern.
24789
24790 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
24791
24792         * explow.c (force_reg): Call force_operand if X does not
24793         satisfy general_operand.
24794
24795 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
24796
24797         * fix-header.c (main): When testing for CONTINUED, use string
24798         equality, not pointer equality.
24799
24800 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
24801
24802         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
24803
24804 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
24805
24806         * cse.c (cse_insn): Fix loop which deletes insns after a jump
24807         that has become an unconditional jump.
24808
24809         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
24810         (output_function_epilogue): Similarly.
24811
24812 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24813
24814         * tree.h (init_dummy_function_start): Declare.
24815
24816 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24817
24818         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
24819         last_expr_type, last_expr_value, block_start_count, block_stack,
24820         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
24821         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
24822         dynamically in stmt elt of struct function for each function.
24823         (struct nesting): Rename function_call_count elt to n_function_calls,
24824         target_temp_slot_level to block_target_temp_slot_level.  All users
24825         changed.
24826         (struct stmt_status): New structure definition.
24827         Add many accessor macros for stmt_status elements which previously
24828         were global variables.
24829         (init_stmt_for_function): Allocate stmt elt for current_function.
24830         Reflect that block_start_count was renamed to
24831         current_block_start_count.
24832         (save_stmt_status, restore_stmt_status): Delete functions.
24833         (preserve_subexpressions_p): Don't access loop_stack when outside
24834         a function.
24835         (expand_start_bindings): Reflect that block_start_count was renamed to
24836         current_block_start_count.
24837         (expand_fixup): Likewise.
24838         (expand_decl): Don't access block_stack when outside a function.
24839         (expand_decl_cleanup): Likewise.
24840         (expand_dcc_cleanup): Likewise.
24841         (expand_dhc_cleanup): Likewise.
24842         (expand_anon_union_decl): Likewise.
24843         (set_file_and_line_for_stmt): New function.
24844         (in_control_zone_p): New function.
24845
24846         * function.h (struct function): Add new elt stmt.
24847         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
24848         case_stack, nesting_stack, nesting_depth, block_start_count,
24849         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
24850         emit_lineno, goto_fixup_chain.
24851         (save_eh_status, restore_eh_status, save_stmt_status,
24852         restore_stmt_status): Delete declarations.
24853         * function.c (push_function_context_to): Don't call save_stmt_status.
24854         (pop_function_context_to): Don't call restore_stmt_status.
24855         * tree.h (in_control_zone_p): Declare.
24856         * rtl.h (set_file_and_line_for_stmt): Declare.
24857
24858         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
24859         call set_file_and_line_for_stmt.
24860
24861 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
24862
24863         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
24864         Also update copyright.
24865
24866 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24867
24868         * c-pragma.c: Don't include "except.h".
24869         * emit-rtl.c: Likewise.
24870         * stor-layout.c: Likewise.
24871         * tree.c: Likewise.
24872         * varasm.c: Likewise.
24873
24874         * flow.c: Include "function.h".
24875         * tree.h (init_dummy_function_start): Declare new function.
24876
24877         * except.h (struct eh_status): New structure.
24878         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
24879         been included.
24880         (eh_return_stub_label, ehstack, catchstack, ehqueue,
24881         catch_clauses, false_label_stack, caught_return_label_stack,
24882         protect_list, current_function_ehc): Add accessor macros for the
24883         corresponding fields in current_function->eh; delete declarations
24884         for all items that used to be declared here.
24885         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
24886         catch_clauses, false_label_stack, caught_return_label_stack,
24887         protect_list, current_function_ehc): Delete variables.
24888         (init_eh_for_function): Allocate current_function->eh.
24889         (save_eh_status, restore_eh_status): Delete functions.
24890
24891         * function.h (struct function): Add fields next_global and eh.
24892         Delete all exception handling related fields.
24893         * function.c (current_function): New variable.
24894         (all_functions): New variable.
24895         (push_function_context_to): Don't allocate a struct function,
24896         use current_function instead.  Call init_dummy_function_start when
24897         outside a function.  Clear current_function before returning.
24898         (pop_function_context_from): Restore current_function.
24899         Don't free the restored struct function.
24900         (prepare_function_start): New function.
24901         (init_dummy_function_start): New function.
24902         (init_function_start): Break out some code into prepare_function_start
24903         and call it here.
24904
24905         * stmt.c (save_stmt_status): Don't call save_eh_status.
24906         (restore_stmt_status): Don't call restore_eh_status.
24907
24908         * Makefile.in: Update dependencies.
24909
24910 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
24911
24912         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
24913         of depending on a magic constant value.  Update comments.
24914         (hppa_expand_prologue): Similarly.
24915
24916         * pa.md (reload_indi, reload_outdi): Allow any register for the
24917         original reload register.
24918
24919 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
24920
24921         * cccp.c (print_help): Change marcos to macros.
24922
24923 1999-07-30  Richard Henderson  <rth@cygnus.com>
24924
24925         * c-typeck.c (initializer_constant_valid_p): Move ...
24926         * c-common.c (initializer_constant_valid_p): ... here.  Use
24927         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
24928         of label addresses.
24929         * c-common.h (initializer_constant_valid_p): Declare.
24930         * c-tree.h (initializer_constant_valid_p): Remove.
24931
24932 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
24933
24934         * config/i386/sol2-c1.asm: Align the stack.
24935         * config/i386/sol2-gc1.asm: Likewise.
24936
24937 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
24938
24939         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
24940         -Asparclite for sparc86x.
24941         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
24942         sparc86x.
24943         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
24944
24945 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
24946
24947         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
24948         the user if using the non-default arch size in BI_ARCH configuration.
24949         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
24950
24951         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
24952         Fix patterns so that they actually match.
24953         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
24954         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
24955         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
24956         TARGET_HARD_MUL32.
24957         (mulsidi3): Reflect this in the expand.
24958         (smulsi3_highpart): Only on TARGET_ARCH32.
24959         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
24960         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
24961         (umulsidi3): Reflect this in the expand.
24962         (umulsi3_highpart): Only on TARGET_ARCH32.
24963         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
24964         don't require g0 to be zero.
24965         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
24966         ({,u}divsi3): New expands.
24967         ({,u}divsi3_sp64): New patterns.
24968         (after lshrdi3_v8plus): Four new patterns to help combiner
24969         optimizing nested mixed mode shifts.
24970
24971         * config/sparc/sparc.c (sparc_override_options): Use deprecated
24972         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
24973         speed things up. Don't use them by default on plain v9 in 64bit
24974         mode, according to what SPAMv9 sais.
24975
24976         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
24977         top 32 bits of %[og][0-7] in signal handlers.
24978         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
24979
24980 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
24981
24982         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
24983         (ashlsi3): Corresponding changes.
24984
24985         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
24986
24987 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
24988
24989         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
24990
24991 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24992
24993         * arm.h (Hint): Delete macro.
24994         Substitute HOST_WIDE_INT for Hint in some prototypes.
24995         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
24996
24997 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
24998
24999         * builtins.c (expand_builtin_setjmp): Use force_operand to
25000         make sure that the buffer address is in a suitable form to be
25001         passed to force_reg.
25002
25003 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
25004
25005         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
25006         them here.
25007
25008 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
25009
25010         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
25011         proper mode in the condition string.
25012         (icacheflush, dcacheflush): Remove modes from match_operands.
25013
25014         * pa.c (emit_move_sequence): Always convert scratch_reg to the
25015         proper mode before using it.
25016
25017         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
25018         pair.
25019
25020         * pa.c (store_reg): Do not call add_high_const generator directly.
25021         (load_reg, set_reg_plus_d): Likewise.
25022         * pa.md (add_high_const): No longer a named pattern.
25023
25024         * pa.c (legitimize_address): Consistently use Pmode rather than
25025         SImode.  Do not call gen_pic2_highpart directly anymore.
25026         * pa.md (pic2_highpart): No longer a named pattern.
25027         (pic2_lo_sum): Similarly.  Reformat to make more readable.
25028
25029         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
25030         needed.
25031
25032         * README: Update.
25033
25034 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25035
25036         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
25037
25038 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
25039
25040         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
25041         and tag the spill mems.
25042         (hppa_va_start): New.
25043         (hppa_va_arg): New.
25044         * pa.h (EXPAND_BUILTIN_VA_START): New.
25045         (EXPAND_BUILTIN_VA_ARG): New.
25046
25047 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
25048
25049         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
25050         and tag the spill mems.
25051         (mn10300_va_start): New.
25052         (mn10300_va_arg): New.
25053         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
25054         (EXPAND_BUILTIN_VA_ARG): New.
25055
25056 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
25057
25058         * mn10200.c (mn10200_va_arg): New.
25059         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
25060
25061 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
25062
25063         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
25064         rather than play with TREE_INT_CST_LOW.
25065
25066 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
25067
25068         * config/arm/telf.h: Include dbxelf.h.
25069         (CPP_PREDEFINES): Only define if not already defined.
25070         (ASM_IDENTIFY_GCC): Likewise.
25071         (SUBTARGET_EXTRA_SECTIONS): Likewise.
25072         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
25073         * config/arm/thumb.h (LINK_SPEC): Only define if not already
25074         defined.
25075         (DBX_DEBUGGING_INFO): Don't define.
25076         * config/arm/linux-telf.h: New file.
25077         * config/arm/linux-tgas.h: New file.
25078         * config/arm/t-thumb-linux: New file.
25079         * config/arm/uclinux-elf.h: New file.
25080         * config/arm/uclinux-telf.h: New file.
25081         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
25082         thumb-*-uclinux): New targets.
25083         * configure: Regenerate.
25084
25085 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
25086
25087         * pa.md (post_store, pre_load): New expanders.
25088         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
25089         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
25090         need to directly generate RTL for them.
25091         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
25092         changes.
25093
25094 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
25095
25096         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
25097         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
25098         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
25099         (secndary_reload_class): Make TARGET_ELF conditional compile.
25100         (print_operand_address): Similar.
25101         (output_toc): Print all values as hex.
25102         (get_issue_rate): Rearrange and add RS64A and PPC630.
25103         * rs6000.h (processor_type): Add RS64A and PPC630.
25104         (PROCESSOR_POWERPC64): New.
25105         (PROMOTE_MODE): Use word_mode.
25106         (RTX_COSTS): Add RS64A and PPC630.
25107         * rs6000.md (scheduling information): Add lmul and ldiv
25108         representing 64-bit integer multiply and divide.  Add rs64a and
25109         PPC630 information.
25110         (ashldi3): Add support for "rldic" instruction.
25111         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
25112
25113 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
25114
25115         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
25116         instead of V8 for sparclite86x in cpu_table.
25117
25118 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25119
25120         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
25121         output_file_directive.
25122
25123 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
25124
25125         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
25126         tree for op1, not the rtl.
25127
25128 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
25129
25130         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
25131         to m88k_va_start, leaving only the register spill.
25132         (m88k_build_va_list): New.
25133         (m88k_va_start): New.
25134         (m88k_va_arg): New.
25135         * m88k.h (BUILD_VA_LIST_TYPE): New.
25136         (EXPAND_BUILTIN_VA_START): New.
25137         (EXPAND_BUILTIN_VA_ARG): New.
25138
25139 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
25140
25141         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
25142         Rename from expand_builtin_saveregs.
25143         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
25144
25145 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
25146
25147         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
25148         for the register spill block.
25149         (i960_build_va_list): New.
25150         (i960_va_start): New.
25151         (i960_va_arg): New.
25152         * i960.h (BUILD_VA_LIST_TYPE): New.
25153         (EXPAND_BUILTIN_VA_START): New.
25154         (EXPAND_BUILTIN_VA_ARG): New.
25155         * i960.md (store_multiple): Use change_address on individul mems.
25156
25157 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
25158
25159         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
25160         an ARRAY_TYPE.
25161         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
25162         (expand_builtin_va_end): Evaluate arg for side effects.
25163         * c-common.c (c_common_nodes_and_builtins): Construct a
25164         va_list_arg_type_node to handle array decomposition to pointer.
25165
25166 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
25167
25168         * except.c (st_dynamic_cleanup): Use force_operand on the
25169         buffer's address.
25170
25171 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
25172
25173         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
25174         * c4x.c (c4x_va_arg): New.
25175
25176 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
25177
25178         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
25179         has manual_pop set.
25180
25181 1999-07-26  Nathan Sidwell  <nathan@acm.org>
25182
25183         * eh-common.h (__eh_matcher): Prototype correctly.
25184
25185 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
25186
25187         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
25188         (TARGET_SINGLE_PIC_BASE): Likewise.
25189         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
25190         definitions.
25191         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
25192         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
25193         (TARGET_OPTIONS): Add -mpic-register=N.
25194         (OUTPUT_INT_ADDR_CONST): New macro.
25195         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
25196         LEGITIMATE_PIC_OPERAND_P): Likewise.
25197         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
25198         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
25199         output_addr_const directly.
25200         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
25201         ARM port.
25202         (thumb_pic_register, thumb_pic_register_string): Declare.
25203
25204         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
25205         from arm.c.
25206         (label_mentioned_p): New function: Imported from arm.c.
25207         (legitimize_pic_address): New function: Imported from arm.c.
25208         (is_pic):New function: Imported from arm.c.
25209         (thumb_finalize_pic):New function: Imported from arm.c.
25210         (add_constant): Cope with PIC constants.
25211         (fixit): Cope with PIC constants.
25212         (output_return): Do not treat the PIC register as live if
25213         TARGET_SINGLE_PIC_BASE is true.
25214         (thumb_function_prologue): Do not treat the PIC register as live if
25215         TARGET_SINGLE_PIC_BASE is true.
25216         (thumb_expand_prologue): Do not treat the PIC register as live if
25217         TARGET_SINGLE_PIC_BASE is true.
25218         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
25219         TARGET_SINGLE_PIC_BASE is true.
25220         (thumb_print_operand): Accept '|'.
25221         (thumb_override_options): Process PIC options.
25222
25223         * config/arm/thumb.md (movsi): Support PIC.
25224         (call_insn): Change "i" constraint to "X".
25225         (call_value_insn): Likewise.
25226         (consttable_4, consttable_8, consttable_end): Set and clear
25227         "making_const_table" as appropriate.
25228         (pic_load_addr, pic_add_dot_plus_four): New insns.
25229
25230         * invoke.texi (Thumb Options): Fix spelling.  Document new
25231         options -msingle-pic-base and -mpic-register=.
25232
25233 1999-07-26  Andrew Haley  <aph@cygnus.com>
25234
25235         * config/m32r/initfini.c (__init): Use a full word immediate for
25236         __fini: this allows it to be placed in any memory region.
25237
25238         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
25239         -mmodel=medium.  This is OK for all memory models.
25240
25241 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
25242
25243         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
25244         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
25245
25246 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
25247
25248         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
25249         defined.
25250
25251         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
25252
25253 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
25254
25255         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
25256         (BUILD_VA_LIST_TYPE): New.
25257         (EXPAND_BUILTIN_VA_START): New.
25258         (EXPAND_BUILTIN_VA_ARG): New.
25259         * i860.c (output_delayed_branch): Disable.
25260         (output_delay_insn): Likewise.
25261         (i860_saveregs): New.
25262         (i860_build_va_list): New.
25263         (i860_va_start): New.
25264         (i860_va_arg): New.
25265         * i860.md: Disable all peepholes using output_delayed_branch.
25266         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
25267
25268 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
25269
25270         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
25271         (BUILD_VA_LIST_TYPE): New.
25272         (EXPAND_BUILTIN_VA_START): New.
25273         (EXPAND_BUILTIN_VA_ARG): New.
25274         * clipper.c (clipper_builtin_saveregs): Only dump registers.
25275         Return the address of the save area.
25276         (clipper_build_va_list): New.
25277         (clipper_va_start): New.
25278         (clipper_va_arg): New.
25279
25280 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
25281
25282         * arc.h (EXPAND_BUILTIN_VA_START): New.
25283         (EXPAND_BUILTIN_VA_ARG): New.
25284         * arc.c (arc_setup_incoming_varargs): Set alias set of
25285         varargs save area.
25286         (arc_va_start): New.
25287         (arc_va_arg): New.
25288
25289 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
25290
25291         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
25292         (BUILD_VA_LIST_TYPE): New.
25293         (EXPAND_BUILTIN_VA_START): New.
25294         (EXPAND_BUILTIN_VA_ARG): New.
25295         * alpha.c (alpha_builtin_saveregs): Delete.
25296         (alpha_build_va_list): New.
25297         (alpha_va_start): New.
25298         (alpha_va_arg): New.
25299
25300 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
25301
25302         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
25303         column zero.
25304         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
25305         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
25306
25307         * gcc.texi: More changes related to list conversion.
25308         * invoke.texi: Likewise.
25309
25310 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
25311
25312         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
25313         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
25314         (expand_builtin_next_arg): Accept ARGLIST not EXP.
25315         (stabilize_va_list): New function.
25316         (std_expand_builtin_va_start): New function.
25317         (expand_builtin_va_start): New function.
25318         (get_varargs_alias_set): New function.
25319         (std_expand_builtin_va_arg): New function.
25320         (expand_builtin_va_arg): New function.
25321         (expand_builtin_va_end): New function.
25322         (expand_builtin_va_copy): New function.
25323         (expand_builtin): Call them.
25324         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
25325         __builtin_{varargs_start,stdarg_start,end,copy}.
25326         (build_va_arg): New function.
25327         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
25328         (build_va_arg): Declare.
25329         * c-decl.c (ptr_type_node, va_list_type_node): New.
25330         * c-parse.gperf (__builtin_va_arg): New.
25331         * c-parse.in (VA_ARG): New token.
25332         (unary_expr): Recognize it.
25333         * expr.c (expand_expr): Expand VA_ARG_EXPR.
25334         * expr.h (std_expand_builtin_va_start): Declare.
25335         (std_expand_builtin_va_arg): Declare.
25336         (expand_builtin_va_arg): Declare.
25337         (get_varargs_alias_set): Declare.
25338         * tree.def (VA_ARG_EXPR): New.
25339         * tree.h (BUILT_IN_VARARGS_START): New.
25340         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
25341         (ptr_type_node, va_list_type_node): Declare.
25342         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
25343         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
25344         * m88k.h, m88k.c: Likewise.
25345         * mn10300.h, mn10300.c: Likewise.
25346         * pa.h, pa.c: Likewise.
25347         * rs6000.h, rs6000.c: Likewise.
25348         * sh.h, sh.c: Likewise.
25349         * sparc.h, sparc.c: Likewise.
25350
25351         * emit-rtl.c (operand_subword): Copy alias set.
25352         (change_address): Likewise.
25353
25354 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
25355
25356         * pa.c (compute_frame_size): Scan all the used callee saved registers,
25357         not just the first one.
25358
25359 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
25360
25361         * config/arm/arm.h (TARGET_SWITCHES): Add
25362         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
25363         (TARGET_OPTIONS): Add -mpic-register=.
25364         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
25365         (arm_pic_register_string): Declare.
25366         (NEED_PLT_GOT): Delete, replace with ...
25367         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
25368         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
25369         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
25370         * config/arm/arm.c (arm_override_options): Add new option
25371         -mpic-register=N.
25372         (arm_pic_register_string): New variable.
25373         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
25374         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
25375         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
25376         (output_return_instruction): Likewise.
25377         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
25378         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
25379         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
25380
25381         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
25382         mention of -msched-prolog.  Document new options -msingle-pic-base
25383         and -mpic-register=.
25384
25385 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
25386
25387         * haifa-sched.c (reemit_notes): Tidy.
25388         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
25389         haifa's routine.
25390
25391 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
25392
25393         * explow.c (trunc_int_for_mode): New function.
25394         (plus_constant_wide): Use it.
25395         * combine.c (simplify_and_const_int): Likewise.
25396         (merge_outer_ops): Likewise.
25397         (simplify_shift_const): Likewise.
25398         * cse.c (simplify_unary_operation): Likewise.
25399         (simplify_binary_operation): Likewise.
25400         * emit-rtl.c (operand_subword): Likewise.
25401         * rtl.h: Declare it.
25402
25403 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25404
25405         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
25406         (use NUM_REGS instead of NUM_INTS).
25407
25408 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25409
25410         * builtins.c: New file.
25411         * expr.c (saveregs_value, apply_args_value):  Delete definition,
25412         moved into builtins.c.
25413         (string_constant): No longer static.
25414         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
25415         apply_args_size, apply_result_size, result_vector,
25416         expand_builtin_apply_args, expand_builtin_apply,
25417         expand_builtin_return): Delete functions, moved into builtins.c.
25418         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
25419         * expr.h (saveregs_value, apply_args_value): Declare variables.
25420         (expand_builtin, string_constant): Declare functions.
25421         * Makefile.in: Update to build builtin.o.
25422
25423 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
25424
25425         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
25426         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
25427         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
25428         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
25429         false.
25430         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
25431         Define to zero.
25432
25433 1999-07-21  Michael Meissner  <meissner@cygnus.com>
25434
25435         * print-rtl.c (print_rtx): Print the names of the virtual
25436         registers.
25437
25438 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
25439
25440         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
25441         introduced in previous delta.
25442
25443 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25444
25445         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
25446         to avoid name clash.
25447
25448 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25449
25450         * c-lex.c (yylex) : Correct the test for overflow when lexing
25451         integer literals.
25452
25453 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
25454
25455         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
25456         (adjust_priority): Always call ADJUST_PRIORITY.
25457         (schedule_insn): Only put insns into the ready at cost 0.
25458         (schedule_block): Remove redundant initial sort.  Give clock_var
25459         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
25460         is not 0.
25461         * tm.texi (MD_SCHED_REORDER): Update docs.
25462
25463         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
25464         * sparc.c (ultra_reorder_called_this_block): Delete.
25465         (ultrasparc_sched_init): Don't set it.
25466         (ultrasparc_sched_reorder): Don't check it.
25467
25468 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
25469
25470         * rs6000.h (struct rs6000_args): Add sysv_gregno.
25471         * rs6000.c (init_cumulative_args): Init sysv_gregno.
25472         (function_arg_boundary): Align DFmode.
25473         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
25474         to get fp reg and stack overflow correct.
25475         (function_arg): Likewise.
25476         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
25477         (setup_incoming_varargs): Restructure for ABI_V4; use
25478         function_arg_advance to skip final named argument.
25479         (expand_builtin_saveregs): Properly unskip the last integer arg
25480         when doing varargs.  Adjust overflow location calculation.
25481
25482         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
25483         explicitly unsigned.
25484         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
25485         (__VA_GP_REGSAVE): Similarly.
25486         (__va_longlong_p): Delete.
25487         (__va_arg_type_violation): New declaration.
25488         (va_arg): Restructure.  Flag promotion errors.  Align double.
25489         TFmode passed by reference.
25490
25491         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
25492         in the HOST_BITS_PER_WIDE_INT > 32 case.
25493
25494 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
25495
25496         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
25497
25498 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
25499
25500         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
25501         * toplev.c (documented_lang_options): Add -fpreprocessed.
25502         * cpplib.h (struct cpp_buffer): Add preprocessed.
25503         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
25504         (cpp_start_read): Don't expand macros or emit an initial #line
25505         directive if -fpreprocessed.
25506
25507 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
25508
25509         * cpplib.h (struct cpp_buffer): Added manual_pop for
25510         better C++ tokenization.
25511         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
25512         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
25513         * c-common.c (cpp_token): Make non-static.
25514
25515 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25516
25517         * c-common.h: New file.
25518         * c-common.c (permanent_obstack): Delete unused declaration.
25519         (c_global_trees): New array.
25520         (c_common_nodes_and_builtins): New function; split off common code
25521         from init_decl_processing in both c-decl.c and cp/decl.c.
25522         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
25523         c_global_trees and accessor macros defined in c-common.h.
25524         Include c-common.h.
25525         * c-decl.c: Delete definitions for tree nodes that were replaced by
25526         c_global_trees.
25527         (init_decl_processing): Build void_list_node.
25528         Call c_common_nodes_and_builtins; delete code to generate the common
25529         builtins here.
25530         * objc/objc-act.c (build_module_descriptor): Rename variable
25531         void_list_node to avoid clash with c-common.h.
25532
25533         * Makefile.in: Update dependencies.
25534         * objc/Make-lang.in: Likewise.
25535
25536 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
25537
25538         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
25539         (UNIQUE_SECTION_P): Likewise.
25540         (UNIQUE_SECTION): Likewise.
25541
25542 1999-07-19  Linas Vepstas  <linas@linas.org>
25543
25544         * config/i370/README: New file.
25545         * config/i370/linux.h: New file.
25546         * config/i370/mvs.h: New file.
25547         * config/i370/oe.h: New file.
25548         * config/i370/t-linux: New file.
25549         * config/i370/t-mvs: New file.
25550         * config/i370/t-oe: New file.
25551         * config/i370/x-oe: New file.
25552         * config/i370/xm-linux.h: New file.
25553         * config/i370/xm-mvs.h: New file.
25554         * config/i370/xm-oe.h: New file.
25555
25556         * i370.c (label_node_t): Add first_ref_page, label_addr,
25557         label_first_ref, label_last_ref members.
25558         (mvs_need_base_reload): Renamed from mvs_label_emitted.
25559         (MAX_MVS_LABEL_SIZE): Define.
25560         (MAX_LONG_LABEL_SIZE): Define.
25561         (alias_node_t, alias_anchor, alias_number): New.
25562         (mvs_function_table): Reorder for EBCDIC.
25563         (ascebc, ebcasc): Unconditionally define.
25564         (i370_branch_dest, i370_branch_length): New functions.
25565         (i370_short_branch, i370_label_scan): New functions.
25566         (mvs_get_label): Renamed from mvs_add_label.  Search for
25567         an existing label before creating a new one.
25568         (mvs_add_label): New function.
25569         (mvs_get_label_page): New function.
25570         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
25571         over the entire list.
25572         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
25573         (mvs_check_page) [TARGET_ELF_ABI]: New function.
25574         (mvs_add_alias, mvs_need_alias): New functions.
25575         (mvs_get_alias, mvs_check_alias): New functions.
25576         (handle_pragma): New function.
25577         (mvs_function_check): New function.
25578         (unsigned_jump_follows_p): Search harder.
25579         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
25580         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
25581         * i370.h (TARGET_VERSION): Delete.
25582         (CPP_SPEC, CPP_PREDEFINES): Delete.
25583         (mvs_label_emitted): Delete.
25584         (TARGET_EBCDIC): Delete.
25585         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
25586         (HANDLE_PRAGMA): Define.
25587         (HARD_REGNO_NREGS): Handle complex modes.
25588         (HARD_REGNO_MODE_OK): Likewise.
25589         (CLASS_MAX_NREGS): Likewise.
25590         (RET_REG): Likewise.
25591         (EXTRA_CONSTRAINT): Define.
25592         (RETURN_IN_MEMORY): True for DImode.
25593         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
25594         (FUNCTION_PROFILER): Delete.
25595         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
25596         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
25597         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
25598         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
25599         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
25600         (ASM_FILE_START): Add "RMODE ANY".
25601         (ASM_OUTPUT_EXTERNAL): Check for aliases.
25602         (ASM_GLOBALIZE_LABEL): Likewise.
25603         (ASM_OUTPUT_LABELREF): Likewise.
25604         (ASM_OUTPUT_COMMON): Likewise.
25605         (PRINT_OPERAND): Handle 'K', 'W', default.
25606         (PRINT_OPERAND_ADDRESS): New.
25607         (Lots of defines): Add support for TARGET_ELF_ABI.
25608         * i370.md (attr length): New.  Define for all patterns.
25609         (*): Lots of tweeks to assembly output and constraints.
25610
25611 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
25612
25613         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
25614         Disable patterns performing SImode comparisons with SImode values
25615         if TARGET_POWERPC64 and instruction does not sign-extend or does
25616         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
25617         differ for signed quantities.
25618         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
25619         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
25620         (decrement_and_branch_on_count): Add 64-bit variant.
25621
25622 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25623
25624         * final.c (output_asm_insn): When searching for the matching string
25625         for a given dialect, don't run past the end of the list of
25626         alternatives if there are fewer alternatives in the template than
25627         dialects.
25628
25629 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
25630
25631         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
25632         Removed paragraph about compression of files and size limitation,
25633         duplicated in the FAQ.  Use gcc-patches for posting patches.
25634         * gcc.c (main): Updated URL with bug reporting instructions to
25635         gcc.gnu.org.  Removed e-mail address.
25636         * system.h (abort): Likewise.
25637
25638 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25639
25640         * Makefile.in (stmp-multilib-sub): Make the files extracted
25641         from $(LIBGCC1) writable.
25642
25643 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
25644
25645         * config/arm/aout.h: Reformat for improved readability.
25646
25647         * config/arm/arm.h: Reformat for improved readability.
25648         Replace uses of fprintf with asm_fprintf where appropriate.
25649         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
25650         function declaration assembler actions.
25651         (NUM_INTS): New macro: Convert from bytes to words.
25652         (NUM_REGS): New macro: Compute number of registers required to
25653         hold a quanitity of tyep MODE.
25654         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
25655         types.
25656         (NUM_ARG_REGS): New macro: The number of argument registers
25657         available.
25658         (ARG_REGISTER): New macro: Compute the register number of the Nth
25659         argument register.
25660         (LAST_ARG_REGNUM): New macro: The number of the last argument
25661         register.
25662         (SP_REGNUM): New macro: Register number of the stack pointer.
25663         (FP_REGNUM): New macro: Register number of the frame pointer.
25664         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
25665         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
25666         CUMULATIVE_ARGS so that it counts registers not bytes.
25667
25668         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
25669         TARGET_INTERWORK.
25670         Replace uses of fprintf with asm_fprintf where appropriate.
25671         (output_ascii_pseudo_op): Replace with version from thumb.c
25672
25673         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
25674
25675         * config/arm/elf.h (CPP_PREDEFINES): Replace with
25676         SUBTARGET_CPP_SPEC.
25677         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
25678         (ASM_FILE_START): Emit ASM_APP_OFF.
25679
25680 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
25681
25682         * pa.c (compute_frame_size): Round frame according to
25683         STACK_BOUNDARY rather than a hardwired value.
25684
25685         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
25686
25687         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
25688         of "1".
25689         * configure: Rebuilt.
25690
25691         * configure.in (hppa*-*-linux*): New configuration.
25692         * configure: Rebuilt.
25693         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
25694         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
25695         * pa/pa-linux.h: New file.
25696         * pa/t-linux: New file.
25697         * pa/xm-linux.h: New file.
25698
25699         * pa.c (hppa_legitimize_address): Change references from SImode to
25700         either Pmode or word_mode as appropriate.
25701         (emit_move_sequence, store_reg, load_reg): Likewise.
25702         (set_reg_plus_d, hppa_expand_prologue): Likewise.
25703         (output_mul_insn): Likewise.
25704         * pa.h (PROMOTE_MODE): Likewise.
25705         (INITIALZE_TRAMPOLINE): Likewise.
25706         (Pmode): Define to word_mode.
25707
25708         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
25709         value of 4.  Allocate 8 bytes for each FP register save.
25710         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
25711         value of 4.
25712         (hppa_expand_prologue): Likewise.
25713         * pa.h (PROMOTE_MODE): Likewise.
25714         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
25715         (FUNCTION_ARG_BOUNDARY): Likewise.
25716
25717         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
25718
25719         * pa.c (out_of_line_prologue_epilogue): Delete.
25720         (override_options): Remove -mspace related code.
25721         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
25722         (compute_frame_size): Only allocate space for register that
25723         actually need to be saved.
25724         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
25725         (TARGET_SWITCHES): Remove -mspace, -mno-space
25726         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
25727         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
25728         * pa/ee.asm, pa/ee_fp.asm: Delete.
25729
25730         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
25731
25732         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
25733         directive in column zero.
25734
25735 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
25736
25737         * m68k.c (output_function_prologue): Fix computation of save mask
25738         when generating PIC code.
25739
25740 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
25741
25742         * tree.c (build_type_attribute_variant): Move current_obstack restore
25743         after build_qualified_type call.
25744
25745 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
25746
25747         * configure.in: Use t-iris6, even with GNU LD.
25748         * config/mips/iris6gld.h: Fix typo in linker spec.
25749         * config/mips/t-iris6gld: Remove.
25750
25751 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
25752
25753         * rs6000.md (insv, extzv): Remove SImode dependence in named
25754         patterns.  Explicitly generate DImode RTL if PowerPC64 and
25755         operand is DImode.
25756         (insvdi): Reverse start and size in instruction template.
25757
25758 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
25759
25760         * invoke.texi: Typo fixes.
25761
25762 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
25763
25764         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
25765         handle at this time instead of silently generating incorrect code.
25766         (gen_imagpart): Likewise.
25767
25768         * reload.c (find_reloads): Emit a USE for a pseudo register without
25769         a hard register if we could not create an optional reload for the
25770         pseudo.
25771
25772 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25773
25774         * c-typeck.c (output_init_element, process_init_element):
25775         When advancing constructor_unfilled_fields for a RECORD_TYPE,
25776         check for nameless bit fields.
25777
25778 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
25779
25780         * regclass.c (scan_one_insn): Notice subregs that change the
25781         size of their operand.
25782         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
25783
25784 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
25785
25786         * configure.in (alpha*-*-*): Include alpha/t-ieee.
25787         * configure: Rebuilt.
25788         * alpha/t-ieee: New file.
25789
25790 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
25791
25792         * rs6000.c (find_addr_reg): Do not select r0 as an address
25793         register.
25794
25795 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
25796
25797         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
25798
25799 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
25800
25801         * rs6000.md (movsf): Do not force easy FP constants into memory.
25802
25803         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
25804         immed_double_const to ensure they are properly truncated then
25805         sign extended.
25806
25807 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
25808
25809         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
25810         always unless NO_DEBUG is used.  Compile this code
25811         unconditionally.
25812         (replace_symbols_in_block): Compile it unconditionally.
25813
25814 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
25815
25816         * configure.in (i?86-*-elf*): New target.
25817         * configure: Rebuilt.
25818         * i386/i386elf.h, i386/t-i386elf: New files.
25819
25820 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
25821
25822         * toplev.c (main): Don't complain about saying -gdwarf.
25823         (rest_of_compilation): Remove redundant code.
25824
25825 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
25826
25827         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
25828
25829 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
25830
25831         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
25832         "Li960R:", to avoid name clash.
25833
25834 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25835
25836         * loop.c (check_dbra_loop): When reversing a loop, delete all
25837         REG_EQUAL notes referencing the reversed biv except those which are
25838         for a giv based on it.
25839
25840 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
25841
25842         * version.c: Drop "gcc-" prefix from version #.
25843
25844 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
25845
25846         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
25847         the label if we're being verbose.
25848
25849 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
25850
25851         * m68k.c (output_function_prologue): Add pic register to mask
25852         if live and flag_pic.
25853         (output_function_epilogue): Likewise.
25854
25855 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
25856
25857         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
25858         directives in column zero.
25859
25860         * pa/elf.h (ASM_FILE_START): Define.
25861         * pa/som.h (ASM_FILE_START): Include .level directives.
25862         * pa/hpux10.h (ASM_FILE_START): Delete.
25863         * pa/hpux11.h (ASM_FILE_START): Delete.
25864
25865         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
25866
25867 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25868
25869         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
25870         when reload_out equals reload_in.
25871
25872 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
25873
25874         * invoke.texi (Spec Files): New node: Describe the contents of
25875         spec files.
25876
25877 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
25878
25879         * invoke.texi (DEC Alpha Options): Put @end table at
25880         beginning of line, to avoid confusing texi2html.
25881
25882 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
25883
25884         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
25885         introduced in previous delta.
25886
25887 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25888
25889         * reload1.c (gen_reload): When synthesizing a 3 operand add
25890         sequence, improve test for when to reload OP1 into the reload
25891         register instead of OP0.
25892
25893 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
25894
25895         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
25896
25897 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
25898
25899         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
25900         string literal.
25901
25902 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
25903
25904         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
25905         (va_dcl): Use __builtin_va_alist_t.
25906
25907 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
25908
25909         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
25910         on the permanent_obstack.
25911         * dwarfout.c (output_type): Likewise.
25912
25913 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25914
25915         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
25916         Merged from c-typeck.c and cp/typeck.c.
25917         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
25918         Merged into c-common.
25919
25920 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
25921
25922         * c-lex.c (errorcount): Declare it.
25923         (finish_parse): Update errorcount when using CPPLIB.
25924
25925 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
25926
25927         * fixinc/inclhack.def(end_else_label): Double the backslash so
25928         sed gets a chance to see it.
25929         * fixinc/inclhack.sh: regen
25930         * fixinc/fixincl.x: regen
25931
25932 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
25933
25934         Add framework to support armv5 architecture when it becomes
25935         available:
25936
25937         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
25938         (arm_arch5): New variable.
25939         (all_architectures): Add armv5 line.
25940         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
25941         -march=armv5 is specified on the command line.
25942         (arm_arch5): Export this variable.
25943         * invoke.texi: Document new string accepted by -march= switch for
25944         ARM ports.
25945
25946         * config/arm/arm.h: Replace use of constant 12 as a register
25947         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
25948         * config/arm/arm.c: Replace use of constant 12 as a register
25949         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
25950
25951         * config/arm/elf.h: Tidy up.
25952         * config/arm/coff.h: Tidy up.
25953
25954 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
25955
25956         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
25957         * gcc/config/mips/t-iris6gld: New file.
25958         * gcc/config/mips/iris6gld.h: Likewise.
25959
25960 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25961
25962         * c-decl.c (widest_integer_literal_type_node,
25963         widest_unsigned_literal_type) : New.
25964         (init_decl_processing): Handle/use the two new types.
25965         * c-common.c (type_for_size,type_for_mode) : Same.
25966         * c-lex.c (yylex) : Same.
25967         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
25968         Same.
25969         * c-tree.h (widest_integer_literal_type_node,
25970         widest_unsigned_literal_type) : New.
25971
25972 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
25973
25974         * dwarfout.c (field_byte_offset): Correctly compute the object's
25975         byte offset for the first bit of a field which crosses an alignment
25976         boundary on a !BYTES_BIG_ENDIAN target.
25977
25978 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
25979
25980         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
25981         ntohs.
25982
25983 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
25984                           Jeff Law <law@cygnus.com>
25985
25986         * ginclude/varargs.h (va_dcl): Use word_mode for type of
25987         __builtin_va_list.
25988
25989         * except.c: Include intl.h.
25990         (expand_eh_return): Set current_function_cannot_inline.
25991         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
25992         * function.h (struct function): Add eh_return_stub_label.
25993         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
25994         * Makefile.in (except.o): Depend on intl.h.
25995
25996 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
25997
25998         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
25999         same as offsettable in cases 1 and 2.
26000
26001 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
26002
26003         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
26004         (extlh, extwh): Likewise.
26005
26006 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26007
26008         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
26009
26010 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
26011
26012         * configure.in: Add arm-pe and thumb-pe targets.
26013         * configure: Regenerate.
26014
26015         * thumb.c (arm_naked_function_p): New function: Determines if
26016         a function is naked (has no gcc generated prologue/epilogue).
26017         (is_called_in_ARM_mode): Return true if the func has the
26018         interfacearm attribute.
26019         (output_return): Do not generate a return for naked functions.
26020         (thumb_function_prologue): Do not generate a prologue for
26021         naked functions.
26022         (thumb_expand_prologue): Do not generate a prologue for naked
26023         functions.
26024         (thumb_expand_epilogue): Do not generate an epilogue for naked
26025         functions.
26026         (arm_valid_machine_decl_attribute): New function, copied from
26027         arm.c:  Permit naked and interfacearm attributes.
26028
26029         * config/arm/pe.c: New file: Support code for arm-pe target.
26030         * config/arm/pe.h: New file: Header file for arm-pe target.
26031         * config/arm/tpe.h: New file: Header file for thumb-pe target.
26032         * config/arm/t-thumb-pe: New file: Makefile fragment for
26033         thumb-pe target.
26034
26035 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
26036
26037         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
26038         -fPIC or -fpic is specified.
26039
26040 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
26041
26042         * expr.c (emit_block_move): Use copy_to_mode_reg for
26043         !TARGET_MEM_FUNCTIONS case too.
26044
26045         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
26046         appropriate.
26047         * configure: Rebuilt.
26048         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
26049         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
26050         definitions made redundant by dbxelf.h inclusion.  Delete
26051         lots of definitions related to assembly output that are
26052         specific to the SOM object format.
26053         * pa.c (output_function_prologue): Do not emit the function's
26054         name for OBJ_ELF.
26055         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
26056         * pa-pro.h: Deleted.
26057         * som.h: New file with SOM specific definitions.
26058         * elf.h: New file with ELF specific definitions.
26059
26060         * elfos.h (const_section): Output a tab before assembler directives.
26061         (ctors_section, dtors_section): Likewise.
26062         (ASM_OUTPUT_SECTION_NAME): Likewise.
26063
26064         * pa/pa1.h: Delete unused file.
26065
26066 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
26067
26068         * configure.in (hppa*-hp-hpux11*): New configuration.
26069         * configure: Rebuilt.
26070         * pa/pa-hpux11.h: New file.
26071         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
26072         command line.
26073
26074         * mips.md (leasi, leadi): New patterns.
26075
26076         * expr.c (emit_block_move): Properly handle case where one of the
26077         block move arguments has a queued increment or decrement.
26078         (clear_storage): Similarly.  Fix formatting goof.
26079
26080 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
26081
26082         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
26083         semicolon from the BSD VA_LIST replacement expression.
26084
26085         * fixinc/inclhack.sh: regen
26086         * fixinc/fixincl.x: regen
26087
26088         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
26089         now use the fixincl program.
26090
26091 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
26092
26093         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
26094         case.  Also make the PIC register call_used.
26095
26096         * m68k.h (FINALIZE_PIC): Delete.
26097         * m68k.c (finalize_pic): Delete.
26098
26099 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
26100
26101         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
26102         to memory.
26103
26104 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
26105
26106         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
26107
26108 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
26109
26110         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
26111
26112 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
26113
26114         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
26115
26116 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
26117
26118         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
26119
26120 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
26121
26122         * rs6000.c (output_toc): Always use hex values for floating-point
26123         constants.  Store single-precision values in upper-half of TOC
26124         entry in 64-bit mode.
26125         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
26126         to final constraints.
26127         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
26128         (fctiwz): Improve accuracy of RTL for pattern.
26129
26130 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26131
26132         * expr.c (expand_expr): Allow RTL_EXPR's through the
26133         MAX_INTEGER_COMPUTATION_MODE checks.
26134
26135 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
26136
26137         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
26138         such that MASK_SUPPORT_ARCH is not negative.
26139
26140 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
26141
26142         * loop.c (verify_dominator): Properly handle ADDR_VEC and
26143         ADDR_DIFF_VEC insns that appear inside loops.
26144
26145 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
26146                           Jeff Law <law@cygnus.com>
26147
26148         * rs6000.md (movdf_hardfloat32): Revert previous patch.
26149         Handle LO_SUM the same as offsettable in cases 1 and 2.
26150         * rs6000.c (find_addr_reg): Revert previous patch.
26151
26152 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
26153
26154         * system.h (strstr): New external function declaration.
26155         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
26156         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
26157         * config.in, configure: Rebuilt.
26158
26159 1999-06-24  Tom Tromey  <tromey@cygnus.com>
26160
26161         * gcc.c (main): Read user-specified specs files after computing
26162         additional startfile_prefixes.
26163
26164 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
26165
26166         Revert these two patches:
26167
26168         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26169         * loop.c (strength_reduce): When doing biv->giv conversion, update
26170         reg note of NEXT->insn.
26171
26172         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26173         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26174         reg_biv_class.
26175         (recombine_givs): Set ix field after sorting.
26176
26177 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26178
26179         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
26180         for the parts of an UNSPEC / UNSPEC_VOLATILE.
26181
26182 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
26183
26184         *fixinc/inclhack.def:  Add fix development commentary
26185         (read_ret_type): reactivate and add selection clause
26186         (zzz_*): tweak output file name to match what is used in hackshell.tpl
26187         *fixinc/{fixincl.x|inclhack.sh}: regen
26188
26189 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
26190
26191         * expr.c (expand_expr): STRIP_NOPS before checking against
26192         MAX_INTEGER_COMPUTATION_MODE
26193         (check_max_integer_computation_mode): Likewise.
26194
26195 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
26196
26197         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
26198
26199 1999-06-22  Jim Wilson  <wilson@cygnus.com>
26200
26201         * expr.c (store_expr): When target is a promoted subreg, return a
26202         promoted subreg as a result.
26203
26204 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
26205
26206         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
26207         coding standards.
26208         (dwarf2out_define): Mark unused parameters appropriately.
26209         (gen_unspecified_parameters_die): Ditto.
26210         (gen_subprogram_die): Fix signed/unsigned warnings.
26211         (gen_variable_die): Ditto.
26212
26213 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
26214
26215         * fixinc/inclhack.def(end_else_label): combined else_label
26216         and endif_label and fixed the sed expression.
26217         *fixinc/{fixincl.x|inclhack.sh}: regen
26218
26219 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
26220
26221         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
26222         'x' when handling non-offsettable addresses
26223
26224 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
26225
26226         * final.c (shorten_branches): Don't try to split an insn that has
26227         been deleted.
26228
26229 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
26230
26231         * config/mips/mips.c (symbolic_expression_p): New function.
26232         (mips_select_rtx_section): Put symbolic expressions in the
26233         data section, not the read-only data section.
26234
26235 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
26236
26237         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
26238
26239 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
26240
26241         * collect2.c (main): Log frame table count.
26242         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
26243         (scan_prog_file) [COFF]: Handle frame tables.
26244
26245         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
26246         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
26247         * alpha/elf.h: Undef them again.
26248         * alpha/vms.h: Remove their definitions.
26249
26250 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26251
26252         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
26253         remove the clobber of r0 and change the REG_UNUSED note to
26254         REG_INC.
26255
26256 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
26257
26258         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
26259         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
26260         fits in HOST_WIDE_INT and one uses union to access a long constant
26261         as double.
26262
26263 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
26264
26265         * sparc.c (sparc_override_options): Don't allow profiling for
26266         code models other than medlow.
26267         (sparc_function_profiler): New function from old FUNCTION_PROFILER
26268         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
26269         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
26270         (sparc_block_profiler): Likewise.
26271         (sparc_function_block_profiler_exit): Likewise.
26272         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
26273         (FUNCTION_BLOCK_PROFILER): Likewise.
26274         (BLOCK_PROFILER): Likewise.
26275         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
26276         (MCOUNT_FUNCTION): New.
26277         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
26278         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
26279         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
26280         (MCOUNT_FUNCTION): New.
26281         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
26282         (BLOCK_PROFILER): Delete.
26283         (MCOUNT_FUNCTION): New.
26284
26285 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
26286
26287         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
26288
26289 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
26290
26291         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26292         Add the macros.
26293
26294         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26295         Ditto.
26296
26297         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26298         Ditto.
26299
26300         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26301         Ditto.
26302
26303 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
26304
26305         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
26306         types.
26307
26308 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
26309
26310         * i386/djgpp.h (LIB_SPEC): New.
26311         (STARTFILE_SPEC): New.
26312
26313         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
26314
26315 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
26316
26317         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
26318         compiler flags.
26319
26320         * system.h (WSTOPSIG): New macro.
26321
26322 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
26323
26324         * c-pragma.c (push_alignment): Don't ignore alignments greater than
26325         4 bytes.
26326         (insert_pack_attributes): Take into account member natural
26327         alignment.
26328
26329         * i386/winnt.c (exports_head): New static variable.
26330         (i386_pe_record_exported_symbol): New function.
26331         (i386_pe_asm_file_end): Use.
26332         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
26333         symbols to be emitted at end of assembly.
26334         (ASM_DECLARE_OBJECT_NAME): Likewise.
26335         (ASM_DECLARE_FUNCTION_NAME): Likewise.
26336
26337         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
26338         -iwithprefix.
26339
26340 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
26341
26342         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
26343         in last change.
26344
26345 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
26346
26347         * haifa-sched.c (sched_analyze_1): Use free_list instead of
26348         zapping reg_last_uses directly.
26349         (sched_analyze_2, sched_analyze_insn): Likewise.
26350         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
26351
26352 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
26353
26354         * rs6000.md (movdf_hardfloat32): Use worst case insn length
26355         attributes for cases 1 and 2.
26356
26357 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
26358
26359         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
26360         instead of set.
26361
26362 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
26363
26364         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
26365
26366 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
26367
26368         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
26369         PIC_OFFSET_TABLE_REGNUM for general alloaction.
26370         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
26371         must be stacked if it is used for PIC accesses.
26372         * arm.c (use_return_insn): Handle PIC register specially.
26373         (output_return_instruction): Likewise.
26374         (output_func_{prologue,epilogue}): Likewise.
26375         (output_expand_prologue): Likewise.
26376
26377         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
26378         (*strsi_predec): Renamed from *strqi_predec.
26379         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
26380         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
26381
26382         * arm.c (arm_override_options): Remove warning about PIC code
26383         not being supported.
26384
26385 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
26386
26387         * rs6000.c (find_addr_reg): New function.
26388         * rs6000.h (find_addr_reg): Declare.
26389         (offsettable_addr_operand): Delete.
26390         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
26391         from and stores to GPRs.
26392
26393 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
26394
26395         * alpha.c (alpha_expand_block_move): Use get_insns rather than
26396         gen_sequence as argument to emit_no_conflict_block.
26397
26398 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26399
26400         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
26401         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
26402         *fixinc/fixincl.x: regen
26403         *fixinc/inclhack.sh: regen
26404
26405 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
26406
26407         * added support for -mpcrel (PC relative addressing for m68k)
26408         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
26409         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
26410         * m68k.c (print_operand_address): Handle 32-bit PIC case.
26411         (comments for general_src_operand): Add some explanation
26412         about EXTRA_CONSTRAINTS.
26413         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
26414         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
26415         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
26416         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
26417         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
26418         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
26419         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
26420         if not already set.
26421         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
26422         * m68k.h (TARGET_PCREL): New target flag.
26423         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
26424         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
26425         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
26426         contains a SYMBOL_REF.  Relax this constraint during reload, since
26427         we want to use the predicates, not reload's built-in concept of a
26428         valid memory address, to control what insns need reloading.
26429         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
26430         operands (essentially 'g', 'm', and 's' under normal circumstances).
26431         * m68k.c (print_operand): Cause printing of pc-relative addresses
26432         to include pc register.
26433         (print_operand_address): Ditto.
26434         (general_src_operand): Accept operands that are not only
26435         general_operands, but are also valid when used as a pc-relative
26436         source.
26437         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
26438         (memory_src_operand): Similar, for memory_operands.
26439         (pcrel_address): New predicate to accept the special case of a
26440         pc-relative address.
26441         * m68k.md (many patterns): Rewrite common SImode, HImode, and
26442         QImode insns to accept *_src_operand instead of *_operand where
26443         pc-relative operands can fit.  For example, a pc-relative operand
26444         can be used as a memory source operand for addsi3, but not as a
26445         memory destination.
26446         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
26447
26448 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
26449
26450         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
26451         .thumb_set pseudo op to mark aliases of thumb functions.
26452
26453 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
26454
26455         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
26456         preference to ASM_OUTPUT_DEF, if it is defined.
26457
26458         * tm.texi: Document new, optional target macro
26459         ASM_OUTPUT_DEF_FROM_DECLS.
26460
26461 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26462
26463         * fixincludes: ISCNTL patch
26464         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
26465         (dgux_int_varargs): new for DG/UX
26466         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
26467
26468 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
26469
26470         * invoke.texi (ia32 options): Fix typo.
26471
26472 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26473
26474         * loop.c (strength_reduce): When doing biv->giv conversion, update
26475         reg note of NEXT->insn.
26476
26477 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
26478
26479         * loop.c (move_movables): Note issues with replacing REGs with
26480         SUBREGs.
26481         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
26482
26483 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
26484
26485         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
26486
26487         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
26488         the reference to `mcount' was not correct for the ELF on FreeBSD.
26489
26490 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26491
26492         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26493         reg_biv_class.
26494
26495         (recombine_givs): Set ix field after sorting.
26496
26497 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
26498
26499         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
26500         to safe to extract a subword out of a REG.
26501
26502 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26503
26504         * sh.md (mulsi3): Don't add a no-op move at the end.
26505
26506 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26507
26508         * cse.c (cse_insn): Don't put hard register source into tables for
26509         the last insn of a libcall.
26510
26511 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26512
26513         * loop.c (strength_reduce): Insert sets of derived givs at every
26514         biv increment, even if it's the only one.
26515
26516 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
26517
26518         * dwarfout.c (add_incomplete_type): New fn.
26519         (output_type): Call it.
26520         (retry_incomplete_types): New fn.
26521         (dwarfout_finish): Call it.
26522
26523         From Eric Raskin <ehr@listworks.com>:
26524         (output_type): Output types for bases.
26525
26526 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
26527
26528         * mips.c (mips_output_conditional_branch): Add `break'
26529         between `default' label and `close braces'.
26530
26531 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
26532
26533         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
26534         specifications and make it realistic.
26535         (LIB_SPEC): Likewise.
26536
26537 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
26538
26539         * config/mips/mips.c (mips_secondary_reload_class): Check for
26540         (PLUS (SP) (REG)) and return appropriate register class.
26541         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
26542         Handle (PLUS (SP) (REG)).
26543         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
26544         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
26545         of emit_insn for tablejump.
26546
26547 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
26548
26549         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
26550         asm_fprintf format string by itself.
26551         (output_function_profiler): Likewise.
26552
26553 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
26554
26555         * combine.c (simplify_logical, case AND): Only call
26556         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
26557         or the constant is positive.
26558
26559 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
26560
26561         * configure.in: Fix typo in rs6000-ibm-aix4 case.
26562         * configure: Regenerate.
26563
26564 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
26565
26566         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
26567         require a sub-version #.
26568         * configure: Rebuilt.
26569
26570 1999-06-14  Robert Lipe  (robertlipe@usa.net)
26571
26572         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
26573
26574 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
26575
26576         * c-typeck.c (process_init_element): Detect excess elements in
26577         char array initializer.
26578
26579 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
26580
26581         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
26582
26583 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
26584
26585         * invoke.texi (Option Summary): Add -fpermissive flag.
26586
26587 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
26588
26589         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
26590         that require PIC code sequences.
26591
26592 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
26593
26594         * configure.in: Add new target: thumb-elf.
26595         * configure: Regenerate.
26596         * config/arm/t-thumb-elf: New file: Makefile fragment for
26597         thumb-elf build.
26598         * config/arm/telf.h: New file: Header file for thumb-elf
26599         build.
26600
26601 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
26602
26603         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
26604         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
26605         initializers is some circumstances.
26606
26607         * fixinc/inclhack.def (endif_label): Add additional selector for
26608         more bogus stuff after #endif statements.
26609         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
26610
26611 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
26612
26613         * i386/cygwin.h (SET_ASM_OP): Define.
26614
26615 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
26616
26617         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
26618
26619 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26620
26621         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
26622         latter.
26623
26624         * sh.md (ic_invalidate_line_i): Remove second alternative.
26625
26626 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26627
26628         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
26629         test for the presence of valid prototypes.  Delete bypass expr.
26630         (ioctl_fix_ctrl): Correct the selection expression.
26631         (no_double_slash): Correct quoting rules
26632         *fixinc/fixincl.x: regen
26633         *fixinc/inclhack.sh: regen
26634
26635 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
26636
26637         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
26638
26639 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
26640
26641         * rs6000.md (movsi_got_internal_mem): Delete.
26642         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
26643         (GOT_TOC_REGNUM): Delete.
26644         (PIC_OFFSET_TABLE_REGNUM): Define.
26645         (FINALIZE_PIC): Disable.
26646         * rs6000.c (rs6000_got_register): New code for fixed pic register.
26647         (rs6000_replace_regno): Delete.
26648         (rs6000_finalize_pic): Likewise.
26649         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
26650
26651 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26652
26653         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
26654         is a note; use <= for the compare; advance P while it is
26655         a NOTE.
26656
26657 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
26658
26659         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
26660         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
26661
26662         * varasm.c (remove_from_pending_weak_list): Verify t->name
26663         is non-NULL before passing it to strcmp.
26664
26665 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26666
26667         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
26668         the typed arguments are not part of a comment
26669         (ioctl_fix_ctrl): Added a purpose comment
26670         *fixinc/fixincl.x: regenerate
26671         *fixinc/inclhack.sh: regenerate
26672
26673 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
26674
26675         * invoke.texi: Add C4x invocation docs.
26676
26677 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
26678
26679         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
26680         Define new macros.
26681         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
26682         TARGET_EXPOSE_LDP.
26683         (c4x_legitimize_reload_address): New function.
26684         * config/c4x/c4x.md: Update docs.
26685
26686 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
26687
26688         * fixincludes: Avoid removing '.'.
26689         * fixinc/fixinc.svr4: Likewise.
26690         * fixinc/fixinc.winnt: Likewise.
26691         * fixinc/inclhack.tpl: Likewise.
26692         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
26693
26694 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
26695
26696         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
26697         pattern.
26698         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
26699
26700 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
26701
26702         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
26703         correctly.
26704
26705 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
26706
26707         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
26708         * configure: Regenerate.
26709
26710 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
26711
26712         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
26713         values.
26714
26715 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
26716
26717         * fixinc/inclhack.def (avoid_bool): Also catch
26718         "typedef [unsigned] int bool".
26719         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
26720
26721         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
26722         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
26723         * configure: Rebuilt.
26724
26725 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
26726
26727         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
26728         such that we can override its definitions if necessary.
26729         (CPP_SPEC): New define.  Support processor specific predefines via
26730         %(cpp_cpu).
26731         (CC1_SPEC): New define.  Support processor specific compiler
26732         options via %(cc1_cpu).
26733         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
26734         -static.
26735
26736 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
26737
26738         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
26739         between sed's -e flag, and the open-quote following it.
26740         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
26741
26742 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
26743                           Jeffrey A Law  (law@cygnus.com)
26744
26745         * varasm.c (assemble_start_function): Remove the function
26746         from the pending weak decls list when we define a function.
26747         (assemble_variable): Similarly for variables.
26748         (weak_finish): Ignore items on the list with a NULL name.
26749         (remove_from_ending_weak_list); New function to "remove" an item
26750         from the pending weak declarations list.
26751
26752 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
26753
26754         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
26755
26756 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
26757
26758         * c-lex.c (GETC): Redefine to call getch.
26759         (UNGETC): Redefine to call put_back.
26760         (putback_buffer): New structure type.
26761         (putback): New static structure.
26762         (getch): New function.
26763         (put_back): New function.
26764         (yylex): Replace unused bytes from bad multibyte character.
26765
26766 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
26767
26768         * cpplib.c (do_define): Cast `alloca' return value.
26769         (do_include, do_undef, do_pragma): Likewise.
26770         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
26771         values.
26772         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
26773         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
26774
26775 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
26776
26777         * sparc.md (abstf2): This should be an expand.
26778         (split after abstf2_notv9): Fix mode.
26779         (abstf2_hq_v9): New pattern.
26780         (abstf2_v9): Only use when no hard quad.
26781         (absdf2_v9): Fix if target is not the same as source.
26782         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
26783         Add correct output constraints.
26784
26785 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
26786
26787         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
26788         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
26789
26790 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
26791
26792         * mips.h (mips_output_conditional_branch): New function.
26793         (mips_adjust_insn_length): Likewise.
26794         (ASSEMBLER_SCRATCH_REGNUM): New macro.
26795         (ADJUST_INSN_LENGTH): Likewise.
26796         * mips.c (print_operand): Add `F' and `W' for floating-point
26797         comparison opcodes.
26798         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
26799         are now in bytes.
26800         (mips_adjust_insn_length): New function.
26801         (mips_output_conditional_branch): New function.
26802         * mips.md (length): Adjust attribute definition to handle
26803         conditional branches.  Change lengths to bytes, rather than
26804         instructions throughout.  Remove length attribute from
26805         instructions whose length is four bytes, and rely on the default
26806         instead.
26807         (dslot): Fix typo in comment.
26808         Reword conditional branch patterns to use
26809         mips_output_conditional_branch.
26810
26811 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
26812
26813         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
26814         (LIB_SPEC): Likewise.
26815         Link with -lprof1_r for -g/-pg.
26816
26817 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
26818
26819         * loop.c (check_dbra_loop): Fix change of Jan 19.
26820
26821 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
26822
26823         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
26824         (STARTFILE_SPEC):  Define, override the svr4.h version.
26825         (ENDFILE_SPEC):  Likewise.
26826
26827 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
26828
26829         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
26830         * fixinc/fixincl.x: Regenerated.
26831         * fixinc/inclhack.sh: Regenerated.
26832
26833 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26834
26835         * sh.c (barrier_align): Don't return early for normal branch/barrier
26836         when optimizing for SH2.
26837
26838 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
26839
26840         * i386/udk.h (LINK_SPEC): Correct linker search path for
26841         system libraries.
26842
26843 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26844
26845         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
26846         (braf_label_ref_operand): Delete.
26847         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
26848         * sh.md (casesi_jump_2): Operand1 is now the inside of a
26849         label_ref, and has no predicate.
26850         The patten has a predicate to guard against invalid substitutions.
26851         (dummy_jump): Delete.
26852         (casesi): Update use of casesi_jump_2.
26853
26854 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26855
26856         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
26857         *fixinc/fixincl.x: regenerate
26858         *fixinc/inclhack.sh: regenerate
26859
26860 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
26861
26862         * dwarf2out.c (add_incomplete_type): New fn.
26863         (gen_struct_or_union_type_die): Call it.
26864         (retry_incomplete_types): New fn.
26865         (dwarf2out_finish): Call it.
26866
26867 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
26868
26869         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
26870         current block starts with a CODE_LABEL and ends with a CALL and
26871         we can not find all the argument setup instructions for the CALL.
26872
26873 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
26874
26875         Revert this change:
26876         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
26877         something is a candidate for optimize_bit_field_compare.
26878
26879 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26880
26881         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
26882
26883 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
26884
26885         * alpha.c (override_options): Thinko in last patch.
26886
26887         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
26888         (LIB_SPEC): Recognize -pthread.
26889
26890 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
26891
26892         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
26893         definition in config/arm/coff.h
26894         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
26895
26896 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
26897
26898         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
26899         fixes that need "file=xxx\n" prepended before invocation
26900         (start_fixer - new): starting the fixer process is complex enough
26901         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
26902         (process): uses the new routine; omit usage of putenv()
26903         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
26904         * fixinc/fixincl.x: regenerate
26905
26906 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
26907
26908         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
26909         and version #s (1.1 -> 2.96) as needed.
26910         * README.g77: Kill way out of date file in the toplevel directory.
26911
26912 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
26913
26914         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
26915         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
26916         * configure: Rebuilt.
26917         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
26918         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
26919         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
26920         (SWITCH_TAKES_ARG): Likewise.
26921         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
26922         * config/t-freebsd: Moved from config/i386/ so it can used for all
26923         FreeBSD targets.
26924
26925 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
26926
26927         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
26928
26929 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
26930
26931         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
26932         * configure: Rebuilt.
26933
26934 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
26935
26936         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
26937         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
26938         * rs6000/rs6000.c (rs6000_file_start): Use putc.
26939         (rs6000_output_load_toc_table): Same.
26940         (output_prolog, output_mi_thunk): Same.
26941         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
26942         (ASM_GLOBALIZE_LABEL): Use putc.
26943
26944 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
26945
26946         * alpha.md (reload_*_help): New patterns and splitters.
26947         (reload_*): Use them.
26948         (mov[qh]i): Likewise.
26949
26950 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
26951
26952         * cccp.c (handle_directive): Handle backslash-newlines in quoted
26953         strings correctly.
26954
26955 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
26956
26957         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
26958
26959 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
26960
26961         * flow.c (mark_regs_live_at_end, insn_dead_p,
26962         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
26963         and HARD_FRAME_POINTER_REGNUM special treatment if reload
26964         hasn't run or the frame pointer is needed.
26965         * haifa-sched.c (attach_deaths): Likewise.
26966         * sched.c (attach_deaths): Likewise.
26967
26968 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
26969
26970         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
26971         calculate_can_reach_end returns nonzero.
26972
26973         * configure.in (native gas tests): Search for an assembler in the
26974         same manner that the installed compiler will.
26975         * configure: Rebuilt.
26976         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
26977
26978         * alias.c (find_base_term): Improve handling of addresses
26979         constructed from binary operations.
26980
26981 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
26982
26983         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
26984
26985 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
26986
26987         * function.h (cleanup_label, frame_offset): Declare.
26988         (tail_recursion_label, tail_recursion_reentry): Likewise.
26989         (arg_pointer_save_area, rtl_expr_chain): Likewise.
26990         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
26991         (tail_recursion_label, tail_recursion_reentry): Likewise.
26992         (arg_pointer_save_area, rtl_expr_chain): Likewise.
26993
26994 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
26995
26996         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
26997         defined.
26998         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
26999         (MAX_OFILE_ALIGNMENT): Define.
27000
27001 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
27002
27003         * fixincl.c: Replace local include scheme with #includes of
27004         gansidecl.h and system.h.
27005         * procopen.c:  Likewise.
27006         * server.c:  Likewise.
27007
27008 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
27009
27010         * i386/t-dgux (EXTRA_PARTS): Add crti.o
27011         (crti.o): Add build rule and dependencies.
27012         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
27013
27014 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
27015
27016         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
27017         (LIB_LINUX_SPEC): Likewise.
27018         (LIB_LINUX_SPEC): Add support for -pthread
27019         (CPP_OS_LINUX_SPEC): Likewise.
27020         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
27021         specified.
27022
27023 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
27024
27025         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
27026         conditional move.
27027         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
27028         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
27029         for IEEE math and CC_FCOMI.
27030         (put_jump_code): No IEEE if CC_FCOMI is set.
27031
27032 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27033
27034         * fold-const.c (fold_truthop): Make the field reference unsigned
27035         when converting a single bit compare.
27036
27037 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27038
27039         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
27040
27041 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
27042
27043         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
27044         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
27045         version did.
27046
27047         * reload.c (push_reload): Do not call remove_address_replacements
27048         when presented with identical optional reloads.
27049
27050 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
27051
27052         * alpha.h (MASK_FIX, TARGET_FIX): New.
27053         (MASK_*): Reorganize constants.
27054         (CPP_AM_FIX_SPEC): New.
27055         (TARGET_SWITCHES): Add FIX.
27056         (EXTRA_SPECS): Likewise.
27057         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
27058         (SECONDARY_MEMORY_NEEDED): Likewise.
27059         (REGISTER_MOVE_COST): Likewise.
27060         * alpha.c (override_options): Add FIX support.  Always use
27061         ALPHA_TP_PROG for ev6.
27062         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
27063         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
27064         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
27065
27066 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
27067
27068         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
27069         something is a candidate for optimize_bit_field_compare.
27070
27071 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
27072
27073         * gcc.texi (Passes): Document branch-shortening.
27074         * invoke.texi (Debugging Options): Document the fact that `-dp'
27075         outputs length information for instructions.
27076
27077 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
27078
27079         * flow.c: Revert previous delta.
27080
27081 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
27082
27083         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
27084         FRAME_POINTER_REGNUM.
27085         (mark_set_1): Ditto.
27086         (mark_used_regs): Ditto.
27087
27088 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
27089
27090         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
27091         (GOT_PCREL): New macro.  Define to 1 if not already defined.
27092         * arm/elf.h (GOT_PCREL): Define to 0.
27093         * arm.c (arm_finalize_pic): Take into account the setting of
27094         GOT_PCREL.
27095
27096 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
27097
27098         * output.h (STRIP_NAME_ENCODING): Provide default definition.
27099         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
27100
27101         * flow.c (mark_set_1): Do not record BLKmode stores as dead
27102         store elimination candidates.
27103
27104 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
27105
27106         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
27107         TARGET_GAS.
27108
27109 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
27110
27111         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
27112         Add use of x-aix41-gld.
27113
27114 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
27115
27116         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
27117         (ASM_OUTPUT_DESTRUCTOR): Define.
27118
27119 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
27120
27121         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
27122         last CODE_LABEL in a loop if we have previously passed a jump
27123         to the top of the loop.
27124
27125 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
27126
27127         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
27128         applying Philip's patch.
27129
27130 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
27131
27132         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
27133         are not VAR_DECLs.
27134
27135 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
27136
27137         * loop.c (strength_reduce): Grow reg_single_usage as needed.
27138
27139 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
27140
27141         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
27142         Also remove a useless comment.
27143
27144 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
27145
27146         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
27147
27148 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
27149
27150         * collect2.c (main): Only generate import or export file and add
27151         to link arguments if non-empty.  Use xmalloc not alloca.
27152         (write_{export,import}_file): Delete.
27153         (write_aix_file): New function.
27154         (locatelib): Use xmalloc not malloc.
27155         (GCC_OK_SYMBOL): Do not check type if aix64.
27156
27157 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
27158
27159         Based on patch by Scott Bambrough and Pat Beirne:
27160         * config/arm/arm.c (making_const_table): New variable.
27161         * config/arm/arm.h (making_const_table): Declare.
27162         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
27163         appropriate.
27164         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
27165         Keep track of when we are building the constant table.
27166
27167 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
27168
27169         * config/arm/arm.c (arm_override_options): Fix erroneous warning
27170         message.
27171
27172 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
27173
27174         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
27175         defined.
27176
27177 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
27178
27179         * tm.texi (FUNCTION_ARG): Correct description of a stack element
27180         in a PARALLEL.
27181
27182 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
27183
27184         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
27185
27186 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
27187
27188         * rs6000.c (output_mi_thunk): Enable full support again.
27189
27190 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27191
27192         * sh.h (BRANCH_COST): Define.
27193
27194 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
27195
27196         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
27197
27198 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
27199
27200         * function.c (assign_stack_local): Align stack slot propertly.
27201         (assign_outer_stack_local): Likewise.
27202
27203 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
27204
27205         * expr.h (lang_expand_constant): Declare.
27206         * toplev.c (lang_expand_constant): Define it.
27207         * varasm.c (output_constant): Use it.
27208
27209 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
27210
27211         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
27212         Change function definitions to K&R style.
27213
27214 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27215
27216         * fixinc/fixincl.c: We must not ignore SIGCLD now.
27217
27218 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
27219
27220         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
27221         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
27222         (several places): omit static initialization
27223         (process): use single fd, since only the read fd is used
27224         * fixinc/gnu-regex.c: define 'const' away, if not supported
27225         * fixinc/procopen.c(several places): omit static initialization
27226         * fixinc/server.c: define 'volitile' away, if not supported
27227
27228 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27229
27230         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
27231         asm_fprintf and %L to generate the label name.
27232         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
27233         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
27234
27235 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
27236
27237         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
27238         insn for a conditional jump can not be found.
27239
27240 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
27241
27242         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
27243         on variables in specific sections other than .sbss and .sdata.
27244
27245 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
27246
27247         * stmt.c (expand_return): Call start_cleanup_deferral and
27248         end_cleanup_deferral around conditional code.
27249
27250 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27251
27252         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
27253         filename lists.  Utilizes new "krstr" AutoGen function.
27254         * fixinc/fixincl.x: Rebuilt.
27255
27256 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
27257
27258         * i386.c (output_float_compare): Avoid GNU-C extensions.
27259
27260 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
27261
27262         * version.c: Bump to distinguish mainline tree from the
27263         gcc-2.95 branch.
27264
27265 See ChangeLog.1 for earlier changes.