Do not bias REG_N_REFS by loop_depth when optimising for size.
[official-gcc.git] / gcc / ChangeLog
blob3bb68a30971bd08cb32962cb6088c5428f696445
1 2000-05-10  Nick Clifton  <nickc@redhat.com>
3         * flow.c (find_auto_inc): Do not bias REG_N_REFS by loop_depth
4         when optimising for size.
5         (mark_used_regs:) Ditto.
6         (try_pre_increment_1): Ditto.
8 2000-05-10  Zack Weinberg  <zack@wolery.cumb.org>
10         * cppexp.c (lex): Use %.*s to print non-NUL-terminated string.
11         Make error message friendlier.
13         * cpphash.h (struct hashnode): Use struct hack for name
14         member.
15         * cpphash.c (struct hashdummy): New.
16         (eq_HASHNODE): Second argument is a hashdummy, not a HASHNODE.
17         (make_HASHNODE): No need to set ->name pointer.  Correct
18         setting of p.
19         (cpp_lookup): Make 'dummy' a struct hashdummy.  Tidy up a bit.
21 2000-05-10  Richard Henderson  <rth@cygnus.com>
23         * flow.c (find_basic_blocks_1): Remove any spare bb_note
24         after completion.
26 2000-05-10  Bruce Korb  <bkorb@gnu.org>
28         * fixinc/gnu-regex.c:  reg_syntax_t re_syntax_options must be static
30 2000-05-10  Eric Schweitz  <schweitz@nortelnetworks.com>
32         * dwarfout.c (dwarfout_finish): Call retry_incomplete_types
33         after we enter .debug.
35 2000-05-10  Jason Merrill  <jason@casey.cygnus.com>
37         * dwarf2out.c (gen_subprogram_die): Fixup die_parent for the
38         abstract instance of a nested inline function.
40         * stor-layout.c (finish_record_layout): finalize_type_size
41         before laying out the pending_statics.
43 Wed 10 May 09:36:47 2000  Neil Booth  <NeilB@earthling.net>
45         * cpplex.c (spell_token): New function.
46         (spell_string, spell_comment, spell_name): fold into
47         spell_token.    
48         (I, S): Add macros.
49         (E, H): Remove macros.
50         (save_comment): Save comment opening characters too.
51         (_cpp_lex_file): Update to use spell_token.  Tidy up comment
52         handling.
53         * cpplib.h (I, S): Add macros.
54         (E, H): Remove macros.
55         (TTYPE_TABLE): Update entries for new speller.
56         (SYNTAX_ASSERT): Remove.
58 Wed 10 May 09:08:30 2000  Neil Booth  <NeilB@earthling.net>
60         * cpplex.c (_cpp_lex_line): Maintain PREV_WHITESPACE flag
61         when removing escaped newlines.  Reverse sense of test for
62         escaped newline.
64 2000-05-09  Richard Henderson  <rth@cygnus.com>
66         * flow.c (find_basic_blocks_1): Do not delete the first
67         bb_note we run across.
68         (create_basic_block): Use reorder_insns to move an existing
69         bb_note to the correct place.
71 2000-05-09  Richard Henderson  <rth@cygnus.com>
73         * calls.c (expand_call): Increment currently_expanding_call
74         before calling optimize_tail_recursion.
76 Tue May  9 18:54:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
78         * reload1.c (reload_combine): Fix errors in last change.
80 2000-05-09  Zack Weinberg  <zack@wolery.cumb.org>
82         * gcc.c (used_arg): Skip over a semicolon at the end of the
83         split-up loop; don't break out of it.
85         * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
86         (tree.o): Depend on output.h.
88         * c-decl.c (pending_invalid_xref_file,
89         current_function_prototype_file): Constify.
90         (pushdecl): Constify a local char *.
91         (define_label): Constify filename parameter.
92         * c-lex.c (init_parse): Constify parameter and return value.
93         * c-typeck.c (c_expand_asm_operands): Constify filename parameter.
94         * c-tree.h: Update prototypes.
95         * c-parse.in: Constify filename member of %union, and if_stmt_file.
96         * c-parse.y, c-parse.c, c-parse.h, objc/objc-parse.y,
97         objc/objc-parse.c: Regenerate.
99         * dwarfout.c (dwarfout_init): Constify main_input_filename parameter.
100         * dwarfout.h: Update prototypes.
101         * expr.c (expand_expr): Constify a local char *.
102         * flags.h: Constify main_input_filename.
103         * function.c (expand_function_end): Constify filename parameter.
104         * genrecog.c (make_insn_sequence): Use a character array for
105         c_test_pos.
106         (main): Remove unused variables.
107         * input.h: Constify input_filename, main_input_filename, and
108         file_stack.name.  Update prototypes.
109         * output.h: Declare first_global_object_name and
110         weak_global_object_name here, as const char *.
111         * stmt.c (expand_asm_operands): Constify filename parameter.
112         * toplev.c (compile_file, push_srcloc, debug_start_source_file):
113         Constify filename parameter.
114         (input_filename, main_input_filename): Constify.
115         * toplev.h: Update prototypes.
116         * tree.c: Include output.h.  Don't declare
117         first_global_object_name or weak_global_object_name.  Clean up string
118         bashing in get_file_function_name_long.
119         * tree.h (struct tree_decl): Constify filename member.
120         (input_filename): Constify.
121         Update prototypes.
122         * varasm.c (first_global_object_name, weak_global_object_name):
123         Constify.
124         (assemble_start_function, assemble_variable): Clean up string bashing.
126         * gcc.c: Constify all spec-related strings initialized,
127         transitively, from string constants.  Constify all strings
128         and string variables related to multilibs.
129         (set_spec, read_specs): Cast argument to free to PTR.
130         (used_arg): Do not modify multilib_matches.  Use strncmp plus
131         length comparison to compare multilib switches.
132         * genmultilib: Constify everything declared in multilib.h.
134 Tue May  9 22:28:03 2000  Denis Chertykov  <denisc@overta.ru>
136         * flow.c (flow_delete_insn): Use INSN_DELETED_P for marking insn
137         as deleted.
139 Tue May  9 20:52:43 2000  Denis Chertykov  <denisc@overta.ru>
141         * config/avr/avr-protos.h (extra_constraint): change a type of
142         second argument from char to int to avoid warnings.
143         (asm_output_byte): Likewise.
144         
145         * config/avr/avr.c (MAX_LD_OFFSET) New macro.
146         (initial_elimination_offset): Handle elimination from
147         FRAME_POINTER_REGNUM to STACK_POINTER_REGNUM.
148         (legitimate_address_p): Use MAX_LD_OFFSET.
149         (legitimize_address): Likewise.
150         (out_movqi_r_mr): Likewise.
151         (out_movhi_r_mr): Likewise, use `fatal_insn' instead of `fatal'.
152         (out_movsi_r_mr): Use MAX_LD_OFFSET.
153         (out_movsi_mr_r): Likewise.
154         (out_movqi_mr_r): Likewise.
155         (out_movhi_mr_r): Likewise.
156         (notice_update_cc): Correct CC for the ashrqi3 with the shift
157         count as CONST_INT != 6.
158         (ashlqi3_out): Coding style modifications. Run `fatal_insn' if
159         shift count is a CONSTANT_P, but not a CONST_INT.
160         (ashlhi3_out): Coding style modifications.
161         (ashlsi3_out): Likewise.
162         (ashrhi3_out): Likewise.
163         (ashrsi3_out): Likewise.
164         (lshrhi3_out): Likewise.
165         (lshrsi3_out): Likewise.
166         (ashrqi3_out): Generate shift for any known constant count without
167         scratch register. Run `fatal_insn' if shift count is a CONSTANT_P,
168         but not a CONST_INT.
169         (lshrqi3_out): Coding style modifications. Run `fatal_insn' if
170         shift count is a CONSTANT_P, but not a CONST_INT. 
171         (extra_constraint): change a type of
172         second argument from char to int to avoid warnings.
173         (asm_output_byte): Likewise.
174         (asm_file_end): Output size generated commands count as a hex
175         number too.
177         * config/avr/avr.h (RETURN_ADDR_RTX): New macro.
179         * config/avr/avr.md (addhi3): Fragment commented by &&0 is
180         removed.
181         (ashlqi3): Values of "length" attribute changed. Shift count
182         uses constraints 'n' instead of 'i'.
183         (ashrqi3): Likewise. Values of "cc" attribute changed. Generate
184         shifts without clobber register.
185         (lshrqi3): Shift count uses constraints 'n' instead of 'i'.
186         (call_insn): Correct test for which_alternative == 1 (was 0).
187         (call_value_insn): Likewise.
188         
189         * config/avr/t-avr: Remove definition of FLOAT while generates
190         fp-bit.c
192 2000-05-09  Bruce Korb  <bkorb@gnu.org>
194         * fixinc/check.tpl:  Template for checking fixes
195         * fixinc/inclhack.def:  Added 'test_text' for many fixes
196         disable hpux8_bogus_inlines on SCO
197         * fixinc/fixinc.sco:  Oh, yes, we don't need this any more.
199 Tue May  9 16:30:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
201         * calls.c (expand_call): Reorganize somewhat in order
202         to avoid unnecesary recalculation inside loop and make
203         tail call failure code cleaner.
204         
205 Tue May  9 06:30:20 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
207         * alias.c (nonlocal_reference_p): Minor reformatting.
208         * reload.c (find_equiv_reg): Simplify logic for
209         CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and
210         some some reformatting.
211         * reload1.c (reload_combine): Don't assume everything in
212         CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit.
214 2000-05-08  Richard Henderson  <rth@cygnus.com>
216         * final.c (current_insn_predicate): New.
217         (final_scan_insn): Set it.
218         * output.h (current_insn_predicate): Declare.
220         * ifcvt.c (cond_exec_process_insns): New argument prob_val.
221         Attach it to call insns.
222         (cond_exec_process_if_block): Track probability for true and
223         false branches.
224         (dead_or_predicable): Likewise.
226         * predict.c (PROB_NEVER, PROB_VERY_UNLIKELY): New.
227         (PROB_UNLIKELY, PROB_EVEN, PROB_LIKELY): New.
228         (PROB_VERY_LIKELY, PROB_ALWAYS): New.
229         (estimate_probability, expected_value_to_br_prob): Use them.
231         * config/ia64/ia64-protos.h (ia64_expand_prediction): Declare.
232         * config/ia64/ia64.c (ia64_print_operand_address): Handle 'j'.
233         (ia64_expand_prediction): New.
234         (emit_insn_group_barriers): Don't look at notes.  Emit barriers
235         as needed after calls.
236         (ia64_epilogue_uses): Mark b0 used.
237         * config/ia64/ia64.md (beq_true, beq_false): Remove.
238         (bne_true, bne_false): Remove.
239         (eq_return, eq_not_return, ne_return, ne_not_return): Remove.
240         (br_true, br_false): New.  Use predicate_operator and
241         ia64_expand_prediction.
242         (return_true, return_false): Likewise.
243         (call_internal): Use ia64_expand_prediction.  Don't emit stop bit.
244         (call_internal1, call_value_internal): Likewise.
245         (call_value_internal1, call_multiple_values_internal1): Likewise.
247         * config/ia64/ia64.c (ia64_direct_return): Require frame size zero.
249         * config/ia64/ia64.md (extendsfdf2): Split only after reload.
251 2000-05-08  Richard Henderson  <rth@cygnus.com>
253         * rtlanal.c (may_trap_p): Consider old-style and volatile
254         asms to trap.
256 Mon May  8 17:16:48 2000  Jim Wilson  <wilson@cygnus.com>
258         * config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.
260 2000-05-08  Richard Henderson  <rth@cygnus.com>
262         * config/ia64/ia64.h (predicate_operator): Declare.
264         * config/ia64/ia64.md (extendsfdf2): Split the nop case out
265         of existance.
267         * gensupport.c (process_rtx): Copy and post-process each member
268         of the define_insn rtvec individually.
270 Mon  8 May 22:17:35 2000  Neil Booth  <NeilB@earthling.net>
272         * cpplex.c (spell_token): New function.
273         (TOKEN_LEN): Add 1 for whitespace.
274         (_cpp_lex_file): Update to use spell_token.
275         * cpplib.h (E): Remove.
276         (TTYPE_TABLE): Update CPP_VSPACE entry.
278 2000-05-08  Richard Henderson  <rth@cygnus.com>
280         * flow.c (init_propagate_block_info): Watch out for conditional
281         branch to next instruction, and thus one outgoing edge.
283         * config/ia64/ia64.c (ia64_encode_section_info): Exit early
284         for global register variables; don't special case __[CD]TOR_LIST__;
285         mind ggc_p for string allocation.
287 2000-05-08  Nick Clifton  <nickc@cygnus.com>
289         * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
291 2000-05-08  Bruce Korb  <bkorb@gnu.org>
293         * fixinc/mkfixinc.sh:  fixinc.sco is no longer used
294         i?86-*-msdosdjgpp* no longer uses fixincludes
295         * fixinc/genfixes:  inclhack.sh and fixincl.sh are no longer generated
296         * fixinc/inclhack.sh:  deleted
297         * fixinc/hackshell.tpl:  deleted
298         * fixinc/inclhack.tpl:  deleted
299         * fixinc/Makefile.in:  Remove dependencies on above
300         * fixinc/fixincl.sh:  "DO NOT EDIT" text modified
302 2000-05-08  Andreas Jaeger  <aj@suse.de>
304         * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
305         support.
307 2000-05-07  Zack Weinberg  <zack@wolery.cumb.org>
309         * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
310         substitutions.
312 Sun  7 May 08:43:53 2000  Neil Booth  <NeilB@earthling.net>
314         * cpplex.c: Move new lexer definitions and prototypes
315         to top.  Conditional include these and the code if
316         NEW_LEXER is defined.  Rename functions whose names
317         clash if this code included.
319 Sun May  7 00:54:57 EDT 2000  John Wehle  (john@feith.com)
321         * rtl.def (COND_EXEC): Clarify.
323         * i386.md (extendsidi2): Clobber (reg:CC 17) in the
324         same fashion as zero_extendsidi2.
326 2000-05-06  Richard Henderson  <rth@cygnus.com>
328         * config/ia64/ia64.c (predicate_operator): New.
329         (ia64_print_operand): Handle 'J'.
330         (rtx_needs_barrier): Handle COND_EXEC.
331         * config/ia64/ia64.h (BRANCH_COST): Define.
332         (PREDICATE_CODES): Update.
333         * config/ia64/ia64.md: Docuement used unspec values.
334         (attr predicable): New.
335         (movxf, movxf_internal): New.
336         (extendsfdf2): Don't comment out nop.
337         (floatdidf2): Remove.
338         (truncxfsf2, truncxfdf2, floatdixf2): New.
339         (abssi2, absdi2): Put the neg in the "true" slot.
340         (conditional branch instructions): Mark not predicable.
341         (cmov*_internal): Use predicate_operator.  Split to cond_exec.
342         (abs*_internal): Likewise.
343         (alloc, set_bsp): Mark not predicable.
344         (barrier, insn_group_barrier, flush_cache): Likewise.
345         (define_cond_exec): New.
347 2000-05-06  Richard Henderson  <rth@cygnus.com>
349         * c-decl.c: Include "tm_p.h".
351         * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
352         (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
353         (ia64_expand_op_and_fetch): Declare.
354         * config/ia64/ia64.c: Include "toplev.h".  Kill trailing whitespace.
355         (setjmp_operand): Constify variables for XSTR.
356         (ia64_encode_section_info): Likewise.
357         (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
358         values to int.
359         (ia64_asm_output_external): Constify name.
360         (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
361         (process_for_unwind_directive): Provide switch default.
362         (ia64_expand_compare_and_swap): Remove unused variables.
363         (ia64_expand_builtin): Likewise.
364         * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
365         for printing.
367         * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
368         (symbolic_operand, function_operand, setjmp_operand): Likewise.
369         (shift_count_operand, shift_32bit_count_operand): Likewise.
370         (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
371         (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
372         (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
373         (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
374         (ia64_expand_builtin): Likewise.
375         (call_multiple_values_operation): Make dest_regno unsigned.
377 2000-05-06  Richard Henderson  <rth@cygnus.com>
379         * rtl.def (DEFINE_COND_EXEC): New.
380         * md.texi: Document it.
382         * gensupport.c (input_file): Remove.
383         (struct queue_elem): Add lineno.
384         (rtx_ready_queue): Remove.
385         (errors): New.
386         (predicable_default): New.
387         (predicable_true, predicable_false): New.
388         (define_attr_queue, define_attr_tail): New.
389         (define_insn_queue, define_insn_tail): New.
390         (define_cond_exec_queue, define_cond_exec_tail): New.
391         (other_queue, other_tail): New.
392         (queue_pattern): New.
393         (process_rtx): Add patterns to the appropriate queues.
394         (is_predicable, identify_predicable_attribute): New.
395         (n_alternatives, collect_insn_data): New.
396         (alter_predicate_for_insn, alter_test_for_insn): New.
397         (shift_output_template, alter_output_for_insn): New.
398         (process_one_cond_exec, process_define_cond_exec): New.
399         (init_md_reader): Read the entire file.  Process define_cond_exec.
400         (read_md_rtx): Return elements from the queues.
402 2000-05-06  Richard Henderson  <rth@cygnus.com>
404         * flow.c (mark_set_1): Don't update conditional life info
405         if the register is not_dead.
407 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
409         * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
410         (mostlyclean): Also delete fixincl, fixinc.sh, and
411         specs.ready, and make clean in the fixinc subdir.
413 2000-05-06  Richard Henderson  <rth@cygnus.com>
415         * Makefile.in (gensupport.o): Compile for the host.
416         (host-prefix gensuuprt.o): Remove.
417         (genflags.o): Depend on gensupport.h and OBSTACK_H.
418         (genattrtab.o): Likewise.
419         (gencodes.o): Depend on gensupport.h.
420         (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
421         (genpeep.o, genattr.o, genoutput.o): Likewise.
423         * gensupport.c (obstack, rtl_obstack): New.
424         (init_md_reader): Initialize rtl_obstack.
425         * gensupport.h (rtl_obstack): Declare.
426         (message_with_line): Declare.
428         * genattr.c: Remove all traces of obstack manipulation.
429         * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
430         * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
432         * genattrtab.c (obstack, rtl_obstack): Remove.
433         (main): Don't init rtl_obstack.
434         * genflags.c: Likewise.
436         * genrecog.c (message_with_line): Move ...
437         * gensupport.c: ... here.
439 2000-05-06  Richard Henderson  <rth@cygnus.com>
441         * c-typeck.c (build_c_cast): Remove dead code.
443 2000-05-06  Richard Henderson  <rth@cygnus.com>
445         * flow.c (split_edge): Don't allocate global_live_at_start for
446         the new block unless the old blocks had them as well.
448         * flow.c (mark_set_1): Respect not_dead when updating reg_live.
450         * ifcvt.c (noce_process_if_block): Don't use an insn_b from
451         test_bb if a or b uses x.
453 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
455         * cpphash.h: Remove conditional #define of __extension__.
456         * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
457         RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
458         (ENABLE_RTL_CHECKING only).
459         * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
460         CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
461         (ENABLE_TREE_CHECKING only).
462         * varray.h: Add __extension__ to VARRAY_CHECK macro
463         (ENABLE_CHECKING only).
465 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
467         Use new tail-calling mechanism on ARM.
468         * arm.md (sibcall, sibcall_value): New expands.
469         (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
470         (tailcalling peepholes): Delete.
471         (push_multi): Simplify.
472         * arm.c (lr_save_eliminated): Delete definition.
473         (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
474         (output_return_instruction): Remove checks on lr_save_eliminated.
475         (output_arm_prologue): Remove old tail-calling code.
476         (arm_output_epilogue): New parameter, really_return.  All callers
477         changed.  Handle tail-calling epilogues.
478         * arm.h (lr_save_eliminated): Delete declaration.
479         (frame_pointer_needed): Delete declaration.
480         * arm-protos.h (arm_output_epilogue): Adjust prototype.
482         * arm.md (is_thumb): Examine symbol thumb_code, not expression
483         TARGET_ARM.
484         * arm.c (thumb_code): Define it.
485         (arm_override_options): Set it.
486         * arm.h (thumb_code): Declare it.
487         
488 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
490         * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
492 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
494         * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
495         bogus clobber to insns.
496         (load_multiple_operation, store_mulitple_operation): Don't check 
497         for it.
498         * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
500         * arm.md (and_scc, ior_scc): Add missing mode.
502         * arm.md (call_value_symbol): Remove predicate from op2.
504         * arm.h (SPECIAL_MODE_PREDICATES): Define.
505         
506 Sat May  6 06:25:56 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
508         * expr.c (get_subtarget): New function.
509         (force_operand, expand_expr, do_store_flag): Use it.
511         * toplev.c (compile_file): Don't take strlen of NAME if null.
513 2000-05-06  David Edelsohn  <edelsohn@gnu.org>
515         * xcoffout.c (xcoff_current_include_file,
516         xcoff_current_function_file, xcoff_lastfile): Constify char *.
517         (xcoffout_source_file, xcoffout_source_line): Make filename 'const
518         char *'.
519         (xcoffout_declare_function): Make name 'const char *'.
520         (xcoffout_end_epilogue): Make fname 'const char *'
521         * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
522         xcoffout_declare_function, xcoffout_source_line): Match above.
524         * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
525         -maix64 is error.
526         * rs6000.c (print_operand): Fix lossage typo.
527         (output_cbranch): Remove "cr" decoration for now.
528         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'. 
530 Sat May  6 06:55:32 2000  Denis Chertykov  <denisc@overta.ru>
532         * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
533         constant count.
535 2000-05-05  Bruce Korb  <bkorb@gnu.org>
537         * fixinc/genfixes: Improve the matching for make target names
539 2000-05-05  Catherine Moore  <clm@cygnus.com>
541         * c-common.c (decl_attributes):  For TYPE_DECLs attach the
542         attribute to the decl.
543         * c-decl.c (pushdecl): Propagate the USED attribute to the 
544         type copy.
546 2000-05-05  Richard Henderson  <rth@cygnus.com>
548         * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
549         same way emit_group_load does.
551 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
553         * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
555         * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
556         (main): Likewise.
558 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
560         * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
562 Fri May  5 10:29:21 2000  Marc Espie <espie@cvs.openbsd.org>
564         * config/openbsd.h (LINK_SPEC): pass correct flags to ld 
565         to support -shared, on platforms with dynamic libraries.
567 Fri May  5 10:27:06 2000  Philippe De Muyter  <phdm@macqel.be>
569         * system.h (S_ISBLK): Provide fallback definition.
571 2000-05-05  Geoff Berry  <geoffb@bops.com>
573         * extend.texi (Extended Asm): Document inability to give asm
574         statements access to condition codes.
576 2000-05-05  Marek Michalkiewicz  <marekm@linux.org.pl>
578         * varasm.c (asm_emit_uninitialised): Use 0, not NULL
579         as arg 2 of UNIQUE_SECTION.
581 Fri May  5 10:11:41 2000  Jeffrey A Law  (law@cygnus.com)
583         * predict.c: Remove May 4 change.
584         * bb-reorder.c (make_reorder_chain): Do not perform block movement
585         if we have predicted the branch at 50-50 probability.
587 2000-05-05  Richard Henderson  <rth@cygnus.com>
589         * flow.c (init_propagate_block_info): Fix merge error
590         in HAVE_conditional_execution code.
592 Fri May  5 07:43:50 2000  Denis Chertykov  <denisc@overta.ru>
594         * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
595         shift cycle for unknown shift count. Also generates dec + brpl.
596         (ashlqi3_out): Don't generate dec + brpl which now generates by
597         `out_shift_with_cnt'.
598         (ashlhi3_out): Likewise.
599         (ashlsi3_out): Likewise.
600         (ashrqi3_out): Likewise.
601         (ashrhi3_out): Likewise.
602         (ashrsi3_out): Likewise.
603         (lshrqi3_out): Likewise.
604         (lshrhi3_out): Likewise.
605         (lshrsi3_out): Likewise.
607 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
609         * gcc.c (free_split_directories): Correct typo in explanation
610         of make_relative_prefix.
612 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
614         * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
615         comparison codes to branch_comparison_operator.
617 2000-05-04  Richard Henderson  <rth@cygnus.com>
619         * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
621 2000-05-04  Richard Henderson  <rth@cygnus.com>
623         * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
624         (DPBIT_FUNCS): Remove _sf_to_usi.
625         (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
627         * ifcvt.c (noce_process_if_block): Fail if A or B modified
628         between condition and jump.
630         * libgcc2.c (near eh_context_specific): Comment #endif string.
631         * longlong.h: Don't use strings with embedded newlines.
633 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
635         * config/rs6000/rs6000-protos.h: Add output_cbranch.
636         * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
637         (print_operand): Delete %t and %T codes.
638         (output_cbranch): New function.  Support branch prediction.
639         * config/rs6000/rs6000.md: Use output_cbranch for
640         conditional branches and returns.
642 2000-05-04  Jason Merrill  <jason@casey.cygnus.com>
644         * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
645         * stor-layout.c (place_field): Likewise.
646         * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
647         * expr.c (store_expr): Make align unsigned.
648         * explow.c (plus_constant_wide): Make low words unsigned.
649         * expmed.c (choose_multiplier): Likewise.
650         * fold-const.c (fold):  Likewise.
651         * tree.h (build_int_2): Likewise.
652         * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
653         * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
654         (init_emit): Change cast to unsigned char*.
655         * varasm.c (compare_constant_1): Add cast to char*.
656         * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
657         * reload1.c (reload): Likewise.
659         * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
661 Thu May  4 14:37:23 2000  Jeffrey A Law  (law@cygnus.com)
663         * predict.c (estimate_probability): If no prediction was found, then
664         predict the successor that is the next physical block (if such a
665         successor exists).
667 2000-05-04  Richard Henderson  <rth@cygnus.com>
669         * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
671 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
673         * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
675 2000-05-04  Mumit Khan  <khan@xraylith.wisc.edu>
677         * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move 
678         attribute macros from here ...
679         (CPP_SPEC): to here.
680         * i386/mingw32.h (CPP_PREDEFINES): Likewise.
681         (CPP_SPEC): Likewise.
682         * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros. 
684         * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
685         (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
687 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
689         * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
690         
691         * diagnostic (vbuild_message_string, build_message_string,
692         build_location_prefix, output_get_prefix, init_output_buffer,
693         output_notice, vline_wrapper_message_with_location,
694         v_message_with_decl, default_print_error_function): De-constify.
695         (set_real_maximum_length): Prototype.
697         * diagnostic.h (struct output_buffer, init_output_buffer,
698         output_get_prefix, output_set_prefix): De-constify.
700         * function.c (init_function_start): Constify.
702         * gensupport.c (remove_constraints, process_rtx): Prototype.
704         * gthr-posix.h: Indent uses of #pragma.
706         * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
707         Prototype.
709         * predict.c (find_expected_value): Delete prototype.
710         (expected_value_to_br_prob): Initialize variable `ev_reg'.
712         * sbitmap.h (debug_sbitmap): Prototype.
714         * ssa.c (compute_coalesced_reg_partition): Prototype.
716         * stor-layout.c (debug_rli): Prototype.
718         * tree.h (round_down): Prototype.
719         (init_function_start): Constify.
721 2000-05-04  Zack Weinberg  <zack@wolery.cumb.org>
723         * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
724         (overly conservative).  Change extern inline wrappers to
725         static inline, define them always, use PARAMS properly.
726         * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
727         whitespace warnings for \f and \v at the beginning of a line.
729 Thu May  4 10:03:50 2000  Jeffrey A Law  (law@cygnus.com)
731         * haifa-sched.c (schedule_insns): Free the flow edge list when it
732         is no longer needed
734 2000-05-04  Bruce Korb  <bkorb@gnu.org>
736         * fixincl/inclhack.def: added broken_cabs -
737         Remove `extern double cabs' declarations from math.h
738         * fixincl/inclhack.sh: regen
739         * fixincl/fixincl.x: regen
740         * fixincl/fixincl.c: Remove BOGOSITY code
741         * fixincl/mkfixinc.sh: Remove code for installing "shell" version
743 Thu May  4 09:45:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
745         * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
746         MEM_ALIAS_SET.
747         * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
748         when calling MEM_COPY_ATTRIBUTES.
749         * emit-rtl.c (operand_subword, change_address): Likewise.
750         * explow.c (stabilize): Likewise.
751         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
752         * integrate.c (copy_rtx_and_substitute): Likewise.
753         * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
754         when calling MEM_COPY_ATTRIBUTES.
755         (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
756         Likewise.
757         * cse.c (gen_lowpart_if_possible): Likewise.
758         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
759         * optabs.c (gen_move_insn): Likewise.
760         * recog.c (validate_replace_rtx_1): Likewise.
761         * simplify-rtx.c (add_mem_for_addr): Likewise.
762         * stmt.c (expand_anon_union_decl): Likewise.
763         * config/arm/arm.md: Likewise.
764         * config/h8300/h7300.c (fix_bit_operand): Likewise.
765         * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
766         (block_move_no_loop, block_move_sequence): Likewise.
767         * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
768         * config/alpha/alpha.c (get_aligned_mem): Likewise.
769         Clear MEM_ALIAS_SET.
770         * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
771         MEM_COPY_ATTRIBUTES.
773 2000-05-03  Robert Lipe <robertlipe@usa.net>
774         
775         * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
776         to suppress libgcc1.
777         (i[34567]86-*-sco3.2v5*) Likewise.
778         (i[34567]86-*-sco3.2v4*) Likewise.
779         (i[34567]86-*-sco) Likewise.
780         (i[34567]86-*-solaris2) Likewise.
781         (i[34567]86-*-sysv5*) Likewise.
782         (i[34567]86-*-sysv4*) Likewise.
783         (i[34567]86-*-udk*) Likewise.
784         (i[34567]86-*-sysv*) Likewise.
786 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
788         * cpphash.h (U): New define, to correct type of string constants.
789         (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
790         routines, to do casts when passing unsigned strings to libc.
791         * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
793         * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
794         * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
795         * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
796         * cpplex.c (parse_ifdef, parse_include, validate_else): Make
797         second argument an U_CHAR *.
799         * cppinit.c (builtin_array): Make name and value U_CHAR *, add
800         length field, clean up initializer.
801         (ISTABLE): Add __extension__ to designated-
802         initializers version.
803         * cpplex.c (CHARTAB): Likewise.
805         * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
806         case so the file won't be empty.
808 Wed May  3 21:01:46 2000  Jason Eckhardt  <jle@cygnus.com>
810         * bb-reorder.c (struct reorder_block_def): Member succ removed.
811         (REORDER_BLOCK_SUCC): Removed.
812         (enum reorder_skip_type): Removed.
813         (skip_insns_between_block): Renamed to skip_insns_after_block.
814         Removed second argument. Removed dead code and cleaned up.
815         (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
816         (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
817         second parameter to skip_insns_after_block.
819 Wed May  3 13:29:54 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
821         * tree.c (staticp, case LABEL_DECL): New case.
823 2000-05-03  Richard Henderson  <rth@cygnus.com>
825         * Makefile.in (start.encap): Do not depend on LIBGCC1.
827         * mklibgcc1.in: Fix typo last change.
829 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
831         * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
832         (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
833         (GCC_CFLAGS): Use it.
834         (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
835         * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
836         objc/Make-lang.in: Use it.
838 2000-05-03  Jason R Thorpe  <thorpej@zembu.com>
840         * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
842 2000-05-03  Richard Henderson  <rth@cygnus.com>
844         * mklibgcc.in: Restrict OLDCC=GCC test to native.  Equate
845         LIBGCC1 empty with libgcc1.null.
847 Wed May  3 12:55:46 2000  Jim Wilson  <wilson@cygnus.com>
849         * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
850         change.
852 2000-05-03  Greg McGary  <gkm@gnu.org>
854         * tree.h (tree_common): Add bounded_flag member.  Remove
855         inaccurate comment about number of remaining bits.
856         (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
857         BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
858         MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
859         TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
860         TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
861         (TYPE_QUAL_BOUNDED): New constant.
862         (TYPE_QUALS): Handle bounded qualifier.
863         (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
864         (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
865         TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
866         TYPE_AMBIENT_BOUNDEDNESS): New macros.
867         (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
868         (tree_type): Add pointer_depth member.  Remove
869         inaccurate comment about number of remaining bits.
870         (DECL_POINTER_DEPTH): Add macro.
871         (tree_decl): Add pointer_depth member.
873 Wed May  3 22:52:53 2000  Denis Chertykov  <denisc@overta.ru>
875         * config/avr/avr-protos.h (test_hard_reg_class): Declared.
876         * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
877         (lshrhi3_out): Likewise.
878         (ashrsi3_out): bugfix in shift by 8.
879         (test_hard_reg_class): New function.
880         * config/avr/avr.md: Bugfix inside conditions in peepholes.
881         (ashlhi3): removed define_expand of this pattern.
882         (*ashlhi3_insn): renamed to ashlhi3.
883         (ashlsi3): removed define_expand of this pattern.
884         (*ashlsi3_insn): renamed to ashlsi3.
885         (ashrqi3): removed define_expand of this pattern.
886         (*ashrqi3_insn): renamed to ashrqi3.
887         (ashrhi3): removed define_expand of this pattern.
888         (*ashrhi3_insn): renamed to ashrhi3.
889         (ashrsi3): removed define_expand of this pattern.
890         (*ashrsi3_insn): renamed to ashrsi3.
891         (lshrhi3): removed define_expand of this pattern.
892         (*lshrhi3_insn): renamed to lshrhi3.
893         (lshrsi3): removed define_expand of this pattern.
894         (*lshrsi3_insn): renamed to lshrsi3.
896 2000-05-03  Rodney Brown  <RodneyBrown@pmsc.com>
898         * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
899         inclusion of "system.h".
901 Wed May  3 11:43:53 2000  Jim Wilson  <wilson@cygnus.com>
903         * config/ia64/ia64.c (ia64_encode_section_info): Add check for
904         TREE_ASM_WRITTEN.
906 2000-05-03  David Mosberger  <davidm@hpl.hp.com>
908         * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
909         if -mauto-pic is on.
910         (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
911         -mconstant-gp is in effect and function-descriptors are being used
912         to make indirect calls.
913         * config/ia64/ia64.h (MASK_CONST_GP): New macro.
914         (MASK_AUTO_PIC): Ditto.
915         (TARGET_CONST_GP): Ditto.
916         (TARGET_AUTO_PIC): Ditto.
917         (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
918         (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
919         -mno-pic is in effect.
920         (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
921         * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
922         -mauto-pic is in effect.
923         (gprel64_offset): New pattern.
924         (load_gprel64): Ditto.
925         (call): Handle -mauto-pic like -mno-pic (don't use fptr).  If
926         -mconstant-gp is in effect, no need to preserve gp around direct
927         calls.
928         (call_value): Ditto.
929         * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
930         (FUNCTION_PROFILER): Define.
931         * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
932         @fptr() directive when -mno-pic or -mauto-pic is in effect.
933         (ASM_OUTPUT_DESTRUCTOR): Ditto.
935 2000-05-03  Richard Henderson  <rth@cygnus.com>
937         * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
938         (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
939         (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
940         (mklibgcc, libgcc.mk): New targets.
941         (libgcc.a): Use libgcc.mk.
942         (stmp-multilib): Likewise.
943         (stmp-multilib-sub): Remove.
944         (mostlyclean): Don't delete libgcc2 temp files.
945         * configure.in (AC_PROG_CC_C_O): Add.
946         (NO_MINUS_C_MINUS_O): Substitute it.
947         (all_outputs): Add mklibgcc.
948         * mklibgcc.in: New file.
950 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
952         * cppexp.c (op_t): Make an int.
954         * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
956         * varasm.c (initializer_constant_valid_p): Fix parenthesis.
958         * gensupport.c (process_rtx): Fix macros used.
960 2000-05-03  Richard Henderson  <rth@cygnus.com>
962         * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
963         call-clobbered registers of a call.
965 Wed May  3 12:40:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
967         * gensupport.c: New file.
968         * gensupport.h: New file.
969         * Makefile.in (HOST_RTL): Depend on gensupport.
970         (gensupport.o) New rule.
971         * genattr.c: Use gensupport for reading .md files.
972         * genattrtab.c: Ditto. 
973         * gencodes.c: Ditto. 
974         * genconfig.c: Ditto. 
975         * genemit.c: Ditto. 
976         * genextract.c: Ditto. 
977         * genflags.c: Ditto. 
978         * genopinit.c: Ditto. 
979         * genoutput.c: Ditto. 
980         * genpeep.c: Ditto. 
981         * genrecog.c: Ditto.
982         * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
983         * md.texi (Insn Splitting): Document define_insn_and_split.
985 Tue May  2 00:20:30 2000  Jason Eckhardt  <jle@cygnus.com>
987         * flow.c (verify_flow_info): Added two more sanity checks. The
988         first checks that the blocks are numbered consecutively. The second
989         checks that n_basic_blocks is actually equal to the number of
990         basic blocks in the insn chain.
992 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
994         * cpplib.h: Add accessor macros for token lists.
995         * cpplib.c, cpphash.c, cpplex.c: Use them.
997 Wed May  3 09:29:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
999         * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
1000         memory usage if not in a function.
1001         * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
1002         return address if static.
1004 Wed May  3 13:14:49 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1006         * ifcvt.c (noce_try_cmove_arith):  Use may_trap_p to thest
1007         whether address may trap.
1009 Tue May  2 23:38:37 2000  Jason Eckhardt  <jle@cygnus.com>
1011         * bb-reorder (chain_reorder_blocks): Changed code to test for
1012         EDGE_FALLTHRU rather than making erroneous assumption that the
1013         first outgoing edge is the fall-through edge.
1015 Tue May  2 18:20:31 2000  Donald Lindsay  <dlindsay@hound.cygnus.com>
1017         * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new 
1018         ABI for varargs, across all MIPS. This is incompatible because the
1019         va_list (__builtin_va_list) structure is different, so a compilation
1020         unit passing a va_list and a compilation unit being passed one, should
1021         both be compiled with the same ABI. (The old structure had two 
1022         pointers, now it has three.)
1024 Tue May  2 19:18:43 2000  Jason Eckhardt  <jle@cygnus.com>
1026         * bb-reorder.c (struct reorder_block_def): Remove members end,
1027         block_begin, and block_end.
1028         (REORDER_BLOCK_OLD_END): Delete.
1029         (REORDER_BLOCK_BEGIN): Delete.
1030         (REORDER_BLOCK_END): Delete.
1031         (chain_reorder_blocks): Remove dead code.
1033 Tue May  2 17:06:53 2000  Jason Eckhardt  <jle@cygnus.com>
1035         * bb-reorder.c (remove_scope_notes): Check for both types of scope
1036         notes as the end of a basic block before deleting.
1038 2000-05-02  Mumit Khan  <khan@xraylith.wisc.edu>
1040         * final.c (final_start_function): Fix spelling of "necessary".
1042 2000-05-02  Jason Merrill  <jason@casey.cygnus.com>
1044         * toplev.c (debug_ignore_block): Return int.
1045         * dwarf2out.c (dwarf2out_ignore_block): Likewise.
1046         * toplev.h, dwarf2out.h: Adjust.
1047         * emit-rtl.c (remove_unnecessary_notes): Test return value.
1049         * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
1050         * toplev.c, final.c, rtl.h: Adjust.
1052 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1054         * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
1055         * configure.in: Look for makeinfo in the unified tree, then
1056         for a system makeinfo which is sufficiently new.
1057         * Makefile.in: If configure says makeinfo is too old, don't
1058         build or install Info documentation.
1060 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1062         * cpphash.c (collect_params): Fix off-by-one error.
1063         (dump_hash_helper): Dump all four macro nodetypes.
1065 2000-05-02  Jakub Jelinek  <jakub@redhat.com>
1067         * cpphash.c (trad_stringify): Adjust p after stringification as
1068         well.
1070 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1072         * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
1073         (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
1075         * cppfiles.c (file_cleanup): Delete.
1076         * cpphash.c (macro_cleanup): Delete.
1077         (collect_objlike_expansion, collect_funlike_expansion,
1078         macarg, scan_arguments): Remove CPP_POP case.
1080         * cpplex.c (null_cleanup): Delete.
1081         (cpp_pop_buffer): Do the work that was done in the cleanups
1082         here.  Call _cpp_unwind_if_stack from here.
1083         (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
1084         cpp_scan_buffer): Run until we see CPP_EOF and the top of
1085         stack is the buffer _below_ the one we stacked.
1086         (cpp_get_token): Always pop an exhausted buffer.  Return
1087         CPP_EOF unless it's a macro buffer.  Don't call _cpp_handle_eof.
1088         * cpplib.c (skip_if_group): Don't call cpp_get_token to
1089         increment the line number.
1090         (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
1092         * fix-header.c (read_scan_file) [parsing getchar()]: Run until
1093         we see CPP_EOF and the top of stack is the buffer _below_ the
1094         one we stacked.
1095         * scan-decls.c: Likewise.
1097 2000-05-02  Andrew Haley  <aph@cygnus.com>
1099         * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
1100         where this function is called for the second time on a decl that
1101         has had its section info changed in such a way as to move it out
1102         of small data/bss.  
1103         * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
1105 2000-05-01  Richard Henderson  <rth@cygnus.com>
1107         * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
1108         the sequence we're moving, not to merge_bb->head.
1110 2000-05-01  Richard Henderson  <rth@cygnus.com>
1112         * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
1113         reference to alpha/t-linux.
1114         (alpha*-*-linux-gnu*): Likewise.
1115         * configure: Rebuild.
1117         * calls.c (expand_call): Don't emit reg notes for a sibcall.
1119         * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
1120         if not in SSA form.
1122         * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
1124 2000-05-01  Jason Merrill  <jason@casey.cygnus.com>
1126         * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
1127         TREE_THIS_VOLATILE.
1129 2000-05-01  Richard Henderson  <rth@cygnus.com>
1131         * ifcvt.c (noce_emit_cmove): Conditionally compile call to
1132         emit_conditional_move.
1134 2000-05-01  Jakub Jelinek  <jakub@redhat.com>
1136         * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
1137         as the dynamic linker.
1139 2000-05-01  Zack Weinberg  <zack@wolery.cumb.org>
1141         * cppfiles.c (open_include_file): Open file in blocking mode.
1142         (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
1143         Only exclude block devices and directories.
1145         * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
1146         static.  Allocate the hashnode and its string in the same
1147         block of memory.
1148         (del_HASHNODE): Don't free h->name.
1149         (_cpp_lookup): If there is no entry for this string, create
1150         one, of type T_VOID.
1151         (_cpp_lookup_slot): Delete.
1152         * cpphash.h: Update prototypes.
1154         * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
1155         not hp == NULL.
1156         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
1157         do_unassert, cpp_defined): Use _cpp_lookup.  Don't create a
1158         node here, just fill in the value field properly.  "Delete"
1159         entries by setting the value field to T_VOID.  Check for
1160         hp->type == T_VOID, not hp == NULL.
1162         * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
1163         * cpperror.c, cppexp.c, cpplex.c, cpplib.c:  Don't include
1164         hashtab.h.
1166 2000-05-01  Alexandre Oliva  <aoliva@cygnus.com>
1168         * config/mn10300/mn10300.c (print_operand_address): Do not add
1169         zero to SP.
1171         * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
1172         adjusted by less than 256 bytes, use ret regardless of having any
1173         callee-saved register to restore.
1175 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
1177         * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
1179 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
1181         * config/i386/djgpp.h (INT_ASM_OP): Define.
1182         (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
1183         (ASM_WEAKEN_LABEL): Define.
1184         (MASK_BNU210): Define.
1185         (SUBTARGET_SWITCHES): Define.
1186         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
1187         (MAKE_DECL_ONE_ONLY): Define.
1188         (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
1190 2000-05-01  Mumit Khan  <khan@xraylith.wisc.edu>
1192         * i386/cygwin.h (INT_ASM_OP): Define.
1194 Mon May  1 18:20:06 2000  Denis Chertykov  <denisc@overta.ru>
1196         * config/avr/avr.c (address_cost): renamed to avr_address_cost.
1197         * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
1199 Mon May  1 17:50:44 2000  Denis Chertykov  <denisc@overta.ru>
1201         * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
1202         __tmp_reg__ and __zero_reg__ initialization.
1204 2000-04-30  Richard Henderson  <rth@cygnus.com>
1206         * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
1208         * ifcvt.c (noce_process_if_block): Fail the conversion if X is
1209         referenced bewteen the condition and the jump.  Don't delete
1210         anything but the jump.
1212 Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>
1214         * bb-reorder.c (scope_def): New struct.
1215         (scope_forest_info): New struct.
1216         (struct reorder_block_def): New member "scope".
1217         (REORDER_BLOCK_SCOPE): New macro.
1218         (relate_bbs_with_scopes): New function and prototype.
1219         (make_new_scope): Likewise.
1220         (build_scope_forest): Likewise.
1221         (remove_scope_notes): Likewise.
1222         (insert_intra_1): Likewise.
1223         (insert_intra_bb_scope_notes): Likewise.
1224         (insert_inter_bb_scope_notes): Likewise.
1225         (rebuild_scope_notes): Likewise.
1226         (free_scope_forest_1): Likewise.
1227         (free_scope_forest): Likewise.
1228         (dump_scope_forest): Likewise.
1229         (dump_scope_forest_1): Likewise.
1230         (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
1231         Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
1232         block.
1233         (reorder_basic_blocks): Added calls to build_scope_scope_forest
1234         and remove_scope_notes before reordering is done. Added calls to
1235         rebuild_scope_notes, free_scope_forest, and reorder_blocks after
1236         after reordering is done.
1238 2000-40-30  Bruce Korb  <bkorb@gnu.org>
1240         * fixinc/inclhack.def:  Added definitions needed by OSR5,
1241         removed two stale entries (defined away with OLD_CPP).
1242         * fixinc/inclhack.sh: regen
1243         * fixinc/fixincl.x: regen
1245 2000-04-30  Richard Henderson  <rth@cygnus.com>
1247         * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
1248         from the last insn in the sequence.
1250 2000-04-30  Zack Weinberg  <zack@wolery.cumb.org>
1252         * cpplex.c (cpp_idcmp): New function.
1253         * cpplib.h: Prototype it.
1254         * scan_decls.c (scan_decls): Use it to inspect token names.
1255         * fix-header.c (read_scan_file): Likewise.  Set system_header_p on
1256         the file being run through the preprocessor.
1257         (check_macro_names): Provide length of token to cpp_defined.
1259         * Makefile.in: Remove stale warning message.
1261         * cppfiles.c (redundant_include_p): Provide length of token to
1262         cpp_defined.
1263         * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
1264         values are unsigned int.
1265         (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
1266         (_cpp_lookup_slot): Do not calculate the hash, either.
1267         * cpphash.h: Update prototypes.
1268         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
1269         Hashes are unsigned int.  Calculate hash here, pass by value
1270         to _cpp_lookup_slot.
1272 2000-04-30  Bernd Schmidt  <bernds@cygnus.co.uk>
1274         * simplify-rtx.c (check_value_useless): Delete function.
1275         (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
1276         by hand.
1277         (cselib_invalidate_regno): Likewise.
1278         (cselib_invalidate_mem_1): Likewise.
1279         (references_value_p): Recognize useless values by the fact that they
1280         have no locations.
1281         (discard_useless_values): Likewise.
1282         (cselib_record_set): This may turn a useless value
1283         into a useful one.
1285 2000-04-30  Richard Henderson  <rth@cygnus.com>
1287         * config/d30v: New port.
1289         * configure.in (d30v-*): Set fp format.
1290         * configure: Rebuild.
1292 2000-04-30  Richard Henderson  <rth@cygnus.com>
1294         * ifcvt.c: New file.
1295         * Makefile.in (OBJS): Add it.
1296         (ifcvt.o): New target.
1297         * jump.c (jump_optimize_1): Remove all code related to if-conversion,
1298         and conditional arithmetic.
1299         (find_insert_position): Remove.
1300         * timevar.def (TV_IFCVT, TV_IFCVT2): New.
1301         * toplev.c (DFI_ce, DFI_ce2): New.
1302         (dump_file): Add ce and ce2 dumps.
1303         (rest_of_compilation): Run if_convert a couple o times.  Set
1304         cse_not_expected after cse2.  Don't set no_new_pseudos until
1305         after sched1 or recompute_reg_usage.
1307 2000-04-30  Richard Henderson  <rth@cygnus.com>
1309         * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
1310         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
1312 2000-04-30  Richard Henderson  <rth@cygnus.com>
1314         * flow.c (struct reg_cond_life_info): New.
1315         (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
1316         (init_propagate_block_info): Initialize them.
1317         (free_propagate_block_info): Destruct them.
1318         (mark_set_1): Consider conditional life before killing a register.
1319         (mark_regno_cond_dead): New.
1320         (free_reg_cond_life_info): New.
1321         (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
1322         (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
1323         (mark_used_reg): Record conditional life.
1325         * haifa-sched.c (schedule_insns): Disable death counting
1326         sanity check for HAVE_conditional_execution.
1328 2000-04-30  Richard Henderson  <rth@cygnus.com>
1330         * Makefile.in (TIMEVAR_H): New.
1331         (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
1332         (timevar.h): Remove rule.
1334 2000-04-29  Richard Henderson  <rth@cygnus.com>
1336         * config/alpha/crtend.asm: Use C comments instead of #.
1337         * config/alpha/crtbegin.asm: Likewise.  Mark __dso_handle hidden.
1339         * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
1341 2000-04-29  Zack Weinberg  <zack@wolery.cumb.org>
1343         * cpphash.h (enum node_type: Take out T_MCONST.
1344         (union hashval): Move into struct hashnode.
1345         (struct hashnode): Pack tighter.  Remove file, line, col
1346         members.
1347         * cpphash.c: Constify most of the macro-definition structures.
1348         (struct definition): Replace by struct object_defn
1349         and struct funct_defn.  Put file, line, column information
1350         here.  All users updated to match.
1351         (_cpp_create_definition, _cpp_macroexpand): Remove special
1352         case for #define WORD OTHERWORD.
1353         * cpplib.c (do_undef): Remove T_MCONST case.
1355         * cpphash.h: Move struct reflist, struct definition, and the
1356         DEFINITION typedef to cpphash.c.  Use 'struct definition *' in
1357         union hashval.  _cpp_free_definition takes a HASHNODE pointer.
1358         * cpphash.c (_cpp_free_definition): Free data pointed to by
1359         MCONST, XCONST, MACRO, and FMACRO nodes properly.
1360         (_cpp_create_definition, del_HASHNODE): Just call
1361         _cpp_free_definition to clear out a hashnode.
1362         * cpplib.c (do_pragma_poison): Likewise.
1364 Sat Apr 29 12:25:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
1366         * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
1367         LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
1368         FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
1369         (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
1370         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
1371         REGNO_AM33_P): Redefine in terms of the new macros.
1372         (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
1373         (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
1374         STRUCT_VALUE): Likewise.
1375         (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
1376         ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise.  Moved.
1378 Sat Apr 29 01:18:45 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1380         * regmove.c (struct record_stack_memrefs_data): New.
1381         (record_stack_memrefs): New function.
1382         (combine_stack_adjustments_for_block): Use it.
1384 Sat Apr 29 01:15:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1386         * calls.c (calls_function_1):  Propertly handle TREE_LIST expressions;
1387         use special_function_p to detect alloca.
1389 Fri Apr 28 16:30:33 2000  Marc Espie <espie@cvs.openbsd.org>
1391         * gcc.texi: Fixes for makeinfo 4.0 --html.
1393 2000-04-28  Zack Weinberg  <zack@wolery.cumb.org>
1395         * pcp.h: Delete file.
1397 2000-04-28  Kazu Hirata  <kazu@hxi.com>
1399         * h8300.c (function_epilogue): Clean up flags when the last insn
1400         in a function is a barrier.
1402 2000-04-28  Chris Demetriou  <cgd@sibyte.com>
1404         * configure.in (sparc-hal-solaris2*): protect [] glob from
1405         my expansion.
1406         (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
1407         rather than hard-coded constants in target_cpu_default2.
1408         * configure: Regenerate.
1410 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
1412         * tree.c (get_callee_fndecl): Extract the initial value from
1413         a readonly decl.
1415 2000-04-28  Richard Henderson  <rth@cygnus.com>
1417         * varasm.c (record_constant_1): Record the CODE_LABEL when
1418         taking the address of a LABEL_REF.
1420 2000-04-28  Richard Henderson  <rth@cygnus.com>
1421             Jan Hubicka  <jh@suse.cz>
1423         * calls.c (combine_pending_stack_adjustment_and_call): Return the
1424         adjustment; don't do the stack adjust.
1425         (expand_call): Call compute_argument_block_size right before
1426         allocating the block; update comment; don't do alignment sanity
1427         checking for sibling call; use args_size instead of
1428         unadjusted_args_size before args_size is adjusted.  Use
1429         combine_pending_stack_adjustment_and_call to compute stack adjust
1430         for must_preallocate case.
1432         * expr.c (push_block): Remove shadow `temp' in inner scope.
1434 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
1436         * toplev.c (rest_of_compilation): Call
1437         note_deferral_of_defined_inline_function even if the function
1438         can't be inlined.
1440 2000-04-28  Scott Bambrough  <scottb@netwinder.org>
1442         * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
1444 2000-04-28  Richard Henderson  <rth@cygnus.com>
1446         * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
1448 2000-04-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1450         * timevar.c (init_timevar): DeANSIfy function definition.
1452 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
1454         * Makefile.in (timevar.o): Depend on flags.h.
1455         * timevar.c (unused_stack_instances): New variable.
1456         (timevar_push): Take a timevar_stack_def from
1457         unused_stack_instances if available.
1458         (timevar_pop): Push the popped timevar_stack_def onto
1459         unused_stack_instances.
1460         (TIMEVAR_ENABLE): New macro.
1461         (timevar_def): Make standalone a 1-bit field.  Add field used.
1462         (get_time): Rename parameter to now.  Return after clearing it if
1463         not TIMEVAR_ENABLE.
1464         (init_timevar): Do nothing if not TIMEVAR_ENABLE.
1465         (timevar_pop): Likewise.
1466         (timevar_stop): Likewise.
1467         (timevar_push): Likewise.  Mark the timing variable as used.
1468         (timevar_start): Likewise.
1469         (timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
1470         timevars that were never used.
1472 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
1474         * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
1475         always TREE_READONLY.
1477 2000-04-27  Ulrich Drepper  <drepper@cygnus.com>
1479         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
1480         for call instruction with mode QImode.
1482 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
1484         * Makefile.in (OBJS): Add timevar.o.
1485         (toplev.o): Depend on timevar.h.
1486         (ggc-simple.o): Likewise.
1487         (ggc-page.o): Likewise.
1488         (timevar.o): New rule.
1489         (timevar.h): New rule.
1491         * timevar.h: New file.
1492         * timevar.c: Likewise.
1493         * timevar.def: Likewise.
1495         * toplev.h (gc_time, parse_time, varconst_time): Remove.
1496         * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
1497         throughout.
1498         (TIMEVAR): Remove macro.
1499         (gc_time, parse_time, varconst_time, integration_time, jump_time,
1500         cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
1501         flow_time, combine_time, regmove_time, sched_time,
1502         local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
1503         sched2_time, dbr_sched_time, reorder_blocks_time,
1504         rename_registers_time, shorten_branch_time, stack_reg_time,
1505         to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
1506         all_time): Remove.
1507         (compile_file): Don't initialize time variables.  Call
1508         init_timevar and start TV_TOTAL timer.  Call timevar_print instead
1509         of many calls to print_time.
1510         (rest_of_compilation): Add timing for reload_cse_regs.
1511         (get_run_time): Removed to timevar.c.
1512         (print_time): Likewise.
1513         (get_run_time): Implement using TV_TOTAL time variable.
1514         (print_time): Get total run time from get_run_time.
1515         * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
1516         computing elapsed time explicitly.
1517         * ggc-simple.c (ggc_collect): Likewise.
1518         (gc_time): Remove declaration.
1520 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
1522         * calls.c (combine_pending_stack_adjustment_and_call): New function.
1523         (expand_call): Use it.
1525 2000-04-27  Jan Hubicka  <jh@suse.cz>
1527         * flow.c (mark_set_1):  Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
1528         fields.
1530 Thu Apr 27 12:47:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
1532         * config/mn10300/mn10300.md (movhi): Simplify.  Prefer data
1533         registers.
1535 Thu Apr 27 17:33:05 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1537         * function.c (epilogue_done): Pass whole insn to record_insns.
1539 Thu Apr 27 16:55:28 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1541         * cse.c (CSE_ADDRESS_COST): Remove.
1542         (find_best_addr): Add new parameter "MODE", use address_cost instead
1543         of CSE_ADDRESS_COST
1544         (address_cost): New.
1545         (fold_rtx): Update call of find_best_addr.
1546         * rtl.h (address_cost): Declare.
1547         * loop.c (general_induction_var): Add new parameter "MODE", use
1548         address_cost instead of ADDRESS_COST
1549         (init_loop): Use address_cost instead of ADDRESS_COST.
1550         (check_insn_for_givs): Update call of general_induction_var.
1551         (find_mem_givs): Likewise.
1552         (consec_sets_giv): Likewise.
1553         * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
1554         * i386.c (ix86_address_cost): New.
1555         * i386-protos.h (ix86_address_cost): Declare.
1557 Thu Apr 27 11:45:16 2000  Alexandre Oliva  <aoliva@cygnus.com>
1559         * config/mn10300/mn10300.md (movqi): Simplify.  Prefer data
1560         registers.
1562 Thu Apr 27 16:11:00 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1564         * expr.c (store_expr): Use clear_storage instead of direct memset
1565         libcall.
1567 Thu Apr 27 10:36:51 2000  Alexandre Oliva  <aoliva@cygnus.com>
1569         * config/mn10300/mn10300.c (mn10300_address_cost): Test
1570         ASHIFT, AND and LABEL_REF.
1572 Thu Apr 27 15:08:46 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1574         * invoke.texi (-foptimize-sibling-calls): Fix.
1576 Thu Apr 27 14:54:22 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1578         * loop.c (load_mems)  Don't use hard registers for the hoisting.
1580         * unroll.c (unroll_loop): Avoid overflow in the n_iterations
1581         calculation; rename const_equiv array in the preconditioning code
1582         from loop_unroll to loop_unroll_precondition
1584 2000-04-27  Richard Henderson  <rth@cygnus.com>
1586         * flow.c (struct propagate_block_info): Remove new_dead, new_live;
1587         add new_set.
1588         (propagate_one_insn): Clear it.  Don't update reg_live here.
1589         (init_propagate_block_info): Update for pbi member changes.
1590         (free_propagate_block_info): Likewise.
1591         (mark_set_1): Know that zero_extract, sign_extract, and
1592         strict_low_part don't kill their argument.  Alter hard subregs.
1593         Update new_set for non-CLOBBER sets.  Update reg_live.
1594         (find_auto_inc): Update reg_live, not new_dead.
1595         (mark_used_reg): Update reg_live, not new_live.  Examine new_set
1596         to determine if the reg in question was set this insn.  Only update
1597         reg info with PROP_REG_INFO.
1599 2000-04-26  Richard Henderson  <rth@cygnus.com>
1601         * flow.c (allocate_reg_life_data): Set max_regno here ...
1602         (life_analysis): ... not here.
1604         * flow.c (calculate_global_regs_live): Force stack pointer
1605         live at end.
1607 2000-04-26  Richard Henderson  <rth@cygnus.com>
1609         * jump.c (redirect_exp_1): Rework from old redirect_exp.  Never
1610         commit change group changes.
1611         (invert_exp_1): Similarly.
1612         (redirect_exp, invert_exp): Use them.
1613         (redirect_jump_1): New.
1614         (invert_jump_1): New.
1615         (jump_optimize_1): Remove code subsumed by condexec.c.
1616         * rtl.h (invert_jump_1, redirect_jump_1): Declare.
1618 2000-04-26  Richard Henderson  <rth@cygnus.com>
1620         * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
1622         * genconfig.c (main): Set all HAVE_foo to 1.
1624         * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
1626 2000-04-26  Alex Samuel  <samuel@codesourcery.com>
1628         * invoke.texi: Document -fssa flag.
1630 2000-04-26  Richard Henderson  <rth@cygnus.com>
1632         * flow.c (count_reg_sets_1): Remove.
1633         (count_reg_sets, count_reg_references): Remove.
1634         (recompute_reg_usage): Implement with update_life_info.
1635         Reallocate life data.
1637 2000-04-26  Richard Henderson  <rth@cygnus.com>
1639         * flow.c (update_life_info): Consider blocks null to mean the
1640         universal set.
1641         (calculate_global_regs_live): Likewise.
1642         (life_analysis): Do that instead of collecting all_blocks.
1644 2000-04-26  Richard Henderson  <rth@cygnus.com>
1646         * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
1647         a still-valid conditional jump.
1649 2000-04-26  Richard Henderson  <rth@cygnus.com>
1651         * jump.c (invert_jump): Always invert REG_BR_PROB.  Do it correctly.
1653         * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
1654         * flow.c (calculate_loop_depth): Remove.
1655         * output.h (calculate_loop_depth): Don't declare.
1656         * toplev.c (rest_of_compilation): Expand calculate_loop_depth
1657         inline; run estimate_probability at the same time.
1659 2000-04-26  Neil Booth  <NeilB@earthling.net>
1661         * cpplib.h: "~=" is not a single pp-token.
1662         * cpplex.c: Correct commentary.
1664 2000-04-26  Richard Henderson  <rth@cygnus.com>
1666         * flow.c (mark_set_1): New arguments code and flags; update all
1667         callers.  Track regno_first and regno_last; do HARD_REGNO_NREGS
1668         test in one place.  Tidy flags tests.  Don't bias REG_N_REFS by
1669         loop_depth when optimizing for size.  Do new_dead update after
1670         emitting REG_UNUSED notes.  Merge mark_set_reg code.
1671         (mark_set_reg): Remove.
1672         (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
1673         arrange to not emit REG_UNUSED notes.
1675 2000-04-26  Richard Henderson  <rth@cygnus.com>
1677         * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
1678         * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
1680 2000-04-26  Richard Henderson  <rth@cygnus.com>
1682         * flow.c (propagate_one_insn): Break out from propagate_block.
1683         (init_propagate_block_info): Likewise.
1684         (free_propagate_block_info): Likewise.
1685         (propagate_block): Use them.  Export.
1686         * basic-block.h: Declare them all.
1688 2000-04-26  Richard Henderson  <rth@cygnus.com>
1690         * basic-block.h (life_analysis): Declare here ...
1691         * output.h: ... not here.
1692         * flow.c (life_analysis): Remove nregs parameter; replace
1693         remove_dead_code with flags.  Remove ssa dead code check.
1694         Only init alias analysis if we'll use it.
1695         * reg-stack.c (reg_to_stack): Update life_analysis arguments.
1696         * ssa.c (convert_to_ssa): Likewise.
1697         (convert_from_ssa): Likewise.
1698         * toplev.c (rest_of_compilation): Likewise.
1700 2000-04-26  Richard Henderson  <rth@cygnus.com>
1702         * flow.c (flow_delete_block): Rename from delete_block.  Export.
1703         * basic-block.h (flow_delete_block): Declare.
1705 2000-04-26  David S. Miller  <davem@redhat.com>
1707         * optabs.c (emit_libcall_block): Verify insns with INSN_P before
1708         taking a PATTERN of it.
1710 2000-04-26  <NeilB@earthling.net>
1712         * cpplex.c (spell_other, spell_char): Remove.
1713         (SPELL_CHAR): New.
1714         (token_spelling, trigraph_map): Use unsigned chars.
1715         (_cpp_lex_line): Tidy up the switch statement.
1716         * cpplib.h: Implement spell_char with spell_string.
1717         (C): New.
1719 2000-04-26  <RodneyBrown@pmsc.com>
1721         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
1722         * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
1724 2000-04-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1726         * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
1727         reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
1728         dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
1729         dwarf2out_return_save, dwarf2out_return_reg,
1730         dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
1731         add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
1732         gen_compile_unit_die, dwarf2out_init): Constify a char*.
1734         * dwarf2out.h (dwarf2out_init): Likewise.
1736         * dwarfout.c (filename_entry, primary_filename, last_filename,
1737         type_tag, output_compile_unit_die, dwarfout_init): Likewise.
1739         * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
1740         dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
1741         dwarf2out_return_reg): Likewise.
1743 2000-04-26  Andreas Jaeger  <aj@suse.de>
1745         * extend.texi (Function Attributes): Fix description of pure
1746         attribute.
1748 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
1750         * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
1751         before calling rest_of_compilation.
1753 2000-04-26  Andreas Jaeger  <aj@suse.de>
1755         * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
1756         last patch.
1758 2000-04-25  Richard Henderson  <rth@cygnus.com>
1760         * cse.c (cse_insn): Emit barrier after unconditional jump.
1762         * calls.c (expand_call): Disable tail call generation once
1763         rtx_equal_function_value_matters is false.
1765         * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
1766         like EDGE_EH edges.
1768 2000-04-25  Jason Merrill  <jason@casey.cygnus.com>
1770         * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
1772         * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
1774         * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
1775         is the primary DIE for a member function.
1776         (gen_decl_die): Call set_decl_origin_self here.
1777         * dwarfout.c (output_decl): And here.
1778         * integrate.c (output_inline_function): Not here.
1779         Don't clear DECL_INLINE until after calling rest_of_compilation.
1780         (set_decl_origin_self): No longer static.
1781         * tree.h: Add prototype.
1782         * toplev.c (note_deferral_of_defined_inline_function): Only write
1783         out abstract instance for actual inlines.
1785 2000-04-25  Alexandre Oliva  <aoliva@cygnus.com>
1787         * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
1788         EXTENDED_REGS only if TARGET_AM33.
1789         * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
1790         SP_REGS to register allocation and reloading unless absolutely
1791         necessary.
1792         (movsi3): Remove special-case of adding non-constants to SP.
1794 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1796         * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
1797         INCLUDES to search and does not provide any of its own.  Also it
1798         now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
1799         parameters.  Also it does not call AC_DEFINE.
1800         (gcc_AC_NEED_DECLARATIONS): Likewise.  Also this macro now calls
1801         AC_DEFINE and provides for automatic entries for autoheader.
1802         (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
1804         * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
1805         so we can pass -I flags and include gansidecl.h/system.h in this
1806         test.
1808         * acconfig.h: Delete all NEED_DECLARATION_* entries.
1810 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1812         * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
1813         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
1814         ENABLE_GC_ALWAYS_COLLECT): Delete entries.
1816         * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
1817         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
1818         ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
1819         for these macros.  Clean up spacing and linewraps.
1821 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
1823         * calls.c (expand_call): Use get_callee_fndecl.
1825         * print-tree.c (print_node): Print the chain of an _EXPR.
1827 Tue Apr 25 16:16:04 2000  Andrew MacLeod  <amacleod@cygnus.com>
1828                           Jim Wilson  <wilson@cygnus.com>
1829                           Andrew Haley  <aph@cygnus.com>
1831         * config/ia64/crtbegin.asm: Add IA-64 unwind support.  Correct alloc
1832         and gp save/restore problems.
1833         * config/ia64/crtend.asm: Add IA-64 unwind support.
1834         * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
1835         in fr_pad_size calculation.
1836         (save_restore_insns): Move PR save area.  Correct uses of
1837         RTX_FRAME_RELATED_P.
1838         (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
1839         (ia64_expand_epilogue): Add eh_epilogue support.
1840         (ia64_function_prologue): Emit .prologue directive.
1841         (ia64_init_machine_status, ia64_mark_machine_status): New functions.
1842         (ia64_override_options): Set init_machine_status and
1843         mark_machine_status.
1844         (rtx_needs_barrier): Handle bsp reads and writes.
1845         (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
1846         New static variables.
1847         (process_set, process_for_unwind_directive): New functions.
1848         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
1849         ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
1850         ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
1851         macros.
1852         (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
1853         (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
1854         (struct machine_function): Define.
1855         * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
1857 2000-04-25  Bruce Korb  <bkorb@gnu.org>
1859         * fixinc/Makefile.in: make the removal of old programs more
1860         robust
1861         * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
1862         install-bin and install-sh
1864 2000-04-25  Nick Clifton  <nickc@cygnus.com>
1866         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
1867         defined, define to return zero.
1868         (function_cannot_inline_p): If a function has any target
1869         specific attributes, then use the macro
1870         FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
1871         whether it can be inlined.  If it cannot, issue a suitable
1872         explanation.
1874         * tm.texi: Add a new node 'Inlining' to document the new macro
1875         FUNCTION_ATTRIBUTE_INLINABLE_P.
1877 2000-04-25  Zack Weinberg  <zack@wolery.cumb.org>
1879         * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
1880         commentary.
1882 2000-04-25  Neil Booth  <NeilB@earthling.net>
1884         Restore previous patch, plus the following fixes:
1886         * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
1887         flags, not CPP_OPEN_PAREN.
1888         * cpplex.c (expand_token_space, init_token_list,
1889         cpp_free_token_list): Put the dummy token at list->tokens[-1].
1890         (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
1892 Tue Apr 25 14:06:40 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1894         * config/i386/freebsd.h (INT_ASM_OP): Define.
1896 Tue Apr 25 14:51:07 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1898         * loop.c (strength_reduce): Fix typo in the last checkin.
1900 Tue Apr 25 07:33:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1902         * stor-layout.c (finalize_record_size): Simplify to use existing
1903         functions.
1904         (compute_record_mode): No longer static.
1905         * tree.h (compute_record_mode): New declaration.
1907 2000-04-25  Neil Booth  <NeilB@earthling.net>
1909         * Revert my patch below until cause of build failures
1910         determined.
1912 2000-04-25  Richard Henderson  <rth@cygnus.com>
1914         * combine.c (combine_instructions): Add missing argument
1915         to try_combine.
1917         * toplev.c (rest_of_compilation): Delay sibcall optimization
1918         until after emit_eh_context.
1920 2000-04-24  Nick Clifton  <nickc@redhat.com>
1922         * combine.c (combine_instructions): Do not try to combine a
1923         sequence of insns when the second insn has been replaced by a
1924         note.
1926 Mon Apr 24 17:34:18 2000  Mumit Khan  <khan@xraylith.wisc.edu>
1928         * gcc.c (load_specs): New static function.
1929         (read_specs): Use it.
1931         * gcc.c (lookup_compiler): Make multiple passes for case
1932         insensitive filesystems.
1934 2000-04-24  Neil Booth  <NeilB@earthling.net>
1936         * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
1937         * cpphash.h (_cpp_check_directive): new.
1938         * cpplex.c (handle_newline, cpp_free_token_list,
1939         init_trigraph_map, trigraph_ok, trigraph_replace,
1940         backslash_start, skip_block_comment, skip_line_comment,
1941         skip_whitespace, parse_name, parse_number, parse_string,
1942         copy_comment, _cpp_lex_line, spell_char, spell_string,
1943         spell_comment, spell_name, spell_other, _cpp_lex_file,
1944         _cpp_output_list): new.
1945         (expand_name_space): take length argument.
1946         (init_token_list): add comment list initialisation.
1947         (cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
1948         instead of HSPACE_BEFORE.
1950         * cpplib.c (_cpp_check_directive): new
1951         * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
1952         DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
1953         (HSPACE_BEFORE): delete.
1954         (TTYPE_TABLE): rearrange.
1955         (struct cpp_toklist): update.
1957 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1959         * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
1960         gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
1961         argument form of AC_DEFINE.
1963         * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
1964         HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
1965         WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
1966         HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
1967         HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
1969         * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
1971 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1973         * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
1974         deduced.h): Use -isystem, not -I, for including system headers.
1976 2000-04-24  Nick Clifton  <nickc@cygnus.com>
1978         * config/fr30/fr30.md (addsi3): Do not use small add instruction if
1979         the source register is the frame pointer or arg pointer.
1980         (addsi3_small_int): Disallow if source register is the frame
1981         pointer or arg pointer.
1983 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1985         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
1986         call to AC_MSG_RESULT.
1988 2000-04-24  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1990         * invoke.texi: Correct grammatical errors, document
1991         -fno-gnu-keywords as identical to -fno-asm for C++.
1993 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1995         * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
1996         GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
1997         GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
1998         AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
1999         EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
2001         * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
2002         GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
2003         GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
2004         GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
2005         new macros names.
2007 2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>
2009         * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
2010         (pop_alignment): Likewise.
2011         (handle_pragma_token): Likewise.
2013 2000-04-24  Robert Lipe <robertlipe@usa.net>
2015         * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
2017 2000-04-24  Hiroyuki Machida <machida@sm.sony.co.jp>
2019         * combine.c (try_combine): Update reg_nonzero_bits of
2020         newi2pat before newpat.
2022 Mon Apr 24 10:19:48 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2024         * loop.c (strength_reduce): Simplify test to INSN_P.
2025         (record_giv): Attempt to simplify the add value, use CONSTANT_P
2026         expressions instead of CONST_INT.
2027         (express_from_1): Likewise.
2029 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
2031         * regs.h (reg_n_max): Don't declare.
2032         * flow.c (reg_n_max): Don't define.
2033         * regclass.c (renumber): Don't initialize to zero.
2034         (regno_allocated): Likewise.
2035         (reg_n_max): Define.
2036         (allocate_reg_info): Don't initialize unnecessarily.
2038 Mon Apr 24 00:21:36 2000  Jeffrey A Law  (law@cygnus.com)
2040         * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
2041         and blockage_p in the newly allocated attribute.
2043 Sun Apr 23 20:16:49 2000  Alexandre Oliva  <aoliva@cygnus.com>
2045         * config/mn10300/mn10300.md (addsi): `inc4' on address
2046         registers does not modify cc, but `inc' on an extended
2047         register does.
2049 Sun Apr 23 16:24:35 2000  Denis Chertykov  <denisc@overta.ru>
2051         * reload.c (find_equiv_reg): Checks all valueno regs
2052         as a reload_reg_p regs.
2054 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
2056         * cpphash.c (collect_objlike_expansion): Add sanity check.
2057         (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
2058         the buffer is the empty string, return.  Mark __DATE__ and
2059         __TIME__ as XCONST nodes, not MCONST.
2060         (_cpp_macroexpand): Avoid pushing an empty buffer.
2061         (funlike_macroexpand): Don't pop token_buffer here.
2063 Sun Apr 23 18:37:53 2000  Alexandre Oliva  <aoliva@cygnus.com>
2065         * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
2066         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
2067         (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
2068         (REGNO_OK_FOR_BASE_P): Define in terms of them.
2069         (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
2070         (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
2071         (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
2073 Sun Apr 23 22:23:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2075         * loop.c (simplify_giv_expr):  Be more agressive on simplifying
2076         constant MULT givs.
2078 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
2080         * cpphash.h (struct definition): Move file, line, col members...
2081         (struct hashnode): ... here.  Also add 'disabled' flag.
2082         (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
2083         T_IDENTITY.  Remove T_DISABLED.
2084         Update prototypes.
2086         * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
2087         (collect_expansion): Split into collect_objlike_expansion and
2088         collect_funlike_expansion.
2089         (_cpp_macroexpand): Split out scan_arguments, stringify, and
2090         funlike_macroexpand.
2091         (_cpp_compare_defs): Rename compare_defs, make static.
2092         (_cpp_make_hashnode): Initialize hp->disabled.
2093         (macro_cleanup): Adjust for new token types.  Clear
2094         m->disabled.
2095         (_cpp_create_definition): Move code here to determine what
2096         sort of macro it is, and code to check for redefinitions, from
2097         do_define.  Implement a few simple cases without creating a
2098         full DEFINITION.
2099         (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
2100         Handle the simple cases.
2101         (push_macro_expansion): Set buf->has_escapes and hp->disabled
2102         here.
2104         * cppinit.c (builtin_array): Change MCONST to XCONST
2105         everywhere.
2106         * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
2107         fix check for disabled and function-like macros.
2108         * cpplib.c (do_define): Move most logic to
2109         _cpp_create_definition.
2110         (do_undef): Handle new special token types.
2112 Sun Apr 23 14:27:44 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2114         * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
2115         of CONSTANT_P for mult_val; always use validate_change to update insn.
2117 2000-04-22  Zack Weinberg  <zack@wolery.cumb.org>
2119         * cpphash.c (trad_stringify, add_pat): New functions.
2120         (collect_expansion): Restore support for -traditional syntax.
2121         Use trad_stringify and add_pat.
2122         (_cpp_macroexpand): Restore support for -traditional semantics.
2123         * cpplex.c (_cpp_scan_line): Don't change space_before if we
2124         get a COMMENT token.
2125         (_cpp_lex_token): Provide COMMENT tokens to caller if
2126         traditional and parsing_define_directive.
2127         (skip_comment): Warn about // comments if -Wtraditional.
2128         * cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
2129         proper node type.
2130         (do_undef): Don't warn about undefining EMPTY nodes.
2132 Sat Apr 22 22:35:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2134         * loop.c (strength_reduce): Fix biv removal code.
2136 2000-04-22  Richard Henderson  <rth@cygnus.com>
2138         * predict.c (estimate_probability): Examine both sides of
2139         a branch for no exits.  Use 90% not 50% for predict taken.
2140         Reorg for one copy of note generation code.
2142 2000-04-22  Richard Henderson  <rth@cygnus.com>
2144         * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
2146 2000-04-22  Richard Henderson  <rth@cygnus.com>
2148         * diagnostic.c (init_output_buffer): Don't initialize format_args.
2149         (output_clear): Likewise.
2150         (output_printf): Use va_copy.
2151         (vline_wrapper_message_with_location): Likewise.
2152         (v_message_with_decl): Likewise.
2153         (line_wrapper_printf): VA_START infor buffer.format_args directly.
2154         * system.h (va_copy): Provide default implementation.
2156 2000-04-22  Richard Henderson  <rth@cygnus.com>
2158         * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
2159         the collected condition is not a constant.
2161 2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>
2163         * diagnostic.h: New file.
2165         * Makefile.in (diagnostic.o): Depends on diagnostic.h
2167         * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
2168         various function prototypes.
2169         (diagnostic.h): #include.
2170         (struct output_buffer): Move into diagnostic.h.
2171         (get_output_prefix): Rename to output_get_prefix.  Export.
2172         (init_output_buffer): Export. Break out.  Ajust intialization.
2173         (output_space_left, output_append): Export.
2174         (output_newline): Rename to output_add_newline.  Export.
2175         (output_clear): Nullify additional output_buffer fields.
2176         (output_puts): Rename to output_add_string.  Export.
2177         (dump_output): Rename to output_flush_on.  Export.
2178         (build_location_prefix): Constify return-type.
2179         (emit_output_prefix): Rename to output_emit_prefix. Export.
2180         (set_real_maximum_length): New function.
2181         (output_set_maximum_length): Ditto
2182         (output_clear): Ditto.
2183         (output_add_character): Ditto.
2184         (output_add_integer): Ditto.
2185         (output_add_space): Ditto.
2186         (output_format): Ditto.
2187         (output_printf): Adjust buffer initialization.
2188         (vline_wrapper_message_with_location): Ditto.
2189         (v_message_with_decl): Ditto.  Adjust call to output_puts
2190         and get_output_prefix.
2191         (default_print_error_function): Adjust buffer intialization.
2193 Sat Apr 22 06:45:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2195         * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
2196         of VOID_TYPE.
2198 Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
2200         * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
2201         of explicit 0.
2203 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
2205         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
2206         accurate data about SP moves.
2208 Fri Apr 21 18:28:28 2000  Alexandre Oliva  <aoliva@cygnus.com>
2210         * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
2211         aliases to AM33 registers.
2213 Fri Apr 21 18:26:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
2215         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
2216         to all EXTENDED bitmaps.
2218 Fri Apr 21 18:17:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
2220         * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
2221         * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
2222         * config/mn10300/mn10300.c (mn10300_address_cost): New function.
2224 Fri Apr 21 18:11:56 2000  Alexandre Oliva  <aoliva@cygnus.com>
2226         * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
2227         the operand is not constant.
2229 Fri Apr 21 14:58:29 2000  Denis Chertykov  <denisc@overta.ru>
2231         * reload.c (find_equiv_reg): Checks all valueno and regno regs
2232         as a call-clobbered regs.
2234 Fri Apr 21 13:30:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2236         * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
2237         * rtl.h: Likewise.
2238         * rtl.def: Update comment.
2239         * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
2240         * integrate.c (expand_inline_function): Likewise.
2241         * profile.c (branch_prob): Likewise.
2242         * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
2243         * print-rtl.c (print_rtx): Likewise.
2244         * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
2245         (reemit_notes): Likewise; also use enum insn_note.
2247         * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
2248         (place_field): Properly compute know and actual alignment.
2250         * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
2251         in proper format.
2253         * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
2254         note for REG1.
2256 2000-04-21  Zack Weinberg  <zack@wolery.cumb.org>
2258         * cpphash.c (struct arg, struct arglist): Const-ify strings.
2259         (warn_trad_stringify, duplicate_arg_p): New helper functions.
2260         (collect_expansion): Rewrite to scan over a token list.
2261         Remove -traditional support.
2262         (collect_formal_parameters): Rename to collect_params; rewrite
2263         to scan over a token list.
2264         (_cpp_create_definition): Adjust to scan a token list.
2265         (_cpp_macroexpand): Remove -traditional support.
2266         (_cpp_compare_defs): Whitespace is now canonicalized.
2267         (comp_def_part): Delete function.
2269         * cpphash.h: Update prototypes.
2270         * cpplex.c (init_token_list): Don't set lineno if there is no
2271         buffer.
2272         (pedantic_whitespace): New function.
2273         (_cpp_scan_line): Mark tokens that had hspace before.  Don't
2274         consume a newline.  Use pedantic_whitespace.
2275         (_cpp_lex_token): Remove support for -traditional macros.
2276         (_cpp_get_define_token): Delete.
2277         (_cpp_get_directive_token): Do the real work here.  Use
2278         pedantic_whitespace.
2279         (_cpp_init_input_buffer): Initialize pfile->directbuf.
2281         * cpplib.c (get_macro_name): Delete.
2282         (do_define): Read the entire line into pfile->directbuf, then
2283         feed the token list to _cpp_create_definition.
2284         * cpplib.h (HSPACE_BEFORE): new define.
2285         (struct cpp_reader): Add a toklist member, "directbuf".
2287         * predict.c (estimate_probability): New heuristic: if a jump
2288         branches around a block with no successors, predict it taken.
2289         Disentangle control flow.
2291 2000-04-20  Richard Henderson  <rth@cygnus.com>
2293         * loop.c (emit_iv_add_mult): Revert last change.
2295 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
2297         * cpplib.h (enum cpp_ttype): Add token types for all
2298         punctuators.  Distinguish pp-numbers from valid C numbers.
2299         Give some tokens better names.  Initialize from macro.
2300         (struct cpp_name, cpp_token, cpp_toklist): New data
2301         structures.
2302         Update prototypes.
2303         * cpplex.c (bump_column, expand_name_space,
2304         expand_token_space, init_token_list, cpp_output_list,
2305         _cpp_scan_line):  New functions.
2306         (output_line_command): Add third argument, new line number.
2307         * cpphash.h: Update prototypes.
2308         * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
2309         token names.
2311 2000-04-20  Richard Henderson  <rth@cygnus.com>
2313         * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
2315 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
2317         * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
2318         object pointed to.
2320 Thu Apr 20 14:19:18 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2322         * loop.c (emit_iv_add_mult):  Simplify it's input and emit
2323         REG_EQUAL note explaining the calculated value.
2325         * calls.c (expand_call): Avoid unnecesary precalculation
2326         and outgoing parameters space guarding for sibling calls.
2327         (store_one_arg): Likewise.
2329 Thu Apr 20 08:01:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2331         * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
2332         (rest_of_compilation): Write sibling dump file and account
2333         for time as jump time.
2334         * invoke.texi: Update documentation on dump flags.
2336 2000-04-19  Marek Michalkiewicz  <marekm@linux.org.pl>
2338         * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
2340 2000-04-19  Zack Weinberg  <zack@wolery.cumb.org>
2342         * cpphash.c (special_symbol): Represent an empty macro with
2343         "\r \r " not just "\r ".
2344         (_cpp_macroexpand): Correct condition for the foo ( ) special
2345         case.
2346         (unsafe_chars): Handle EOF as second argument.
2347         (push_macro_expansion): Simplify test for removing escape at
2348         end.  Do not trim both escapes if there is no text in between.
2350 2000-04-19  Jim Blandy  <jimb@redhat.com>
2352         * dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
2353         of PTR_SIZE, when appropriate.
2355 2000-04-19  Mark Mitchell  <mark@codesourcery.com>
2357         * system.h (ONLY_INT_FIELDS): Make sure it is defined.
2358         (USE_ENUM_BITFIELDS): Fix typo.
2360 Wed Apr 19 12:14:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2362         * stor-layout.c (place_field): Set rli->offset_align properly.
2364 2000-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2366         * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
2367         INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
2368         PARM_BOUNDARY): Remove unnecessary casts.
2370 Wed Apr 19 12:02:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2372         * calls.c (precompute_arguments): Remove must_preallocate and
2373         args_size calls.
2374         (expand_call): Update call of precompute_arguments.
2376         * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
2377         check_insn_for_givs): Break out from ...
2378         (strength_reduce) ... here; use for_every_insn_in_loop to call
2379         check_insn_for_givs.
2380         * loop.h (for_every_insn_in_loop): Declare.
2381         (loop_insn_callback): New type.
2383 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
2385         * cpplib.c (do_pragma_poison):  Strings in the token buffer are
2386         not nul-terminated.
2388 Tue Apr 18 16:04:12 2000  Jim Wilson  <wilson@cygnus.com>
2390         * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
2391         flag_pic and RELOC.
2393 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
2395         * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
2397         * configure.in: Delete --disable-cpplib option and all
2398         references to cpp_main.
2399         * configure: Regenerate.
2400         * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
2401         @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
2402         cccp.o, cccp, or cppmain.  Link cppmain.o straight to
2403         cpp$(exeext).  Add --no-headers to makeinfo command line when
2404         generating INSTALL.  Install and uninstall cpp.1 manpage, not
2405         cccp.1.
2406         * install.texi: Delete all references to cexp.y/cexp.c.
2407         Delete ancient instructions for compiling GCC on 3b1.
2408         * INSTALL: Regenerate.
2410         * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
2411         mips/t-elf, mips/t-r3900: Remove references to cccp.c.
2412         * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
2413         cexp.c/cexp.y.
2414         * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
2415         which is no longer tested anywhere.
2417         * cppinit.c (handle_option): Don't run error message through
2418         gettext twice.
2420 Tue Apr 18 14:16:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2422         * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
2423         * cpperror.c (hashtab.h): Now include.
2424         * cppexp.c (hashtab.h): Likewise.
2425         * cpplex.c (hashtab.h): Likewise.
2426         * cppfiles.c (hashtab.h): Likewise.
2427         (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
2428         to htab_find_slot_with_hash.
2429         * cpphash.c (hashtab.h): Now include.
2430         (_cpp_lookup_slot): INSERT is now enum insert_option.
2431         * cpphash.h (_cpp_lookup_slot): Likewise.
2432         * cppinit.c (hashtab.h): Include earlier.
2433         (initialize_builtins): Pass enum to htab_find_slot.
2434         * cpplib.c (hashtab.h): Now include.
2435         (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
2436         (do_pragma_poison, do_assert): Likewise.
2437         * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
2438         htab_find_slot_with_hash.
2439         * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
2440         * tree.c (type_hash_add): Likewise.
2441         (build1): Minor cleanup.
2443         * ggc-common.c: Add missing blanks.
2444         * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
2445         * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
2447         * stmt.c (mark_case_node): New function.
2448         (mark_case_nesting): Call it.
2450         * expmed.c (emit_store_flag): If comparing two-word integer
2451         with zero, can optimize NE, EQ, GE, and LT.
2453         * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
2454         * conflict.c: Minor cleanups.
2455         * optabs.c: Add blank line
2456         * simplify-rtx.c: Minor cleanups.
2458 2000-04-18  Stan Cox  <scox@cygnus.com>
2460         * gengenrtl.c (genlegend): Fix misspelling.
2462 2000-04-18  Robert Lipe  <robertlipe@usa.net>
2464         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
2465         bitfields of the host compiler are not signed quantities.
2466         * config.in: Regenerate.
2467         * configure: Regenerate.
2468         * system.h (USE_ENUM_BITFIELDS): Added.
2469         (ENUM_BITFIELDS): Added.
2470         * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
2471         (SHORT_ENUM_BUG): Deleted.
2472         * tree.h (tree_common): Members `code', `mode', `built_in_class',
2473         now ENUM_BITFIELD.
2474         * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
2475         (CODE_FIELD_BUG): Likewise.
2476         * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
2477         (OLD_CC): Likewise.
2478         * config/m68k/x-ccur (X_CFLAGS): Likewise.
2480 2000-04-18  Mark Mitchell  <mark@codesourcery.com>
2482         * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
2483         mark is active.
2485 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
2487         * cppexp.c (lex): Don't assume tokens are NUL terminated.
2488         * cpplib.c (do_include, do_import, do_include_next,
2489         read_line_number, detect_if_not_defined): Likewise.
2490         * cpphash.c (collect_expansion): Likewise.
2491         (special_symbol, _cpp_macroexpand): Check return from
2492         cpp_file_buffer.
2493         * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
2494         macros.  Delete all uses.
2496         * gcc.dg/cpp-mi.c: Add two more test cases.
2497         * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
2499 2000-04-17  Richard Henderson  <rth@cygnus.com>
2501         * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
2502         (reorder_basic_blocks): If no epilogue in rtl, force last block last.
2504 2000-04-17  Mark Mitchell  <mark@codesourcery.com>
2506         * function.c (expand_function_start): Use hard_function_value to
2507         compute the RTL to use for DECL_RESULT.
2509 Mon Apr 17 23:35:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2511         * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
2512         (x86_integer_DFmode_moves, x86_partial_reg_dependency,
2513          x86_memory_mismatch_stall): New global variables.
2514         (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
2515         alloved; fix load penalties for Athlon.
2516         * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
2517         x86_memory_mismatch_stall): Declare.
2518         (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
2519          TARGET_MEMORY_MISMATCH_STALL): New.
2520         * i386.md (athlon scheduling parameters): Fix latencies according to
2521         Athlon Optimization Manual.
2522         (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
2523         vector.
2524         (fsqrt instruction patterns): Set athlon_decode to direct.
2525         (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
2526         PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
2527         (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
2528         and TARGET_PARTIAL_REGISTER_STALL machines.
2529         (pushdf_nointeger): New pattern.
2530         (pushdf_integer): Rename from pushdf.
2531         (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
2532         (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
2534 2000-04-17  Richard Henderson  <rth@cygnus.com>
2536         * loop.c (canonicalize_condition): Add WANT_REG argument.
2537         Stop the search if we match it.
2538         * expr.h (canonicalize_condition): Update decl.
2539         * predict.c (expected_value_to_br_prob): Use it.  Track last
2540         expected value note.
2541         (find_expected_value): Remove.
2543         * reorg.c (mostly_true_jump): Always use BR_PROB if present.
2545 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
2547         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
2548         (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
2549         a plain file.
2550         * configure.in: Call AC_FUNC_MMAP_FILE.
2551         * configure: Regenerate.
2552         * config.in: Regenerate.
2554         * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
2555         * fixinc/fixincl.c: Likewise.
2557 2000-04-17  Richard Henderson  <rth@cygnus.com>
2559         * builtins.c (expand_builtin_expect): New.
2560         (expand_builtin): Call it.
2561         * builtins.def (BUILT_IN_EXPECT): New.
2562         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
2563         * extend.texi: Document it.
2565         * predict.c (expected_value_to_br_prob): New.
2566         (find_expected_value): New.
2567         * basic-block.h (expected_value_to_br_prob): Declare.
2568         * toplev.c (rest_of_compilation): Invoke it.
2570         * rtl.h (NOTE_EXPECTED_VALUE): New.
2571         (NOTE_INSN_EXPECTED_VALUE): New.
2572         * rtl.c (note_insn_name): Update.
2573         * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
2574         cases; handle NOTE_INSN_EXPECTED_VALUE.
2576 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
2578         * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
2579         leaf sibcall delay slot if flag_pic.
2580         (output_sibcall): Always emit call for leaf sibcall if flag_pic.
2582 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2584         * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
2586         * fixproto: If fix-header fails, exit with an error.
2588 Mon Apr 17 14:59:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2590         * cse.c (struct check_depdendence_data): New.
2591         (check_dependence): New function.
2592         (invalidate): Use check_depdenence.
2594 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
2596         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
2597         UNITS_PER_WORD is unsigned.
2599         * tree.h (struct tree_common): Remove misleading comment.
2601 2000-04-16  Dave Pitts  <dpitts@cozx.com>
2603         * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
2604         message in quotes. Otherwise, IBM's make program treats the '#' as the
2605         start of a comment and ignores the remainder of the line.
2607         * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
2608         upper case.
2609         * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
2610         * cexp.y (initialize_random_junk): Likewise.
2611         * cppfiles.c (find_include_file): Cast alloca return value.
2612         * cppinit.c (initialize_standard_includes): Likewise.
2613         * cpplib.c (cpp_define, cpp_undef): Likewise.
2614         * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
2615         * final.c (output_asm_insn): Allow for holes in EBCDIC.
2616         * fold-const.c (CHARMASK): New.
2617         (real_hex_to_f): Use it.
2618         * real.c (CHARMASK): New.
2619         (etoasc, asctoeg): Use it.
2620         (asctoeg): EBCDIC lower case characters preceed upper case.
2622         * i370.c (mvs_add_label): Change spacing for coding conventions.
2623         * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
2624         outputing case vectors.
2625         (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
2626         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
2627         since vector in in the data CSECT.
2628         (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
2629         * i370.md (Many patterns): Put the length in the XL directives.
2630         (movdi): Put back STM and MVC in definition.
2631         (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
2632         pattern using the TCA.
2633         * oe.h (CPP_SPEC): Added to allow trigraphs.
2634         * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
2635         not support the "long long" type.
2637 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
2639         * config/mips/mips-protos.h (mips_legitimate_address_p): New
2640         function.
2641         (mips_reg_mode_ok_for_base_p): Likewise.
2642         * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
2643         (REG_OK_FOR_INDEX_P): Define unconditionally.
2644         (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
2645         (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
2646         * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
2647         that GET_MODE_SIZE is unsigned.
2648         (mips_reg_mode_ok_for_base_p): Define.
2649         (mips_legitimate_address_p): Likewise.  Adjust now
2650         that GET_MODE_SIZE is unsigned.
2651         (block_move_loop): Make the number of bytes unsigned.
2652         (expand_block_move): Likewise.
2653         (function_arg): Make the loop counter unsigned to match the
2654         boundary condition.
2656 2000-04-16  Richard Henderson  <rth@cygnus.com>
2658         * rtl.h (enum insn_note): New enumeration.  Subsume
2659         NOTE_INSN_DELETED and friends.
2660         (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
2661         * rtl.c (note_insn_name): Tweak string order.
2663 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
2665         * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
2666         to offset * 2.
2668         * cpplex.c (output_line_command): Remove debugging prints.
2669         (cpp_output_tokens): Don't write out a zero-length buffer or
2670         try to see if it has a newline in it.
2671         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
2672         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
2673         the end of the loop.  Use memmove.  Don't read past the end of
2674         the buffer.  Remove trailing newlines from error messages.
2676 2004-04-16  Neil Booth  <NeilB@earthling.net>
2678         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
2679         * cpplib.c: Add new syntax flags to directive table, and
2680         supporting macros.
2682 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
2684         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
2685         using ret $N.
2687 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
2689         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
2690         * haifa-sched.c: Update -fsched-verbose comments to use "=".
2692 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2694         * Makefile.in (ggc-page.o): Now includes toplev.h.
2695         * ggc-page.c (toplev.h): Now included.
2696         (gc_time): Remove declaration.
2697         (ggc_collect): TIME now long.
2698         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
2699         others static.
2700         * toplev.h (gc_time, parse_time, gc_time): New declarations.
2702         * toplev.c: Make *_time variable long to reduce chance of overflow.
2703         (TIMEVAR): Likewise for `otime'.
2704         (print_time): Arg is now long; compute percentage in FP and round.
2705         * toplev.h (print_time): Arg is long.
2707         * tree.c: Minor whitespace changes.
2709         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
2710         * configure: Rebuilt.
2711         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
2712         (__fixunsxfDI): Renamed from __fixunsxfdi.
2713         (__fixunsdfDI): Renamed from __fixunsdfdi.
2714         (__fixunssfDI): Renamed from __fixunssfdi.
2715         (__floatdisf): Use proper type in REP_BIT macro.
2716         (__fixunsxfSI): Renamed from __fixunsxfsi.
2717         (__fixunsdfSI): Renamed from __fixunsdfsi.
2718         (__fixunssfSI): Renamed from __fixunssfsi.
2719         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
2720         Change location of macros and upper-case some names as above.
2721         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
2722         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
2724         * varasm.c (assemble_variable): Add cast to remove warning.
2725         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
2727         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
2728         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
2729         region number to -1.
2731 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
2733         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
2734         call unshare_all_rtl.
2736         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
2738 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
2740         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
2741         Use .s1 not .s0 for all FP instructions.
2743 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
2745         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
2746         interfaces.
2747         (safe_fwrite, output_line_command): New static functions.
2748         (cpp_expand_to_buffer): Now private to cpplib.
2749         (cpp_scan_buffer): Take a printer.
2751         * cpphash.h: Update prototypes.
2752         * cpplib.h: Update prototypes.
2753         (cpp_printer): New.
2754         (cpp_buffer): Remove last_nominal_fname.
2755         (cpp_reader): Remove lineno.
2757         * cppmain.c: Use a cpp_printer.
2758         * fix-header.c: No need to inhibit line commands.  Call
2759         cpp_start_read with no printer.
2761         * cpperror.c (cpp_notice_from_errno): Provide default name.
2762         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
2763         (find_include_file, cpp_read_file): Use make_IHASH.
2764         (file_cleanup): Set control_macro and clear
2765         input_stack_listing_current here.
2766         (_cpp_execute_include): Don't output entering-file marker.
2767         * cpphash.c (special_symbol): Look for the line number in the
2768         buffer, not the reader.
2769         (_cpp_macroexpand): No need to disable line commands.
2770         (_cpp_dump_definition): No need to generate line commands.
2771         (dump_hash_helper): Remove excess newline from output.
2772         * cppinit.c (dump_special_to_buffer): No need to generate line
2773         commands.
2774         (cpp_printer_init): New.
2775         (cpp_start_read): Take a printer, and start it up if it's not
2776         NULL.  No need to generate line commands.
2777         (cpp_finish): Expect no buffers stacked at all.  Take a
2778         printer argument, and flush the output buffer if it's not
2779         NULL.
2780         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
2781         Don't put two hashes at the beginning of an assertion.
2782         (cpp_get_token): Don't increment pfile->lineno or emit line
2783         commands here.  Return EOF if there's no buffer when we get
2784         EOF.
2785         * cpplib.c (do_define, skip_if_group):
2786         No need to disable line commands.
2787         (_cpp_output_line_command): Delete function.
2788         (do_line): Don't emit line commands here, but set things up so
2789         they will be emitted if necessary.  Use _cpp_fake_ihash to
2790         make unique nominal_fnames if necessary.
2791         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
2792         with 0 for column, not -1.
2793         (_cpp_handle_eof): Don't set the control macro here.  Don't
2794         clear input_stack_listing_current here.  Don't emit line
2795         commands.
2797 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
2799         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
2800         always, use the default SVR4 start address.
2802         * config/rs6000/linux.h (LINK_SPEC): Don't define.
2803         (LINK_SHLIB_SPEC): Define.
2804         (LINK_START_DEFAULT_SPEC): Define.
2805         (LINK_OS_DEFAULT_SPEC): Define.
2807         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
2809         * config/rs6000/eabi.asm (__eabi): Call __init rather than
2810         __do_global_ctors to handle constructors.
2811         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
2812         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
2813         (STARTFILE_MVME_SPEC): Likewise.
2814         (STARTFILE_SIM_SPEC): Likewise.
2815         (ENDFILE_ADS_SPEC): Use crtend.
2816         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
2817         (ENDFILE_MVME_SPEC): Likewise.
2818         (ENDFILE_SIM_SPEC): Likewise.
2819         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
2820         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
2821         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
2822         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
2823         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
2824         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
2825         (CRTSTUFF_T_CFLAGS_S): Define.
2826         * config/rs6000/eabi-ctors.c: Delete.
2828         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
2829         boundary.
2830         (__fini): Likewise.
2831         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
2832         boundary.
2833         (__fini): Likewise.
2835 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
2837         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
2838         plus mask size is smaller or equal to the mode size.
2840 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2842         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
2843         not yet set.
2845         * expr.c (reload.h): Now included.
2846         (emit_block_move): Set volatile_ok when checking for movstr.
2847         (emit_move_1): Check for replacements in addresses in multi-word case.
2848         * Makefile.in (expr.o): Now includes reload.h.
2850         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
2851         Never have a LIBCALL end a basic block.
2852         (find_basic_blocks_1): Likewise.
2853         Reorganize CALL_INSN cases.
2855         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
2857 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
2859         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
2860         completers from mov.ret instruction.
2862 2000-04-14  Richard Henderson  <rth@cygnus.com>
2864         * fold-const.c (extract_muldiv): Don't distribute and widen
2865         multiply across plus for non-sizetype unsigned types.
2867 2000-04-14  Richard Henderson  <rth@cygnus.com>
2869         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
2870         If the original source is dead in the incr insn, it's dead now.
2872 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2874         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
2875         see if DECL_BIT_FIELD needs to still be set.
2877         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
2879         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
2880         print_int_cst_octal with something that's not an INTEGER_CST.
2882         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
2883         and not a SUBREG to a FLOAT rtl.
2885 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
2887         * emit-rtl.c (try_split): Avoid infinite loop if the split
2888         results in a sequence that contains the original insn.
2890 2000-04-13  Andreas Jaeger  <aj@suse.de>
2892         * config/mips/mips.c (expand_block_move): Pass alignment
2893         argument to move_by_pieces in bits, not bytes.
2895         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
2896         __pic__ for little endian.
2898 2000-04-13  Andreas Jaeger  <aj@suse.de>
2900         * config/i386/i386-protos.h: Add prototype for
2901         uno_comparison_operator.
2903 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2905         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
2906         * calls.c (ECF_PURE): New flag.
2907         (emit_call_1): Handle ECF_PURE calls.
2908         (initialize_argument_information): Unset ECF_PURE flag too.
2909         (precompute_arguments): Precompute for ECF_PURE too.
2910         (expand_call): Handle ECF_PURE calls too.
2911         (emit_library_call_value_1): Rename no_queue argument to fn_type,
2912         accept value of 2 as pure function.
2913         (emit_library_call_value, emit_library_call): Rename no_queue argument
2914         to fn_type.
2915         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
2917         * tree.h (DECL_IS_PURE): New macro.
2918         (struct tree_decl): Add pure_flag.
2919         * c-common.c (enum attrs): Add attribute "pure".
2920         (init_attributes): Initialize attribute "pure"
2921         (decl_attributes): Handle attribute "pure".
2922         * extend.texi (Attribute "pure"): Document.
2923         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
2924         in pure function.
2925         (flags_from_decl_or_type): Support attribute "pure".
2927 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
2929         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
2930         the token except for numbers and identifiers.
2932 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
2934         * i386.c (ix86_expand_binary_operator,
2935         ix86_expand_unary_operator): Check no_new_pseudos
2936         instead of reload_in_progress and reload_completed.
2937         (ix86_split_ashldi, ix86_split_ashrdi,
2938         ix86_split_lshrdi): Check no_new_pseudos instead
2939         of reload_completed.
2941 2000-04-12  Jeffrey A Law  (law@cygnus.com)
2943         * function.c (purge_addressof): Unshare any shared rtl created by
2944         purge_addressof and its children.
2946 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
2948         * function.c (aggregate_value_p): VOID_TYPE nodes are never
2949         aggregates.
2951 2000-04-05  Andreas Jaeger  <aj@suse.de>
2953         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
2954         not compiling PIC code, add flags for mabi=64.
2955         (SUBTARGET_CPP_SIZE_SPEC): New.
2956         (SUBTARGET_CPP_SPEC): New.
2957         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
2958         for MIPS/Linux and lots of code needs these defines.
2960 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
2962         * reorg.c (fill_slots_from_thread): Check side_effects_p when
2963         trying the "opposite arithmetic" approach.
2965 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2967         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
2968         (struct sh_args): Add new field force_mem.
2969         (INIT_CUMULATIVE_ARGS): Initialize it.
2970         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
2972 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2974         * calls.c (expand_call): Do not reverse args in "equal from" field.
2975         (emit_library_call_value_1): Emit_libcall_block for const and pure
2976         function.
2978 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2980         * reload1.c (reload_combine): Don't enable optimization for fixed
2981         registers when encountering a BARRIER.
2983 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2985         * builtins.c (expand_builtin_memcmp): Do expansion even with
2986         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
2988         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
2989         stack is propertly aligned; add sanity checking for aligned
2990         stack pointer.
2991         (expand_library_call_value_1): Add sanity checking for aligned
2992         stack pointer.
2994 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
2996         * calls.c (emit_library_call_value_1): Change 3rd arg to
2997         locate_and_pad_parm to disregard the setting of partial.
2999 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3001         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
3003         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
3004         CALL_INSN from the normal case.
3006 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3008         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
3009         New global variables.
3010         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
3011         adjustment.
3012         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
3013         Declare,
3014         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
3015          TARGET_ADD_ESP_8): New macros.
3016         * i386.md: Add peep2s to convert esp adjustments to push and pop
3017         instructions.
3018         (pushsi_prologue, popsi_epilogue): New patterns.
3020 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3022         * real.c (toe64): Remove stale #endif from the last change.
3024 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
3026         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
3027         * real.c (toe64): Revert previous change.
3029 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3031         * objc/objc-act.c: Include ggc.h.
3032         (objc_tree_index, objc_global_trees): Convert most of the
3033         static tree variables into a static array with previous names
3034         as defines.
3035         (objc_ellipsis_node): New variable.
3036         (lang_init): Call objc_act_parse_init and c_parse_init.
3037         Create objc_ellipsis_node.
3038         (build_selector_translation_table): Use objc_ellipsis_node instead
3039         of (tree)1.
3040         (hack_method_prototype): Likewise.
3041         (get_arg_type_list): Likewise.
3042         (start_method_def): Likewise.
3043         (continue_method_def): Likewise.
3044         (gen_method_decl): Likewise.
3045         (ggc_mark_imp_list): New function.
3046         (ggc_mark_hash_table): New function.
3047         (objc_act_parse_init): New function.
3048         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
3049         * c-parse.in (c_parse_init): For objc add roots of objc specific
3050         local tree variables.
3051         * objc/objc-parse.y: Rebuilt.
3052         * objc/objc-parse.c: Rebuilt.
3053         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
3055 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
3057         * cse.c (delete_trivially_dead_insns): Also delete insns
3058         that copy a register to itself where the destination is
3059         a strict_low_part.
3061 2000-04-11  Richard Henderson  <rth@cygnus.com>
3063         * flow.c (struct propagate_block_info): Add new_dead, new_live.
3064         (propagate_block): Initialize them.  Use them in parallel instead
3065         of one tmp variable, ie revert much of the 0408 and 0407 functional
3066         changes, but keep the structural changes.
3067         (mark_set_regs): Take new_dead from propagate_block_info instead.
3068         (mark_set_1, mark_set_reg): Likewise.
3069         (mark_used_regs): Likewise with new_live.
3070         (mark_used_reg): Likewise.  Revert 0408 change.
3072 2000-04-11  Nick Clifton  <nickc@cygnus.com>
3074         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
3075         restriction.
3076         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
3078 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3080         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
3081         const section to output a CONSTRUCTOR based on the same conditions
3082         used for VAR_DECLs.
3084 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
3086         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
3087         * pa/pa-protos.h (output_call): Add additional argument indicating
3088         if the call is a sibling/tail call.
3089         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
3090         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
3091         (function_arg, function_arg_partial_nregs): Likewise
3092         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
3093         (emit_move_sequence): Zero extend certain constants as needed
3094         for TARGET_64BIT.
3095         (compute_zdepdi_operands, output_64bit_and): New functions.
3096         (output_64bit_ior, function_arg): Likewise.
3097         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
3098         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
3099         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
3100         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
3101         (output_bvb): Likewise.
3102         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
3103         (output_call): New argument 'sibcall'.  Generate sibcall sequences
3104         as needed.
3105         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
3106         (ouput_arg_descriptor): Do not emit argument descriptors for
3107         TARGET_64BIT.
3108         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
3109         defined.
3110         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
3111         (FUNCTION_OK_FOR_SIBALL): Define.
3112         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
3113         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
3114         (CPP_SPEC): Use new spec infrastructure.
3115         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
3116         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
3117         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
3118         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
3119         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
3120         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
3121         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
3122         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
3123         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
3124         (FUNCTION_ARG); Call out to C code.
3125         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
3126         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
3127         (MIN_UNITS_PER_WORD): Likewise.
3128         * pa/pa.md (cmpdi): New expander.
3129         (scc patterns, movstrsi): Not available for TARGET_64BIT.
3130         (64bit conditional arithmetic): New patterns.
3131         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
3132         (movsicc): Not available if modes on all the operands to not match.
3133         (movdicc): New expander and associated patterns.
3134         (64bit branches): New patterns.
3135         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
3136         (pre_ldd, post_std): New patterns.
3137         (64bit addil, load low part): New patterns.
3138         (special movsf constant): Not available for TARGET_64BIT.
3139         (movsf, movdf expanders): Force constants into memory.
3140         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
3141         (64bit movdf/movdi patterns): New patterns.
3142         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
3143         for TARGET_64BIT.
3144         (extendqidi2, extendhidi2, extendsidi2): Similarly.
3145         (adddi3 expander): Allow "arith_operand" for second input.
3146         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
3147         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
3148         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
3149         (muldi3): New expander for TARGET_64BIT.
3150         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
3151         for TARGET_64BIT.
3152         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
3153         patterns for TARGET_64BIT.
3154         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
3155         patterns for TARGET_64BIT.
3156         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
3157         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
3158         (sibcall_epilogue): New expander.
3159         (casesi): Tweak for TARGET_64BIT.
3160         (call expanders): Set & use the outgoing argument pointer.  Use the
3161         64bit call patterns as needed. Add additional arg to output_call.
3162         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
3163         (sibcall, sibcall_internal_symref): New expanders.
3164         (sibcall_value, sibcall_value_internal_symref
3165         (interspace_jump): Turn into an expander + matching patterns.
3166         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
3167         * pa/pa64-regs.h: Eliminate trigraph sequences.
3168         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
3170 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
3172         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
3173         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
3174         cpp_token with cpp_ttype everywhere.
3175         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
3176         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
3177         CPP_BUF_COL.  Line and column numbers are unsigned int, not
3178         long.
3179         * cpplex.c (cpp_buf_line_and_col): Delete.
3180         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
3181         'long lineno' to 'unsigned int lineno'.
3182         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
3184 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3186         * extend.texi: ISO C99 is not a draft anymore.
3187         * invoke.texi: ISO C++ is not a draft anymore.
3188         * cpp.texi: __cplusplus is required by the ISO standard.
3190         * extend.texi (-fthis-is-variable): Undocument.
3191         * flags.h (warn_template_debugging): Remove declaration.
3192         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
3193         -Wenum-clash, -Wtemplate-debugging): Undocument.
3195 2000-04-10  Nick Clifton  <nickc@cygnus.com>
3197         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
3198         integer.
3199         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
3200         integer.
3201         (ARM_SIGN_EXTEND): Use HOST_UINT.
3202         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
3203         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
3204         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
3205         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
3207         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
3208         (arm_gen_constant): Use HOST_UINT.
3209         (arm_canonicalize_constant): Use HOST_UINT.
3210         (arm_reload_in_hi): Use HOST_UINT.
3211         (arm_reload_out_hi): Use HOST_UINT.
3212         (output_multi_immediate): Use HOST_UINT.
3213         (int_log2): Use HOST_UINT.
3214         (arm_poke_function_name): Use HOST_UINT.
3215         (arm_output_epilogue): Use arm_volatile_func().
3216         (output_thumb_prologue): Use arm_strip_name_encoding().
3218 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3220         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
3221         of sequence point problems.
3223 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
3225         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
3226         Recomment.
3227         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
3229 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3231         * sbitmap.h: Whitespace changes and use upper-case macro args.
3232         (struct simple_bitmap_def): All sizes now unsigned.
3233         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
3234         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
3235         (sbitmap_vector_alloc): Parms and local vars now unsigned.
3236         (sbitmap_zero): Cast bzero arg to PTR.
3237         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
3238         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
3239         loop to make structure clearer.
3240         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
3241         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
3242         (sbitmap_a_and_b_or_c): Likewise.
3243         (sbitmap_intersection_of_succs): Minor cleanups.
3244         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
3245         (sbitmap_union_of_preds): Likewise.
3246         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
3247         (debug_sbitmap): New function.
3249         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
3250         * c-typeck.c (convert_for_assignment): Likewise.
3252         * expmed.c (init_expmed): Don't free objects we make.
3253         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
3255         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
3256         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
3258         * gcse.c (expr_hash_table_size): Now unsigned.
3259         (compute_ae_gen): Local variable `i' now unsigned.
3260         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
3261         (compute_transout, hoist_code): Likewise.
3262         (compute_local_properties): Likewise, also hash_table_size.
3263         (alloc_expr_hash_table): N_INSNS now unsigned.
3264         (delete_null_pointer_checks): Mark arg F as unused.
3266         * regrename.c: Minor cleanups, including chang some variables
3267         to unsigned int.
3269 2000-04-10  Neil Booth  <NeilB@earthling.net>
3271         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
3272         than GETC ().
3273         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
3275 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3277         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
3278         __classof__, and __headof__ from the list of gnu keywords.
3279         (-ansi): Remove -foperator-names from list of implied options.
3280         Do not call it ANSI C++.
3281         (-foperator-names): Document as -fno-operator-names.
3283 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
3285         * cpphash.c (timestamp): Delete.
3286         (del_HASHNODE): If type is T_MCONST, free value.cpval.
3287         (special_symbol): Remove unnecessary braces.  Remove
3288         T_VERSION.  Treat T_STDC like T_CONST unless
3289         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
3290         when one is encountered, then convert them into T_MCONST
3291         nodes.
3292         * cppinit.c (builtin_array): version_string is T_MCONST.
3293         __STDC__ has a "1" in its cpval.  Don't have a terminator
3294         entry.  Clean up which entries are dumped.
3295         (initialize_builtins): Only __STDC__ gets the special
3296         -traditional treatment.  Count the length of builtin_array.
3297         Render version_string here.
3298         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
3299         * cpplib.h (struct cpp_reader): Remove timebuf.
3301 2000-04-09  Richard Henderson  <rth@cygnus.com>
3303         * genrecog.c (pred): Update comparison_operator for the unordered
3304         operators.
3306         * config/i386/i386.c (no_comparison_operator): Disallow unordered
3307         operators.
3308         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
3309         (uno_comparison_operator): New.
3310         (put_condition_code): Handle UNORDERED/ORDERED.
3311         (unsigned_comparison): Likewise.
3312         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
3313         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
3314         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
3315         update all callers.  Handle all 8 unordered operators.
3316         (ix86_expand_setcc): Lose the unordered argument, update all callers.
3317         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
3318         * config/i386/i386.h (PREDICATE_CODES): Update.
3319         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
3320         (ix86_expand_branch, ix86_expand_setcc): Update.
3321         * config/i386/i386.md (sunordered, sordered): New.
3322         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
3323         (bunordered, bordered): New.
3324         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
3325         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
3326         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
3328 2000-04-09  Philip Blundell  <philb@gnu.org>
3330         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
3332 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
3334         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
3335         fix_truncxfhi2): New patterns.
3336         * i386.c (output_fix_trunc): Handle converting to HImode.
3338 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
3340         * ssa.c (convert_to_ssa): Eliminate dead code when calling
3341         life_analysis.
3342         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
3343         (for_each_successor_phi): Change parameter to basic_block.
3344         (coalesce_regs_in_successor_phi_nodes): Likewise.
3345         (coalesce_regs_in_copies): Likewise.
3346         (compute_coalesced_reg_partition): Use basic_block instead of index.
3347         * rtl.h (convert_to_ssa): Delete.
3348         (convert_from_ssa): Likewise.
3349         (successor_phi_fn): Likewise.
3350         (for_each_successor_phi): Likewise.
3351         (in_ssa_form): Likewise.
3352         * basic-block.h (convert_to_ssa): Moved from rtl.h.
3353         (convert_from_ssa): Likewise.
3354         (successor_phi_fn): Likewise.
3355         (in_ssa_form): Likewise.
3356         (for_each_successor_phi): Likewise.  Change parameter to basic_block.
3357         * flow.c (calculate_global_regs_live): Pass a basic_block to
3358         for_each_successor_phi.
3360 2000-04-08  Richard Henderson  <rth@cygnus.com>
3362         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
3363         was modified in the current insn.
3365 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
3367         * arm/thumb.md: Delete.
3368         * arm/thumb-protos.h: Delete.
3370 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
3372         Merge changes from merged-arm-thumb-backend-branch onto trunk.
3374         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
3376         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
3377         into branch.
3379         * arm.md (nop): Use the standard RTL expression.  Don't code as a
3380         define_expand.
3381         (*arm_nop, *thumb_nop): Delete.
3383         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
3384         constants.  Use casts instead.
3385         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
3386         output_multi_immediate, arm_poke_function_name): Likewise.
3387         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
3388         MASK_RETURN_ADDDR): Likewise.
3390         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
3392         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
3393         into branch.
3395         * arm.md (eh_epilogue): New function.
3396         * arm.h (struct machine_function): Move to here ...
3397         * arm.c: ... from here.
3398         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
3399         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
3400         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
3402         2000-03-30  Nick Clifton  <nickc@cygnus.com>
3404         * config/arm/semi.h (ASM_SPEC): Restore definition.
3405         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
3407         * config/arm/elf.h (ASM_SPEC): Restore definition.
3408         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
3410         * config/arm/arm.h (ASM_SPEC): Remove definition.
3411         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
3413         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
3415         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
3417         2000-03-24  Nick Clifton  <nickc@cygnus.com>
3419         Various formating tidyups, elimination of compile time
3420         warnings and synchronisation with internal sources:
3422         * config/arm/arm-protos.h (assemble_align): Add prototype.
3423         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
3424         (gen_comapre_reg): Rename to arm_gen_compare_reg.
3425         (arm_return_addr_rtx): Rename to arm_return_addr.
3427         * config/arm/arm.c: Include except.h.
3428         Define shorter typenames for strict minipool_node and struct
3429         minipool_fix.
3430         (arm_return_in_memory): For WinCE return all structures <= 32 bits
3431         in memory.
3432         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
3433         (gen_comapre_reg): Rename to arm_gen_compare_reg.
3435         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
3436         already defined.
3437         (ASM_SPEC): Define if not already defined.
3438         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
3440         * config/arm/arm.md: Rename references to gen_rotated_half_load to
3441         arm_gen_rotated_half_load, and references to gen_comapre_reg to
3442         arm_gen_compare_reg.
3443         (indirect_jump):  Only accept register operands.
3444         (load_indirect_jump): Keep this pattern since combine can generate
3445         it.
3447         * config/arm/coff.h: Include aout.h.
3448         (MULTILIB_DEFAULTS): Only define if not already defined.
3450         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
3451         into arm.h (so that COFF ports can support thumb based aliases).
3452         (ASM_SPEC): Move definition into arm.h
3454         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
3455         redundant apcs spec.
3456         (ASM_SPEC): Move definition to arm.h
3458         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
3460         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
3461         for entries in the .bss section
3463         2000-03-23  Nick Clifton  <nickc@cygnus.com>
3465         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
3466         to thumb_far_jump_used_p.
3468         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
3469         single integer parameter.
3471         * config/arm/arm.c (struct machine_function): Add two new
3472         fields, 'far_jump_used' and 'arg_pointer_live'.
3473         (thumb_far_jump_used_p): Once the decision has been made that
3474         far jumps might be used, always return true.
3475         If being called from the initial elimination offset macro then
3476         do not bother to perform the test if the arg pointer is not
3477         being used.
3478         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
3479         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
3481         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
3483         * arm.c (output_return_instruction): Handle more cases where we can
3484         return from a function with an ldr instruction.
3485         (arm_output_epilogue): Likewise.
3487         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
3488         if we need to push a large stack frame and there are no callee-saved
3489         registers.
3491         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
3492         in ARM code if the frame pointer has been eliminated.
3494         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
3495         unspec_volatile arguments to avoid duplicates.
3496         (consttable_1, consttable_2): Fixes for big-endian mode.
3498         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
3499         as appropriate.
3501         Re-write constant pool code.
3502         * arm.c (minipool_node, minipool_fix): New types.
3503         (minifix): Delete type.
3504         (arm_add_minipool_constant): Delete.
3505         (arm_compute_minipool_offsets, arm_find_barrier,
3506         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
3507         (get_jump_table_size): Now returns HOST_WIDE_INT.
3508         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
3509         functions.
3510         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
3511         (assign_minipool_offsets, arm_print_value): Likewise.
3512         (dump_minipool): Rewrite.
3513         (arm_barrier_cost): New function.
3514         (create_fix_barrier): New function.
3515         (push_minipool_barrier): New function.
3516         (push_minipool_fix): Record additional information about the fixup
3517         required.
3518         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
3519         check the mode of what needs fixing.
3520         (arm_reorg): Rewrite.
3522         2000-03-08  Nick Clifton  <nickc@cygnus.com>
3524         * config/arm/arm.md (indirect_jump): Force constant addresses into
3525         a register.
3527         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
3529         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
3531         2000-02-24  Nick Clifton  <nickc@cygnus.com>
3533         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
3534         adjust is word aligned.
3535         (thumb_expand_epilogue): Make sure that stack adjust is word
3536         aligned.
3538         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
3540         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
3542         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
3543         pointer relative addresses.
3545         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
3547         * arm.c (find_barrier): Find the last barrier within the allowed
3548         range.
3550         2000-02-09  Nick Clifton  <nickc@cygnus.com>
3552         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
3554         2000-02-09  Nick Clifton  <nickc@cygnus.com>
3556         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
3557         ARM_FUNCTION_PROFILER.
3559         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
3560         ARM_FUNCTION_PROFILER.
3562         * config/arm/linux-oldld.h: Imported from mainline sources.
3564         2000-02-07  Nick Clifton  <nickc@cygnus.com>
3566         * config/arm/lib1funcs.asm: Merge in thumb functions from
3567         lib1thumb.asm.
3569         * config/arm/lib1thumb.asm: Delete.
3571         2000-02-04  Nick Clifton  <nickc@cygnus.com>
3573         * config/arm/arm.c: Sychronised with current Red hat local
3574         sources.
3575         * config/arm/arm.h: Ditto.
3576         * config/arm/arm-protos.h: Ditto.
3578         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
3580         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
3582         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
3583         byte stores.
3585         2000-02-02  Nick Clifton  <nickc@cygnus.com>
3587         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
3589         * config/arm/arm.md (epilogue): Fix rtl checking abort because
3590         (return) was emited using an emit_insn() call.
3592         2000-01-31  Nick Clifton  <nickc@cygnus.com>
3594         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
3595         thumb stack frame.
3596         (thumb_exit): Move frame pointer back into hard frame pointer
3597         register if backtracing is being used.
3599         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
3601         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
3602         into branch.
3604         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
3606         * config/arm/arm.md (neg_pool_offset): Provide default for new
3607         attribute.
3608         (arm_movsi_insn): Add neg_pool_offset attribute.
3609         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
3610         rtx for the insn that starts the scan and an unsigned long for its
3611         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
3612         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
3613         instructions in *PINSERTED.
3614         (struct minipool_fixup): Add MIN_ADDRESS elt.
3615         (sort_fixups): Compute it.
3616         (arm_reorg): Changes to support inserting pools before the insn to be
3617         fixed up.
3619         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
3621         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
3622         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
3623         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
3625         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
3627         * config/arm/semi.h (TARGET_VERSION): Do not define if already
3628         defined.
3629         (TARGET_DEFAULT): Do not define if already defined.
3631         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
3633         * config/arm/arm.md (anddi3): Allow disjoint source operands.
3634         (iordi3): Allow disjoint source operands.
3635         (xordi3): Allow disjoint source operands.
3636         (negdi2): Permit construction for ARM and Thumb.
3637         (arm_negdi2): Renamed version of old negdi2 pattern.
3638         (thumb_negdi2): New pattern: Only permit non-overlapping
3639         source and destination.
3641         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
3643         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
3644         scratch low register so that it will not be deleted.
3646         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
3648         * config/arm/pe.h (ARM_PE): Define.
3650         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
3651         interfacearm attribute if this is a PE toolchain.
3652         (output_return_instruction): Do not emit anything if the function
3653         has the naked attribute set.
3654         (is_called_in_ARM_mode): If the function has the interfacearm
3655         attribute then return true.
3656         (thumb_expand_prologue): Do not generate a prologue for naked
3657         functions.
3658         (thumb_expand_epilogue): Do not generate an epilogie for a naked
3659         function.
3660         (output_thumb_prologue): Do not bother if the function is naked.
3661         Strip PE encoding from function name before emitting.
3663         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
3665         * arm.md (pic_load_addr): Fix constraints.
3667         * arm.md (casesi_insn): Fix mis-applied patch.
3669         * arm.md ("core" function unit): Add rules for single- and
3670         multi-cycle insns.
3671         (All TARGET_THUMB patterns): Add "type" attribute information
3672         where needed.
3673         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
3674         the following insn is a CALL.
3676         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
3677         pointer.
3678         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
3679         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
3680         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
3682         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
3684         * config/arm/linux-gas.h: oops - this file was missed out when the
3685         branch was created...
3687         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
3689         * thumb.c: Deleted.  Move contents to ...
3690         * arm.c: ... here.
3691         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
3692         rule for thumb.o
3693         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
3694         * configure: Regen.
3696         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
3697         declare a prototype for asm_output_align();
3699         * arm.c (thumb_condition_code): Delete.
3700         (arm_print_operand): Always use arm_condition_code array.
3702         * arm.c (thumb_return_addr_rtx): Delete.
3703         (arm_save_machine_status, arm_restore_machine_status): Delete.
3704         (arm_init_machine_status, arm_mark_machine_status): New functions.
3705         (arm_init_expanders): Update accordingly.
3706         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
3707         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
3708         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
3710         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
3712         * configure.in : Fix arm-*-aout target to use new t-arm-aout
3713         script.
3714         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
3715         targets.
3717         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
3719         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
3720         stack backtrace structure.
3722         * config/arm/arm-protos.h: Add prototypes for functions defined in
3723         arm/pe.h.
3725         * config/arm/arm.c (arm_override_options): Fix selection of
3726         attributes of default processor.
3728         * config/arm/coff.h: Delete needless #include.
3730         * config/arm/pe.c: Delete unused code.
3732         * config/arm/pe.h (CPP_DEFINES): Delete
3733         (SUBTARGET_CPP_SPEC): Define.
3734         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
3736         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
3738         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
3740         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
3741         updated.
3742         (CAN_DEBUG_WITHOUT_FP): Define.
3743         (FIXED_REGISTERS): Make r11 call-saved.
3744         (CALL_USED_REGISTERS): Likewise.
3745         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
3746         (FRAME_POINTER_REQUIRED): Correct logic for determining when a
3747         frame-pointer is required.
3748         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
3749         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
3750         if the target normally needs a stack frame in non-leaf functions.
3751         (use_return_insn): Correct logic for determining when a return
3752         instruction can be used.
3753         (output_return_instruction): Handle the frame-pointer register as
3754         a normal register when not TARGET_APCS_FRAME.
3755         (arm_output_prologue): Likewise.
3756         (arm_output_epilogue): Likewise.
3757         (output_func_epilogue): Likewise.
3758         (arm_expand_prologue): Likewise.
3759         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
3761         * arm.c (use_return_insn): No need to check floating point regs if
3762         TARGET_SOFT_FLOAT.
3763         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
3764         the code of value stored in the minipool array.
3765         (arm_add_minipool_constant): Likewise.
3767 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3769         * basic-block.h (conflict_graph_enum_fn): K&R fix.
3771 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3773         * tree.c (tree_expr_nonnegative_p): New function.
3775         * tree.h (tree_expr_nonnegative_p): Declare.
3777         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
3778         elide some sign_compare warnings.
3779         (build_conditional_expr): Likewise.
3781 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
3783         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
3785         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
3786         * i386.c (print_operand): Use the proper suffix for a 387 HImode
3787         operand.  Abort if a 387 operand has an unsupported size.
3789 2000-04-08  Neil Booth  <NeilB@earthling.net>
3791         * cppexp.c (parse_charconst): Null does not end character
3792         constants.
3793         * cppinit.c (ISTABLE): Null character handled as whitespace.
3794         * cpplex.c (null_warning):  new function.
3795         (skip_string): Emit warning if nulls encountered.
3796         (_cpp_skip_hspace): Emit warning if nulls encountered.
3797         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
3798         them.
3799         * cpp.texi: Update.
3801 2000-04-07  Richard Henderson  <rth@cygnus.com>
3803         * flow.c (loop_depth): Remove.
3804         (reg_next_use, cc0_live, mem_set_list): Replace with ...
3805         (struct propagate_block_info): New.
3806         (life_analysis): Don't allocate reg_next_use.
3807         (propagate_block_delete_insn): Break out of propagate_block.
3808         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
3809         (propagate_block_delete_libcall): Likewise.
3810         (propagate_block): Create a propagate_block_info struct to pass
3811         to subroutines.  Allocate one not two temporary regsets.  Don't
3812         clobber memory for const calls.  Look for clobbers in
3813         CALL_INSN_FUNCTION_USAGE.
3814         (mark_set_regs): Recognize COND_EXEC.
3815         (mark_set_reg): Break out of mark_set_1.
3816         (mark_used_reg): Break out of mark_used_regs.
3817         (mark_used_regs): Recognize COND_EXEC.
3818         (insn_dead_p): Use propagate_block_info struct.
3819         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
3820         (find_auto_inc, try_pre_increment_1): Likewise.
3821         (print_rtl_with_bb): Dump regs live at end too.
3822         (count_reg_sets_1): Pass in loop_depth.
3823         (count_reg_sets, count_reg_references): Likewise.
3824         (recompute_reg_usage): Provide it.
3826 2000-04-07  Richard Henderson  <rth@cygnus.com>
3828         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
3829         not the raw files.
3831 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
3833         * cpplib.c (do_elif): Skip the rest of the line if we're
3834         not going to bother evaluating it.
3835         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
3836         to avoid pointless calls to the lexer.
3838 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
3840         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
3842 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
3844         * calls.c (expand_call): emit_queue if we're trying a sibcall.
3846 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
3848         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
3850 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
3852         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
3853         crtend so they can be multilibbed.
3854         (STAGESTUFF): Remove s-crt and s-crtS.
3856 2000-04-07  Richard Henderson  <rth@cygnus.com>
3858         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
3859         if we discover we need a pseudo and no_new_pseudos is true.
3860         * config/alpha/alpha.md (ne:DI insn): New.
3861         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
3863 2000-04-07  Richard Henderson  <rth@cygnus.com>
3865         * rtl.def (COND_EXEC): New.
3866         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
3867         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
3869         * genconfig.c (have_cond_arith_flag): Remove.
3870         (have_cond_exec_flag): New.
3871         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
3872         (main): Print HAVE_conditional_execution.
3874         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
3875         (sched_analyze_insn, print_pattern): Likewise.
3876         * reload.c (find_equiv_reg): Likewise.
3877         * rtlanal.c (reg_referenced_p): Likewise.
3878         (note_stores, dead_or_set_regno_p): Likewise.
3879         (reg_overlap_mentioned_p): Rewrite to use a switch.
3881         * ggc.h (struct rtx_def): Forward declare.
3883         * print-rtl.c (debug_rtx_range): New.
3884         * rtl.h (debug_rtx_range): Declare.
3886         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
3888         * gcse.c (gcse_main): Don't rebuild the CFG here.
3889         (delete_null_pointer_checks): Likewise.
3890         * ssa.c (convert_to_ssa): Likewise.
3891         * toplev.c (rest_of_compilation): Do it here instead.  Combine
3892         sequential calls to TIMEVAR.  Consistently use `insns' instead of
3893         `get_insns()'.  Always split insns after reload when optimizing.
3895         * basic-block.h (merge_blocks_nomove): Declare.
3896         (tidy_fallthru_edge): Declare.
3897         * flow.c (merge_blocks_nomove): Document as merging into previous
3898         blocks.  Remove cruft from between blocks; remove all edges out of A.
3899         (tidy_fallthru_edge): Export.
3901 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
3903         * ssa.c (compute_conservative_reg_partition): Declare with
3904         void arguments.
3905         * toplev.c (clean_dump_file): Remove previously-deleted function
3906         inadvertantly merged back in.
3907         * conflict.c (conflict_graph_add): Use a single call to
3908         htab_find_slot to look up and insert.
3910 2000-04-06  Richard Henderson  <rth@cygnus.com>
3912         * genrecog.c (*): Rename _last_insn to last_insn.
3913         (make_insn_sequence): Set the position of the peephole2 C test
3914         to be at the last insn.
3916 2000-04-06  Richard Henderson  <rth@cygnus.com>
3918         * flow.c (compute_flow_dominators): Free worklist.
3920 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
3922         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
3924 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
3926         * rtl.h (INSN_P): New macro.
3927         (successor_phi_fn): New typedef.
3928         (for_each_successor_phi): New prototype.
3929         (in_ssa_form): New variable.
3930         (PHI_NODE_P): Likewise.
3931         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
3932         phi nodes in successors.
3933         (mark_used_regs): Add PHI case.
3934         (set_phi_alternative_reg): New function.
3935         (life_analysis): Assert that dead code elimination is not selected
3936         when in SSA form.
3937         * toplev.c (to_ssa_time): New variable.
3938         (from_ssa_time): Likewise.
3939         (compile_file): Zero to_ssa_time and from_ssa_time.
3940         Print time to convert to and from SSA.
3941         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
3942         (print_time): Compute percent fraction as integer.
3943         * ssa.c (PHI_NODE_P): Moved to rtl.h.
3944         (convert_to_ssa): Check if we're already in SSA.
3945         Don't eliminate dead code in life_analysis.
3946         Rerun flow and life analysis at bottom.
3947         (eliminate_phi): Use canonical regnos when adding nodes.
3948         (mark_reg_in_phi): New function.
3949         (mark_phi_and_copy_regs): Likewise.
3950         (convert_from_ssa): Rerun life analysis at top.
3951         Use coalesced partition.
3952         Check for removing a phi node at the end of the block.
3953         (compute_coalesced_reg_partition): New function.
3954         (coalesce_regs_in_copies): Likewise.
3955         (coalesce_reg_in_phi): Likewise.
3956         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
3957         (for_each_successor_phi): Likewise.
3958         (rename_context): New struct.
3959         (rename_block): Use a rename_context with rename_insn_1.  When
3960         renaming sets of a subreg, emit a copy of the entire reg first.
3961         (rename_insn_1): Treat data as a rename_context *.  Save current
3962         insn in set_data.
3963         (rename_set_data): Add field set_insn.
3964         * Makefile.in (HASHTAB_H): Move up in file.
3965         (OBSTACK_H): New macro.
3966         (collect2.o): Use OBSTACK_H in dependencies.
3967         (sdbout.o): Likewise.
3968         (emit-rtl.o): Likewise.
3969         (simplify-rtx.o): Likewise.
3970         (fix-header.o): Likewise.
3971         (OBJS): Add conflict.o.
3972         (conflict.o): New rule.
3973         * basic-block.h: Include partition.h.
3974         (conflict_graph): New typedef.
3975         (conflict_graph_enum_fn): Likewise.
3976         (conflict_graph_new): New prototype.
3977         (conflict_graph_delete): Likewise.
3978         (conflict_graph_add): Likewise.
3979         (conflict_graph_conflict_p): Likewise.
3980         (conflict_graph_enum): Likewise.
3981         (conflict_graph_merge_regs): Likewise.
3982         (conflict_graph_print): Likewise.
3983         (conflict_graph_compute): Likewise.
3984         * conflict.c: New file.
3986 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
3988         * tlink.c (read_repo_files): Don't look for .rpo info for
3989         linker flags.
3991 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3993         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
3995 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3997         * config/sh/lib1funcs.asm (___udivsi3_i4):
3998         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
3999         only depends on FMOVD_WORKS.
4001 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4003         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
4004         make double constant 8-byte aligned.
4006 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
4008         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
4009         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
4010         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
4011         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
4012         Accept storing GENERAL_REGS into offsetable memory.
4013         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
4014         building a TFmode constant other than 0.0L into GENERAL_REGS.
4016 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
4018         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
4020 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
4022         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
4023         (macro_cleanup): No need to cast pbuf->macro.
4024         (collect_expansion): Use _cpp_get_define_token.  Goto done if
4025         it returns VSPACE.  Remove check for trailing space after
4026         CPP_COMMENT.
4027         (_cpp_create_definition): Don't diddle flags here.  Return
4028         directly on error.
4029         (unsafe_chars): Handle c1 being EOF.
4030         (push_macro_expansion): Use unsafe_chars for both accidental-paste
4031         checks.  Don't push the buffer till after we're done with
4032         them.
4033         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
4034         (PEEKN, FORWARD, GETC, PEEKC): Use them.
4035         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
4036         appropriately.
4037         (_cpp_parse_assertion): Don't NUL terminate.
4038         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
4039         hspace before calling _cpp_parse_assertion.  Remove all sets
4040         of only_seen_white. Treat '\f' as hspace.  Don't do anything
4041         special with '\n' here.
4042         (maybe_macroexpand): Handle T_EMPTY hash entries without
4043         pushing a buffer at all.
4044         (cpp_get_token): Handle clearing only_seen_white here.  Handle
4045         incrementing the line number here.  Clear
4046         potential_control_macro as well as only_seen_white, if
4047         appropriate.
4048         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
4049         (_cpp_get_define_token): New function, basically like
4050         _cpp_get_directive_token was but doesn't eat horizontal space.
4051         Don't do anything with only_seen_white here.
4052         (_cpp_get_directive_token): Just call _cpp_get_define_token
4053         repeatedly till it returns non-hspace.
4055         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
4056         (conditional_skip, skip_if_group): Return int.
4057         (DIRECTIVE_TABLE): Change origin of all conditional directives
4058         to "COND".
4059         (TRAD_DIRECT_P): New macro.
4060         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
4061         an error for a bogus directive, unless -lang-asm.  Use
4062         TRAD_DIRECT_P. Loop calling handler functions till one returns
4063         zero.
4064         (get_macro_name): Don't diddle flags here.
4065         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
4066         Create T_EMPTY nodes for #define macro /* nothing */.
4067         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
4068         Use hp->name when calling pass_thru_directive.
4069         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
4070         Return the result of conditional_skip and/or skip_if_group.
4071         Don't call _cpp_output_line_command.
4072         (consider_directive_while_skipping): Use _cpp_get_directive_token.
4073         Issue -Wtraditional warnings as appropriate.  Don't complain
4074         about unrecognized directives.  If we are to stop skipping,
4075         return the number of the directive that ended the skip.
4076         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
4077         expansion and line commands while skipping.  Return the result
4078         of consider_directive_while_skipping, if nonzero.
4079         (do_endif): Just set potential_control_macro here.
4080         (validate_else): Use _cpp_get_directive_token.
4081         (do_assert, do_unassert): Don't save pointers into the
4082         token_buffer across calls to the lexer.  Use
4083         _cpp_get_directive_token.
4085         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a
4086         pointer, not an offset.  Replace 'data', which was a generic
4087         pointer, with 'macro', which points to a struct hashnode.
4088         (cpp_reader): Add 'potential_control_macro' pointer.
4089         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
4090         (CPP_BUF_GET, CPP_FORWARD): Delete.
4091         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
4092         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
4093         ACTIVE_MARK_P): Update.
4094         (_cpp_get_define_token): New internal function.
4095         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
4097 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
4099         * configure.in: And here.
4100         * configure: Regenerate.
4101         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
4102         --enable-libstdcxx-v3 is passed at configure time.
4103         * config.h.in: Regenerate.
4105 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
4107         * final.c (final): Use xcalloc to allocate line_note_exists.
4108         * function.c (free_after_compilation): Free the temp_slots.
4109         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
4110         (combine_temp_slot): Free temp_slots when they get combined.
4111         (purge_addressof): Fix typo in comment.
4112         * stmt.c (mark_goto_fixup): Mark the fixup itself.
4113         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
4115         * ggc.h: Include varray.h.
4116         (ggc_pending_trees): Declare.
4117         (ggc_mark_tree_children): Remove declaration.
4118         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
4119         * ggc-common.c (ggc_pending_trees): New variable.
4120         (ggc_mark_roots): Call ggc_mark_trees.
4121         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
4122         the ggc_pending_trees.
4123         * Makefile.in (GGC_H): New variable.  Use it throughout in place
4124         of ggc.h.
4126 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4128         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
4129         GET_MODE_SIZE.
4131 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4133         * sh.c (sh_insn_length_adjustment): New function.
4134         * sh-protos.h (sh_insn_length_adjustment): Declare.
4135         * sh.h (ADJUST_INSN_LENGTH): Use it.
4137 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
4139         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
4140         from the insn where REG_RETVAL is added.
4141         (emit_no_conflict_block): Ditto.
4143         * md.texi (Standard Names): Clarify when movX is needed.
4145         * combine.c (simplify_comparison) [MINUS]: Do not replace
4146         all (op (minus A B) 0) with (op A B).
4148 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
4149                           J"orn Rennecke <amylaar@cygnus.co.uk>
4151         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
4152         (block_lump_real): Likewise.
4154 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
4156         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
4157         remaining non-zero debugging masks.
4159 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
4161         * basic-block.h (verify_flow_info): Declare.
4162         (flow_loop_outside_edge_p): Declare.
4163         * flow.c (verify_flow_info): Remove declaration.
4164         (clear_log_links, flow_loop_outside_edge_p): Likewise.
4166 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
4168         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
4169         not C++ comments.
4171 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
4173         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
4174         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
4175         seqdi_zero_trunc+1): Allow splits only if registers are
4176         different.
4178 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
4180         * acconfig.h: Add HAVE_GAS_HIDDEN.
4181         * config.in: Regenerated.
4182         * configure.in: Add test for .hidden pseudo-op in gas.
4183         * configure: Regenerated.
4184         * crtstuff.c: Include auto-host.h.
4185         Emit additional .hidden pseudo-op for __dso_handle if the
4186         assembler knows about it.
4188 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
4190         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
4191         before freeing argnames.
4192         * cpplib.c (do_ifndef): Cast return value of xstrdup.
4194 2000-04-05  Michael Meissner  <meissner@redhat.com>
4196         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
4197         Walton <jonboy@gordian.com> to make memory references with update
4198         work wtih -mregnames.
4200 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4202         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
4203         (regrename_optimize): Rename variables `def_uses' and
4204         `ext_basic_blocks' to avoid conflicts with similarly named
4205         typedefs in traditional C.
4207         * calls.c (initialize_argument_information): Fix typo in previous
4208         change.
4210 2000-04-04  Richard Henderson  <rth@cygnus.com>
4212         * regrename.c (consider_available): Test fixed_regs not
4213         PIC_OFFSET_TABLE_REGNUM.
4215 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
4217         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
4218         crtend.
4219         (CRTSTUFF_T_CFLAGS_S): Delete definition.
4220         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
4221         (ENDFILE_LINUX_SPEC): Always use crtend.
4222         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
4223         (powerpc-*-linux-gnu): Likewise.
4224         * configure: Regenerate.
4226         * config/rs6000/eabi.h: Don't include sysv4.h.
4227         (MULTILIB_DEFAULTS): Don't define.
4228         * config/rs6000/eabiaix.h: Don't include eabi.h.
4229         * config/rs6000/eabile.h: Delete.
4230         * config/rs6000/eabilesim.h: Delete.
4231         * config/rs6000/eabisim.h: Don't include eabi.h.
4232         * config/rs6000/linux.h: Don't include sysv4.h.
4233         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
4234         (MULTILIB_DEFAULTS): Don't redefine.
4235         * config/rs6000/rtems.h: Don't include eabi.h.
4236         * config/rs6000/sol2.h: Don't include sysv4le.h.
4237         * config/rs6000/sysv4le.h: Don't include sysv4.h.
4238         * config/rs6000/t-ppc: Delete.
4239         * config/rs6000/t-ppcgas: Correct comment.
4240         * config/rs6000/t-ppcos: Correct comment.  Don't build
4241         multilibs for -fPIC, rather use -fPIC -mstrict-align
4242         as default.
4243         * config/rs6000/t-ppc: Delete.
4244         * config/rs6000/vxppc.h: Don't include sysv4.h.
4245         * config/rs6000/vxppcle.h: Delete.
4246         * configure.in: Use multiple header files for p2pc ELF targets
4247         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
4248         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
4249         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
4250         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
4251         always available for these platforms.
4253 2000-04-04  Richard Henderson  <rth@cygnus.com>
4255         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
4257 2000-04-04  Stan Cox  <scox@cygnus.com>
4259         * Makefile.in: Add rules for regrename.o
4260         * regrename.c: New file.
4261         * rtl.h (regrename_optimize): Add prototype.
4262         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
4263         (compile_file, decode_d_option): Add support for -frename-registers.
4264         (rest_of_compilation): Call regrename_optimize.
4265         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
4266         New macros.
4268 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4270         * Makefile (gccbug): New target.
4271         (doc): Depend on it.
4272         * gcc.texi (Bugs): Link subnodes.
4273         (gccbug): New node.
4274         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
4275         Document severities, priorities, and classes in bug form.
4277 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
4279         * cpplex.c (trigraph_map, speccase): Combine into single
4280         table, chartab.
4281         (NORMAL, NONTRI): New macros.
4282         (_cpp_read_and_prescan): Change to use unified table.  Use
4283         is_hspace to test for whitespace.
4285         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
4286         definition that doesn't provoke the "empty body in an
4287         if-statement" warning.
4289 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
4291         * builtins.c (expand_builtin_strlen): Force the source to
4292         be a memory address.
4294 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4296         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
4298 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4300         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
4301          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
4302         (ECF_IS_CONST): Rename to ECF_CONST.
4303         (special_function_p): Make static, change interface.
4304         (flags_from_decl_or_type, try_to_integrate): Break out from ...
4305         (expand_call) ... here; convert number of variables to flags.
4306         (emit_library_call_vlue_1): Likewise.
4307         (setjmp_call_p): New function.
4308         (initialize_argument_information): Accepts flags as argument;
4309         return flags.
4310         (precompute_arguments): Likewise.
4311         * tree.h (special_function_p): Remove.
4312         (setjmp_call_p): Add prototype.
4314 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
4316         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
4317         so that addresses are offsetable by up to 16 bytes.
4318         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
4319         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
4320         offsetable.
4322         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
4323         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
4324         (movsf): Don't force any constant to memory if target is integer
4325         hard register.
4326         Move fp_zero_operand check below the const0_rtx check.
4327         (movtf): Likewise. Also allow fp_zero_operand for stores into
4328         memory.
4329         (movdf): Likewise. Also allow fp_zero_operand for stores into
4330         memory and into integer hard registers.
4331         (clear_df, clear_dfp, movdf_const_intreg_sp32,
4332         movdf_const_intreg_sp64): Remove.
4333         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
4334         conditions.
4335         (movdf_no_e_insn_v9_sp32): New pattern.
4336         (movdf_insn_v9only): Remove.
4337         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
4338         (movdf_insn_sp64): Remove.
4339         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
4340         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
4341         (following splits): Rewrite conditions. Add two new splits
4342         for storing 0.0 into memory and registers.
4343         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
4344         (movtf_insn_sp32): Redo constraints and conditions.
4345         (movtf_insn_vis_sp32): New pattern.
4346         (movtf_no_e_insn_sp32): Redo constraints and conditions.
4347         (movtf_insn_hq_sp64): Likewise.
4348         (movtf_insn_hq_vis_sp64): New pattern.
4349         (movtf_insn_sp64): Redo constraints and conditions.
4350         (movtf_insn_vis_sp64): New pattern.
4351         (movtf_no_e_insn_sp64): Redo constraints and conditions.
4352         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
4353         or memory.
4354         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
4355         -mvis or -m64 to take down the number of various reload patterns.
4357 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
4359         * pa/pa-64.h: New file.
4360         * pa/pa64-regs.h: New file.
4361         * pa/pa64-start.h: New file.
4362         * pa/t-pa64: New file.
4363         * pa/xm-pa64hpux.h: New file.
4365 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4367         * sparc.c (output_restore_regs): Prototype.
4368         (sparc_emit_float_lib_cmp): Constification.
4370         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
4372         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
4373         Prototype.
4375         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
4376         (get_value_hash, hash_rtx): Likewise.
4378         * ssa.c (compute_conservative_reg_partition): Prototype.
4380         * tree.c (mark_hash_entry): Prototype.
4382 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
4384         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
4385         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
4386         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
4388         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
4389         * objc/lang-specs.h: Likewise.
4391 2000-04-03  Neil Booth  <NeilB@earthling.net>
4393         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
4394         and SYNTAX_ERROR2. Replace `' in messages with ''.
4395         (op_to_str): Make re-entrant.
4396         (_cpp_parse_expr): Implement new error macros. Use | rather
4397         than || to logically or 2 boolean integers.  Simply expression
4398         checking we have a left operand iff needed.
4400 2000-04-03  Nick Clifton  <nickc@cygnus.com>
4402         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
4404 2000-04-03  Philip Blundell  <philb@gnu.org>
4406         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
4408 2000-04-03  Felix Lee  <flee@cygnus.com>
4410         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
4411         (run_shell): Use it.
4413 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
4415         * Makefile.in (stmp-int-hdrs): Make include subdir here...
4416         (stmp-fixproto): ...rather than here.
4418 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
4420         * pa.c (print_operand): Compute 'base' only inside the code paths
4421         that use it.
4423 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
4425         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
4426         CEIL_DIV_EXPR.
4428 2000-04-03  Philipp Thomas  <pthomas@suse.de>
4430         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
4432 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
4434         * Makefile.in (alias.o): Depend on $(TREE_H).
4436 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
4438         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
4439         processing C++.
4440         * cpplib.c (_cpp_handle_directive): Improve warnings for
4441         traditional C and indented directives.
4443         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
4444         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
4445         fixinc/inclhack.def: Indent the # of #include_next one space.
4446         * cp/rtti.c: Un-indent #if and #endif.
4448         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
4449         syntax error, but an error has already been printed.
4450         * cpplex.c (_cpp_parse_assertion): Give a more specific error
4451         message when called with nothing remaining on the line.
4452         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
4453         OTHER token, not an ASSERTION.
4454         * cpplib.c (do_assert): When we create a 'base' node, clear
4455         its aschain pointer.
4457 2000-04-02  Neil Booth <NeilB@earthling.net>
4459         * cppexp.c:  New typedef op_t.  struct operation and struct
4460         token updated to use it.
4461         (op_to_str): New function.
4462         (_cpp_parse_expr): Error messages modified to use op_to_str.
4464 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4466         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
4467         before checking MUST_PASS_IN_STACK.
4469 2000-04-02  Neil Booth <NeilB@earthling.net>
4471         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
4472         flags and initial priority into a single constant.  New
4473         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
4474         (_parse_cpp_expr): Implement new constants.  Take left operand
4475         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
4476         parse indicated by reducing FINISHED token.  Remove new lines
4477         from cpp_error messages.
4479 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
4481         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
4482         permanent obstack.
4484 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
4486         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
4487         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
4488         the strings and function names on the fly.  Take the #sccs
4489         entry out of the table if SCCS_DIRECTIVE is not defined.
4490         (_cpp_handle_directive): Decide if the # was at the beginning
4491         of the line here.  Issue -pedantic warnings for extended
4492         directives here.  Warn about K+R directives with the #
4493         indented, and C89/extended directives with the # not indented,
4494         here.
4495         (do_import, do_include_next, do_warning, do_ident, do_sccs,
4496         do_assert, do_unassert): Don't issue pedantic warning here.
4498         * cpphash.h: Add CPP_WTRADITIONAL macro.
4499         * cpplib.h (struct cpp_options): Rename warn_stringify to
4500         warn_traditional; update comments.
4501         * cppinit.c (handle_option): Set warn_traditional not
4502         warn_stringify.
4503         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
4504         CPP_WTRADITIONAL (pfile).
4505         * cpplex.c (_cpp_lex_token): Don't decide if directives should
4506         be ignored in -traditional mode here.
4508         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
4509         to initialize speccase[] and trigraph_map[].  Delete all
4510         references to pfile->input_speccase.  Always treat '?' as a
4511         special character.  Remove table-initialization code from
4512         _cpp_init_input_buffer.
4514         * cpplib.h (struct cpp_reader): Remove input_speccase field.
4515         * cppinit.c (cpp_cleanup): Don't free input_speccase.
4517 2000-04-01  Richard Henderson  <rth@cygnus.com>
4519         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
4520         (mostlyclean): Likewise.
4522         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
4523         (struct dump_file_info, enum dump_file_index, dump_file): New.
4524         (open_dump_file): Take a dump_file_index not a suffix, and a decl
4525         not a string.  Clean out file if we havn't yet done so.  Do nothing
4526         if the dump isn't enabled.
4527         (close_dump_file): Do nothing if the dump isn't open.  Dump
4528         graph data if requested.
4529         (dump_rtl, clean_dump_file): Remove.
4530         (compile_file): Don't clean the dump files.  Only finalize .bp dump
4531         if flag_test_coverage or flag_branch_probabilities.  Only finalize
4532         .combine dump if optimizing.  Iterate over dump_file to finalize the
4533         graph dumps.
4534         (rest_of_compilation): Update for open_dump_file/close_dump_file.
4535         Convert all uses of dump_rtl.
4536         (decode_d_option): Iterate over dump_file to implement 'a' and to
4537         locate pass-specific dumps.
4539 2000-04-01  Neil Booth <NeilB@earthling.net>
4541         * cppexp.c: Redefine priority constants.
4542         (_cpp_parse_expr): Replace left and right priority scheme with
4543         single priority logic.  Move LOGICAL to same place as COMPARE.
4544         Remove bogus check for multiple unary +/- operators.
4546 2000-04-01  Neil Booth <NeilB@earthling.net>
4548         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
4549         within the switch statement.  Binary operations break out of
4550         the switch naturally.  '(' tokens handled by forcing
4551         immediate shift.  ')' handled by forcing immediate reduce to
4552         the previous '('.  New error messages.
4554 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
4556         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
4557         part', it's already in use.  Use %K instead.  Add a return at the
4558         end of what is now %K.
4559         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
4561 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4563         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
4564         allocate_dynamic_stack_space.
4565         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
4566         update stack_pointer_delta; do not update arg_size_so_far.
4567         (compute_argument_block_size): Use stack_delta instead of
4568         stack_pointer_pending and arg_size_so_far.
4569         (expand_call): Add sanity checking for stack_pointer_delta;
4570         save and restore stack_pointer_delta for SIB, use
4571         stack_pointer_delta for alignment; do not update arg_space_so_far.
4572         (emit_library_call_value): Use stack_pointer_delta for alignment.
4573         (store_one_arg): Do not update arg_space_so_far.
4574         * explow.c (adjust_stack, anti_adjust_stack): Update
4575         stack_pointer_delta.
4576         (allocate_dynamic_stack_space): Add sanity checking for
4577         stack_pointer_delta.
4578         * expr.c (init_expr, clear_pending_stack_adjust): Clear
4579         stack_pointer_delta.
4580         (emit_push_insn): Update stack_pointer_delta.
4581         * function.h (struct expr_status): Add x_stack_pointer_delta;
4582         remove x_arg_space_so_far.
4583         (arg_space_so_far): Remove.
4584         (stack_pointer_delta): New macro.
4586 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
4588         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
4589         Reorder struct cpp_options and struct cpp_reader for better
4590         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
4591         takes two args.  Change all 'char' flags to 'unsigned char'.
4592         Move show_column flag into struct cpp_options.  Don't
4593         prototype cpp_options_init.
4594         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
4595         cppinit.c, cpplex.c, cpplib.c:
4596         Replace CPP_OPTIONS (pfile)->whatever with
4597         CPP_OPTION (pfile, whatever), and likewise for
4598         opts = CPP_OPTIONS (pfile); ... opts->whatever;
4600         * cppinit.c (merge_include_chains): Take a cpp_reader *.
4601         Extract CPP_OPTION (pfile, pending) and work with that
4602         directly.
4603         (cpp_options_init): Delete.
4604         (cpp_reader_init): Turn on on-by-default options here.
4605         Allocate the pending structure here.
4606         (cl_options, enum opt_code): Define these from the same table,
4607         kept in a large macro.  Add -fshow-column and -fno-show-column
4608         options.
4610         * cpperror.c (v_message): If show_column is off, don't print
4611         the column number.
4613         * cppmain.c: Update for new interface.
4614         * fix-header.c: Likewise.
4616 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
4618         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
4619         definition.
4620         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
4621         are passed to any invocation of AR_FOR_TARGET.
4622         (AR_CREATE_FOR_TARGET): New macro.
4623         (AR_EXTRACT_FOR_TARGET): New macro.
4624         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
4625         AR_EXTRACT_FOR_TARGET.
4626         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
4627         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
4628         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
4629         AR_EXTRACT_FOR_TARGET to sub-makes.
4631 2000-03-31  Neil Booth <NeilB@earthling.net>
4633         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
4634         PAREN_INNER_PRIO.
4635         (_cpp_parse_expr): Check for multiple unary +/- operators.
4636         Correct priorities of ':' and '?'.  Treat ')' as having a
4637         value.  Ensure conditional expression is not void.
4639 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
4641         * alias.c (canon_rtx): Make it global.
4642         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
4643         equality.
4644         * cse.c (struct table_elt): Add canon_exp.
4645         (insert): Clear it.
4646         (invalidate): Canonicalize expressions only once.
4647         * rtl.h (canon_rtx): Declare.
4649 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
4651         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
4652         * alias.c (reg_known_value): Add comments.
4653         (init_alias_analysis): Likewise.
4654         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
4655         address.
4656         (cse_basic_block): Fix typo in comment.
4657         * emit-rtl.c: Include hashtab.h.
4658         (const_int_htab): New variable.
4659         (const_int_htab_hash): New function.
4660         (const_int_htab_eq): Likewise.
4661         (rtx_htab_mark_1): Likewise.
4662         (rtx_htab_mark): Likewise.
4663         (gen_rtx_CONST_INT): Cache all CONST_INTs.
4664         (unshare_all_rtx): Fix formatting.
4665         (init_emit_once): Initialize const_int_htab.
4666         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
4667         address.
4668         * rtl.texi: Document the fact that all CONST_INTs with the same
4669         value are shared.
4671 2000-03-30  Richard Henderson  <rth@cygnus.com>
4673         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
4675 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
4677         * configure.in: Comment out --enable-c-cpplib stanza.
4678         * configure: Regenerate.
4680 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4682         * expr.c (store_constructor): Properly compute displacement and
4683         alignment when offset is variable.
4685         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
4686         cases of alignment in bytes.
4688 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
4690         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
4691         since it is used to generate c-parse.y.
4692         * objc-parse.c, objc-parse.y: Regenerated.
4694         * function.c (expand_function_end): Pass alignment argument to
4695         emit_block_move in bits, not bytes.
4697 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4699         * expr.c (move_by_pieces_ninsns): Fix one more missing align
4700         correction.
4702         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
4704         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
4705         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
4706         * function.c (assign_parms): Likewise.
4707         * integrate.c (expand_inline_function): Likewise.
4708         * stmt.c (expand_decl): Likewise.
4709         (copy_rtx_and_substitute): Likewise.
4710         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
4711         (clear_by_pieces): Fix error in last change.
4712         * emit-rtl.c (init_emit): Set known registers alignment in bits.
4713         * function.h (regno_pointer_align): Now unsigned.
4714         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
4715         is in bits.
4716         * config/i386/i386.c (aligned_operand): Likewise.
4717         * config/sparc/sparc.c (mem_min_alignment): Likewise.
4718         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
4719         (unaligned_memory_operand): Likewise.
4720         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
4721         Also make alignments and sizes unsigned and some whitespace cleanup.
4722         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
4724         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
4725         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
4726         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
4727         (expand_builtin_memset): Likewise, but to clear_storage.
4728         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
4729         (restore_fixed_argument_area): Likewise.
4730         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
4731         (load_register_parameters): Likewise, to emit_group_load.
4732         (expand_call): Likewise, to emit_group_store and emit_block_move.
4733         (emit_library_call_value_1): Likewise, to emit_block_move.
4734         (store_one_arg): Likewise, and to emit_push_insn.
4735         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
4736         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
4737         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
4738         (emit_block_move, emit_group_load, emit_group_store): Likewise.
4739         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
4740         (expand_assigment, store_expr, store_constructor_field): Likewise.
4741         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
4742         (store_constructor, store_field, get_inner_reference): Likewise.
4743         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
4744         (expand_expr, case COMPONENT_REF): Likewise.
4745         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
4746         and positions; reindent code.
4747         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
4748         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
4749         (assign_parms): Likewise to emit_group_store.
4750         * optabs.c (prepare_cmp_insn): Alignment is in bits.
4751         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
4752         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
4753         (expand_return): Likewise to {extract,store}_bit_field.
4754         * stor-layout.c (get_mode_alignment): Minor cleanup.
4755         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
4756         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
4758 2000-03-29  Nick Clifton  <nickc@cygnus.com>
4760         * config/arm/arm.h: Undo effects of previous delta:
4761         (ASM_SPEC): Do not define.
4762         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
4764         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
4765         typo.
4767 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
4769         * cppinit.c (cpp_start_read): Call initialize_dependency_output
4770         only after reading in the primary source file.
4772 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
4774         * c-common.c (c_common_nodes_and_builtins): The first parameter to
4775         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
4776         or a reference to a va_list.
4777         * builtins.c (stabilize_va_list): Simplify now we don't have to
4778         work around C array address decay.
4779         * c-typeck.c (convert_for_assignment): Handle assignment to
4780         a reference parameter by taking the address of the RHS.
4781         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
4782         (va_copy): Likewise.
4783         (__va_copy): Likewise.
4784         * ginclude/varargs.h (va_start): Likewise.
4785         (__va_copy): Likewise.
4787 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
4789         * i386/djgpp.h: Remove extraneous "+".
4791         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
4793         * calls.c (expand_call): Fix typo in last change.
4795 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
4797         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
4798         been expanded.
4800 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4802         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
4803         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
4804         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
4805         * tree.c (bit_position, byte_position): Likewise.
4806         * tree.h: Declare new functions.
4808 2000-03-29  Nick Clifton  <nickc@cygnus.com>
4810         * config/arm/arm.c: Minor formatting changes/
4811         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
4812         already defined.
4813         (ASM_SPEC): Define if not already defined.
4815 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
4817         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
4818         _cpp_calc_hash.
4820 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
4822         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
4823         value, don't output it as unsigned.
4825 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
4827         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
4829 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4831         * c-common.c (c_common_nodes_and_builtins): Don't special case
4832         cplus_mode when declaring builtin bzero/bcmp, always avoid
4833         prototype arguments.
4835 2000-03-29  Bruce Korb  <bkorb@gnu.org>
4837         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
4838         to a non-file
4840 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4842         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
4843         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
4844         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
4845         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
4846         (save_fixed_argument_area, restore_fixed_argument_area):
4847         conditionize by #ifdef REG_PARM_STACK_SPACE only.
4848         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
4849         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
4850         (precompute_register_parameters): Avoid #ifdefs on
4851         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
4852         (stire_one_args): Likewise.
4853         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
4854         (emit_library_call_value_1): Likewise.
4855         (compute_argument_block_size): Align to STACK_BOUNDARY only for
4856         ACCUMULATE_OUTGOING_ARGS.
4857         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
4858         value.
4859         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
4860         (use_crosses_set_p): Likewise.
4861         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
4862         #define ACCUMULATE_OUTGOING_ARGS 1.
4863         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
4864         frames.
4865         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
4866         constants.
4867         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
4868         (TARGET_SWITCHES): Add push-args, no-push-args,
4869         accumulate-outgoing-args and no-accumulate-outgoing-args.
4870         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
4871         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
4872         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
4873         and PUSH_ROUNDING.
4874         (emit_push_insn): Likewise.
4875         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
4876         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
4877         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
4878         (STACK_DYNAMIC_OFFSET): Define correctly for both
4879         ACCUMULATE_OUTGOING_ARGS and normal mode.
4880         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
4881         * tm.texi (PUSH_ARGS): Document.
4882         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
4884 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4886         * flags.h (flag_optimize_sibling_calls): Declare.
4887         * calls.c (expand_call): Fail sibcall when
4888         !flag_optimize_sibling_calls
4889         * invoke.texi (flag_optimize_sibling_calls): Document.
4890         * toplev.c (flag_optimize_sibling_calls): New global variable.
4891         (f_options): Add flag_optimize_sibling_calls.
4892         (rest_of_compilation): Conditionize
4893         optimize_sibling_and_tail_recursive_calls by
4894         flag_optimize_sibling_calls.
4895         (main): Set flag_optimize_sibling_calls for -O2.
4896         * stmt.c (expand_return): Conditionize tail recursion by
4897         flag_optimize_sibling_calls.
4899 2000-03-29  Richard Henderson  <rth@cygnus.com>
4901         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
4902         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
4904 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
4906         * except.c (add_eh_table_entry): Mark type_info's as referenced.
4908 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4910         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
4911         is given.
4912         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
4913         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
4914         * config/rs6000/aix.h: then modified likewise.
4916 2000-03-28  Richard Henderson  <rth@cygnus.com>
4918         * rtl.h: Redistribute enum reg_note documentation.
4919         Kill trailing whitespace.
4920         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
4921         Kill trailing whitespace.
4923 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
4925         * cppfiles.c (hash_IHASH): Just return i->hash.
4926         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
4927         htab_find_with_hash.
4928         (cpp_read_file): Likewise.
4929         (find_include_file): Likewise.  Properly initialize
4930         ih->nshort.  Share ih->name and ih->nshort if possible.
4931         * cpphash.c (_cpp_calc_hash): New function.
4932         (hash_HASHNODE): Just return h->hash.
4933         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
4934         htab_find_with_hash.
4935         * cpphash.h: Prototype _cpp_calc_hash.
4936         * cppinit.c (initialize_builtins): Provide a valid hash
4937         to _cpp_make_hashnode, using _cpp_calc_hash.
4939         * cpphash.c (collect_expansion): # is not a special character
4940         in object-like macros.  In -traditional mode, /**/ is not
4941         token paste at the beginning or end of the line.
4942         * cpplib.c (do_include, do_import, do_include_next): If
4943         parse_include fails, return immediately.
4945 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
4947         * config/arm/arm.md (return peepholes): Update to reflect the new
4948         call insn patterns.
4949         * config/arm/arm.c (arm_volatile_func): Also check
4950         current_function_nothrow.
4951         (output_return_instruction, output_func_prologue): Use it.
4952         (arm_output_epilogue, arm_expand_prologue): Likewise.
4954 2000-03-27  Tom Tromey  <tromey@cygnus.com>
4956         * gcc.c (handle_braces): In {x*...} case, break out of loop if
4957         switch is found.
4959 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4961         * expr.c (store_constructor): SIZE now signed.
4962         For EXPR_SIZE, don't evaluate size; just needed if constant.
4963         * fold-const.c (fold): Fix a number of cases when folded tree is
4964         wrong type.
4965         * function.c (flush_addressof): Reenable.
4966         * tree.h (flush_addressof): Likewise.
4967         * toplev.c (independent_decode_option): Look at strings_processed.
4968         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
4970 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
4972         * sibcall.c (indentify_call_return_value): Find last call in the chain;
4973         Allow stack adjustment after function call.
4975         * regmove.c (struct csa_memlist): Make mem field rtx *.
4976         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
4977         (try_apply_stack_adjustment): Replace whole MEM rtx.
4978         (combine_stack_adjustments_for_block): Update calls
4979         to record_one_stack_ref.
4981 2000-03-28  Neil Booth  <NeilB@earthling.net>
4983         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
4984         '\\' rather than a null character, so nulls are not special.  Fix
4985         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
4986         speed trigraph conversion.
4987         (_cpp_init_input_buffer): Initialize trigraph map.
4989 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
4991         * config/i386/i386.c (output_387_binary_op): Correct intel
4992         mode assembly output, and add spaces after commas in AT&T
4993         output.  Correct Unixware assembler comment.  Document input
4994         constraints.  Comment fp operations.  Reduce profligate buffer
4995         size.  Remove extraneous abort.  Localize temp var.
4996         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
4997         (output_fix_trunc): Add spaces after commas in assembly output.
4999 2000-03-27  Richard Henderson  <rth@cygnus.com>
5001         * i386-protos.h (ix86_match_ccmode): Declare.
5002         * i386.c (ix86_match_ccmode): New.
5003         (ix86_expand_fp_compare): Update for pattern renames.
5004         (ix86_expand_strlensi_unroll_1): Likewise.
5005         * i386.h (EXTRA_CC_MODES): Add CCZ.
5006         (SELECT_CC_MODE): Use it for EQ/NE zero.
5007         * i386.md (cmpsi_ccz_1): New.
5008         (cmpqi_ccz_1): New.
5009         (*testsi_ccz_1): New.
5010         (testqi_ccz_1): New.
5011         (cmpsi_ccno_1): Rename from cmpsi_0.
5012         (testsi_ccno_1): Rename from testsi_1.
5013         (testqi_ccno_1): Rename from testqi_1.
5014         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
5015         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
5016         (*cmphi_0): Use ix86_match_ccmode.
5017         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
5018         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
5019         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
5020         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
5021         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
5022         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
5023         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
5024         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
5025         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
5026         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
5027         (appropriate peepholes): Likewise.
5028         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
5029         (*subsi_3, *subhi_3, *subqi_3): Remove.
5030         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
5031         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
5032         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
5033         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
5034         (x86_shift_adj_1): Use CCZ.
5035         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
5037 2000-03-27  Stan Cox  <scox@cygnus.com>
5039         * resource.h (mark_resource_type): New.
5040         * resource.c (find_dead_or_set_registers, mark_target_live_regs,
5041         find_free_register): Use mark_resource_type.
5042         (mark_set_resources): Change include_delayed_effects
5043         to mark_resource_type.
5044         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
5045         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
5046         Use mark_resource_type.
5048 2000-03-27  Richard Henderson  <rth@cygnus.com>
5050         * i386.md (call_pop_0, call_value_pop_0): New.
5051         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
5052         (call_value_pop_1): Likewise.
5053         (call_0, call_value_0): New.
5054         (call_1, call_value_1): Remove constraint from unused arg.
5056 2000-03-27  Nick Clifton  <nickc@cygnus.com>
5058         * invoke.texi (Spec Files): Document new spec % command created by
5059         Tom Tromey's recent patch.
5061 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
5063         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
5064         if not defined.
5066 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5068         * expr.c (expand_assignment): Fix typo in last change.
5070         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
5072 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5074         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
5075         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
5076         and DECL_INLINE if FUNCTION_DECL.
5077         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
5078         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
5079         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
5080         (combine_parm_decls): Likewise.
5081         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
5082         * print-tree.c (print_node): Likewise.
5083         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
5084         DECL_TRANSPARENT_UNION on proper decl types.
5085         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
5086         * stor-layout.c (layout_decl): Only check DECL_PACKED and
5087         DECL_BIT_FIELD of FIELD_DECL.
5088         * tree.h (DECL_RESULT_FLD): New macro.
5090         * expr.c (expand_assignment): Add code to handle variable-sized
5091         BLKmode case.
5093 2000-03-26  Richard Henderson  <rth@cygnus.com>
5095         * calls.c (expand_call): Pass parms not original exp to
5096         optimize_tail_recursion.  Mind return value instead of looking
5097         for a barrier.
5098         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
5099         call_expr.  Move checks for call_expr and current_function_decl ...
5100         (expand_return): ... here.
5102 2000-03-26  Tom Tromey  <tromey@cygnus.com>
5104         * gcc.c (handle_braces): Recognize `%{<S}' construct.
5105         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
5106         defines.
5107         (process_command): Use them.
5108         (check_live_switch): Likewise.
5109         (give_switch): Skip ignored switches.
5111 2000-03-26  Jan Hubicka  <jh@suse.cz>
5113         * jump.c (jump_optimize_1): Fix typo in elide optimizations
5114         for minimal jump pass test.
5116 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
5118         * integrate.c (function_cannot_inline_p): Do inline functions that
5119         return `void'.
5121 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5123         * stor-layout.c (layout_type, set_sizetype): early_type_list is
5124         now a list of TREE_LIST entries, not types.
5125         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
5127         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
5128         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
5129         int_bit_position.
5130         * config/mips/mips.c (function_arg): Likewise; also remove cast
5131         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
5132         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
5133         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
5134         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
5135         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
5136         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
5137         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
5138         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
5139         num_adjusts now unsigned.
5140         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
5141         * config/sparc/sparc.c (struct function_arg_record_value_parms):
5142         NREGS now unsigned.
5143         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
5144         as is BITPOS variable; use host_integerp and int_bit_position.
5145         (function_arg_record_value_2): Likewise.
5146         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
5147         Variable REGNO now unsigned.
5148         (function_arg_record_value): NREGS now unsigned.
5150 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
5152         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
5154 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5156         * Rework fields used to describe positions of bitfields and
5157         modify sizes to be unsigned and use HOST_WIDE_INT.
5158         * alias.c (reg_known_value_size): Now unsigned.
5159         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
5160         (really_start_incremental_init): Use bitsize_zero_node.
5161         (push_init_level, pop_init_level, output_init_element): Likewise.
5162         Use bitsize_unit_node and bitsize_one_node.
5163         (output_pending_init_elements, process_init_element): Likewise.
5164         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
5165         (make_extraction): Position and length HOST_WIDE_INT and unsigned
5166         HOST_WIDE_INT, respectively.
5167         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
5168         (num_sign_bit_copies): Returns unsigned.
5169         BITWIDTH now unsigned; rework arithmetic.
5170         Remove recursive call from arg to MAX.
5171         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
5172         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
5173         REGNO now unsigned.
5174         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
5175         (find_split_point, expand_compound_operation, make_extraction): LEN
5176         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
5177         (make_field_assignment): Likewise.
5178         (combine_simplify_rtx): Add cast.
5179         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
5180         (force_to_mode): WIDTH now unsigned; add cast.
5181         (if_then_else_cond): SIZE now unsigned.
5182         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
5183         (extended_count): Now returns unsigned.
5184         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
5185         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
5186         (simplify_comparison): MODE_WIDTH now unsigned.
5187         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
5188         (mark_used_regs_combine): Likewise; rework arithmetic.
5189         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
5190         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
5191         (record_promoted_value): REGNO now unsigned.
5192         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
5193         (get_last_value): REGNO now unsigned.
5194         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
5195         (reg_dead_regno, reg_dead_endregno): Now unsigned.
5196         (remove_death): Arg REGNO now unsigned.
5197         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
5198         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
5199         now unsigned.
5200         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
5201         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
5202         (struct cse_reg_info): REGNO now unsigned.
5203         (cached_regno): Now unsigned.
5204         (REGNO_QTY_VALID_P): Add cast.
5205         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
5206         (remove_invalid_regs): Likewise.
5207         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
5208         as are variables END and I.
5209         (get_cse_reg_info, insert): Likewise.
5210         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
5211         (canon_hash): Likewise.
5212         (insert_regs, lookup_for_remove): REGNO now unsigned.
5213         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
5214         New variable RN.
5215         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
5216         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
5217         * emit-rtl.c (subreg_realpart_p): Add cast.
5218         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
5219         (operand_subword_force): Arg I is now unsigned.
5220         * except.c (eh_regs): Variable I is now unsigned.
5221         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
5222         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
5223         length is unsigned HOST_WIDE_INT; likewise for internal variables.
5224         (store_split_bit_field, extract_fixed_bit_field): Likewise.
5225         (extract_split_bit_field, store_bit_field, extract_bit_field):
5226         Likewise.
5227         * expr.c (store_constructor_fields, store_constructor, store_field):
5228         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
5229         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
5230         (do_jump): Likewise.
5231         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
5232         MAX_SIZE is now unsigned.
5233         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
5234         (emit_group_store): Likewise.
5235         (emit_move_insn): I now unsigned.
5236         (store_constructor): Use host_integerp, tree_low_cst, and
5237         bitsize_unit_node.
5238         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
5239         Rework all calculations to use trees and new fields.
5240         * expr.h (promoted_input_arg): Regno now unsigned.
5241         (store_bit_field, extract_bit_field): Adjust types of pos and size.
5242         (mark_seen_cases): Arg is HOST_WIDE_INT.
5243         * flow.c (verify_wide_reg_1): REGNO now unsigned.
5244         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
5245         precisions and alignments are unsigned.
5246         (optimize_bit_field_compare, fold_truthop): Likewise.
5247         (int_const_binop): Adjust threshold for size_int_type_wide call.
5248         (fold_convert): Likewise.
5249         (size_int_type_wide): Make table larger and fix thinko that only
5250         had half of table used.
5251         (all_ones_mask_p, fold): Precisions are unsigned.
5252         * function.c (put_reg_info_stack): REGNO is unsigned.
5253         (instantiate_decl): Size is HOST_WIDE_INT.
5254         (instantiate_virtual_regs): I is unsigned.
5255         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
5256         (promoted_input_arg): REGNO is unsigned.
5257         * function.h (struct function): x_max_parm_reg is now unsigned.
5258         * gcse.c (max_gcse_regno): Now unsigned.
5259         (struct null_pointer_info): min_reg and max_reg now unsigned.
5260         (lookup_set, next_set): REGNO arg now unsigned.
5261         (compute_hash_table): REGNO and I now unsigned.
5262         (handle_avail_expr): regnum_for_replacing now unsigned.
5263         (cprop_insn): REGNO now unsigned.
5264         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
5265         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
5266         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
5267         * hard-reg-set.h (reg_class_size): Now unsigned.
5268         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
5269         * jump.c (mark_modified_reg): I now unsigned; add cast.
5270         (rtx_equal_for_thread_p): Add cast.
5271         * loop.c (max_reg_before_loop): Now unsigned.
5272         (struct_movable): REGNO now unsigned.
5273         (try_copy_prop): REGNO arg unsigned.
5274         (regs_match_p): XN and YN now unsigned.
5275         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
5276         (strength_reduce): Likewise; NREGS also unsigned.
5277         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
5278         * loop.h (struct iv_class): REGNO now unsigned.
5279         (max_reg_before_loop, first_increment_giv, last_increment_giv):
5280         Now unsigned.
5281         * machmode.h (mode_size, mode_unit_size): Now unsigned.
5282         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
5283         * optabs.c (expand_binop): I and NWORDS now unsigned.
5284         (expand_unop): I now unsigned.
5285         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
5286         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
5287         * real.c (significand_size): Now returns unsigned.
5288         * real.h (significand_size): Likewise.
5289         * regclass.c (reg_class_size): Now unsigned.
5290         (choose_hard_reg_mode): Both operands now unsigned.
5291         (record_reg_classes): REGNO and NR now unsigned.
5292         (reg_scan): NREGS now unsigned.
5293         (reg_scan_update): old_max_regno now unsigned.
5294         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
5295         * reload.c (find_valid_class): BEST_SIZE now unsigned.
5296         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
5297         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
5298         Likewise for variable R.
5299         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
5300         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
5301         (find_equiv_reg): Add casts.
5302         (regno_clobbered_p): Arg REGNO now unsigned.
5303         * reload.h (struct reload): NREGS now unsigned.
5304         (refers_to_regno_for_reload_p): Regno args are unsigned.
5305         (regno_clobbered_p): Likewise.
5306         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
5307         (compute_use_by_pseudos): REGNO now unsigned.
5308         (find_reg): I and J now unsigned, new variable K, and change loop
5309         variables accordingly; THIS_NREGS now unsigned.
5310         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
5311         (spill_hard_reg): REGNO arg now unsigned; add casts.
5312         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
5313         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
5314         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
5315         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
5316         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
5317         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
5318         (emit_reload_insns): REGNO now unsigned.
5319         (reload_cse_move2add): Add cast.
5320         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
5321         and rework loop.
5322         * resource.c (mark_referenced_resources, mark_set_resources): New
5323         variable R; REGNO and LAST_REGNO now unsigned.
5324         (mark_target_live_regs): J and REGNO now unsigned.
5325         * rtl.c (mode_size, mode_unit_size): Now unsigned.
5326         * rtl.h (union rtunion_def): New field rtuint.
5327         (XCUINT): New macro.
5328         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
5329         (operand_subword, operand_subword_force): Word number is unsigned.
5330         (choose_hard_reg_mode): Operands are unsigned.
5331         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
5332         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
5333         (regno_use_in, combine_instructions, remove_death): Likewise.
5334         (reg_scan, reg_scan_update): Likewise.
5335         (extended_count): Return is unsigned.
5336         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
5337         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
5338         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
5339         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
5340         (reg_reg_last_1): FIRS and LAST now unsigned.
5341         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
5342         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
5343         now unsigned.
5344         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
5345         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
5346         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
5347         (replace_regs): Arg NREGS now unsigned.
5348         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
5349         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
5350         (simplify_binary_operation): Likewise.
5351         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
5352         THIS_LAST now unsigned.
5353         (cselib_record_set): Add cast.
5354         * ssa.c (ssa_max_reg_num): Now unsigned.
5355         (rename_block): REGNO now unsigned.
5356         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
5357         sizes now unsigned.
5358         (all_cases_count): Just return -1 not -2.
5359         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
5360         Rework tests to use trees whenever possible.
5361         Use host_integerp and tree_low_cst.
5362         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
5363         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
5364         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
5365         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
5366         (smallest_mode_for_size): Likewise.
5367         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
5368         KNOWN_ALIGN is now an alignment, so simplify code.
5369         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
5370         (start_record_layout): Renamed from new_record_layout_info.
5371         Update to new fields.
5372         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
5373         New functions.
5374         (place_union_field): Renamed from layout_union_field.
5375         Update to use new fields in rli.
5376         (place_field): Renamed from layout_field.
5377         Major rewrite to use new fields in rli; pass alignment to layout_decl.
5378         (finalize_record_size): Rework to use new fields in rli and handle
5379         union.
5380         (compute_record_mode): Rework to simplify and to use new DECL fields.
5381         (finalize_type_size): Make rounding more consistent.
5382         (finish_union_layout): Deleted.
5383         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
5384         (layout_type, case RECORD_TYPE): Call new function names.
5385         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
5386         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
5387         (get_best_mode): UNIT is now unsigned; remove casts.
5388         * tree.c (bit_position): Compute from new fields.
5389         (byte_position, int_byte_position): New functions.
5390         (print_type_hash_statistics): Cast to remove warning.
5391         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
5392         (build_index_type): Likewise; make subtype of sizetype.
5393         (build_index_2_type): Pass sizetype to build_range_type.
5394         (build_common_tree_nodes): Use size_int and bitsize_int to
5395         initialize nodes; add bitsize_{zero,one,unit}_node.
5396         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
5397         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
5398         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
5399         (DECL_FIELD_BITPOS): Deleted.
5400         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
5401         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
5402         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
5403         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
5404         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
5405         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
5406         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
5407         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
5408         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
5409         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
5410         (DECL_ALIGN): Adjust to new field in union.
5411         (DECL_OFFSET_ALIGN): New field.
5412         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
5413         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
5414         (union tree_decl): Add struct for both aligns.
5415         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
5416         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
5417         (struct record_layout_info): Rework fields to have offset
5418         alignment and byte and bit position.
5419         (start_record_layout, place_field): Renamed from old names.
5420         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
5421         (byte_position, int_byte_position): Likewise.
5422         (get_inner_reference): Change types of position and length.
5423         * unroll.c (unroll_loop): New variable R; use for some loops.
5424         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
5425         (calculate_giv_inc): Arg REGNO now unsigned.
5426         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
5427         * varasm.c (assemble_variable): Clean up handling of size using
5428         host_integerp and tree_low_cst.
5429         (decode_addr_const): Use byte, not bit, position.
5430         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
5431         use tree_low_cst and int_bit_position.
5432         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
5434 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
5436         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
5437         (reorder_block_def): New members eff_head and eff_end.
5438         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
5439         (verify_insn_chain): New function.
5440         (skip_insns_between_block): Add code to skip deleted insns.
5441         Check for note before using.
5442         (chain_reorder_blocks): Replace calls to skip_insns_between_block
5443         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
5444         Check for note before using.
5445         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
5446         (fixup_reorder_chain): Restructure, clean up, defect removal.
5447         (reorder_basic_blocks): Remove last_insn and references to it.
5448         Moved insn chain verification code into a new function (see above).
5449         Delete defective code that sets last insn.
5450         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
5451         all blocks.
5453 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5455         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
5457 2000-03-24  Richard Henderson  <rth@cygnus.com>
5459         * tree.c (lang_safe_for_unsave): Remove.
5460         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
5461         allowing for two levels of unsafeness.  Remove lang hook.
5462         * tree.h: Update declarations.
5463         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
5464         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
5465         Always fail sibcalls when there are pending cleanups.
5467 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
5469         * flow.c (propagate_block): When we delete an ADDR_VEC,
5470         also delete the BARRIER following it if there is one.
5472 2000-03-24  Richard Henderson  <rth@cygnus.com>
5474         * builtins.c (expand_builtin_bzero): Convert `length' argument
5475         to sizetype.
5477 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
5479         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
5480         comparison if regno's are equal.
5481         * calls.c (initialize_argument_informat): Add ecf_flags argument.
5482         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
5483         (expand_call): Update caller.
5484         Avoid making a sibling call if argument size of the callee is larger
5485         than argument size of the caller.
5486         Call hard_function_value with outgoing set if in sibcall pass.
5487         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
5489         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
5490         Change LEAF_REGISTERS from an array initializer to actual array
5491         identifier. Move static global variable into the function.
5492         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
5493         sequences for leaf functions.
5494         * global.c (global_alloc): Likewise.
5495         * tm.texi (LEAF_REGISTERS): Update documentation.
5497         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
5498         TARGET_FLAT leaf disabling hack.
5499         (LEAF_REGISTERS): Changed from an array initializer to actual array
5500         identifier to avoid duplication and remove the above hack.
5501         (FUNCTION_OK_FOR_SIBCALL): Define.
5502         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
5503         always like call attribute.
5504         (eligible_for_sibcall_delay): New attribute.
5505         (sibcall): New delay type.
5506         (sibcall, sibcall_value, sibcall_epilogue): New expands.
5507         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
5508         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
5509         * config/sparc/sparc.c (sparc_leaf_regs): New array.
5510         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
5511         New functions.
5512         (output_function_epilogue): Move part of the code into
5513         output_restore_regs.
5514         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
5515         TYPE_SIBCALL.
5516         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
5517         prototypes.
5519         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
5520         until infrastructure is finished.
5522 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
5524         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
5525         (save_parm_insns): Not here.
5527 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5529         * builtins.c (expand_builtin_bzero): New function.
5530         (expand_builtin): Handle bzero.
5532         * builtins.def: Add BUILT_IN_BZERO.
5534         * c-common.c (c_common_nodes_and_builtins): Provide builtin
5535         prototype & function for bzero.
5537 2000-03-23  Michael Meissner  <meissner@redhat.com>
5539         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
5540         change adding TARGET_FP to the TF floating point insns, except for
5541         trunctfsf2, which generates direct calls to truncdfsf2.
5543 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
5545         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
5546         try to protect against middle-end changes that break binary
5547         compatibility.
5548         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
5550 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5552         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
5554 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5556         * calls.c (expand_call): If TARGET is passed by reference and
5557         is readonly, write a CLOBBER.
5559 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5561         * builtins.c (expand_builtin): Handle bcmp.
5563         * builtins.def: Add BUILT_IN_BCMP.
5565         * c-common.c (c_common_nodes_and_builtins): Provide builtin
5566         prototype & function for bcmp.
5568 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
5570         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
5571         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
5572         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
5574 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
5576         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
5577         alternative when using -fp64 -gp32.
5579 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
5581         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
5582         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
5583         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
5585         * frame.h (frame_state): Revert last change.
5586         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
5587         * libgcc2.c (throw_helper): Revert last change.
5589 2000-03-22  Richard Henderson  <rth@cygnus.com>
5591         * stmt.c (expand_asm_operands): Don't promote the temporary.
5593 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
5595         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
5596         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
5597           c_get_alias_set): Likewise.
5598         * c-decl.c (duplicate_decls): Likewise.
5599         * c-typeck.c (default_conversion,build_unary_op): Likewise.
5600         * calls.c (initialize_argument_information): Likewise.
5601         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
5602         Likewise.
5603         * dwarfout.c (decl_class_context,output_type): Likewise.
5604         * expr.c (get_inner_reference): Likewise.
5605         * fold-const.c (simple_operand_p,fold): Likewise.
5606         * function.c (aggregate_value_p): Likewise.
5607         * stmt.c (expand_asm_operands): Likewise.
5608         * varasm.c (named_section): Likewise.
5610 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
5612         Implement dwarf2 exception handling for the ARM.
5613         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
5614         (DWARF_FRAME_RETURN_COLUMN): Define.
5615         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
5616         REG_FRAME_RELATED_EXPR note.
5617         (emit_sfm): Likewise.
5618         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
5619         * dwarf2out.c (reg_save): Handle saving a register to itself.
5620         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
5621         * except.c (eh_regs): Don't use the static chain reg if it's
5622         callee-saved.
5623         * frame.h (frame_state): Add cfa_saved field.
5624         * frame.c (execute_cfa_insn): Set it.
5625         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
5626         the epilogue.
5627         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
5628         Now takes a parm.
5629         (instantiate_virtual_regs): Adjust.
5630         * tm.texi: Adjust.
5631         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
5632         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
5633         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
5635         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
5636         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
5638 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5640         * builtins.def: New file.
5642         * Makefile.in (TREE_H): Depend on builtins.def.
5644         * builtins.c (built_in_names): Use builtins.def.
5646         * tree.h (built_in_function): Likewise.
5648 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
5650         * tree.c (size_in_bytes): Return size_zero_node, not
5651         integer_zero_node.
5653 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
5655         * config/fp-bit.c (pack_d): Correct the case when a denormal
5656         is rounded up and stops being denormal.
5658 2000-03-21  Richard Henderson  <rth@cygnus.com>
5660         * config/alpha/alpha.c (function_arg): Check for void_type_node
5661         before using MUST_PASS_IN_STACK.
5663 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
5665         * regmove.c (combine_stack_adjustments_for_block): Check that
5666         the stack pointer is a valid memory address.
5668 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
5670         * calls.c: re-install Mar 16 emit_library_call merge.
5672 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
5674         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
5675         we cannot be sure that if reload_completed base register will
5676         be properly aligned.
5678 2000-03-21  Richard Henderson  <rth@cygnus.com>
5680         * flow.c (delete_block): Fix typo last change.
5682 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
5684         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
5685         not COMPLETE_TYPE_P, to check the type of the expression.
5687 2000-03-21  Michael Meissner  <meissner@redhat.com>
5689         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
5690         all floating point insns that just tested the macro
5691         TARGET_HAS_XFLOATING_LIBS.
5692         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
5693         used to only use the gprs.
5695 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
5697         * tree.h (COMPLETE_TYPE_P): New macro.
5698         (COMPLETE_OR_VOID_TYPE_P): New macro.
5699         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
5700         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
5701         * c-aux-info.c (gen_type): Use them.
5702         * c-common.c (c_expand_expr_stmt): Likewise.
5703         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
5704         grokdeclarator, grokparms, finish_struct, start_function,
5705         store_parm_decls, combine_parm_decls): Likewise.
5706         * c-parse.y (cast_expr): Likewise.
5707         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
5708         c_size_in_bytes, c_alignof, build_component_ref,
5709         build_indirect_ref, build_array_ref, convert_arguments,
5710         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
5711         * calls.c (initialize_argument_information): Likewise.
5712         * convert.c (convert_to_integer): Likewise.
5713         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
5714         * dwarfout.c (location_or_const_value_attribute,
5715         output_enumeration_type_die, output_structure_type_die,
5716         output_union_type_die, output_type): Likewise.
5717         * expr.c (safe_from_p, expand_expr): Likewise.
5718         * function.c (assign_parms): Likewise.
5719         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
5720         * tree.c (build_array_type, build_function_type,
5721         build_method_type, build_offset_type, build_complex_type): Likewise.
5722         * c-parse.c, c-parse.h: Regenerated.
5724 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5726         * config/c4x/rtems.h: Include config/rtems.h.
5728 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
5730         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
5731         decl is a FUNCTION_DECL
5733 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
5735         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
5736         function uses output registers.  Don't save RP for leaf functions.
5737         Do save RP even if no epilogue.
5738         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
5739         (CALL_USED_REGISTERS): Unmark in registers.
5740         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
5741         to near the middle.
5743 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
5745         * config/rs6000/rs6000.md (bunordered): New expander.
5746         (bordered): New expander.
5747         (buneq): New expander.
5748         (bunge): New expander.
5749         (bungt): New expander.
5750         (bunle): New expander.
5751         (bunlt): New expander.
5752         (bltgt): New expander.
5754         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
5755         (ccr_bit_negated_p): New function.
5756         (print_operand): For %C, generate appropriate cror for UNEQ,
5757         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
5759 2000-03-20  Andreas Jaeger  <aj@suse.de>
5761         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
5762         warning.
5764         * tree.h (safe_for_unsave): Prototype.
5766 2000-03-20  Richard Henderson  <rth@cygnus.com>
5768         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
5769         (combine_stack_adjustments_for_block): Don't allow sp references
5770         in the side of a set we're not fixing up.
5771         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
5772         after life_analysis.
5774 2000-03-20  Richard Henderson  <rth@cygnus.com>
5776         * calls.c (expand_call): Don't bother generating tail call
5777         sequences if there are pending cleanups.  Use
5778         expand_start_target_temps/expand_end_target_temps to elide
5779         cleanups created during sibcall expansion.
5781 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
5783         * configure.in: Set $IFS to a value if it doesn't already have one
5784         in the --enable-checking handling.
5785         * configure: Regenerate.
5787 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5789         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
5790         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
5791         Regenerated.
5793 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
5795         * jump.c (delete_noop_moves): Remove code attempting to
5796         combine stack adjustments.
5798 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5800         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
5801         * except.c (emit_cleanup_handler): Use them.
5802         (expand_end_all_catch): Likewise.
5803         * function.c (fixup_var_refs): Likewise.
5804         (expand_function_end): Clear catch_clauses_last.
5805         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
5806         * except.h (struct eh_status): New field x_catch_clauses_last.
5807         (catch_clauses_last): New define.
5809         * Makefile.in (tree.o): Depend on HASHTAB_H.
5810         * tree.c: Include hashtab.h.
5811         (struct type_hash): Remove next field.
5812         (TYPE_HASH_SIZE): Remove.
5813         (TYPE_HASH_INITIAL_SIZE): New define.
5814         (type_hash_table): Change type to htab_t.
5815         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
5816         mark_hash_entry): New functions.
5817         (init_obstacks): Allocate type hash.
5818         (type_hash_lookup): Use htab functions.
5819         (type_hash_add, mark_type_hash): Likewise.
5820         (dump_tree_statistics): Call print_type_hash_statistics.
5822 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5824         * rs6000/t-aix41: New file.
5826         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
5828 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
5830         * tm.texi (Driver): Fix typos and tweak entry for
5831         INCLUDE_DEFAULTS.
5832         Move misplaced STRUCT_FORCE_BLK entry ...
5833         (Storage Layout): ... to here.
5834         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
5836 2000-03-19  Richard Henderson  <rth@cygnus.com>
5838         * flow.c (delete_block): Delete the addr_vec along with the block.
5839         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
5840         reference labels.
5842         * fold-const.c (extract_muldiv): Apply type check for defined
5843         overflow to multiply as well as divide.
5845         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
5847 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
5849         * emit-rtl.c (remove_unncessary_notes): Check that all
5850         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
5851         associated NOTE_BLOCK.
5852         * function.h (identify_blocks): Update comments.
5853         (reorder_blocks): Declare.
5854         * function.c (identify_blocks): Don't take paramters.
5855         (reorder_blocks): Don't take parameters.
5856         * loop.h (find_loop_tree_blocks): Remove.
5857         (unroll_block_trees): Likewise.
5858         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
5859         reorder_blocks instead of unroll_block_trees.h
5860         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
5861         * stmt.c (find_loop_tree_blocks): Remove.
5862         (unroll_block_trees): Likewise.
5863         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
5864         in whole-function mode.
5865         * tree.h (reorder_blocks): Remove declaration.
5867         * expr.c: Include intl.h.
5868         * Makefile.in (expr.o): Depend on intl.h.
5870 2000-03-18  Richard Henderson  <rth@cygnus.com>
5872         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
5874 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
5876         * tree.h (tree_index): Remove enumerals for integer types.
5877         (integer_type_kind): New type.
5878         (integer_types): New variable.
5879         (char_type_node): Adjust.
5880         (signed_char_type_node): Likewise.
5881         (unsigned_char_type_node): Likewise.
5882         (short_integer_type_node): Likewise.
5883         (short_unsigned_type_node): Likewise.
5884         (integer_type_node): Likewise.
5885         (unsigned_type_node): Likewise.
5886         (long_integer_type_node): Likewise.
5887         (long_unsigned_type_node): Likewise.
5888         (long_long_integer_type_node): Likewise.
5889         (long_long_unsigned_type_node): Likewise.
5890         * tree.c (integer_types): New variable.
5891         (init_obstacks): Register it as a root.
5893 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
5895         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
5896         NEXT_INSN. Update last insn in chain.
5898 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
5900         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
5901         with TYPE_DECL_SUPPRESS_DEBUG set.
5903 2000-03-18  Richard Henderson  <rth@cygnus.com>
5905         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
5907 2000-03-18  Richard Henderson  <rth@cygnus.com>
5909         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
5910         care for HALF_PIC_P.
5911         (expander_call_insn_operand): Remove.
5912         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
5913         * i386.h (PREDICATE_CODES): Update.
5914         * i386.md (all call expanders): Remove predicates, remove special
5915         handling for half-pic.
5916         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
5917         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
5918         (sibcall_epilogue): New.
5920 2000-03-17  Richard Henderson  <rth@cygnus.com>
5922         * rtlanal.c (single_set): Reject if the parallel has anything
5923         except SET or USE or CLOBBER.
5925 2000-03-17  Jeff Law  <law@cygnus.com>
5926             Richard Henderson  <rth@cygnus.com>
5928         * Makefile.in (OBJS): Add sibcall.o.
5929         (sibcall.o): New.
5930         * sibcall.c: New file.
5931         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
5932         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
5933         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
5934         Emit sibcall patterns when requested.  Update all callers.
5935         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
5936         elimination seems feasable.
5937         * final.c (leaf_function_p): Sibling calls don't discount being
5938         a leaf function.
5939         * flow.c (HAVE_sibcall_epilogue): Provide default.
5940         (find_basic_blocks_1): Sibling calls don't throw.
5941         (make_edges): Make edge from sibling call to EXIT.
5942         (propagate_block): Don't remove sibcall_epilogue insns.
5943         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
5944         (sibcall_epilogue): New.
5945         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
5946         (identify_blocks_1): Likewise.  Break out from ...
5947         (identify_blocks): ... here.
5948         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
5949         (reorder_blocks): ... here.
5950         (init_function_for_compilation): Zap prologue/epilogue as varrays.
5951         (record_insns): Extend a varray instead of mallocing new memory.
5952         (contains): Read a varray not array of ints.
5953         (sibcall_epilogue_contains): New.
5954         (thread_prologue_and_epilogue_insns): Emit and record
5955         sibcall_epilogue patterns.
5956         (init_function_once): Allocate prologue/epilogue varrays.
5957         * genflags.c (gen_insn): Treat sibcall patterns as calls.
5958         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
5959         Broken out from ...
5960         (save_for_inline_nocopy): ... here.
5961         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
5962         Broken out from ...
5963         (expand_inline_function): ... here.
5964         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
5965         (subst_constants): Handle 'n' formats.
5966         * jump.c (jump_optimize_minimal): New.
5967         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
5968         optimizations if it's set.
5969         * rtl.c (copy_rtx): Do copy jump & call for insns.
5970         * rtl.h (struct rtx_def): Document use of jump and call for insns.
5971         (SIBLING_CALL_P): New.
5972         (sibcall_use_t): New.
5973         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
5974         Invoke optimize_sibling_and_tail_recursive_calls.
5975         * tree.c (lang_safe_for_unsave): New.
5976         (safe_for_unsave): New.
5977         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
5979         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
5980         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
5981         (*sibcall_osf_1, *sibcall_value_osf_1): New.
5983 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
5985         * objc/objc-act.c (encode_method_prototype): Pass types, not
5986         PARM_DECLs, to int_size_in_bytes.
5988 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
5990         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
5992         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
5993         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
5995 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5997         * Clean up usages of TREE_INT_CST_LOW.
5998         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
5999         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
6000         Regenerated.
6001         * c-tree.h (min_precision): Move declaration to here.
6002         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
6003         (build_unary_op, add_pending_init): Use bit_position.
6004         (pending_init_member, process_init_element): Likewise.
6005         (really_start_incremental_init, push_init_level, pop_init_level):
6006         Don't make copies of nodes or modify them in place, use consistent
6007         types when tracking positions, and use tree routines computations.
6008         (set_init_index, output_init_element): Likewise.
6009         (output_pending_init_elements, process_init_element): Likewise.
6010         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
6011         tree_low_cst and int_bit_position; also minor cleanup.
6012         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
6013         (print_cst_octal): Precision is unsigned.
6014         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
6015         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
6016         (simple_type_align_in_bits): Result is unsigned int.
6017         Use tree_int_low_cst and host_integerp.
6018         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
6019         (field_byte_offset): Result is HOST_WIDE_INT.
6020         Change types of internal variables so alignments are unsigned int,
6021         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
6022         Use host_integerp, tree_low_cst, and int_bit_position.
6023         (add_bit_offset_attribute): Likewise.
6024         (add_data_member_location_attribute): Use tree_cst_low.
6025         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
6026         (add_bit_size_attribute): Use tree_low_cst.
6027         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
6028         * dwarfout.c: Similar changes to dwarf2out.c.
6029         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
6030         * genoutput.c (n_occurences): Return -1 for null string.
6031         (strip_whitespace): Accept null string and make into function.
6032         (scan_operands): Reflect above changes.
6033         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
6034         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
6035         * ssa.c (rename_registers): Add missing cast of arg to bzero.
6036         * tree.c (int_size_in_bytes): Check for too big to represent.
6037         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
6038         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
6039         New declarations.
6040         (min_precision): Delete from here.
6041         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
6042         and int_bit_position.
6043         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
6044         (encode_method_def): Likewise.
6045         (build_ivar_list_initializer): Use int_bit_position.
6046         (generate_shared_structures): Convert size.
6047         (encode_type, encode_complete_bitfield): Use integer_zerop.
6048         (encode_bitfield): Use tree_low_cst and int_bit_position.
6050 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6052         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
6054 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6056         * call.c (special_function_p): It is only malloc if it returns
6057         Pmode.
6059 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6061         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
6062         (C33_FLAG, TARGET_C3X): Add macros.
6063         (TARGET_SWITCHES): Add -m33 option.
6064         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
6066 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6068         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
6069         (PARALLEL_PACK_FLAG): Delete.
6070         (TARGET_SWITCHES): Update.
6071         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
6073 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6075         * fold-const.c (fold): Fix a few cases when the returned result
6076         is not of the same type as the input.
6078 2000-03-16  Nick Clifton  <nickc@cygnus.com>
6080         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
6081         warning.
6083 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6085         * libgcc2.h: Move prototypes above macros with the same name.
6086         Wrap some function prototypes in the conditional which indicates
6087         whether they are supported, i.e. "BITS_PER_UNIT == 8".
6089 2000-03-16  Richard Henderson  <rth@cygnus.com>
6091         * calls.c: Revert last two changes.
6093 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
6095         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
6096         has exponent 0 is a zero.
6098         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
6099         HASH may already be nonzero.  Add code/mode into hash value
6100         immediately after repeat label.
6101         (cselib_lookup): Don't leave the hash table in an inconsistent
6102         state before a hash lookup operation.
6104 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
6106         * i386.md (all HI and QI mode non-move patterns):  Conditionize
6107         by TARGET_[HQ]IMODE_MATH.
6108         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
6109         x86_promote_qi_regs): Declare.
6110         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
6111         TARGET_PROMOTE_QI_REGS): New macros.
6112         (PROMOTE_MODE): New macro.
6113         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
6114         x86_promote_qi_regs): New global variables.
6116 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
6118         * calls.c (emit_library_call_value_1): Break out from ...; handle
6119         VOIDmode function calls too.
6120         (emit_library_call_value): ... here.
6121         (emit_library_call): Implement by calling emit_library_call_value_1.
6123 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
6125         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
6126         Update arg_space_so_far on stack adjustments.
6127         (emit_library_call, emit_library_call_value): Likewise; take into
6128         account arg_space_so_far and pending_stack_adjust when calculcating
6129         the boundary.
6131 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
6133         * flow.c: Move all basic block reordering code into its own file.
6134         (create_basic_block): Externalize.
6135         * bb-reorder.c: New file. Copy all basic block reordering code from
6136         flow.c to this file.
6137         (reorder_basic_blocks): Fix fencepost error in for-loop.
6138         (reorder_basic_blocks): Remove braces from single statement for-loops.
6139         * basic-block.h: Add declaration for create_basic_block.
6140         * Makefile.in: Add rules for bb-reorder.o.
6142 2000-03-16  Neil Booth  <NeilB@earthling.net>
6144         * cppinit.c (handle_option):  Implement #unassert directive
6145         as -A- command line option.
6146         (print_help):  Update.
6147         * cpptexi.c:  Update.
6149 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6151         * md.texi (Standard Names): Document `jump'.
6153 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
6155         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
6156         gotos.
6158 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
6160         Merge changes from newppc-branch onto trunk.
6162         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
6164         * rs6000.c (toc_hash_table): Update for new hash table functions.
6165         (toc_hash_function): Likewise.
6166         (toc_hash_eq): Likewise.
6167         (toc_hash_mark_entry): Likewise.
6168         (toc_hash_mark_table): Likewise.
6169         (output_toc): Likewise.
6170         (rs6000_add_gc_roots): Likewise.
6172         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6174         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
6175         (AR_FLAGS_FOR_TARGET): here.  New macro.
6177         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
6179         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
6180         fpmem_operand) Delete.
6181         (xer_operand) New.
6182         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
6183         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
6184         (rs6000_save_machine_status, rs6000_restore_machine_status,
6185         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
6186         references to above variables.
6187         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
6188         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
6189         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
6190         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
6191         (XER_REGNO_P, XER_REGNO): New.
6192         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
6193         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
6194         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
6195         XER_REGNO_P.
6196         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
6197         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
6198         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
6200         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6202         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
6203         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
6204         * rs6000.h: from here.
6206         * rs6000-protos.h (rs6000_select_section): Provide prototype.
6207         (rs6000_select_rtx_section): Likewise.
6208         (rs6000_encode_section_info): Likewise.
6209         (sdata_section): Likewise.
6210         (sdata2_section): Likewise.
6211         (sbss_section): Likewise.
6212         * sysv4.h (rs6000_select_section): Delete prototype.
6213         (rs6000_select_rtx_section): Likewise.
6214         (rs6000_encode_section_info): Likewise.
6215         (sdata_section): Likewise.
6216         (sdata2_section): Likewise.
6217         (sbss_section): Likewise.
6218         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
6220         * sysv4.h: Delete various unnecessary #undef's and put a comment
6221         on the remaining ones.
6222         Change various comments according to coding standard.
6224         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
6226         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
6227         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
6228         (CR0_REGNO_P) Remove.
6229         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
6230         setup_incoming_varargs, mtcrf_operation, print_operand,
6231         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
6232         Use the above macros.
6234         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
6236         * config/rs6000/rs6000.md: Added a new alternative for each
6237         pattern that had a 'x' alternative but no 'y' alternative.
6238         Added a new split for each of the above patterns.
6240         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
6242         * aix41.h (ASM_CPU_SPEC): Delete.
6243         (CPP_CPU_SPEC): Delete.
6245         * aix.h (RS6000_OUTPUT_BASENAME): Define.
6246         (ASM_OUTPUT_LABEL): Define.
6247         (ASM_GLOBALIZE_LABEL): Define.
6248         (STRIP_NAME_ENCODING): Define.
6249         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
6250         (STRIP_NAME_ENCODING): Don't define.
6251         (ASM_OUTPUT_LABEL): Don't define.
6252         (ASM_GLOBALIZE_LABEL): Don't define.
6253         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
6254         names, and ASM_OUTPUT_LABEL to output labels, rather than
6255         asm_fprintf.
6256         (ASM_OUTPUT_LABEL): Define.
6257         (ASM_OUTPUT_INT): Use assemble_name.
6258         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
6259         (STRIP_NAME_ENCODING): Don't undefine first.
6260         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
6261         ELF.
6262         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
6263         specified with 'asm' even with -fleading-underscore.
6264         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
6265         (output_epilog): Likewise.
6266         (output_toc): Likewise.
6267         * tramp.asm: Handle -fleading-underscore correctly.
6269         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
6270         -mminimal-toc.
6271         (nonlocal_goto_receiver): Delete.
6272         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
6274         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
6275         (SET_ASM_OP): Define.
6276         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
6278         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
6279         (ASM_LONG): Define.
6281         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
6282         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
6284         * rs6000.h: Add 'u' to more constants.
6286         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
6288         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
6290         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
6292         * rs6000.c (reg_or_u_cint_operand): New function.
6293         (logical_operand): Handle 64-bit hosts.
6294         (logical_u_operand): New function.
6295         (non_logical_cint_operand): Handle 64-bit hosts.
6296         (non_logical_u_cint_operand): New function.
6297         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
6298         (PREDICATE_CODES): Define new functions.
6299         * rs6000-protos.h: Declare new functions.
6300         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
6301         (movdi_64): Bracket code intended for 64-bit hosts.  Create
6302         CONST_DOUBLE for 32-bit values.
6303         (scc insns): Generate DImode compares.
6304         (mfcr insns): Create DImode versions.
6305         (sge matchers): New patterns.
6307         2000-02-15  Gabriel Paubert  <paubert@iram.es>
6309         * rs6000.md: Correct instructions length attributes and
6310         constraints on unsigned compare instructions.
6311         (*ne0): Disable for PowerPC64.
6313         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
6315         * rs6000.c (output_function_profiler): Use .long for a 32-bit
6316         quantity, fix profile1.C test failure under -fPIC.
6318         * rs6000.c: Add 'u' to many constants to suppress warnings.
6319         (constant_pool_expr_1): Make static.
6320         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
6321         * rs6000.h: Add 'u' to many constants to suppress warnings.
6323         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
6324         for the start of the TOC, instead of LCTOC..0.
6325         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
6326         of the TOC.
6327         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
6328         (load_toc_aix_di): Use LCTOC..1.
6330         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
6331         * rs6000.c (rs6000_legitimize_address): New function from
6332         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
6333         symbols in the constant pool that really are TOC references.
6334         (print_operand_address): For ELF, write TOC offsets under
6335         -fPIC as subtractions in the insn.
6336         (output_toc): For ELF, define symbols in TOC as normal labels,
6337         to match RTL.
6338         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
6339         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
6340         (create_TOC_reference): Prototype only when RTX_CODE is defined.
6341         * rs6000.md (movsi): Only use create_TOC_reference on
6342         symbols in the constant pool that really are TOC references.
6344         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
6345         * rs6000.c (rs6000_reorg): Delete.
6346         * rs6000-protos.h (rs6000_reorg): Delete.
6348         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
6350         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
6352         * aix.h (SETUP_FRAME_ADDRESSES): Define.
6353         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
6354         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
6355         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
6356         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
6357         rs6000_aix_emit_builtin_unwind_init.
6358         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
6359         rs6000_emit_eh_toc_restore on AIX.
6360         (return_eh_si): Use r2.
6361         (return_eh_di): Use r2.
6363         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
6364         since we're breaking binary compatibility anyway.
6366         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
6368         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
6369         constant_pool_expr_p): Declare them.
6370         (constant_pool_expr_p): Declare it.
6371         * config/rs6000/rs6000.c (toc_label_name): Define.
6372         (rs6000_override_options): Set toc_label_name.
6373         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
6374         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
6375         uses_TOC): New functions.
6376         (print_operand): Delete old '*' case.
6377         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
6378         and strip off rtl for TOC before calling output_addr_const.
6379         (rs6000_emit_load_toc_table): Use toc_label_name.
6380         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
6381         the default.
6382         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
6383         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
6384         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
6385         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
6386         into explicit TOC_REGISTER offsets.
6387         (TOC_REGISTER): New macro.
6388         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
6389         TARGET_TOC to reference TOC_REGISTER.
6390         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
6391         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
6392         uses_TOC before emitting label references.
6394         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
6396         * rs6000.md (stack_tie): Fix warning.
6398         * eabi-ctors.c: Use 'asm' names for the start/end variables,
6399         to handle -fleading-underscore.
6400         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
6401         (USER_LABEL_PREFIX): New macro.
6402         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
6403         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
6404         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
6405         call-linux can use the same multilibs.
6406         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
6407         and call-linux multilibs.  Do multilib with -fleading-underscore.
6408         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
6409         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
6410         to call-aix.
6412         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
6413         have MASK_SOFT_FLOAT set.
6414         (CPP_FLOAT_DEFAULT_SPEC): New macro.
6415         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
6416         CPP_FLOAT_DEFAULT_SPEC.
6418         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
6419         * rs6000.md: Whitespace change.
6420         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
6421         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
6423         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
6425         * rs6000.md (eh_epilogue): New expander.
6426         (eh_reg_restore): New expand/split/insn combination.
6427         (return_eh_si): New insn.
6428         (return_eh_di): New insn.
6430         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
6431         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
6432         * eabi-ctors.c (__do_global_ctors): Register this object's
6433         frame.  Clean up.  Call atexit() after the constructors.
6434         (__do_global_dtors): Deregister this object's frame.  Clean up.
6435         Allow for recursive calls to exit().
6436         * rs6000.c (fixuplabelno): New variable.
6437         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
6438         TARGET_RELOCATABLE, it slows down exec() under linux.
6439         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
6441         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
6442         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
6443         (ASM_OUTPUT_DWARF_DELTA2): New macro.
6444         (ASM_OUTPUT_DWARF_DELTA4): New macro.
6445         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
6446         (ASM_OUTPUT_DWARF_ADDR): New macro.
6447         (ASM_OUTPUT_DWARF_DATA4): New macro.
6448         (ASM_OUTPUT_DWARF_DATA2): New macro.
6449         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
6450         (ASM_OUTPUT_DWARF_OFFSET): New macro.
6451         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
6453         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
6455         * rs6000.c (rs6000_sr_alias_set): New variable.
6456         (rs6000_override_options): Initialise rs6000_sr_alias_set.
6457         (rs6000_emit_stack_tie): New function.
6458         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
6459         in a way that dwarf2out can understand.
6460         (rs6000_frame_related): New function.
6461         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
6462         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
6463         Use rs6000_emit_stack_tie when needed.
6464         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
6465         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
6466         * rs6000.md (stack_tie): New insn.
6467         (return_internal_si): Allow return value to be in the count
6468         register.
6469         (return_internal_di): Likewise.
6471         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
6473         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
6475         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
6477         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
6479         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
6481         * rs6000.md (stmw): Use the right POWER opcode.
6482         (lmw): Likewise.
6484         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6486         * rs6000-protos.h: New file.
6488         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
6490         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
6491         warnings.
6493         * sysv4.h: Likewise.
6495         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
6497         * ../../configure.in: Delete powerpcle-*-winnt*
6498         and powerpcle-*-pe|powerpcle-*-cygwin*.
6499         * ../../configure: Regenerated.
6500         * cygwin.h: Delete.
6501         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
6502         (TARGET_WINDOWS_NT): Delete.
6503         (ABI_NT): Delete.
6504         (CALL_NT_DLLIMPORT): Delete.
6505         Delete NT-specific code.
6506         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
6507         * win-nt.h: Delete.
6508         * t-winnt: Delete.
6509         * nt-ci.asm: Delete.
6510         * nt-cn.asm: Delete.
6511         * ntstack.asm: Delete.
6513         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6515         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
6516         (ASM_FILE_START): Likewise.
6517         (ASM_DECLARE_FUNCTION_NAME): Likewise.
6518         (ASM_OUTPUT_LABELREF): Likewise.
6519         (ASM_OUTPUT_SKIP): Likewise.
6520         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
6521         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
6522         (ASM_OUTPUT_CASE_LABEL): Likewise.
6523         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
6524         (ASM_OUTPUT_ASCII): Likewise.
6526         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
6528         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
6529         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
6530         increment rs6000_pic_labelno here.
6531         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
6532         and increment rs6000_pic_labelno here.
6534         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
6536         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
6537         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
6538         allocation knows (reg) is dead before the insn.
6540         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
6542         * rs6000.md (movsi_to_cr): Correct typo in output template.
6544         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
6546         * rs6000.c (rs6000_pic_labelno): Always define.
6547         (rs6000_pic_func_labelno): Delete.
6548         (lmw_operation): Check for a zero base register,
6549         which doesn't mean what we want.
6550         (stmw_operation): New function.
6551         (print_operand): Define new 'l' modifier.
6552         (rs6000_stack_info): We must save all 64 bits of the registers
6553         if TARGET_POWERPC64.
6554         (rs6000_output_load_toc_table): Delete.
6555         (rs6000_emit_load_toc_table): New function.
6556         (rs6000_allocate_stack_space): Delete.
6557         (rs6000_emit_allocate_stack): New function.
6558         (rs6000_emit_prologue): New function.
6559         (output_prolog): Use rs6000_emit_prologue.
6560         (rs6000_emit_epilogue): Change a few variable names to be
6561         more accurate.  Restore all 64 bits of the registers if
6562         TARGET_POWERPC64.  Only restore the FP registers which were used
6563         if they are being saved/restored one-at-a-time.
6564         (output_mi_thunk): Delete inefficient code generation.
6565         (output_function_profiler): Don't use rs6000_output_load_toc_table.
6566         * rs6000.h: Declare rs6000_emit_load_toc_table,
6567         rs6000_allocate_stack_space, stmw_operation.  Don't declare
6568         rs6000_output_load_toc_table.
6569         * rs6000.md (elf_high): Allow register 0, but discourage it
6570         heavily.
6571         (elf_low): Support loading into register 0.
6572         (load_toc_aix_si): New pattern.
6573         (load_toc_aix_di): New pattern.
6574         (load_toc_v4_pic_si): New pattern.
6575         (load_toc_v4_pic_di): New pattern.
6576         (load_toc_v4_PIC_1): New pattern.
6577         (load_toc_v4_PIC_1b): New pattern.
6578         (load_toc_v4_PIC_2): New pattern.
6579         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
6580         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
6581         (prologue): New expander.
6582         (movesi_from_cr): New pattern.
6583         (stmw): New pattern.
6584         (save_fpregs_si): New pattern.
6585         (save_fpregs_di): New pattern.
6587         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6589         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
6590         (movdi): Likewise.
6591         (movhi): Likewise.
6592         (movqi): Likewise.
6594         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6596         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
6597         at present.
6598         (movsi_got_internal): Likewise.
6599         (movsi_got_internal+1): Likewise.
6600         (set_sp): 'unspec 7' does a SImode clobber.
6602         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6604         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
6605         allocate a stack temporary.
6606         (floatsidf2_internal): Likewise.
6607         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
6608         with unspec.
6609         (floatunssidf2): Don't use the fpmem "register", just
6610         allocate a stack temporary.
6611         (floatunssidf2_internal): Likewise.
6612         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
6613         with unspec.
6614         (floatsidf2_loadaddr): Delete.
6615         (floatsidf2_store1): Delete.
6616         (floatsidf2_store2): Delete.
6617         (floatsidf2_load): Delete.
6618         (fix_truncdfsi2): Don't use the fpmem "register", just
6619         allocate a stack temporary.
6620         (fix_truncdfsi2_internal_si): Delete.
6621         (fix_truncdfsi2_internal_di): Delete.
6622         (fix_truncdfsi2_internal): New insn.
6623         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
6624         (fix_truncdfsi2_store): Delete.
6625         (fix_truncdfsi2_load): Delete.
6626         (fctiwz): Produce gen_fctiwz.
6628         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
6630         * eabi.h (INVOKE__main): Define.
6631         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
6632         specially.
6633         (rs6000_emit_prologue): Likewise.
6634         * rs6000.h (struct rs6000_stack): Don't keep track of whether
6635         this is the main program.
6637         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6639         * rs6000.c (rs6000_va_arg): Delete some unused variables.
6641         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6643         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
6644         goes after the argument.
6646         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
6648         * rs6000.md: Document 'unspec' values used.
6649         (epilogue): New expander.
6650         (movesi_to_cr_one): New expander.
6651         (movesi_to_cr and following): New pattern.
6652         (lmw): New pattern.
6653         (return_internal_si): New pattern.
6654         (return_internal_di): New pattern.
6655         (return_and_restore_fpregs_si): New pattern.
6656         (return_and_restore_fpregs_di): New pattern.
6657         * rs6000.h: Declare new functions.
6658         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
6659         rather than rs6000_calls_p.
6660         (rs6000_makes_calls): Delete.
6661         (lmw_operation): New function.
6662         (mtcrf_operation): New function.
6663         (rs6000_emit_epilogue): New function.
6664         (output_epilog): Call rs6000_emit_epilogue and final if
6665         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
6667         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
6669         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
6670         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
6671         * aix.h (SUBTARGET_SWITCHES): Document switches.
6672         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
6673         sched-prolog and sched-epilog the same.  Document all the
6674         switches.
6675         (TARGET_OPTIONS): No longer allow -mdebug-.
6677         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
6679         * rs6000.h (ASM_FILE_END): Move to aix.h.
6680         (EXTRA_SECTIONS): Move to aix.h.
6681         (READONLY_DATA_SECTION): Move to aix.h.
6682         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
6683         (SELECT_SECTION): Move to aix.h.
6684         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
6685         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
6686         (LINK_REGISTER_REGNUM): New definition.
6687         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
6688         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
6689         AIX and SVR4.
6690         * sysv4.h: Delete the code between the inclusion of rs6000.h
6691         and svr4.h.
6692         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
6693         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
6694         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
6695         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
6696         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
6697         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
6698         (fix_truncdfsi2_internal_di): New pattern.
6699         (fix_truncdfsi2_store): The second arg here is Pmode too.
6700         (fix_truncdfsi2_load): The second arg here is Pmode too.
6701         (tablejumpdi): Now that switch tables hold only SImode values,
6702         gcc needs to know how to add them to the pc which is DImode.
6703         * rs6000.c (rs6000_stack_info): Use symbolic name for
6704         LINK_REGISTER_REGNUM.
6705         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
6706         (output_toc): Delete unused variables s1 and s2.
6707         (output_ascii): Use fputs not fprintf on a variable string.
6709         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
6711         * rs6000.c (processor_target_table): Add power3 as alias for 630.
6712         * aix43.h: Revert Aug 2 change.
6713         (HAS_INIT_SECTION): Define, not visible yet.
6714         (LD_INIT_SWITCH): Define, not visible yet.
6715         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
6717         2000-01-04  Joel Sherrill (joel@OARcorp.com>
6719         * config/rs6000/rtems.h: Include config/rtems.h.
6721         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
6723         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
6724         (SLOW_UNALIGNED_ACCESS): Define.
6725         (CASE_VECTOR_MODE): Always use 32-bit offsets.
6726         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
6727         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
6728         (toc_section): Likewise and .toc pseudo-op.
6729         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
6730         64-bit mode.
6731         (TEXT_SECTION_ASM_OP): Likewise.
6732         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
6733         32-bit offsets.
6735         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
6737         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
6738         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
6739         compiling libgcc2.
6741         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6743         * rs6000.h: Move more stuff from here...
6744         * aix.h: to here.
6745         * sysv4.h: Cleanup accordingly.
6746         * netware.h: Likewise
6748         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6750         * rs6000.h: Continue cleanup.
6751         * aix.h: Likewise.
6752         * lynx.h: Likewise.
6753         * netware.h: Likewise.
6754         * sol2.h: Likewise.
6755         * sysv4.h: Likewise.
6756         * win-nt.h: Likewise.
6758         * rs6000.h (TARGET_SWITCHES): Add descriptions.
6759         (TARGET_OPTIONS): Likewise.
6761         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
6762         (SUBTARGET_OPTIONS): Likewise.
6764         * rs6000.md: Fix compile time warnings.
6766         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
6768         vxworks patches from the Cygnus tree originally by
6769         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
6770         <vmakarov@cygnus.com>.
6771         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
6772         (ENDFILE_SPEC): Likewise.
6773         (LIB_VXWORKS_SPEC): New macro.
6774         (STARTFILE_VXWORKS_SPEC): New macro.
6775         (ENDFILE_VXWORKS_SPEC): New macro.
6776         (LINK_START_VXWORKS_SPEC): New macro.
6777         (LINK_OS_VXWORKS_SPEC): New macro.
6778         (CPP_OS_VXWORKS_SPEC): New macro.
6779         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
6780         * vxppc.h: Rewrite to use proper configuration method.
6781         * vxppcle.h: New file.
6782         * ../../configure.in: Add powerpcle-wrs-vxworks*.
6783         * ../../configure: Rebuilt.
6785         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
6787         Lots of changes to rs6000.h, sysv4.h, aix.h,
6788         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
6789         with the aim that rs6000.h is the first header
6790         included and the others override it.
6791         * aix.h: New file.
6793         * x-aix41-gld: Remove.
6794         * x-aix43: Remove.
6795         * x-aix41: Remove target-specific switches, and don't specify
6796         -Wl,-bbigtoc as we don't need it any more.
6797         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
6798         Use t-aix43 for AIX 4.3 and above.
6799         * ../../configure: Regenerated.
6801         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
6802         options, that don't do anything yet.
6803         (MASK_SCHED_PROLOG): New macro.
6804         (MASK_SCHED_EPILOG): New macro.
6805         (TARGET_SCHED_PROLOG): New macro.
6806         (TARGET_SCHED_EPILOG): New macro.
6808         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
6810         * rs6000.c: Correct comment, the `minimal' TOCs are actually
6811         one per translation unit, not one per function.
6812         (output_toc): Also do duplicate constant elimination
6813         for per-translation-unit TOCs.
6815         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
6816         a comment explaining _exactly_ when this pattern gets used.
6817         (builtin_setjmp_receiver): New pattern for better clarity.
6818         (init_v4_pic): Move it into a section dealing with TOC registers.
6820         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
6822         * rs6000.c (toc_hash_table): New variable.
6823         (rs6000_hash_constant): New function.
6824         (toc_hash_function): New function.
6825         (toc_hash_eq): New function.
6826         (toc_hash_mark_entry): New function.
6827         (toc_hash_mark_table): New function.
6828         (output_toc): Don't output duplicate TOC entries in
6829         a single file.
6830         (rs6000_add_gc_roots): Add the hash table as a GC root.
6831         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
6832         where they clearly shouldn't be.  This may need to be fixed
6833         later when there is a GNU ar for AIX.
6834         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
6835         Don't define BOOT_LDFLAGS as it is now not necessary.
6837         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
6839         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
6840         for va_list on AIX.  Use unsigned_char_type_node rather than
6841         constructing our own version on svr4.
6843         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
6845         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
6846         since patently it's not.
6848         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
6850         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
6851         define_expand/define_insn pair, and handle restore of the
6852         SVR4 -fpic register.
6854 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
6856         * acconfig.h (HAVE_GAS_WEAK): New define.
6857         * configure.in (assembler weak support): Check for .weak support.
6858         * config.in, configure: Rebuilt.
6859         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
6860         HAVE_GAS_WEAK is defined.
6862 2000-03-15  Nick Clifton  <nickc@cygnus.com>
6864         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
6865         asm_fprintf().
6867 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
6869         * cppfiles.c (open_include_file): New function.
6870         (find_include_file, cpp_read_file): Use it.
6872 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
6874         * cpphash.c (dump_hash_helper): Take the slot, not the element.
6876 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
6878         * flow.c (verify_flow_info): Check for unconditional return.
6880 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
6882         * config/ia64/ia64.md (restore_stack_nonlocal): New.
6883         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
6884         (__ia64_restore_stack_nonlocal): New.
6885         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
6887 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6889         * cpphash.c (collect_formal_parameters): Do not complain about
6890         parameter names that just start with `__VA_ARGS__'.
6892 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
6894         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
6895         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
6896         * i386.c (pentiumpro_cost): Set mul cost to 4.
6897         (x86_use_movx): Set for PPro.
6899 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
6901         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
6902         STACK_BOUNDARY for empty frames now.
6904 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
6906         * stor-layout.c (layout_union): Remove.
6907         (layout_union_field): New function, split out from layout_union.
6908         (finish_union_layout): Likewise.
6909         (layout_field): Handle unions by calling layout_union_field.
6910         (finish_record_layout): Handle unions.
6911         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
6912         QUAL_UNION_TYPE handling.
6914 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
6916         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
6917         end of basic block is jump_insn, not barrier; use create_basic_block
6918         instead of creating basic block by hand.
6920 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
6922         * flow.c (reorder_basic_blocks): Account for barriers when writing
6923         over NEXT_INSN (last_bb->end).
6924         (verify_flow_info): Add check for missing barriers.
6926 2000-03-14  Greg McGary  <gkm@gnu.org>
6928         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
6929         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
6930         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
6931         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
6932         __unbounded, __unbounded__): New keywords.
6933         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
6934         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
6935         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
6937 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
6939         * cselib.h: New file.
6940         * alias.c: Include "cselib.h".
6941         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
6942         MEMs as two new arguments.
6943         (get_addr): New static function.
6944         (find_base_term): Handle VALUEs.
6945         (memrefs_conflict_p): Likewise.
6946         (true_dependence): Call get_addr on the addresses.
6947         Call fixed_scalar_and_varying_struct_p with addresses that have been
6948         passed through get_addr and canon_rtx.
6949         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
6950         with true_dependence.
6951         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
6952         * loop.c: Include "cselib.h".
6953         (load_mems): Process extended basic block that enters the loop with
6954         cselib.  Use that information to change initialization of the shadow
6955         register so that a constant equivalence is seen by later passes.
6956         * reload1.c: Include "cselib.h".
6957         (reload_cse_invalidate_regno): Delete function.
6958         (reload_cse_mem_conflict_p): Likewise.
6959         (reload_cse_invalidate_mem): Likewise.
6960         (reload_cse_invalidate_rtx): Likewise.
6961         (reload_cse_regno_equal_p): Likewise.
6962         (reload_cse_check_clobber): Likewise.
6963         (reload_cse_record_set): Likewise.
6964         (reg_values): Delete static variable.
6965         (invalidate_regno_rtx): Likewise.
6966         (reload_cse_delete_noop_set): New static function.
6967         (reload_cse_simplify): New static function, broken out of
6968         reload_cse_regs_1.
6969         (reload_cse_noop_set_p): Delete unused argument INSN.
6970         Just call rtx_equal_for_cselib_p on set source and destination.
6971         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
6972         reload_cse_delete_noop_set.  Delete code to keep track of values; use
6973         cselib functions instead.  Delete code to push/pop obstacks.
6974         (reload_cse_simplify_set): Use cselib to find equivalent values.
6975         Delete code to push/pop obstacks.
6976         (reload_cse_simplify_operands): Likewise.
6977         * rtl.def (VALUE): New rtx code.
6978         * rtl.h (union rtunion_def): New elt rt_cselib.
6979         (X0CSELIB, CSELIB_VAL_PTR): New macros.
6980         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
6981         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
6982         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
6983         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
6984         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
6985         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
6986         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
6987         cselib_record_set, cselib_record_sets): New static functions.
6988         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
6989         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
6990         references_value_p): New functions.
6991         (MAX_USELESS_VALUES, REG_VALUES): New macros.
6992         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
6993         n_useless_values, reg_values, callmem, cselib_obstack,
6994         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
6995         New static variables.
6996         * varray.h (union varray_data_tag): New elt te.
6997         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
6998         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
6999         dependencies.
7001 2000-03-14  Nick Clifton  <nickc@cygnus.com>
7003         * gcc.c (do_spec_1): Catch the case where %* is used in a
7004         substitution pattern, but it has not been initialised.
7005         Issue a meaningful error message if an unrecognised operator
7006         is encountered in a spec string.
7008 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
7010         * function.c (prepare_function_start): Correctly initialize
7011         cfun->stack_alignment_needed.
7013 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
7015         * cppfiles.c (find_include_file): Don't assume nshort is a
7016         substring of name.
7018 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
7020         * configure.in (hppa configurations): Add pa32-regs.h to the
7021         list of tm files as appropriate.
7022         * configure: Rebuilt.
7023         * pa.c (compute_frame_size): Remove explicit knowledge about FP
7024         register numbering.
7025         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
7026         (fmpyaddoperands, fmpysuboperands): Likewise.
7027         * pa.h: Remove various definitions which depend on knowing
7028         how registers are numbered.
7029         * pa32-regs.h: New file with PA32 register numbering specific
7030         definitions.
7032 2000-03-14  Richard Henderson  <rth@cygnus.com>
7034         * regmove.c (combine_stack_adjustments): New.
7035         (stack_memref_p, single_set_for_csa): New.
7036         (free_csa_memlist, record_one_stack_memref): New.
7037         (try_apply_stack_adjustment): New.
7038         (combine_stack_adjustments_for_block): New.
7039         * rtl.h (combine_stack_adjustments): Declare.
7040         * toplev.c (rest_of_compilation): Call it.
7042         * i386.md: Revert 2000-01-16 change.
7044 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7046         * gccbug.in: Add web category, gcc specific classes.
7048 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
7050         * stor-layout.c (finalize_record_size): Fix typo.
7052 2000-03-14  Stan Shebs  <shebs@apple.com>
7054         * c-typeck.c (c_alignof): Error on incomplete types.
7055         * extend.texi (Alignment): Document this.
7057 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7059         * cppfiles.c: Include mkdeps.h.
7060         (find_include_file, read_include_file): Remove _cpp_ prefix
7061         from name, make static.
7062         (_cpp_execute_include): New function, broken out of
7063         do_include.
7065         * cpplib.c: Don't include mkdeps.h.
7066         (struct directive): Remove type field. Reorder entries.  The
7067         function takes only one argument.
7068         (struct if_stack): Make type field an int.
7069         (directive_table): Rename to dtable.  Generate it, the
7070         prototypes of the directive handlers, and the enum for the
7071         directive numbers, from a template macro.
7072         (do_ifndef, do_include_next, do_import): New functions.
7073         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
7074         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
7075         do_ident, do_assert, do_unassert, do_sccs): Take only one
7076         argument.
7077         (do_sccs): Define always, but alter behavior based on
7078         SCCS_DIRECTIVE.
7079         (_cpp_handle_directive, consider_directive_while_skipping):
7080         Restructure for new directive table layout.
7082         (pass_thru_directive): Take a directive number, not a pointer
7083         to a struct directive.
7084         (parse_include): New function, broken out of do_include.
7085         (do_include, do_import, do_include_next): Use parse_include
7086         and _cpp_execute_include.
7087         (do_elif, do_else): Test for T_ELSE specifically when checking
7088         for #elif/#else after #else.
7089         (parse_ifdef): New function, broken out of do_ifdef.
7090         (validate_else): Expect a name arg without a leading #.
7091         (if_directive_name): Delete.
7092         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
7093         directive handlers with only one argument.
7095         * cpphash.h: Update prototypes.
7096         (enum node_type): Remove entries for directives.
7097         * Makefile.in: Update dependencies.
7099         * cpphash.c (dump_hash_helper): Only dump nodes of type
7100         T_MACRO.  Emit a newline after each definition.
7102 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7104         * gccbug.in: New file.
7105         * configure.in (all_outputs): Add gccbug.
7106         * Makefile.in (install-common): Install gccbug.
7107         (GCCBUG_INSTALL_NAME): New variable.
7108         * configure: Rebuilt.
7110 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
7112         * function.c (put_var_into_stack): Use type_for_mode to calculate
7113         part_type.  Use MEM_SET_IN_STRUCT_P.
7114         * expr.c (store_field): Handle CONCAT.
7115         (store_constructor): Use fields_length.
7116         * tree.c (fields_length): New fn.
7117         * tree.h: Declare it.
7119 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7121         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
7122         (cpplex.o): New target.
7123         * po/POTFILES.in: Add cpplex.c.
7125         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
7126         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
7127         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
7128         skip_block_comment, skip_line_comment, skip_comment,
7129         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
7130         _cpp_parse_name, skip_string, parse_string,
7131         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
7132         _cpp_get_directive_token, find_position,
7133         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
7134         (maybe_macroexpand, _cpp_lex_token): New functions.
7136         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
7137         parse_goto_mark): Delete.
7138         (_cpp_handle_eof): New function.
7139         (_cpp_handle_directive): Rename from handle_directive.
7140         (_cpp_output_line_command): Rename from output_line_command.
7141         (do_if, do_elif): Call _cpp_parse_expr directly.
7142         * cppfiles.c (_cpp_read_include_file): Don't call
7143         init_input_buffer here.
7144         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
7145         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
7146         here; pop the token_buffer and skip the rest of the line here.
7147         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
7148         here.
7150         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
7151         Define here.
7152         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
7153         CPP_GOTO_MARK): New macros.
7154         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
7155         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
7156         _cpp_read_and_prescan, _cpp_init_input_buffer,
7157         _cpp_grow_token_buffer, _cpp_get_directive_token,
7158         _cpp_handle_directive, _cpp_handle_eof,
7159         _cpp_output_line_command): Prototype them here.
7160         * cpplib.h (enum cpp_token): Add CPP_MACRO.
7161         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
7162         quote_string, output_line_command): Remove.
7164 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
7166         * stmt.c (expand_end_case): RANGE may be signed, and when checking
7167         whether it is too large we must also verify that it isn't negative.
7169 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
7171         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
7172         (movsi_zero_liveg0): Remove.
7173         (movsf_insn_novis_liveg0): Remove.
7174         (negsi2): Remove.
7175         (negsi2_not_liveg0): Rename to negsi2.
7176         (one_cmplsi2): Remove.
7177         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
7178         (one_cmplsi2_liveg0): Remove.
7179         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
7180         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
7181         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
7182         (PREDICATE_CODES): Remove zero_operand.
7183         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
7184         TARGET_BROKEN_SAVERESTORE.
7185         (zero_operand): Remove.
7186         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
7187         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
7188         options.
7189         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
7190         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
7191         TARGET_BROKEN_SAVERESTORE): Remove.
7192         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7193         Remove.
7194         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7195         Remove.
7196         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7197         Remove.
7199         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
7201 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7203         * cpplib.c (do_pragma_implementation): Fix off-by-one error
7204         truncating a string.  Don't assume tokens are nul terminated.
7205         Problem noted by Andreas Jaeger <aj@suse.de>
7207 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
7209         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
7210         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
7211         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
7213 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
7215         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
7216         STRUCTURE_SIZE_BOUNDARY.
7218 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
7220         * tree.h (record_layout_info_s): New structure.
7221         (record_layout_info): New type.
7222         (new_record_layout_info): New function.
7223         (layout_field): Likewise.
7224         (finish_record_layout): Likewise.
7225         * stor-layout.c (layout_record): Remove.
7226         (new_record_layout_info): New function.
7227         (layout_field): New function, broken out from layout_record.
7228         (finalize_record_size): Likewise.
7229         (compute_record_mode): Likewise.
7230         (finalize_type_size): New function, broken out from layout_type.
7231         (finish_record_layout): Likewise.
7232         (layout_type): Use them.
7234 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
7236         * cpphash.c: Don't include version.h.
7237         (special_symbol) [case T_VERSION]: Look for the string in
7238         hp->value.cpval; don't use version_string.
7239         * cppinit.c (initialize_builtins): Set hp->value.cpval for
7240         __VERSION__ to version_string.
7241         * Makefile.in (cpphash.o): Update deps.
7243 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
7245         Convert cpplib to use libiberty/hashtab.c.
7247         * cpplib.h (struct cpp_reader): Make hashtab and
7248         all_include_files of type 'struct htab *'.  Delete HASHSIZE
7249         and ALL_INCLUDE_HASHSIZE macros.
7251         * cpphash.h: Update prototypes.
7252         (struct hashnode): Remove next, prev, and bucket_hdr members.
7253         Make length a size_t.  Add hash member.
7254         (struct ihash): Remove next member.  Add hash member.  Make
7255         name a flexible array member.
7257         * cppfiles.c: Include hashtab.h.
7258         (include_hash): Delete.
7259         (IHASHSIZE): New macro.
7260         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
7261         (cpp_included): Do the hash lookup here.
7262         (_cpp_find_include_file): Rewrite.
7263         (cpp_read_file): Put the "fake" hash entry into the hash
7264         table.  Honor the control_macro, if it turns out we've seen
7265         the file before.  Don't push the buffer here.
7266         (_cpp_read_include_file): Push the buffer here.
7267         (OMODES): New macro.  Use it whenever we call open(2).
7269         * cpphash.c: Include hashtab.h.
7270         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
7271         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
7272         _cpp_lookup_slot): New functions.
7273         (HASHSIZE): new macro.
7274         (hashf, _cpp_install, _cpp_delete_macro): Delete.
7275         (_cpp_lookup): Use hashtab.h routines.
7277         * cppinit.c: Include hashtab.h.
7278         (cpp_reader_init): Call _cpp_init_macro_hash and
7279         _cpp_init_include_hash.  Don't allocate hashtab directly.
7280         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
7281         pfile->all_include_files.
7282         (initialize_builtins): Use _cpp_make_hashnode and
7283         htab_find_slot to add hash entries.
7284         (cpp_finish): Just call _cpp_dump_macro_hash.
7285         * cpplib.c: Include hashtab.h.
7286         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
7287         create hash entries.
7288         (do_pragma_poison, do_assert): Likewise.
7289         (do_include): Don't push the buffer here.  Don't increment
7290         system_include_depth unless _cpp_read_include_file succeeds.
7291         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
7292         or htab_remove_elt.
7293         (do_pragma_implementation): Use alloca to create copy.
7295         * Makefile.in: Update dependencies.
7297 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7299         * cppinit.c (cl_directive_handler): More K&R fixing.
7301 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
7303         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
7304         STACK_BOUNDARY.
7305         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
7307 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7309         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
7310         Change from char[] to macros.
7312 2000-03-12  Neil Booth  <NeilB@earthling.net>
7314         * cppinit.c (cpp_start_read): Update indirect function
7315         call to K&R C.
7317 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
7319         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
7320         entry.
7322         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
7323         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
7325 2000-03-11  Neil Booth  <NeilB@earthling.net>
7327         * cppinit.c (struct pending option): Replace undef with a
7328         pointer to a directive handling routine.
7329         (struct cpp_pending): Replace separate assert_ and define_
7330         lists with one directive_ list.
7331         (new_pending_define): Rename new_pending_directive. Extra
7332         argument is the directive's handling routine.
7333         (handle_option): Update to use new_pending_directive.
7335 2000-03-11  Neil Booth  <NeilB@earthling.net>
7337         * cppfiles.c (file_cleanup, _cpp_find_include_file,
7338         remap_filename, _cpp_read_include_file, actual_directory,
7339         hack_vms_include_specification): Replace bcopy(), index() etc
7340         calls.  Add casts to some allocations.  Make some variables
7341         pointers to const [unsigned] char.
7342         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
7343         collect_formal_parameters): Similarly.
7344         * cppinit.c (struct pending_option, append_include_chain,
7345         cpp_options_init, cpp_reader_init, initialize_standard_includes,
7346         cpp_start_read, new_pending_define, handle_option): Similarly.
7347         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
7348         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
7349         do_pragma_implementation, detect_if_not_defined,
7350         do_ifdef, skip_if_group, cpp_get_token, parse_string,
7351         do_assert, do_unassert): Similarly.
7352         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
7353         function prototypes.
7354         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
7356 2000-03-10  Richard Henderson  <rth@cygnus.com>
7358         * builtins.c (expand_builtin_strlen): Revert last change.
7359         Use emit_insn_before if we're at the beginning of a sequence.
7361 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
7363         * builtins.c (expand_builtin_strlen): Make sure that we have something
7364         at the beginning of the sequence.
7366         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
7367         deferred inlines.
7369         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
7371 2000-03-10  Richard Henderson  <rth@cygnus.com>
7373         * except.c (can_throw): Use INTVAL on a CONST_INT.
7374         (reachable_handlers): Likewise.
7375         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
7377 2000-03-10  Andreas Jaeger  <aj@suse.de>
7379         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
7380         MD_STARTFILE_PREFIX since those are not needed on linux.
7381         (ASM_FILE_START): New, from mips/gnu.h.
7383 2000-03-09  Richard Henderson  <rth@cygnus.com>
7384             Alex Samuel  <samuel@codesourcery.com> and others
7386         * Makefile.in (ssa.o): New rule.
7387         (OBJS): Add ssa.o.
7388         (STAGESTUFF): Add *.ssa and *.ussa.
7389         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
7390         * rtl.def (PHI): New RTL expression.
7391         * rtl.h (clear_log_links): New declaration.
7392         (convert_to_ssa): Likewise.
7393         (convert_from_ssa): Likewise.
7394         * flow.c (split_edge): If the entry node falls through to the
7395         split edge's source block, split the entry edge.
7396         (clear_log_links): New function.
7397         * toplev.c (ssa_dump): New variable.
7398         (flag_ssa): Likewise.
7399         (f_options): Add "ssa".
7400         (compile_file): Create SSA dump files.
7401         (rest_of_compilation): Go to and from SSA if enabled.
7402         (decide_d_option): Handle -de for SSA dump files.
7403         * ssa.c: New file.
7405 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
7407         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
7408         same as VAR_DECL.
7410 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
7412         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
7414 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
7416         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
7417         (MD_STARTFILE_PREFIX_1): New macro.
7419 2000-03-09  Robert Lipe  <robertl@sco.com>
7421         * config/ia64/ia64.c: Include system.h.
7423 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
7425         * except.c (nothrow_function_p): If -fno-exceptions, just return.
7426         (init_eh_nesting_info): Likewise.
7428         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
7429         (TREE_NOTHROW): Rename from TREE_RAISES.
7430         * toplev.c (rest_of_compilation): Set it.
7431         * print-tree.c (print_node): Adjust.
7432         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
7433         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
7434         * calls.c (emit_call_1): Add 'nothrow' parm.  Add
7435         REG_EH_REGION note as appropriate.
7436         (libfunc_nothrow): New fn.
7437         (emit_library_call, emit_library_call_value): Use it.
7438         (expand_call): Check TREE_NOTHROW.
7440         * varasm.c (make_decl_rtl): Skip initial '*' when setting
7441         DECL_ASSEMBLER_NAME.
7443 2000-03-09  Andreas Jaeger  <aj@suse.de>
7445         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
7446         (TARGET_MEM_FUNCTIONS): Define.
7448 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
7450         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
7452         * except.c (can_throw): See through a SEQUENCE.
7453         (nothrow_function_p): New fn.
7454         * except.h: Declare it.
7455         * function.c (current_function_nothrow): New var.
7456         (prepare_function_start): Initialize it.
7457         * output.h: Declare it.
7458         * toplev.c (rest_of_compilation): Set it.
7459         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
7461 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
7463         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
7464         match.  (cpp_compare_defs): Count the nul separator when
7465         advancing over argument names.
7467 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
7469         * recog.c (preprocess_constraints): Matching constraints affect
7470         same alternative/different operand, not same operand/different
7471         alternative.
7473         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
7474         register and a constant specially.
7476 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7478         * libgcc2.h: New file.
7479         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
7481 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
7483         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
7484         * configure: Regenerate.
7485         * config/ia64: New.
7487 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
7489         * Makefile.in (LIBCPP_DEPS): New macro.
7490         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
7491         it to declare deps.
7492         * cpperror.c: Include cpphash.h.
7493         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
7494         dingleberry.
7495         (lex): Don't use CPP_WARN_UNDEF.
7496         (_cpp_parse_expr): Return an int, the truth value.
7497         * cppfiles.c: Include cpphash.h.
7498         (_cpp_merge_include_chains): Move to cppinit.c and make static.
7499         * cppinit.c (include_defaults_array): Disentangle.
7500         (cpp_cleanup): Don't free the if stack here.
7501         (cpp_finish): Pop off all buffers, not just one.
7502         * cpplib.c (eval_if_expr): Return int.
7503         (do_xifdef): Rename do_ifdef.
7504         (handle_directive): Don't use CPP_PREPROCESSED.
7505         (cpp_get_token): Don't use CPP_C89.
7506         * fix-header.c: Don't use CPP_OPTIONS.
7508         * cpplib.h: Move U_CHAR, enum node_type, struct
7509         file_name_list, struct ihash, is_idchar, is_idstart,
7510         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
7511         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
7512         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
7513         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
7514         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
7515         of _cpp_simplify_pathname, _cpp_find_include_file,
7516         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
7517         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
7518         cppinit.c.
7519         Change all uses of U_CHAR to be unsigned char instead.
7520         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
7522 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
7524         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
7525         (dwarf2out_begin_prologue): Set it.
7526         (output_call_frame_info): Don't emit EH unwind info for leaves.
7528         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
7529         can occur outside of an EH region.
7530         * except.c: Correct comments about rethrow behavior.
7531         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
7533 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
7535         * flow.c (make_edges): Always call make_eh_edge for calls.
7537 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
7539         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
7540         (struct cpp_buffer): Remove fname and underflow fields.
7541         (struct cpp_reader): Remove get_token field.
7542         (struct include_hash): Rename to struct ihash.  Add typedef to
7543         IHASH.
7544         (struct if_stack): Remove fname field.
7545         (IF_STACK_FRAME): Rename to IF_STACK.
7547         * cpperror.c (print_containing_files): Trust that there are no
7548         macro buffers below the top file buffer.
7549         * cppfiles.c: Replace all references to 'struct include_hash'
7550         with 'IHASH'.  Rename initialize_input_buffer to
7551         init_input_buffer.  Don't set or reference cpp_buffer->fname,
7552         use buffer->ihash->name instead.
7553         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
7554         not CPP_NULL_BUFFER.
7555         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
7556         IF_STACK_FRAME, IHASH not struct include_hash.
7557         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
7558         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
7559         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
7560         references to cpp_buffer->fname (delete entirely, or use
7561         ->ihash->name instead) and IF_STACK->fname.
7562         (cpp_push_buffer): Don't set new->underflow.
7563         (do_include): Use cpp_file_buffer.
7565         * cpphash.c (collect_formal_parameters): Remove duplicate
7566         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
7567         used as a macro argument name.  Don't append "..." to namebuf
7568         for varargs macros.  After we're done scanning, go through
7569         namebuf and make it NUL separated, not comma separated.
7570         (_cpp_compare_defs): Remove register tag from variables.
7571         Expect defn->argnames to be NUL separated.
7572         (_cpp_dump_definition): Expect defn->argnames to be NUL
7573         separated and in forward order.
7574         * cpphash.h: Update documentation of argnames field.
7576 2000-03-08  Richard Henderson  <rth@cygnus.com>
7578         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
7579         to fail.  Don't pre-expand the source operand.
7581         * i386.md (strlensi): Initialize eoschar and align before use.
7583 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
7585         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
7586         CONSTRUCTOR element.
7588 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
7590         * mips.c (mips_expand_prologue): If the last
7591         named argument is the vararg marker "va_list", treat it as
7592         an unnamed argument.
7594 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
7596         * dbxout.c (dbxout_parms): When correcting for promoted
7597         big-endian parameters, use the mode of the DECL_RTL rather
7598         than UNITS_PER_WORD.
7600 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
7602         * c-common.h (make_fname_decl): Declare.
7603         * c-common.c (make_fname_decl): Define.
7604         (declare_hidden_char_array): Remove.
7605         (declare_function_name): Use make_fname_decl.
7606         * c-decl.c (c_make_fname_decl): New function.
7607         (init_decl_processing): Set make_fname_decl.
7609 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
7611         * cccp.c (handle_directive): Initialize backslash_newlines_p.
7613 2000-03-07  Philipp Thomas  <pthomas@suse.de>
7615         * po/POTFILES.in: Remove cppalloc.c from file list.
7617 2000-03-07  Steve Chamberlain  <sac@pobox.com>
7619         * pj.c (pj_expand_prologue): current_function->args_info is
7620         now current_function_args_info.
7622         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
7623         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
7624         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
7626 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7628         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
7629         output as hexadecimal rather than the default octal.
7631 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
7633         * cpphash.c (special_symbol): Fix thinko in previous commit.
7635 2000-03-07  Neil Booth  <NeilB@earthling.net>
7637         * cppexp.c (struct operation, left_shift, right_shift,
7638         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
7639         "int"s to "unsigned int"s.
7640         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
7641         Similarly.
7642         * cpplib.h: Update for above.
7643         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
7644         returned from allocations.
7646         * cppinit.c (opt_comp, parse_options): New functions.
7647         (handle_option): Use parse_option to parse a single command
7648         line option, that possibly takes an argument.
7649         (cpp_handle_options): Sort the array of command line options on
7650         first invocation (non-ASCII hosts only).
7651         (print_help): Update.
7653 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
7655         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
7656         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
7658         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
7659         initialized.
7660         * cppinit.c (cpp_cleanup): Free imp->nshort also.
7662         * cpperror.c (cpp_print_containing_files,
7663         cpp_print_file_and_line, v_cpp_message): Rename to
7664         print_containing_files, print_file_and_line, and v_message.
7665         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
7666         to _cpp_parse_expr, parse_escape, and lex.
7667         (parse_charconst): Remove broken multibyte support.
7668         * cppfiles.c (include_hash): Make static.
7669         (cpp_included): New function.
7670         (merge_include_chains, find_include_file, finclude,
7671         simplify_pathname): Rename to _cpp_merge_include_chains,
7672         _cpp_find_include_file, _cpp_read_include_file, and
7673         _cpp_simplify_pathname.
7674         * cpphash.c (cpp_lookup, free_definition, delete_macro,
7675         cpp_install, create_definition, macroexpand, compare_defs,
7676         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
7677         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
7678         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
7679         * cppinit.c (cpp_handle_option): Rename to handle_option, make
7680         static.
7681         * cpplib.c: Remove extern prototype of cpp_parse_expr.
7683         * cpphash.h: Update prototypes.
7684         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
7686 2000-03-07  Andrew Haley  <aph@cygnus.com>
7688         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
7689         PTRDIFF_TYPE should be based solely on Pmode.
7690         (SIZE_TYPE): ditto.
7692 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7694         * rtl.h (rtunion_def): Constify member `rtstr'.
7695         (emit_line_note_after, emit_line_note, emit_line_note_force,
7696         emit_note, decode_asm_operands): Constify.
7698         * cse.c (canon_hash): Likewise.
7700         * dbxout.c (dbxout_block): Likewise.
7702         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
7703         v_warning_for_asm): Likewise.
7705         * dwarfout.c (function_start_label): Likewise.
7707         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
7708         emit_line_note_force): Likewise.
7710         * final.c (last_filename, asm_insn_count, final_scan_insn,
7711         output_source_line): Likewise.
7713         * function.h (struct emit_status): Likewise.
7715         * gcse.c (hash_expr_1): Likewise.
7717         * genattr.c (gen_attr, main): Likewise.
7719         * genattrtab.c (struct function_unit, current_alternative_string,
7720         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
7721         attr_numeral, check_attr_test, check_attr_value,
7722         convert_set_attr_alternative, convert_set_attr,
7723         compute_alternative_mask, simplify_by_exploding, gen_attr,
7724         gen_unit): Likewise.
7726         * genflags.c (gen_insn): Likewise.
7728         * gengenrtl.c (type_from_format): Likewise.
7730         * genopinit.c (gen_insn): Likewise.
7732         * genoutput.c (n_occurrences, process_template, process_template):
7733         Likewise.
7735         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
7736         Likewise.
7738         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
7739         Likewise.
7741         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
7742         ggc_set_mark, ggc_get_size): Likewise.
7744         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
7746         * optabs.c (init_one_libfunc): Likewise.
7748         * output.h (assemble_start_function): Likewise.
7750         * recog.c (decode_asm_operands): Likewise.
7752         * toplev.c (rest_of_compilation): Likewise.
7754         * tree.h (emit_line_note_after, emit_line_note,
7755         emit_line_note_force): Likewise.
7757         * varasm.c (asm_output_bss, asm_output_aligned_bss,
7758         asm_emit_uninitialised, assemble_start_function,
7759         assemble_variable, const_hash, compare_constant_1,
7760         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
7762         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
7764         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
7766         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
7768         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
7770         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
7771         arm_dllimport_name_p): Likewise.
7773         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
7774         Likewise.
7776         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
7778         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7780         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
7781         arm_mark_dllexport, arm_mark_dllimport,
7782         arm_pe_encode_section_info): Likewise.
7784         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
7785         ASM_FINISH_DECLARE_OBJECT): Likewise.
7787         * arm/thumb.c (thumb_function_prologue): Likewise.
7789         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
7791         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7793         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
7795         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
7797         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
7799         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7801         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
7802         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
7804         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
7806         * i386/i386.c (asm_output_function_prefix): Likewise.
7808         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
7810         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7812         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
7814         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
7815         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
7816         ASM_OUTPUT_SECTION_NAME): Likewise.
7818         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
7820         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
7822         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
7824         * m32r/m32r.c (m32r_encode_section_info): Likewise.
7826         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7828         * mcore/mcore.c (mcore_encode_section_info): Likewise.
7830         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7832         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7834         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7836         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
7838         * mips/mips.md (movdi, movsi): Likewise.
7840         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7842         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7844         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7846         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
7847         ASM_OUTPUT_ASCII): Likewise.
7849         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
7850         output_mi_thunk, output_toc): Likewise.
7852         * rs6000/rs6000.md (movsi): Likewise.
7854         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
7856         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
7858         * v850/v850.c (print_operand, print_operand_address,
7859         v850_encode_data_area): Likewise.
7861 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
7863         * config/mips/mips.md (zero_extendsidi2): Always force operand
7864         one to memory for mips16.
7866 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7868         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
7869         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
7870         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
7871         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
7872         (min_precision): Result is unsigned.
7873         (add_double, neg_double, mul_double): Low word is unsigned.
7874         (lshift_double, rshift_double, lrotate_double): Likewise.
7875         (rrotate_double, div_and_round_double): Likewise.
7876         (tree_floor_log2, compare_tree_int): New functions.
7877         (preserve_rtl_expr_temps): New declaration.
7878         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
7879         (decl_attributes): Use tree_log2 to find alignment.
7880         Check for TREE_INT_CST_HIGH for format args.
7881         (min_precision): Now unsigned.
7882         Use tree_floor_log2.
7883         (truthvalue_conversion): Delete long-disabled code.
7884         * c-decl.c (finish_struct): Clean up tests on field width.
7885         (finish_function): Use compare_tree_int.
7886         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
7887         * c-typeck.c (comptypes): Use tree_int_cst_equal.
7888         (default_conversion, digest_init): Use compare_tree_int.
7889         (build_binary_op): Use integer_all_onesp and compare_tree_int.
7890         Fix type errors in forming masks.
7891         * calls.c (initialize_argument_information): Use compare_tree_int.
7892         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
7893         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
7894         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
7895         (store_field): Use compare_tree_int.
7896         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
7897         (expand_expr, case ARRAY_REF): Use compare_tree_int.
7898         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
7899         (do_store_flag): Use compare_tree_int.
7900         * fold-const.c (encode, decode): Low part is always unsigned.
7901         (force_fit_type, add_double, neg_double, mul_double): Likewise.
7902         (lshift_double, rshift_double, lrotate_double): Likewise.
7903         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
7904         (fold_convert): Use compare_tree_int.
7905         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
7906         (invert_truthvalue, case INTEGER_CST): Likewise.
7907         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
7908         * mkdeps.c (deps_dummy_targets): Make I unsigned.
7909         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
7910         (lshift_double, rshift_double, lrotate_double, rrotate_double):
7911         Likewise.
7912         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
7913         (expand_end_case): Use compare_tree_int.
7914         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
7915         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
7916         (layout_decl): Likewise.
7917         (layout_record, layout_union): Make sizes unsigned.
7918         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
7919         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
7920         * tree.c (struct type_hash): hashcode is unsigned.
7921         (build_type_attribute_variant, type_hash_list): Likewise.
7922         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
7923         (attribute_hash_list, build_array_type, build_method_type): Likewise.
7924         (build_complex_type): Likewise.
7925         (real_value_from_int_cst): Remove unneeded casts.
7926         (integer_all_onesp): Add casts.
7927         (tree_floor_log2, compare_tree_int): New functions.
7928         (build_index_type): Use tree_int_cst_sgn.
7929         * varasm.c (assemble_variable): Use compare_tree_int.
7931 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
7933         * cpphash.c (collect_expansion): Also catch ## at start of macro.
7935         * varasm.c (make_decl_rtl): Don't add a number to members of
7936         local classes.
7937         (make_function_rtl): Likewise.
7939 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7941         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
7942         patch from 2000-01-28.
7944 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
7946         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
7947         filled with an insn from the jump target.
7949 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7951         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
7952         (c4x_external_ref): Likewise.
7953         * config/c4x/c4x.c (struct name_list): Likewise.
7955 1999-12-16  Ben Collins  <bcollins@debian.org>
7957         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
7958         argument to genmultilib.
7959         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
7960         the contents into the multilib.h header.
7961         * gcc.c: Declare multilib_exclusions for the specs file.
7962         (set_multilib_dir): Use it.
7963         (print_multilib_info): Likewise.
7964         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
7965         to pass to genmultilib.
7967 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7969         * builtins.c (built_in_class_names, built_in_names): Constify a
7970         char*.
7972         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
7973         int.
7974         (_mcleanup): Ensure value matches format specifier in sprintf.
7976         * cpphash.c (special_symbol): Don't needlessly cast away
7977         const-ness.
7979         * cppinit.c (base_name): Delete unused prototype.
7981         * mkdeps.c (deps_init): Make definition K&R safe.
7983         * tree.h (built_in_class_names, built_in_names): Constify a
7984         char*.
7986 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
7988         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
7989         floating point instructions for epilogue delay.
7991         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
7992         to gas if it supports .register pseudo.
7994         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
7995         LONG_DOUBLE_TYPE_SIZE if not defined.
7996         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
7997         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
7998         * real.c: Likewise.
7999         * gengenrtl.c: Likewise.
8000         * print-rtl.c: Likewise.
8001         * rtl.c: Likewise.
8002         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
8003         MASK_LONG_DOUBLE_128.
8004         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
8005         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
8006         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
8007         (SUBTARGET_SWITCHES): Define.
8008         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
8009         with -mlong-double-128.
8010         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
8011         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
8012         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
8013         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
8014         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
8015         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
8016         with -mlong-double-128.
8017         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
8018         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
8019         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
8020         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
8021         TARGET_LONG_DOUBLE_128): Define.
8022         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
8023         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
8024         long double on TARGET_ARCH64.
8026 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
8028         * function.c (free_temps_for_rtl_expr): Don't free slots
8029         that have been pushed into a higher level.
8031         Revert this patch:
8032         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8034 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8036         * basic-block.h (ALLOCA_REG_SET): Remove.
8037         (INITIALIZE_REG_SET): New macro.
8038         * flow.c (update_life_info): Use it.
8039         (calculate_global_regs_live): Likewise.
8040         (propagate_block): Likewise.
8041         * global.c (build_insn_chain): Likewise.
8042         * haifa-sched.c (schedule_region): Likewise.
8044 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
8046         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
8047         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
8048         (DWARF_ARANGES_PAD_SIZE): New define.
8049         (output_aranges): Use it to pad the address range header.
8050         (DWARF_ROUND): Fix for non power of 2 rounding.
8052 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
8054         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
8056 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8058         * tree.def (RTL_EXPR): Update documentation.
8059         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
8060         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
8061         * function.c (preserve_rtl_expr_temp): New function.
8062         (preserve_rtl_expr_temps): Likewise.
8063         (preserve_rtl_expr_result): Use it.
8065         Revert this patch:
8066         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
8068 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
8070         * regmove.c (copy_src_to_dest)  Do not create src->dest move
8071         for unchanging destination.
8073 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
8075         * function.h (struct sequence_stack): Remove rtl_expr.
8076         (struct emit_staus): Likewise.
8077         (seq_rtl_expr): Remove.
8078         * tree.h (free_temps_for_rtl_expr): Don't declare.
8079         (start_sequence_for_rtl_expr): Likewise.
8080         * rtl.h (preserve_rtl_expr_result): Likewise.
8081         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
8082         (start_sequence_for_rtl_expr): Remove.
8083         (push_topmost_sequence): Don't save sequence_rtl_expr.
8084         (pop_topmost_sequence): Remove comment about not restoring it.
8085         (end_sequence): Don't set seq_rtl_expr.
8086         (init_emit): Don't initialize it.
8087         (mark_sequence_stack): Don't mark it.
8088         (mark_emit_status): Likewise.
8089         * except.c (protect_with_terminate): Use
8090         start_sequence_for_rtl_expr, not start_sequence.
8091         * expr.c (expand_expr, case RTL_EXPR): Don't call
8092         preserve_rtl_expr_result or free_temps_for_rtl_expr.
8093         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
8094         (preserve_rtl_expr_result): Remove.
8095         (free_temps_for_rtl_expr): Likewise.
8096         (pop_temp_slots): Likewise.
8097         (mark_temp_slot): Don't mark the rtl_expr.
8098         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
8099         start_sequence_for_rtl_expr.
8101 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
8103         * mkdeps.c, mkdeps.h: New files.
8104         * po/POTFILES.in: Add them.
8105         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
8106         (cpplib.o, cppinit.o): Depend on mkdeps.h.
8107         (mkdeps.o): New target.
8109         * cppfiles.c: Delete deps_output.
8110         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
8111         OBJECT_SUFFIX, and base_name.
8112         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
8113         the include hash.
8114         (initialize_dependency_output): Use deps_init,
8115         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
8116         all the unnecessary string bashing.
8117         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
8118         level.
8119         * cpplib.c (do_include): Use deps_add_dep.
8120         * cpplib.h (struct cpp_reader): Replace deps_buffer,
8121         deps_allocated_size, deps_size, deps_column members with
8122         single pointer to a struct deps.  Delete prototype of
8123         deps_output.
8125         * cppinit.c: Fix thinko in previous patch.
8127 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8129         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
8130         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
8131         (mode_for_size_tree): New function.
8132         (layout_decl, layout_type): Call it and clean up BLKmode checks.
8133         * tree.h (mode_for_size_tree): New declaration.
8135         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
8137 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
8139         * stmt.c (is_body_block): Move...
8140         * dwarfout.c, dwarf2out.c: ...from here.
8141         * tree.h: Declare it.
8142         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
8143         * final.c (final_start_function): Do call remove_unnecessary_notes
8144         when scheduling.
8146 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
8148         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
8150         * cpplib.h (_dollar_ok): New macro.
8151         (is_idchar, is_idstart): Use it.
8152         (IStable): Rename to _cpp_IStable.  Declare it const if
8153         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
8154         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
8155         is_space): Update for renamed IStable.
8157         * cppinit.c: Delete all references to FAKE_CONST and CAT
8158         macros. Define init_IStable as empty macro if gcc >=2.7 or
8159         C99. Change TABLE() to ISTABLE and hardcode name of table.
8160         (cpp_start_read): Don't change the IStable based on
8161         dollars_in_ident.
8163         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
8164         changed.  Handle '$' for char1 correctly.
8165         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
8167         * cppexp.c (tokentab2): Make const.
8168         (cpp_lex): Make toktab const.
8169         * cppinit.c (include_defaults_array): Make const.
8170         (initialize_standard_includes): Make default_include const.
8172 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
8174         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
8175         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
8176         (gen_decl_die): Likewise.
8177         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
8178         (output_decl): Likewise.
8180         * varasm.c (make_function_rtl): If we change the name used in the
8181         rtl, update DECL_ASSEMBLER_NAME accordingly.
8182         (make_decl_rtl): Likewise.
8184         * toplev.c (rest_of_compilation): Tweak formatting.
8186         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
8187         remove_unnecessary_notes.
8188         (debug_ignore_block): New fn.
8189         * toplev.h: Declare it.
8190         * emit-rtl.c (remove_unncessary_notes): Call it.
8191         * dwarf2out.c (dwarf2out_ignore_block): New fn.
8192         * dwarf2out.h: Declare it.
8193         * final.c (final_start_function): Don't call remove_unnecessary_notes
8194         if we did insn scheduling.
8196 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
8198         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
8199         * cpplib.h: Delete SET_CPP_PEDANTIC.
8201 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8203         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
8204         result is a RECORD_TYPE.
8206 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
8208         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
8210 2000-03-03  Richard Henderson  <rth@cygnus.com>
8212         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
8213         addition over compliments over shifts.
8215 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8217         * reload1.c (reload_combine_note_use): Handle return register USEs.
8218         REG case: Handle multi-hard-register hard regs.
8220 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8222         * md.texi: Document use of '*' in insn pattern name.
8224 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
8226         * calls.c (special_function_p): operator new may not be malloc-like.
8228         * gcse.c (dump_hash_table): Really fix error in last change.
8230 2000-03-02  Denis Chertykov  <denisc@overta.ru>
8232         * avr.c (print_operand): Use print_operand_address instead of
8233         output_addr_const.
8234         * avr/libgcc.S: Cleanup code.
8236 2000-03-02  Richard Henderson  <rth@cygnus.com>
8238         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
8240 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
8242         * tree.h (TYPE_ALIGN_UNIT): New macro.
8244 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
8246         * i386.c: (constant_call_address_operand): Reject CONST_INT.
8248 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
8250         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
8251         for the buffer.
8252         (SET_CPP_PEDANTIC): New macro.
8253         * cpplib.c (do_include): Don't bother checking system_header_p.
8254         (do_warning, do_ident, do_assert, do_unassert): Likewise.
8255         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
8257         * function.h (struct expr_status): Add x_arg_space_so_far.
8258         (arg_space_so_far): New macro.
8259         * expr.c (init_expr): Initialize it.
8260         * calls.c (emit_call_1): Reset it.
8261         (compute_argument_block_size, expand_call): Use it.
8262         (expand_call, store_one_arg): Increment it.
8264 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8266         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
8267         a UNION_TYPE.
8269 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
8271         * cppfiles.c (cpp_read_file): New function.
8273         * cpphash.c (collect_expansion): Make sure to reset last_token
8274         to NORM when we hit a string.  Handle trailing whitespace
8275         properly when the expansion is empty.
8276         (create_definition): Disable line commands while parsing the
8277         directive line.
8278         (dump_definition): If pfile->lineno == 0, output a line
8279         command ahead of the dump, and add a trailing newline.
8281         * cppinit.c (append_include_chain): Add fifth argument, which
8282         indicates whether or not system headers are C++ aware.
8283         (initialize_standard_includes): New function,
8284         broken out of read_and_prescan.  Pass 'cxx_aware' value from
8285         the include_defaults_array on to append_include_chain.
8286         (dump_special_to_buffer): Const-ify char array.
8287         (builtin_array): Don't dump __BASE_FILE__.
8288         (cpp_start_read): Use cpp_read_file.  Reorder code for
8289         clarity.  Don't output line commands here for -D/-A/-U
8290         switches.  Don't call deps_output for files included with
8291         -include or -imacros.
8293         * cpplib.c (do_define): Don't pay any attention to the second
8294         argument.
8295         (cpp_expand_to_buffer): Disable line commands while scanning.
8296         (output_line_command): Work in the file buffer.
8297         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
8298         Fix formatting of comments.  Prototype cpp_read_file.
8300 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8302         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
8303         reference the language-equivalent of sizetype.
8304         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
8305         * fold-const.c (size_binop, size_diffop): Put back checks.
8306         * gcse.c (dump_hash_table): Fix minor error in last change.
8307         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
8308         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
8309         all sizetypes.
8311 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
8313         * calls.c (expand_call)  Do not attempt to combine stack adjustments
8314         with inhibit_defer_pop set.
8316 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
8318         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
8319         the DECL_SIZE for a FIELD_DECL.
8321 2000-03-01  Bruce Korb  <bkorb@gnu.org>
8323         * fixinc/inclhack.tpl: remove unused symlinks
8324         * fixinc/README: GCC Maintainer info
8325         * fixinc/inclhack.sh: regen
8326         * fixinc/fixincl.sh: regen
8328 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
8330         * cpphash.c (collect_expansion): Trim trailing white space
8331         from macro definitions, but don't go past the last insertion
8332         point.
8334 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
8336         * i386.md (mulqi3): New pattern.
8338 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
8340         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
8341         token types.
8342         (struct cpp_reader): Add parsing_if_directive and
8343         parsing_define_directive flags.
8344         (struct cpp_options): Remove output_conditionals flag.
8345         (check_macro_name): Delete prototype.
8347         * cpphash.h (struct macrodef): Delete.
8348         (struct reflist): Separate from struct definition.
8349         (struct definition): Remove unused fields.  Add column number.
8350         (create_definition): Returns a DEFINITION *.  Takes a
8351         cpp_reader * and an int.
8353         * cpphash.c (SKIP_WHITE_SPACE): Delete.
8354         (PEEKC): Copy defn from cpplib.c.
8355         (rest_extension, REST_EXTENSION_LENGTH): Delete.
8356         (struct arg): New.
8357         (struct arglist): Simplify.
8358         (collect_expansion): Rewrite.  Get tokens by calling
8359         cpp_get_token.  Add more error checking.
8360         (collect_formal_parameters): New function, broken out of
8361         create_definition and reworked to use get_directive_token.
8362         (create_definition): All real work is now in collect_expansion
8363         and collect_formal_parameters.  do_define handles finding the
8364         macro name.  Return a DEFINITION, not a MACRODEF.
8365         (macroexpand): Replace bcopy with memcpy throughout.  Replace
8366         character-at-a-time copy loop with memcpy and pointer increments.
8367         (compare-defs): d1->argnames / d2->argnames might be null.
8369         * cpplib.c (copy_rest_of_line): Delete function.
8370         (skip_rest_of_line): Do all the work ourselves.
8371         (skip_string): New function.
8372         (parse_string): Use skip_string.
8373         (get_macro_name): New function.
8374         (check_macro_name): Delete.
8375         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
8376         (cpp_skip_hspace): Use CPP_BUMP_LINE.
8377         (handle_directive): ICE if we're called on a macro buffer.
8378         (do_define): Determine macro name and type (funlike/objlike)
8379         here.  Expunge all uses of MACRODEF.
8380         (cpp_push_buffer): Set line_base to NULL.
8381         (do_undef, read_line_number): Don't worry about getting a POP token.
8382         (eval_if_expression): Set/reset parsing_if_directive around
8383         cpp_parse_expr. Don't clear only_seen_white.
8384         (skip_if_group): Remove output_conditionals logic.  Use
8385         skip_rest_of_line.
8386         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
8387         tokens under appropriate conditions.
8388         (cpp_unassert): Call do_unassert not do_assert.  Oops.
8390         * cppexp.c (parse_defined): New function, break out of
8391         cpp_lex.
8392         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
8393         ourselves, with cpp_defined.
8394         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
8396         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
8397         * gcc.dg/strpaste-2.c: New.
8399 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
8401         * fold-const.c (size_binop): Don't asert inputs are the same and
8402         have TYPE_IS_SIZETYPE set.
8403         (size_diffop): Likewise.
8405 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
8407         * dwarfout.c (output_block): Output abstract blocks even if they
8408         don't have TREE_ASM_WRITTEN set.
8410         * calls.c (emit_library_call): Check for null REG.
8412 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
8414         * c-decl.c (current_function_decl): Move to toplev.c.
8415         (init_decl_processing): Don't add current_function_decl as a ggc
8416         root here.
8417         * dbxout.c (dbxout_symbol): Change return type to int.
8418         (dbxout_symbol_location, dbxout_syms): Likewise.
8419         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
8420         any locals. Use current_function_func_begin_label if set.
8421         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
8422         * dwarf2out.c (dwarf2out_begin_prologue): Set
8423         current_function_func_begin_label.
8424         * final.c (final_start_function): Reset it.
8425         * toplev.c (current_function_decl): Define it here.
8426         (current_function_func_begin_label): New variable.
8427         (main): Add both as ggc roots.
8428         * tree.h (current_function_func_begin_label): Declare.
8430 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8432         * gcse.c: Cleanups throughout: mostly white-space, but also
8433         some minor rearrangement of code.
8435 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
8437         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
8438         returns a PARALLEL.  Use emit_group_load and use_group_regs
8439         as needed.
8440         (emit_library_call_value): Similarly.
8442         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
8443         * pa/quadlib.asm: Remove.
8444         * pa/quadlib.c: New file.
8446         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
8447         * configure: Rebuilt.
8449 2000-02-29  Philip Blundell  <pb@futuretv.com>
8451         * config/arm/conix-elf.h: New file.
8452         * configure.in (arm*-*-conix*): New configuration.
8453         * configure: Regenerate.
8455 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
8457         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
8458         don't have TREE_ASM_WRITTEN set.
8460 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8462         * Eliminate DECL_FIELD_SIZE.
8463         * builtins.c (built_in_class_names, built_in_names): New variables.
8464         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
8465         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
8466         DECL_SIZE, not DECL_FIELD_SIZE.
8467         * print-tree.c (print_node): Remove code that prints extra blank
8468         lines in some cases.
8469         Properly handle inline and builtin function cases.
8470         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
8471         * tree.h (built_in_class_named, built_in_names): New declarations.
8472         (union tree_decl): Rename internal unions to u1 and u2 and change
8473         some of their components.
8474         Add new field built_in_class.
8475         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
8476         Reflect above changes.
8477         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
8478         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
8479         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
8480         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
8482 2000-02-28  Dmitri Makarov  <dim@windriver.com>
8484         * extend.texi: Document ARM's support for long/short calls.
8486         * invoke.texi: Document ARM's -mlong-calls command line switch.
8488         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
8489         (arm_encode_call_attribute): Add prototype.
8490         (arm_set_default_type_attribute): Add prototype.
8491         (arm_strip_name_encoding): Add prototype.
8493         * config/arm/arm.c (arm_init_cumulative_args): replace
8494         initialisation og 'long_calls' field with initialisation of
8495         'call_cookie' field.
8496         (enum arm_pragma_enum): New enum.
8497         (arm_pragma_long_calls): New static variable.
8498         (arm_process_pragma): Also process "#pragma long_calls_off".
8499         (arm_valid_type_attribute_p): Accept short_call attribute.
8500         (arm_comp_type_attributes): Check long/short call attributes.
8501         (arm_encode_call_attribute):  New function:  Encode long_call
8502         or short_call attribute in function name.
8503         (arm_set_default_type_attributes): New function: Assign
8504         default attributes to newly defined type.
8505         (current_file_function_operand): New function: Return true if
8506         the symbol is a function which has already been compiled.
8507         (arm_is_longcall_p): New function: Return true if the
8508         indicated function should be called via a long call.
8509         (arm_get_strip_length): New function.  Returns number of
8510         prefix characters to be stripped from a function's name.
8511         (arm_strip_name_encoding): New function.  Strip prefix characters
8512         from a function's name.
8514         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
8515         with 'call_cookie'.
8516         (SHORT_CALL_FAG_CHAR): Define.
8517         (LONG_CALL_FAG_CHAR): Define.
8518         (ENCODED_SHORT_CALL_ATTR_P): Define.
8519         (ENCODED_LONG_CALL_ATTR_P): Define.
8520         (ARM_NAME_ENCODING_LENGTHS): Define.
8521         (STRIP_NAME_ENCODING): Define.
8522         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
8523         (ARM_ENCODE_CALL_TYPE): Define.
8524         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
8525         (ARM_DECLARE_FUNCTION_SIZE): Define.
8526         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
8528         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
8529         if a long call is needed.
8530         (call_value): Ditto.
8531         (call_symbol): Ditto.
8533         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
8534         ARM_DECLARE_FUNCTION_SIZE.
8536         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
8537         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
8538         (ARM_STRIP_NAME_ENCODING): Undefine.
8539         (STRIP_NAME_ENCODING): Undefine.
8540         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
8541         (ASM_DECLARE_FUNCTION_NAME): Ditto.
8542         (ASM_OUTPUT_COMMON): Ditto.
8543         (ASM_DECLARE_OBJECT_NAME): Ditto.
8545         * config/arm/pe.c (arm_dllexport_name_p): Check for
8546         ARM_PE_FLAG_CHAR.
8547         (arm_dllimport_name_p): Ditto.
8548         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
8549         (arm_mark_dllimport): Ditto.
8551 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8553         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
8555 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
8557         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
8559 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
8561         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
8562         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
8563         NO_BUILTIN_WCHAR_TYPE is not defined.
8564         (CPP_WCHAR_TYPE): Delete.
8565         * cccp.c (main): Don't change wchar_type if cplusplus.
8566         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
8568 2000-02-28  Nick Clifton  <nickc@cygnus.com>
8570         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
8572 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
8574         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
8575         (ASM_WEAKEN_LABEL): Define.
8577 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
8579         * expr.c (store_constructor): Do not emit USE.
8580         * rtl.h (stupid_life_analysis): Remove.
8582 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8584         * function.c (number_blocks): Reset next_block_index based on
8585         what debugging format is used, not what is defined.
8587         * lcm.c: Minor reformatting throughout.
8588         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
8590         * toplev.c (rest_of_compilation): Account for time in
8591         optimize_mode_switching.
8593         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
8594         if only marking labels.
8596 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
8598         * calls.c (expand_call): Attempt to combine stack adjustments with
8599         pending stack adjustments.
8601 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8603         * loop.c (reg_in_basic_block_p): Don't abort when falling through
8604         to the end of the function.
8606 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
8608         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
8609         blocks.
8610         * final.c (next_block_index): Remove.
8611         (max_block_depth): Likewise.
8612         (pending_blocks): Likewise.
8613         (init_final): Don't initialize them.
8614         (final_start_function): Don't set next_block_index.  Set up
8615         BLOCK_NUMBER.
8616         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
8617         * function.h (number_blocks): New function.
8618         * function.c (get_block_vector): New function.
8619         (identify_blocks): Use it.
8620         (reorder_blocks): Set NOTE_BLOCK.
8621         (number_blocks): New function.
8622         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
8623         * tree.h (BLOCK_NUMBER): New macro.
8624         (tree_block): Add block_num field.
8625         * dbxout.c (next_block_number): Remove.
8626         (dbxout_init): Don't set it.
8627         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
8628         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
8629         block numbers.
8630         * toplev.c (rest_of_compilation): Always call
8631         find_loop_tree_blocks.  Fix indentation.
8632         * dwarf2out.c (next_block_number): Remove.
8633         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
8634         to determine block numbers.
8635         (gen_inlined_subroutine_die): Likewise.
8636         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
8637         (decls_for_scope): Don't increment next_block_number.
8638         * dwarfout.c (next_block_number): Remove.
8639         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
8640         to determine block numbers.
8641         (output_inlined_subroutine_die): Likewise.
8642         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
8643         (output_decls_for_scope): Don't increment next_block_number.
8644         * sdbout.c (next_block_number): Remove.
8645         (sdbout_block): Use BLOCK_NUMBER.
8646         (sdbout_begin_block): Simplify.
8647         * xcoffout.c (next_block_number): Remove.
8648         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
8649         (xcoffout_begin_block): Don't set next_block_number.
8650         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
8651         next_block_number.
8653 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8655         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
8656         (expand_builtin_strcpy): Pass correct type to size_binop.
8657         (expand_builtin_strcmp): Likewise.
8658         Clean up conditional structure.
8659         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
8660         (complete_array_type): Don't use size_binop for MAXINDEX.
8661         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
8662         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
8663         (c_alignof): Use size_one_node.
8664         (build_unary_op): Pass arg of proper type to size_binop.
8665         (really_start_incremental_init, push_init_level): Use sizetype for
8666         constructor{,_bit,_unfilled}_index.
8667         (pop_init_label, output_init_element): Likewise.
8668         (output_pending_init_elements, process_init_element): Likewise.
8669         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
8670         * expr.c (store_expr): Use size_int.
8671         (store_constructor): Use proper types for size_binop args.
8672         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
8673         (expand_expr_unaligned): Likewise.
8674         (string_contant): Return object of sizetype.
8675         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
8676         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
8677         (ARGS_SIZE_TREE): Pass proper types to size_binop.
8678         * fold-const.c (int_const_binop): Refine when size_int is called.
8679         (fold_convert): Likewise.
8680         (size_int_wide): Rework to take KIND as arg, only take low order
8681         bits, handle new sizetype_tab datatype, and chain entries in
8682         size_table.
8683         (size_int_type_wide): New function.
8684         (size_binop): Validate types of arguments.
8685         (ssize_binop): Deleted.
8686         (size_diffop): New function.
8687         (extract_muldiv): Only fold division into multiplication for sizetypes.
8688         * function.c (assign_parms): Use size_diffop and make sure
8689         VAR field is of ssizetype; also pass proper type to size_binop.
8690         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
8691         (round_down): Deleted from here.
8692         * store-layout.c (sizetype_tab): Now an array.
8693         (sizetype_set, early_root_list): New variables.
8694         (variable_size): Use size_one_node.
8695         (round_up): Pass proper type to size_binop.
8696         (round_down): Moved to here and corrected as above.
8697         (layout_record): Pass proper arg types to size_binop.
8698         (layout_type): Likewise.
8699         If sizetype_set is zero, record the type just laid out.
8700         (make_unsigned_type): Don't call set_sizetype;
8701         (make_signed_type): Likewise; also, call fixup_signed_type.
8702         (initialize_sizetypes): New function.
8703         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
8704         set name of bitsizetype to "bit_size_type".
8705         Fix up type of sizes of all types made before call.
8706         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
8707         * tree.c (fix_sizetype): Deleted.
8708         (build_common_tree_nodes): Call initialize_sizetypes.
8709         (build_common_tree_nodes_2): Don't call fix_sizetype.
8710         * tree.h (TYPE_IS_SIZETYPE): New macro.
8711         (initialize_sizetype): New declaration.
8712         (enum size_type_kind): New type.
8713         (struct sizetype_tab): Deleted.
8714         (sizetype_tab): Now array; adjust sizetype macros.
8715         (size_diffop, size_int_type_wide): New functions.
8716         (size_int_wide): Change number of args and type; access macros changed.
8717         (ssize_int, sbitsize_int): New macros.
8718         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
8719         (ROUND_TYPE_SIZE_UNIT): New macro.
8721 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
8723         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
8725 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8727         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
8728         Mark as possibly unused.
8730         * cse.c (cse_insn): Delete dead code involving tablejump.
8731         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
8733         * Makefile.in (libcpp.a): Start by deleting it.
8735 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8737         * cpplib.h (enum file_change_code): Added rename_file.
8738         * cpplib.c (do_line): If a filename is given, set file_change to
8739         rename_file.
8740         (output_line_command): If file_change is rename_file, always
8741         output a # directive with the file name.
8743         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
8745 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
8747         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
8748         when copying a PARM_DECL or RESULT_DECL.
8750 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8752         * fix-header.c (recognized_function): Also fix prototypes for
8753         functions taking "void".
8755 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
8757         * reload1.c (do_output_reload): Check reg_reloaded_valid before
8758         looking at reg_reloaded_contents.
8760 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
8762         * Makefile.in (STMP_FIXINC): New toggle.
8763         (LIBGCC2_DEPS): Delete all references.
8764         (stmp-headers): Delete target.  All references either deleted
8765         or changed to stmp-int-headers.
8766         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
8767         (LIBCPP_OBJS): Take out cppalloc.o.
8768         (cppalloc.o): Delete target.
8769         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
8770         (gen-protos, fix-header): Link with libiberty.a.
8771         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
8772         to empty.
8774         * configure.in: Remove refs to strerror.
8775         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
8776         * system.h: Take out strerror stanza.
8778         * cpperror.c (my_strerror): Delete function.
8779         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
8780         * cppmain.c (main): Call xmalloc_set_program_name first thing.
8781         * cppalloc.c: Delete file.
8782         * gen-protos.c: Don't provide xrealloc.
8784         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
8785         xstrerror throughout.
8787 2000-02-26  Bruce Korb  <bkorb@gnu.org>
8789         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
8790         match for DOS headers, too.
8791         * fixinc/inclhack.sh,fixincl.x: Regenerate.
8793 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
8795         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
8796         is right for most ELF targets.
8797         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
8798         Let the default file use %U properly.
8799         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
8800         default.
8802         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
8803         numbers.
8805 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8807         * toplev.c (documented_lang_options): Correct spelling error.
8808         (decode_d_option, decode_f_option, main): Likewise.
8810         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
8812         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
8813         to tell assembler it is permitted to expand large constants.
8815 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
8817         * protoize.c: (AUX_INFO_SUFFIX): New macro.
8818         (aux_info_suffix): Use.
8819         (SAVE_SUFFIX): New macro.
8820         (save_suffix): Use.
8821         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
8822         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
8823         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
8825         * invoke.texi (Running Protoize): Update documentation.
8827 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
8829         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
8831 2000-02-25  John Wehle  (john@feith.com)
8833         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
8835 2000-02-25  Anthony Green  <green@cygnus.com>
8837         * toplev.c (rest_of_compilation): Rebuild jump labels if
8838         combine_instructions has created a new direct jump.
8839         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
8840         when appropriate.
8841         (combine_instructions): Call try_combine with new argument.
8842         Return non-null value when new direct jump instruction is created.
8843         * rtl.h: combine_instructions returns an int.
8845 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
8847         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
8848         jump when changing a computed jump into a jump to a known
8849         target.
8851 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
8853         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
8854         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
8856         * i386.md (define_expand "clrstrsi"): Fix typo.
8858 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
8860         * rtl.texi: Fix typo.
8862 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8864         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
8865         UNITS_PER_WORD.  Change caller initial_elimination_offset.
8866         (rounded_frame_size): Take into account that argument pushed has
8867         changed.  Fix TARGET_ALIGN_DOUBLE problem.
8869 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
8871         * haifa-sched.c (schedule_block): Explain the real reason
8872         we delete REG_SAVE_NOTEs on the first insn of a block.
8873         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
8875 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
8877         * input.h (push_srcloc): New function.
8878         (pop_srcloc): Likewise.
8879         * toplev.c (push_srcloc): Define it.
8880         (pop_srcloc): Likewise.
8882 2000-02-24  Richard Henderson  <rth@cygnus.com>
8884         * flow.c (life_analysis): When collecting reg info, clear
8885         regs_ever_live.
8887 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8889         Fix bug exposed by reload.c no longer rounding the frame
8890         size to BIGGEST_ALIGNMENT:
8891         * sh.c (rounded_frame_size): New function.
8892         (sh_expand_prologue, sh_expand_epilogue): Use it.
8893         (initial_elimination_offset): Likewise.
8895 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8897         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
8898         * sh-protos.h (sh_need_epilogue): Declare.
8899         * sh.c (sh_need_epilogue_known): New static variable.
8900         (sh_need_epilogue): New function.
8901         (function_epilogue): Clear need_epilogue_known.
8902         * sh.md (return): Split into expander / insn pattern.
8903         Make the expander conditional on ! sh_need_epilogue ().
8905 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
8907         * machmode.h (get_mode_alignment): Declare.
8908         (GET_MODE_ALIGNMENT): Call it.
8909         * stor-layout.c (get_mode_alignment): New function. Make
8910         sure alignment is always power of 2.
8912 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
8914         * i386.h: Remove useless definition of "I386" and misleading
8915         comment above it.
8917 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
8919         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
8920         under which TREE_PERMANENT will be set.
8921         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
8922         build1): Use TREE_SET_PERMANENT.
8923         * print-tree.c (print_node): Don't report value of
8924         TREE_PERMANENT if ggc_p is true.
8926         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
8927         decide whether to give a type a new alias set.
8928         * objc/objc-act.c (build_objc_string_object): Never copy the string.
8929         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
8930         of value of 'obstack'.
8933 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8935         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
8937 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8939         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
8940         * cpplib.c (cpp_get_token): Produce them.
8941         * cppexp.c (cpp_lex): Handle them.
8943 2000-02-23  Nick Clifton  <nickc@cygnus.com>
8945         * config/arm/arm.c (arm_comp_type_attributes): Simply and
8946         comment tests on type attributes.
8948 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8950         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
8951         conform to documentation.
8952         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
8953         to check for special cases.
8954         * sh-protos.h (sh_loop_align): Declare.
8955         * sh.c (sh_loop_align): Define.
8957 2000-02-22  Andrew Haley  <aph@cygnus.com>
8959         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
8960         (SIZE_TYPE): Is 32 bits when using -mgp32.
8961         (PTRDIFF_TYPE): Ditto.
8963 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8965         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
8967 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
8969         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
8970         BIGGEST_FIELD_ALIGNMENT a constant.
8972 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
8974         * dwarf2out.c (output_line_info): Put the marker for the end of
8975         the line number info at the actual end.
8976         (gen_struct_or_union_type_die): Use decl_function_context
8977         to check for local classes.
8978         * dwarfout.c (output_type): Likewise.
8980 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
8982         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
8983         for arguments with a mode, but no type.
8984         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
8985         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
8986         * pa/long_double.h: New file.
8987         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
8988         both have 128bit wide long doubles.
8989         * configure: Rebuilt.
8991 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8993         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
8995         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
8996         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
8997         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
8999         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
9001         * integrate.c (compare_blocks, find_block): Likewise.
9003         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
9005         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
9007         * stmt.c (stmt_status, set_file_and_line_for_stmt,
9008         expand_asm_operands): Likewise.
9010 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
9012         * predict.c (estimate_probability): Added the pointer heuristic to
9013         the collection of static branch predictors.
9015 2000-02-21  Catherine Moore  <clm@cygnus.com>
9017         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
9018         * invoke.texi (-mfix7000): Document.
9020 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
9022         * diagnostic.c (init_output_buffer): Make it possible to output at
9023         least 32 characters if we're given a too long prefix.
9025 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
9027         * varasm.c (initializer_constant_valid_p): Call
9028         lang_expand_constant to simplify the constant.
9030 2000-02-20  Bruce Korb  <bkorb@gnu.org>
9032         * fixinc/inclhack.def(stdio_va_list):
9033         typedef needs to be disabled.
9034         * fixinc/inclhack.sh: regen
9035         * fixinc/fixincl.x: regen
9037 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
9039         * print-rtl.c (print_rtx): Don't print addresses when
9040         flag_dump_unnumbered.
9042 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9044         * sparc.c (sparc_output_scratch_registers): Mark parameter with
9045         ATTRIBUTE_UNUSED.
9046         (sparc_va_arg, sparc_flat_output_function_prologue,
9047         sparc_flat_output_function_epilogue): Cast value to unsigned in
9048         comparison.
9049         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
9051         * sparc.md: Add default case in switch.
9053 2000-02-19  Richard Henderson  <rth@cygnus.com>
9055         * c-typeck.c (add_pending_init): Don't abort for multiple
9056         fields at the same offset.
9057         (pending_init_member): Test the correct member.
9059 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9061         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
9062         instead of SImode.
9063         (start_catch_handler) : Same.
9065 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
9067         * Makefile.in: Have flow.o depend on $(EXPR_H)
9069 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9071         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
9072         * c-decl.c (duplicate_decls, finish_enum): Likewise.
9073         (finish_decl): Remove -Wlarger-than code from here.
9074         * flags.h (id_clash_len): Now int.
9075         (larger_than_size): Now HOST_WIDE_INT.
9076         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
9077         Clean up checking to see if in table.
9078         (make_bit_field_ref): Remove extra parm to bitsize_int.
9079         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
9080         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
9081         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
9082         and for computing size of decl.
9083         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
9084         Move -Wlarger-than code to here.
9085         (layout_record): Remove extra arg to bitsize_int.
9086         Set TYPE_BINFO_SIZE_UNIT.
9087         (layout_union): Remove extra arg to bitsize_int.
9088         Use proper type for size of QUAL_UNION.
9089         (layout_type): Remove extra arg to bitsize_int.
9090         * toplev.c (id_clash_len): Now int.
9091         (larger_than_size): Now HOST_WIDE_INT.
9092         (decode_W_option): Clean up id-clash and larger-than- cases.
9093         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
9094         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
9095         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
9096         (struct tree_decl): New field size_unit.
9097         (size_int_wide): No HIGH operand; NUMBER is now signed.
9098         (size_int_2): Deleted.
9099         (size_int, bitsize_int): Don't use it and rework args.
9100         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
9102 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
9104         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
9106 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
9108         * invoke.texi (Warning Options): Add an explanation of why
9109         you might want the -Wfloat-equal flag.
9111 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9113         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
9114         * cppinit.c (new_pending_define): Add cast to avoid warning.
9115         * expmed.c (extract_bit_field): Likewise.
9116         * flow.c (enum reorder_skip_type): New type.
9117         (skip_insns_between_blcok): New it.
9118         Rework to avoid warning about possibly undefined variable.
9119         * function.c (assign_parms): Make thisparm_boundary unsigned.
9120         * genrecog.c (write_switch): Cast XWINT result to int.
9121         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
9122         * mips-tfile.c (init_file): Make two versions of FDR intializer:
9123         one for MIPS and one for Alpha.
9124         (get_tag, copy_object): Add casts to avoid warnings.
9125         * optabs.c (init_one_libfunc): Cast NAME to (char *).
9126         * reload.c (find_reloads): Make TYPE enum reload_type.
9127         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
9128         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
9129         * varasm.c (compare_constant_1): Add cast to avoid warning.
9130         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
9131         to (char *).
9132         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
9133         Cast switch operand of size to int.
9134         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
9135         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
9136         in unhandled case.
9138 2000-02-18  Nick Clifton  <nickc@cygnus.com>
9140         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
9141         anything for an alignment of zero.
9143         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
9144         anything for an alignment of zero.
9146 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
9148         * gcc.texi (Bug Reporting): Refer to bugs.html.
9149         (Bug Lists): Likewise.
9150         * system.h (GCCBUGURL): New preprocessor define.
9151         * rtl.c (fancy_abort): Use it.
9152         * gcc.c (main): Likewise.
9154 2000-02-18  Richard Henderson  <rth@cygnus.com>
9156         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
9157         (life_analysis_1): Subsume into ...
9158         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
9159         Use update_life_info for the relaxation.
9160         (update_life_info): Update REG_BASIC_BLOCK for registers live on
9161         entry and regs_live_at_setjmp.
9162         (set_noop_p): Simplify.
9163         (notice_stack_pointer_modification_1): Renamed from s/_1//.
9164         (record_volatile_insns): Split into ...
9165         (delete_noop_moves): ... here,
9166         (notice_stack_pointer_modification): ... here,
9167         (insn_dead_p): ... and here.
9168         (propagate_block): Don't query INSN_VOLATILE.
9169         (mark_used_regs): Mind !PROP_REG_INFO.
9170         * toplev.c (rest_of_compilation): Call mark_constant_function here,
9171         not in life_analysis.
9173 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
9175         * loop.c (canonicalize_condition): New function,
9176         broken out of get_condition.
9177         (get_condition): Use it.
9178         * expr.h (canonicalize_condition): Prototype it.
9180         * tree.h (tree_int_cst_msb): Declare.
9181         * tree.c (tree_int_cst_msb): New function.
9183 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
9185         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
9186         isn't set.
9188         * invoke.texi (-fmessage-length=n): Document.
9190 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
9192         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
9194 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
9196         * function.c (thread_prologue_and_epilogue_insns): Put a line note
9197         after the prologue.
9199 2000-02-17  Nick Clifton  <nickc@cygnus.com>
9201         * config/arm/thumb.c: Replace includes of system headers with
9202         #include "system.h".
9204 2000-02-16  Richard Henderson  <rth@cygnus.com>
9206         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
9207         Add crtbeginS.o and crtendS.o.
9208         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
9209         (ENDFILE_SPEC): Use crtendS.o.
9210         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
9212         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
9213         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
9214         shared and present.
9215         (__dso_handle): New variable.
9216         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
9217         bias to __CTOR_END__.
9219 2000-02-16  Richard Henderson  <rth@cygnus.com>
9221         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
9223 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9225         * longlong.h (__clz_tab): Declare as static to match definition.
9227 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
9228         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
9229         (XREF_FILE_NAME): Define.
9231         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
9232         (EH_FRAME_SECTION_ASM_OP): Define.
9233         (IDENT_ASM_OP): Define.
9234         (TEXT_SECTION_ASM_OP): Define.
9235         (CPP_SPEC): Define.
9236         (CTORS_SECTION_ASM_OP): Define.
9237         (CTOR_SECTION_FUNCTION): Use it.
9238         (DTORS_SECTION_ASM_OP): Define.
9239         (DTOR_SECTION_FUNCTION): Use it.
9241 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
9243         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
9244         NOTE_BASIC_BLOCK.
9246         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
9247         debug_bb_n): New functions.
9248         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
9249         * basic-block.h: Prototype new functions.
9251 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
9253         * configure.in: Add support for avr target.
9254         * configure: Rebuilt.
9256         * invoke.texi: Add AVR invocation docs.
9257         * install.texi: Add information about AVR.
9258         * md.texi: Add AVR constraint letters description.
9259         * extend.texi: Add description for AVR specific attributes.
9261 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
9263         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
9265 2000-02-16  Nick Clifton  <nickc@cygnus.com>
9267         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
9268         (make_insn_raw): Move RTL check here.
9270 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9272         * version.c: Include gansidecl.h and version.h.
9274         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
9276         * configure.in (gcc_version): When setting, narrow search to
9277         lines containing `version_string'.
9279         * Makefile.in (mainversion): Likewise.
9280         (GCC_H): New variable.
9281         (gcc.h): Delete target.
9282         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
9283         (version.o): Depend on version.h.
9284         (dbxout.o): Don't depend on gcc.h.
9286 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9287                           Michael Meissner  <meissner@cygnus.com>
9289         * md.texi (Simple Constraints): Add item about whitespace.
9290         * genoutput.c (strip_whitespace): New.
9291         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
9292         strip_whitespace for constraints.
9293         Test pointer using NULL, not 0.
9295 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9297         * cpplib.c (do_line): Pedwarn for #line > 32767.
9299         * c-lex.c (readescape): Warn about '\x', but do not reject it.
9301 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
9303         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
9304         to default cpp spec.
9305         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
9306         * cpp.texi: Document __GNUC_PATCHLEVEL__.
9307         * cpp.1: Likewise.
9309         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
9310         default spec.
9312 2000-02-15  Denis Chertykov  <denisc@overta.ru>
9314         * configure.in: Add support for avr target.
9316 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9318         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
9319         (sh_addr_diff_vec_mode): Don't declare.
9320         * sh.c (sh_addr_diff_vec_mode): Delete.
9322 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9324         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
9326 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9328         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
9329         (smulsi3_highpart_i): Name.
9330         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
9331         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
9332         (smulsi3_highpart, umulsi3_highpart): Likewise.
9334         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
9335         correctly independent of endianness.
9336         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
9337         confuse the optimizers.
9338         (mulsidi3+1, umulsidi3+1): New define_split.
9340 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
9342         * config/sh/sh.md: Guard insn splits against illegal registers.
9343         * config/sh/sh.h: Correct comment about macros.
9345 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9346                           Andrew MacLeod  <amacleod@cygnus.com>
9348         * Makefile.in (lcm.o): Depend on insn-attr.h.
9349         * basic-block.h (optimize_mode_switching): Declare.
9350         * lcm.c (tm_p.h, insn-attr.h): #include.
9351         (seginfo, bb_info): New structs.
9352         (antic, transp, comp, delete, insert) : New file-scope static variables.
9353         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
9354         (reg_becomes_live, optimize_mode_switching): Likewise.
9355         * tm.texi: Add description of mode switching macros.
9356         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
9358         * sh-protos.h (remove_dead_before_cse): Remove prototype.
9359         (fldi_ok, fpscr_set_from_mem): New prototypes.
9360         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
9361         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
9362         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
9363         (sh_flag_remove_dead_before_cse): Remove declaration.
9364         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
9365         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
9366         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
9367         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
9368         (barrier_align): Allow for JUMP_INSNS containing a parallel.
9369         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
9370         (fldi_ok): New function.
9371         (get_fpscr_rtx): Add fpscr_rtx as GC root.
9372         (emit_sf_insn): Only generate fpu switches when optimize < 1.
9373         (emit_df_insn): Likewise.
9374         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
9375         (sh_flag_remove_dead_before_cse): Delete.
9376         (get_free_reg, fpscr_set_from_mem): New functions.
9377         * sh.md (movdf, movsf): Remove no_new_pseudos code.
9378         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
9380 2000-02-15  Loren Rittle  <ljrittle@acm.org>
9382         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
9384 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9386         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
9387         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
9389         * cccp.c: Include version.h and/or don't declare `version_string'.
9390         * collect2.c: Likewise.
9391         * alpha.c: Likewise.
9392         * arm/aof.h: Likewise.
9393         * arm/coff.h: Likewise.
9394         * arm/elf.h: Likewise.
9395         * arm/pe.h: Likewise.
9396         * arm/tcoff.h: Likewise.
9397         * arm/telf.h: Likewise.
9398         * arm/tpe.h: Likewise.
9399         * arm/vxarm.h: Likewise.
9400         * convex/convex.c: Likewise.
9401         * i386/dgux.c: Likewise.
9402         * i386/sun386.h: Likewise.
9403         * m88k/m88k.c: Likewise.
9404         * mcore/mcore-pe.h: Likewise.
9405         * mips/mips.h: Likewise.
9406         * romp/romp.h: Likewise.
9407         * sh/sh.c: Likewise.
9408         * cpphash.c: Likewise.
9409         * cppinit.c: Likewise.
9410         * dwarf2out.c: Likewise.
9411         * dwarfout.c: Likewise.
9412         * gcc.c: Likewise.
9413         * gcc.h: Likewise.
9414         * mips-tfile.c: Likewise.
9415         * protoize.c: Likewise.
9416         * toplev.c: Likewise.
9417         * tree.h: Likewise.
9419         * version.c (version_string): Constify a char*.
9421         * version.h: New file.
9423 2000-02-14  Nick Clifton  <nickc@cygnus.com>
9425         * configure.in: Add mcore-elf and mcore-pe targets.
9426         * configure: Regenerate.
9428         * NEWS: Add note that MCore port has been contributed.
9430         * invoke.texi: Document command line switches for MCore port.
9431         * install.texi: Add MCore to list of supported targets.
9433 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
9435         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
9436         then we will need to import the frame handling functions.
9437         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
9438         to import the frames themselves.
9440 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
9441                           Jason Eckhardt  <jle@cygnus.com>
9443         * basic_block.h: Added prototype for reorder_basic_blocks.
9444         * toplev.c: Changes to add -freorder-blocks and graph dump after
9445         block reordering is done.
9446         * flow.c (reorder_block_def): New structure for use during block
9447         reordering.
9448         (REORDER_BLOCK_*): New macros to access members of above structure.
9449         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
9450         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
9451         functions for block reordering.
9453 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9455         * gcc.texi (Passes): Fix typo.
9456         * md.texi (Standard Names): Ditto.
9457         * tm.texi (Storage Layout): Ditto.
9459 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
9461         * cpplib.c (do_define): Only free the old definition if it
9462         actually had one.
9464 2000-02-13   Neil Booth  <NeilB@earthling.net>
9466         * cppfiles.c (read_and_prescan): When emitting deferred
9467         newlines, test speccase[] again instead of checking each
9468         possible whitespace character in turn.  When we encounter \r,
9469         look behind for \n first, then ahead.
9471 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
9473         * cse.c (cse_altered): New internal flag.
9474         (cse_insn): Set it if we changed an insn.
9475         (cse_main): Clear cse_altered before each basic block.
9476         Only garbage collect if cse_altered is true afterward.
9478 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9480         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
9482 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
9484         * combine.c (simplify_comparison): Fix typo.
9486 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
9488         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
9489         consistently.
9491 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9493         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
9494         previously inserted node instead of root node.  Caller changed.
9496 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9498         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
9500 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9502         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
9503         __dereg_frame_dtor): Add prototype argument.
9505         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
9507         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
9509         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
9511         * gthr-vxworks.h (__gthread_once): Likewise.
9513         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
9515 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
9517         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
9518         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
9519         stack pointer in functions w/o saved registers, output LEAVE more often
9520         on TARGET_USE_LEAVE machines.
9522 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
9524         * config/arm/arm.c (arm_init_cumulative_args); New function:
9525         Initlaise the CUMULATIE_ARGS strcuture for a function
9526         defintion.
9527         (arm_function_arg): New function: Determine where to place a
9528         function's argument.  Also handles deciding the function's
9529         call cookie.
9530         (current_file_function_operand): New function: Return true if
9531         the symbol is a function which has already been compiled.
9532         (arm_is_long_call_p): New function: Return true if the
9533         indicated function should be called via a long call.
9534         (arm_valid_type_attribute_p): New function: Return true if the
9535         attribute is a valid, arm specific, attribute.
9536         (arm_comp_type_attribute): New function: Return true if the
9537         two types have compatable, arm specific, attributes.
9539         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
9540         structure.
9541         (FUNCTION_ARG): Redefine to call arm_function_arg.
9542         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
9543         structure field.
9544         (INIT_CUMULATIVE_ARGS): Redefine to call
9545         arm_init_cumulative_args.
9546         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
9547         field.
9548         (SETUP_INCOMING_VARARGS): Redefine to use correct structure
9549         field.
9550         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
9551         functions.
9552         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
9553         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
9554         (COMP_TYPE_ATTRIBUTES): Define.
9556         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
9557         if a long call is needed.
9558         (call_value): Call arm_is_long_call_p to decide if a long call
9559         is needed.
9560         (call_symbol): Call arm_is_long_call_p to decide if a long call
9561         is needed.
9563         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
9565 2000-02-11  Denis Chertykov  <denisc@overta.ru>
9567         * README.AVR: New file with information about the avr ports.
9568         * config/avr: New directory with avr port files.
9570 2000-02-11  Andreas Jaeger  <aj@suse.de>
9572         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
9574 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
9576         * cpphash.c: Fix formatting, update commentary.
9577         (dump_definition): Take three separate arguments instead of a
9578         MACRODEF structure argument.
9579         * cpphash.h: Update prototype of dump_definition.
9580         * cppinit.c (cpp_finish): Update call of dump_definition.
9582         * cpplib.c (do_define): Always create new hash entry with
9583         T_MACRO type.  Remove redundant check for redefinition of
9584         poisoned identifier.  Update call of dump_definition.
9585         (do_undef): Don't call check_macro_name.  Rename sym_length to
9586         len.
9587         (do_error, do_warning): Don't use copy_rest_of_line or
9588         SKIP_WHITE_SPACE.
9589         (do_warning): Don't use pedwarn for the actual warning,
9590         only the notice about its not being in the standard.  (Fixes
9591         bug with #warning in system headers.)
9592         (do_ident): Stricter argument checking - accept only a single
9593         string after #ident.  Also, macro-expand the line.
9594         (do_xifdef): Use cpp_defined.  De-obfuscate.
9596         (do_pragma): Split out specific pragma handling to separate
9597         functions.  Use get_directive_token.  Update commentary.  Do
9598         not pass on #pragma once or #pragma poison to the front end.
9599         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
9600         do_pragma_default): New.
9602 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
9604         * jump.c (jump_optimize_1): The first operand in a relational
9605         can be a CONST_INT.
9606         * optabs.c (emit_conditional_move): Handle relationals which
9607         have a known true/false result.
9609 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
9611         * function.c (thread_prologue_and_epilogue_insns): Don't insert
9612         a RETURN insn into a block which already ends with a jump.
9614 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
9616         * haifa-sched.c (BUF_LEN): Increase a lot.
9618 2000-02-11  Nick Clifton  <nickc@cygnus.com>
9620         * configure.in: Add tm_p_file specification for thumb targets.
9621         * configure: Regenerate.
9623         * config/arm/thumb-protos.h: New file: Prototypes for exported
9624         functions defined in thumb.c.
9626 2000-02-11  Robert Lipe  <robertl@sco.com>
9628         * Makefile.in (bootstrap-lean): Remove additional files.
9629         (bootstrap2-lean): Likewise.
9630         (VOL_FILES): List of files for above.
9632 2000-02-11  Nathan Sidwell  <nathan@acm.org>
9634         * cpphash.c (special_symbol): Remove spurious argument to
9635         cpp_lookup.
9637 2000-02-11  Joel Sherrill (joel@OARcorp.com>
9639         * configure.in: (i*86-*-rtems*): Swapped elf and coff
9640         stanzas.
9641         * configure: Rebuilt.
9643 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
9645         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
9647 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
9649         * pa.c, pa.h: Remove trigraph sequences within comments.
9651 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
9653         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
9655 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
9657         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
9659 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9661         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
9663 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9665         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
9666         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
9667         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
9668         (ASM_FILE_END): Use c4x_file_end.
9669         * config/c4x/c4x.c (c4x_global_label): New function.
9670         (c4x_external_ref, c4x_file_end): Likewise.
9672         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
9673         (c4x_external_ref, c4x_end_file): Likewise.
9675 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
9677         * cppexp.c: Don't include cpphash.h.
9678         (parse_charconst, cpp_lex): Use cpp_defined.
9679         (cpp_lex): Use get_directive_token throughout.  Remove
9680         unnecessary cases from switch.  Move assertion-handling code
9681         down to OTHER case.
9682         (cpp_parse_expr): If we see '+' or '-', check the context to
9683         determine if they are unary or binary operators.  Streamline
9684         the jumps a bit.  Do not call skip_rest_of_line.
9686         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
9687         static.  Export get_directive_token.  Update commentary.
9688         (cpp_defined): New function.
9689         (do_define): Remove reference to T_PCSTRING.  Call
9690         free_definition to release memory for old definition, when
9691         redefining a macro.
9692         (eval_if_expression): Set only_seen_white to 0 before calling
9693         cpp_parse_expr.  Call skip_rest_of_line after it returns.
9694         (cpp_read_check_assertion): Don't preserve a pointer into the
9695         token buffer across a call to cpp_get_token.
9697         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
9698         * cppfiles.c (redundant_include_p): Use cpp_defined.
9699         * cpphash.c (free_definition): New function.
9700         (delete_macro): Use it.  Update commentary.
9701         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
9702         free_definition.
9703         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
9704         from enum node_type.  Prototype cpp_defined and get_directive_token.
9705         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
9707         * fix-header.c (check_macro_names): Use cpp_defined.
9708         (read_scan_file): Set inhibit_warnings and inhibit_errors in
9709         the options structure.
9711 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9713         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
9715 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
9717         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
9718         rather than die->die_tag.
9720 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9722         * combine.c (make_extraction, force_to_mode): Avoid warning on
9723         mixed-signedness conditionals.
9724         (make_field_assignment, nonzero_bits): Likewise.
9725         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
9726         (store_split_bit_field, extract_split_bit_field): Likewise.
9727         (extract_fixed_bit_field, store_bit_field,
9728         * expr.c: Change alignment to be unsigned everywhere.
9729         (move_by_pieces, store_constructor_field, store_constructor):
9730         Alignment parm is unsigned.
9731         (emit_block_move, emit_group_load, emit_group_store): Likewise.
9732         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
9733         (do_compare_rtx_and_jump): Likewise.
9734         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
9735         Compare align with GET_MODE_ALIGNMENT.
9736         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
9737         (get_inner_reference): Likewise.
9738         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
9739         (expand_assignment): Local vars for alignment now unsigned.
9740         (store_constructor, store_field, expand_expr, do_jump): Likewise.
9741         (do_compare_and_jump): Likewise.
9742         (store_field): Call new function expr_align.
9743         * expr.h (emit_block_move, emit_group_load, emit_group_store):
9744         Alignment arg now unsigned.
9745         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
9746         (do_compare_rtx_and_jump, store_bit_field): Likewise.
9747         (extract_bit_field): Likewise.
9748         * fold-const.c (add_double): Add cast to eliminate signedness warning.
9749         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
9750         (get_best_mode): Alignment arg is unsigned.
9751         * rtl.h (move_by_pieces): Likewise.
9752         * store-layout.c (maximum_field_alignment, set_alignment):
9753         Now unsigned.
9754         (layout_decl): Alignment arg is now unsigned.
9755         Remove unneeded casts.
9756         (layout_record, layout_union, layout_type): Remove unneeded casts.
9757         Local alignment variables now unsigned.
9758         (get_best_mode): Alignment arg now unsigned.
9759         * tree.c (expr_align): New function.
9760         * tree.h (expr_align): Likewise.
9761         (maximum_field_alignment, set_alignment): Now unsigned.
9762         (get_inner_reference): Alignment argument is now pointer to unsigned.
9763         * varasm.c (assemble_variable): Add cast to eliminate warning.
9765 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
9767         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
9768         then store directly into op0.
9770         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
9771         the CALL_INSN, and emit the note immediately after it.
9773 2000-02-10  Nick Clifton  <nickc@cygnus.com>
9775         * config/arm/thumb.md (epilogue): Include a (return) in the
9776         generated insn, and emit it using emit_jump_insn not
9777         emit_insn.
9779 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
9781         * function.c (assign_temp): Change zero-sized arrays to size 1.
9782         * integrate.c (expand_inline_function): Do not update
9783         stack_alignment_needed
9784         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
9785         add some sanity checking, remove optimization for function with
9786         zero frame size.
9788 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9790         * flow.c (mark_regs_live_at_end): Delete unused variables.
9792         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
9794         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
9795         in macro FRAME_GROWS_DOWNWARD.
9797         * stmt.c (expand_end_bindings): Delete unused variable.
9799         * unroll.c (iteration_info): Mark parameter `loop' with
9800         ATTRIBUTE_UNUSED.
9802 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9804         * fixinc/server.c (load_data): Return NULL if the marker line is
9805         not found.
9806         (run_shell): If load_data returns NULL, retry the command once, in
9807         a new shell.
9809         * configure: Rebuilt.
9811 2000-02-09  Bruce Korb  <bkorb@gnu.org>
9813         * gcc/fixincludes:  ** DELETED **
9814         * gcc/fixcpp:  ** DELETED **
9815         * gcc/fixinc-nt.sed:  ** DELETED **
9816         * gcc/just-fixinc:  ** DELETED **
9817         * gcc/Makefile.in:  Removed out-dated commentary
9818         * gcc/configure.in: Removed fast-fixincludes disablement.
9819         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
9821 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
9822         * function.c (thread_prologue_and_epilogue_insns): Uncomment
9823         last change.
9825 2000-02-09  Richard Henderson  <rth@cygnus.com>
9827         * jump.c (delete_insn): Don't delete user labels at -O0.
9829 2000-02-09  Robert Lipe  <robertl@sco.com>
9831         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
9832         Don't link with HOST_LIBS.
9834 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
9836         * configure.in: Correct --help text for --with-dwarf2.
9837         Put tm-dwarf2.h after other tm files, if it's requested.
9838         * configure: Regenerate.
9839         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
9840         defining it.
9842 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
9844         * cpplib.h: Provide HASHNODE typedef and forward decl of
9845         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
9846         DEFINITION, struct hashnode, struct macrodef, struct
9847         definition, scan_decls prototype, default defn of
9848         INCLUDE_LEN_FUDGE moved elsewhere.
9850         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
9851         definition, and struct hashnode moved here. Remove the unused
9852         'predefined' field from struct definition.  Replace the 'args'
9853         union with its sole member.  All users updated (cpphash.c).
9854         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
9855         multiple include guard.
9857         * cpphash.c (hashf): Make static; use better algorithm; drop
9858         HASHSIZE parameter; return an unsigned int.
9859         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
9860         used. Calculate HASHSIZE modulus here.
9861         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
9862         here.
9863         (create_definition): Drop PREDEFINITION parameter.
9864         * cpplib.c (do_define): Don't calculate a hash value here.
9865         Don't pass (keyword == NULL) to create_definition.
9867         * scan.h: Prototype scan_decls here.
9868         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
9869         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
9870         callers of cpp_lookup and cpp_install updated.
9872         * cpphash.c (macarg): Hoist all the flag diddling out of the
9873         function...
9874         (macroexpand): ... and out of the loop that calls macarg.
9875         Skip over the initial paren before macro arguments with
9876         cpp_get_non_space_token; point may be some distance before
9877         that paren.  Abort if it's not there.
9879         * cpplib.c (parse_clear_mark): Delete function.
9880         (parse_set_mark, parse_goto_mark): Make static.
9881         (ACTIVE_MARK_P): New macro.
9882         (skip_block_comment, skip_line_comment): Do not bump the line
9883         if ACTIVE_MARK_P is true.
9884         (cpp_pop_buffer): The buffer to be popped may not have an
9885         active mark.
9886         (cpp_get_token): When looking for the initial paren before
9887         macro arguments, only set a mark in a file buffer, Always
9888         return to that mark before proceeding to call macroexpand or
9889         return a NAME token.
9891         * cpplib.h: Remove prototypes of parse_set_mark,
9892         parse_clear_mark, parse_goto_mark.
9893         (struct cpp_options): Rename 'put_out_comments' to
9894         'discard_comments' and invert its sense.
9895         * cppinit.c, cpphash.c, cpplib.c: All users of
9896         put_out_comments changed to use discard_comments, with
9897         opposite sense.
9899 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
9901         * function.c (thread_prologue_and_epilogue_insns): Don't delete
9902         the edge from a block that both jumps and falls through to the
9903         fallthru block.
9905 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
9907         * config/arm/arm.md (movsi): In PIC mode, make sure that a
9908         constant source address is legitimate.
9910 2000-02-09  Philip Blundell  <pb@futuretv.com>
9912         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
9913         correctly.
9915         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
9916         generating PIC.
9917         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
9919 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
9921         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
9922         ends with a newline and a NUL.  Don't be so clever manipulating
9923         strings.
9925 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
9927         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
9928         not to BIGGEST_ALIGNMENT.
9930 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
9932         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
9933         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
9934         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
9935         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
9936         * frame.c (execute_cfa_insn): Handle
9937         DW_CFA_GNU_negative_offset_extended.
9939 2000-02-08  Richard Henderson  <rth@cygnus.com>
9941         * flow.c (tidy_fallthru_edges): Split out from ...
9942         (delete_unreachable_blocks): ... here.
9943         (find_basic_blocks): Use it.
9945 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9947         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
9949 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
9951         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
9952         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
9953         (fix-header.o): Don't depend on cpphash.h.
9955         * scan.c (hashstr): New function.
9956         * scan.h: Prototype it.
9957         * fix-header.c: Don't include cpphash.h.  Use hashstr.
9958         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
9959         hashstr.  Report hash table statistics.  Add private
9960         definition of xrealloc.
9962 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9964         * i386.h (TARGET_SWITCHES): Fix typo in option name.
9966 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
9968         * function.c (thread_prologue_and_epilogue_insns): Don't replace
9969         jumps with returns unless they are jumps to the fallthru block.
9971 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
9973         * i386.md (addqi3_cc): Fix contraints.
9975 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9977         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
9979 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
9981         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
9982         carriage return after a macro name.
9984 2000-02-07  Fred Fish  <fnf@be.com>
9986         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
9987         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
9989 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
9991         * cppfiles.c (deps_output): Count spacers in deps_column.
9993 2000-02-07  Neil Booth  <NeilB@earthling.net>
9995         * cppinit.c (initialize_dependency_output): If there is no
9996         suffix, don't try to look for known suffixes.  Use strrchr.
9997         (cpp_start_read): Remove duplicate initialization.
9999 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
10001         * calls.c (compute_argument_block_size): New argument
10002         preferred_stack_boundary.
10003         (expand_call): update cfun->preferred_stack_boundary, update call of
10004         compute_argument_block_size
10005         (emit_library_call): Increate cfun->preferred_stack_boundary
10006         to PREFERRED_STACK_BOUNDARY
10007         (emit_library_call_value): Likewise.
10008         * explow.c (allocate_dynamic_stack_spave): Likewise.
10009         * function.c (prepare_function_start): Set
10010         cfun->preferred_stack_boundary
10011         * function.h (struct function): Add preferred_stack_boundary field.
10012         * integrate.c (expand_inline_function): Update
10013         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
10014         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
10015         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
10017 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
10019         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
10020         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
10021         cpp_pedwarn, cpp_pedwarn_with_line,
10022         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
10023         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
10024         v_cpp_error_with_line, v_cpp_warning_with_line,
10025         cpp_message_from_errno, cpp_perror_with_name): Delete.
10027         * cpperror.c (cpp_print_containing_files): Take starting
10028         buffer as argument.
10029         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
10030         (v_cpp_message): Now called directly by all entry points.
10031         Remove -1 case.
10032         (cpp_pfatal_with_name, cpp_message): Delete.
10033         (cpp_notice_from_errno, cpp_ice): New functions.
10034         (cpp_notice): Is now for reporting error conditions, just
10035         without an associated file.
10036         (cpp_error, cpp_error_with_line): Don't do anything if
10037         opts->inhibit_errors is on.
10038         (cpp_pedwarn_with_file_and_line): Take column argument also.
10040         * cpplib.h: Update prototypes of exported functions.
10041         (struct cpp_options): Add inhibit_errors.
10043         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
10044         non-error messages.  Include intl.h.
10046         * cppinit.c, cppmain.c: Likewise.  Also, use
10047         cpp_notice_from_errno instead of cpp_perror_with_name or
10048         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
10050         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
10051         report internal errors.
10053         * cpplib.c (do_define): Switch bcopy to memcpy.
10054         Give cpp_pedwarn_with_file_and_line a dummy column argument.
10056         * cpplib.c (copy_rest_of_line): Revert previous change: don't
10057         bail out early if we hit a line comment.
10059 2000-02-06  Richard Henderson  <rth@cygnus.com>
10061         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
10062         * basic-block.h: Declare them.
10063         * emit-rtl.h (active_insn_p): New.
10064         (next_active_insn, prev_active_insn): Use it.
10065         * rtl.h: Declare it.
10066         * function.c (emit_return_into_block): New.
10067         (thread_prologue_and_epilogue_insns): Insert return insns instead
10068         of epilogues when possible.
10069         * jump.c (jump_optimize_1): Remove code to insert a return insn
10070         on the fallthru to the exit block.
10072         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
10073         and for non-empty stack frames.
10074         * i386.md (return): Expand to return-pop as needed.
10076 2000-02-06  Richard Henderson  <rth@cygnus.com>
10078         * simplify-rtx.c (simplify_relational_operation): Canonicalize
10079         constant to op1 for testing.
10081 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10083         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
10084         (fixuns_truncqfqi2): Use it.
10086 2000-02-06  Richard Henderson  <rth@cygnus.com>
10088         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
10089         as a TYPE_LEA insn.
10091         * i386.md (widening and peepholes): Mask the constant instead of
10092         using gen_lowpart.
10094 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
10096         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
10097         input pointer before possibly branching off to the backslash
10098         code.
10099         * cpphash.c (macroexpand): Correctly delete \r escapes when
10100         stringifying parameters.
10101         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
10102         if we can; bail out early if we hit a line comment.
10103         (handle_directive): Treat '# 123' in an .S file just like
10104         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
10105         Return 1 for '# not_a_directive'.
10106         (get_directive_token): Pop macro buffers here, so that
10107         cpp_get_token can't sneakily move past a newline.
10108         Add sanity checks.
10109         (cpp_get_token): goto randomchar if handle_directive returns 0.
10111         * cppalloc.c: Update copyright.
10112         * cpplib.c: Merge all the static function prototypes into one
10113         block.
10114         * cpplib.h: Remove #if 0 block.
10116         * cpperror.c: Remove #ifdef EMACS block.
10117         * cppmain.c: Likewise.
10118         * cpphash.c: Remove #if 0 blocks.
10119         * cppinit.c: Remove #if 0 blocks, and the -lint option.
10120         * cpplib.c: Remove #if 0 blocks and code referencing
10121         pcp_inside_if or for_lint.  Remove duplicate error message.
10122         Fix error messages for #else after #else or #elif.  Reformat.
10123         Remove archaic TODO list.
10124         * cpplib.h: Remove pcp_inside_if and for_lint flags.
10126 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
10128         * i386/osf1elf.h: Add missing backslash to multiline string.
10130 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10132         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
10134 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10136         * Makefile.in (c-common.o): Depend on $(EXPR_H).
10138         * c-common.c: Include expr.h.
10140         * c-pragma.c (mark_align_stack): Add prototype.
10142         * caller-save.c (add_stored_regs): Likewise.
10144         * combine.c (record_promoted_value): Likewise.
10146         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
10147         Likewise.
10149         * cppinit.c (new_pending_define): Likewise.
10151         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
10153         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
10154         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
10155         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
10156         class_scope_p): Likewise.
10158         * dwarf2out.h (dwarf2out_set_demangle_name_func,
10159         dwarf2out_add_library_unit_info): Likewise.
10161         * ggc.h (ggc_page_print_statistics): Likewise.
10163         * haifa-sched.c (propagate_deps): Likewise.
10165         * reg-stack.c (next_flags_user, record_label_references): Likewise.
10167         * rtl.h (set_stack_check_libfunc): Likewise.
10169         * toplev.h (set_fatal_function): Likewise.
10171         * toplev.c (set_fatal_function): Delete prototype.
10173         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
10175 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
10177         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
10178         (FUNC_END): Likewise.
10180 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10182         * caller-save.c: Include tm_p.h.
10184 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10186         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
10188 2000-02-04  Neil Booth  <NeilB@earthling.net>
10190         * cccp.c (main): Check 'dir' for a NULL pointer before passing
10191         it to strcmp.
10193 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
10195         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
10196         * genflags.c: Use the max_operand_1 logic from genemit.c to
10197         calculate how many arguments gen_insn prototypes have.  Remove
10198         NO_MD_PROTOTYPES ifdefs from the generated file.
10199         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
10200         file.  Cast gen_insn initializers to insn_gen_fn.
10201         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
10202         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
10204 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10206         * fixinc/Makefile.in (HDR): Add machname.h.
10207         (clean): Likewise.
10209 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10211         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
10212         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
10213         (c4x_cpu_version): Ditto.
10214         * config/c4x/c4x-protos.h: ... here.
10216 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
10218         * dwarf2out.c (add_abstract_origin_attribute): Don't call
10219         gen_abstract_function on our context if we're a nested function.
10221 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10223         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
10224         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
10226 2000-02-04  Bruce Korb  <bkorb@gnu.org>
10228         * fixinc/genfixes(machname.h):
10229         Move the functionality from gen-machine.h into this file.
10230         UNdef MN_NAME_PAT if there are no names to change.
10231         Also, be a little kinder when AutoGen is not present.
10233         * fixinc/Makefile.in(machname.h):
10234         Change the generation rule to use genfixes.
10236         * fixinc/fixfixes.c(machine_name):
10237         machine_name_fix's functionality now dependent upon whether
10238         MN_NAME_PAT is defined.
10240         * fixinc/fixtests.c(machine_name):
10241         ditto.
10243         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
10244         of MN_NAME_PAT.
10246         * fixinc/fixlib.h(mn_get_regexps):
10247         ditto
10249         * fixinc/gen-machine.h: DELETED
10251 2000-02-04  Jan Hubicka  <jh@suse.cz>
10252             Richard Henderson  <rth@cygnus.com>
10254         * i386.c (SAVE_REGS_FIRST): Remove.
10255         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
10256         (ix86_compute_frame_size): Likewise.
10257         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
10258         (ix86_emit_restore_regs): Remove.
10259         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
10260         when a frame pointer is in use.
10261         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
10262         instead of pop to restore a register when profitable; emit leave
10263         when profitable.
10264         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
10265         as a TYPE_LEA insn.
10266         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
10267         * i386.md (prologue_allocate_stack): Remove.
10268         (epilogue_deallocate_stack): Remove.
10269         (pro_epilogue_adjust_stack): New.
10271 2000-02-04  Richard Henderson  <rth@cygnus.com>
10273         * function.c (diddle_return_value): Rework to use a callback function.
10274         Use current_function_return_rtx if it's been set up.
10275         (do_clobber_return_reg, clobber_return_register): New.
10276         (do_use_return_reg, use_return_register): New.
10277         (expand_function_end): Use them.
10278         * stmt.c (expand_null_return): Likewise.
10279         * function.h: Declare them.
10280         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
10281         (mark_reg): Change arguments as appropriate for callback.
10282         * integrate.c (expand_inline_function): Revert 19 Jan change.
10284 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10286         * tm.texi (Values in Registers): Fix typo: "fo" "for".
10287         (Misc): Say the scheduler, not the Haifa scheduler.
10289 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
10291         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
10292         when in_mem is set.  Update all callers.
10294 2000-02-04  Richard Henderson  <rth@cygnus.com>
10296         * i386/openbsd.h (INT_ASM_OP): Define.
10298 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10300         * tm.texi: Fix various typos.
10302 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
10304         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
10305         (MD_STARTFILE_PREFIX_1): New macro.
10307 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
10309         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
10310         destination when needed.
10311         (strmovsi, strsetsi): New expander.
10312         (strmovsi_1, strsetsi_1): New pattern.
10313         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
10314         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
10315         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
10316         * invoke.texi (align-stringops, inline-all-stringops): Document.
10318 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
10320         * i386/netbsd.h (INT_ASM_OP): Define.
10322 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
10324         * cpplib.h (cpp_reader): Add new flag, no_directives.
10325         * cpphash.c (macarg): Set it.
10326         * cpplib.c (handle_directive): If no_directives is on and we
10327         find a directive, issue an error and discard the line.
10329 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
10331         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
10332         FP constants.  Add ! TARGET_FPU check for FP constants.
10334 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
10336         * flow.c (find_basic_blocks): Don't kill label_value_list
10337         here.
10338         (cleanup_cfg): Kill it here.
10340 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10342         * expr.c (store_field): Ensure ALIGN is no stricter than the
10343         alignment of EXP.
10345 2000-02-02  Richard Henderson  <rth@cygnus.com>
10347         * jump.c (delete_insn): Partially revert 19 Jan change;
10348         don't convert unused code labels to notes at -O0.
10350 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10352         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
10353         split_all_insns to recreate REG_LABEL notes for flow2 pass.
10355 2000-02-01  Richard Henderson  <rth@cygnus.com>
10357         * i386.c (general_no_elim_operand): New.
10358         (nonmemory_no_elim_operand): New.
10359         (ix86_expand_move): Copy eliminable operands before a push.
10360         * i386-protos.h: Declare new functions.
10361         * i386.h (CAN_ELIMINATE): Simplify.
10362         (PREDICATE_CODES): Update.
10363         * i386.md (push insns): Don't allow eliminable register operands.
10365 2000-02-01  Richard Henderson  <rth@cygnus.com>
10367         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
10368         replace BLKmode with DECL_RTL's mode.
10370 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
10372         * frame.c (find_fde): Convert for loop to do-while so compiler
10373         sees it's always executed at least once.
10374         * libgcc2.c (BBINBUFSIZE): Kill.
10375         (__bb_init_prg): Use fgets.
10376         (__bb_exit_trace_func): Don't paste strings.
10377         * unroll.c (unroll_loop): Initialize unroll_type, not
10378         unroll_number, and tweak logic to match.
10380         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
10381         all failure paths.
10382         (ix86_flags_dependant): Likewise.  Disentangle control flow.
10383         (ix86_sched_reorder): Break guts out to
10384         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
10385         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
10386         any possible use.
10388         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
10389         use string concatenation.  Don't save and restore esi.
10391         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
10392         (machname.h): Remove script to separate file.  Use two-step
10393         sequence so target is not created if script fails.
10394         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
10395         identifiers are defined.
10396         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
10397         an empty string, machine_name doesn't need to do anything at
10398         all.
10399         (is_cxx_header): Add more cases to regexp.
10400         * fixinc/fixlib.h: Update prototype.
10401         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
10402         mn_get_regexps.
10403         * fixinc/fixincl.c: Define NO_BOGOSITY.
10405         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
10406         (hp_sysfile): Add missing comma.
10407         (math_exception): Put the wrapper ifdefs at the beginning and
10408         the end of the file.
10409         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
10411 2000-02-01  Richard Henderson  <rth@cygnus.com>
10413         * sparc.c (fp_zero_operand): Turn into a normal predicate.
10414         Use CONST0_RTX.  Update all callers.
10415         * sparc.h, sparc-protos.h: Update accordingly.
10416         * sparc.md (fp mov insns): Use fp_zero_operand directly
10417         where applicable.
10419 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10421         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
10422         example.
10424 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10426         * Makefile.in (specs.ready): New target.
10427         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
10429 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10431         * fixinc.irix: Use unique filenames for writing into /tmp,
10432         * fixinc.ptx: Likewise.
10433         * fixinc.sco: Likewise.
10434         * fixinc.svr4: Likewise.
10435         * fixinc.winnt: Likewise.
10437 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10439         * tsystem.h: New file.
10441         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
10442         s-crtS): Depend on tsystem.h.
10444         * crtstuff.c: Include tsystem.h.
10445         * frame.c: Likewise.
10446         * libgcc2.c: Likewise.
10448 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
10450         * builtins.c (expand_builtin_memset): Expand for variable sized
10451         lengths too.
10453 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au>
10455         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
10456         on ABI.
10458 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10460         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
10462         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
10464 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
10466         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
10467         case 3->2 combining (combining with splitting) in which 2 is CC0
10468         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
10469         checked at the begining of the function with the aid of calling
10470         function 'can_combine_p'.
10472 2000-01-31  Dave Brolley  <brolley@redhat.com>
10474         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
10476 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
10478         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
10479         new label.
10481 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10483         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
10485         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
10486         PROTO -> PARAMS.
10488 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
10490         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
10491         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
10492         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
10493         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
10494         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
10495         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
10496         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
10497         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
10498         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
10499         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
10501         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
10502         Add %(cpp_cpu) to CPP_SPEC.
10504         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
10505         Add %(cc1_cpu) to CC1_SPEC.
10507 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
10509         * c-decl.c (c_decode_option): Accept optional numeric argument to
10510         -Wformat and set warn_format.
10511         * c-common.c: Don't emit warning about non-constant printf format
10512         string unless warn_format > 1.
10514 2000-01-30  Richard Henderson  <rth@cygnus.com>
10516         * alpha.md (return_internal): Allow after reload only.
10518 2000-01-30  Richard Henderson  <rth@cygnus.com>
10520         * i386.c (ix86_compute_frame_size): Omit padding1 if the
10521         local frame size is zero.
10523 2000-01-30  Richard Henderson  <rth@cygnus.com>
10525         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
10526         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
10527         * alpha.md (return): Turn into an expander.
10528         (return_internal): Don't use $26.
10529         (epilogue): Emit the return insn.
10531 2000-01-30  Richard Henderson  <rth@cygnus.com>
10533         * alpha.md (negtf2, abstf2): Fix word order thinko.
10534         (extendsftf2): New.
10535         (trunctfsf2): Avoid intermediate rounding errors.
10537 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
10539         * cppfiles.c (find_position): Drop 'colp' argument, return the
10540         new line base.
10541         (read_and_prescan): Adjust to match.  Don't ever manipulate
10542         line or line_base except via find_position.
10544 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
10546         * c-parse.in: Apply Ulrich's changes from c-parse.y.
10547         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
10548         Regenerate.
10550 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
10552         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
10553         just print "<command line>".  If 'filename' is null or an
10554         empty string, print "<stdin>" for the filename.
10555         * cpplib.c (do_define): Don't print the 'location of the
10556         previous definition' message if we're still parsing the
10557         command line.
10558         (cpp_pedwarn_with_file_and_line): Always call
10559         cpp_file_line_for_message.
10561 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
10563         * flow.c (mark_regs_live_at_end): Fix typo.
10565 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
10567         * c-common.c: Adjust variable names, comments, help strings to c99.
10568         * c-lex.c: Likewise.
10569         * c-parse.y: Likewise.
10570         * c-tree.h: Likewise.
10571         * cccp.c: Likewise.
10572         * cpplib.h: Likewise.
10573         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
10574         * cppinit.c: Likewise.
10576 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10578         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
10579         * c4x.c: Define the optab rtx values.
10580         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
10581         (c4x_emit_libcall): Use new optab rtx values.
10582         (c4x_emit_libcall3): Likewise.
10583         (c4x_emit_libcall_mulhi): Likewise.
10584         * c4x-protos.h: Add prototypes for optab rtx values and change
10585         prototypes for above c4x_emit_libcall functions.
10587 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10589         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
10590         syntax is used.
10591         (c4x_function_prologue): Use regnames intead of float_reg_names when
10592         TI syntax is used.
10593         (c4x_function_epilogue): Likewise.
10594         (c4x_print_operand): Likewise.
10595         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
10596         * c4x.md (set_high): Disable for TARGET_TI.
10598 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10600         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
10601         of framepointer + constant to ADDR_REGS class.
10602         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
10603         * c4x.c (std_or_reg_operand): New function.
10604         * c4x-protos.h (std_or_reg_operand): Prototype it.
10606 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10608         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
10609                 object names as libgcc2.c.
10610         * libgcc.S: Use newly defined names.
10612 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
10613         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
10614         function.
10615         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
10616         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
10617         (FLOW_LOOP_LAST_BLOCK): Likewise.
10619 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10621         * basic-block.h (struct loop): New fields 'first' and 'last'.
10622         * flow.c (flow_loops_find): Compute loop->first and loop->last.
10623         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
10624         and loop->last to check for NOTE_INSN_LOOP_END.
10626 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
10628         * predict.c (estimate_probability): Use the new FIRST and LAST fields
10629         of the loop descriptor rather than HEADER and LATCH. Also added
10630         missing break statements as well making some coding style modifications
10631         as suggested by Michael Hayes.
10633 2000-01-28  Richard Henderson  <rth@cygnus.com>
10635         * flow.c (find_basic_blocks): Remove do_cleanup argument.
10636         Break out that code ...
10637         (cleanup_cfg): ... here.
10638         (commit_one_edge_insertion): Detect a return instruction being
10639         emitted to an edge.  Emit a barrier following; clear fallthru.
10640         (commit_edge_insertions): Verify CFG consistency.
10641         * function.c (expand_function_start): Kill unused variable.
10642         (expand_function_end): Likewise.
10643         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
10644         to insert the epilogue.
10646         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
10647         (delete_null_pointer_checks): Likewise.
10648         * output.h: Likewise.
10649         * reg-stack.c (reg_to_stack): Likewise.
10650         * toplev.c (rest_of_compilation): Likewise.  Run
10651         thread_prologue_and_epilogue_insns after rebuilding the CFG.
10653 2000-01-28  Richard Henderson  <rth@cygnus.com>
10655         * Makefile.in (flow.o): Revert 24 Jan change.
10656         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
10657         FUNCTION_VALUE result to DECL_RESULT's mode.
10659         * haifa-sched.c (schedule_insns): Don't recompute reg info
10660         after reload.
10662 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
10664         * configure.in: Make --enable-cpplib the default.
10665         * configure: Regenerate.
10666         * gcc.dg/990119-1.c: No longer expected to fail.
10668 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
10670         * jump.c (jump_optimize_1): Delete an optimization that is also done
10671         by merge_blocks in flow.
10673 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10675         * diagnostic.c (build_message_string, output_printf,
10676         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
10677         (build_location_prefix): Fix non-literal format string.
10679 2000-01-27  Richard Henderson  <rth@cygnus.com>
10681         * alpha.md (trunctfsf2): New.
10683 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
10685         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
10687 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
10689         * cppinit.c (cpp_handle_option): Recognize C++ comments under
10690         -std=gnu89.
10691         * cpplib.c (skip_block_comment, skip_line_comment): Split code
10692         out of...
10693         (skip_comment) ... here.  Permit C++ comments in system
10694         headers always.  Warn about C++ comments in user code under
10695         -std=gnu89 -pedantic.
10696         (copy_comment): Use skip_comment.
10697         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
10698         return EOF.
10699         (consider_directive_while_skipping, do_else, do_endif): Call
10700         validate_else unconditionally.
10701         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
10702         text after the conditional in a system header.
10703         * cpplib.h (struct cpp_buffer): Add flag
10704         warned_cplusplus_comments.
10706 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
10708         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
10709         Use unshare_all_rtl_1.
10710         (unshare_all_rtl_again): New function.
10711         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
10713         * function.c (purge_addressof_1): Use unshare_all_rtl_again
10714         rather than resetting the 'used' flags ourself.
10716         * toplev.c (rest_of_compilation): Add current_function_decl
10717         to the unshare_all_rtl call.
10718         * tree.h: Prototype unshare_all_rtl.
10719         * rtl.h: Prototype unshare_all_rtl_again here.
10721 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
10723         * genoutput.c (output_prologue): Include ggc.h in generated
10724         files.
10725         * Makefile.in (insn-output.o): Depends on ggc.h.
10727 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
10728             Hans-Peter Nilsson  <hp@bitrange.com>
10730         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
10731         Remove redundant include of xm-ns32k.h.
10732         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
10733         Remove redundant include of xm-ns32k.h.
10734         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
10735         Remove redundant include of xm-ns32k.h.
10736         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
10738         * ns32k/ns32k.h: Update comment on multiply-add instructions.
10739         (TARGET_SWITCHES): Add documentation strings.
10740         (DWARF_FRAME_REGNUM): Override default definition.
10741         (REG_CLASS_CONTENTS): Add comments.
10742         (SUBSET_P): Format to reduce line length.
10743         (SMALL_REGISTER_CLASSES): Make a run time option.
10744         (GO_IF_NONINDEXED_ADDRESS): Reformat.
10745         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
10746         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
10747         (regclass_map): fix typo in comment.
10748         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
10749         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
10750         (trace, reg_or_mem_operand): Delete, unused function.
10751         (calc_address_cost): Small offsets are cheaper than large ones.
10752         (expand_block_move): Generate more efficient code when bytes is a
10753         known at compile time.
10754         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
10755         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
10756         instead of reg_or_mem_operand.
10758         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
10759         not general_operand.  Similarly use "=rm" or stricter, not "=g".
10760         For input operands, use stricter constraints than "g" if not
10761         general_operand.  Similarly use stricter predicate than
10762         "general_operand" when stricter constraints than "g" are present,
10763         except for matching constraints.
10764         (movstrsi): Use "memory_operand" for operands 0 and 1.
10765         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
10766         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
10767         not reg_or_mem_operand.
10768         (udivmoddisi4): Ditto.
10769         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
10770         Use nonimmediate_operand for operand 3, not register_operand.
10771         (udivmoddiqi4_internal): Use register_operand for operand 1, not
10772         reg_or_mem_operand.
10774 2000-01-27  Fred Fish  <fnf@be.com>
10776         * gthr-posix.h: Fix typo; compatibily -> compatibility.
10777         * gthr-single.h: Likewise.
10778         * gthr-solaris.h: Likewise.
10779         * gthr-vxworks.h: Likewise.
10780         * gthr-win32.h: Likewise.
10781         * gthr.h: Likewise.
10783 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
10785         * cppinit.c: Add " (cpplib)" to end of string printed by
10786         -v / --version.
10788 2000-01-27  Richard Henderson  <rth@cygnus.com>
10790         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
10791         testing for a signed comparison.
10792         (alpha_emit_floatuns): New.
10793         * alpha-protos.h: Declare it.
10794         * alpha.md (floatunsdisf2, floatunsdidf2): New.
10795         (extendsfdf2): Tidy.
10797 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
10799         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
10800         no -g option specifying debugging format, default to -gstabs+.
10802 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
10804         * calls.c (special_function_p): New argument fork_or_exec.
10805         (expand_call): When profile_arc_flag is set and the function
10806         is in the fork_or_exec group, call __bb_fork_func first.
10807         * libgcc2.c, _bb module (__bb_fork_func): New function.
10808         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
10809         output file.
10810         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
10811         * tree.h (special_function_p): Update prototype.
10813 2000-01-26  Richard Henderson  <rth@cygnus.com>
10815         * alpha.c (alpha_split_tfmode_pair): New.
10816         * alpha-protos.h: Declare it.
10817         * alpha.md (abstf2, negtf2): New.
10818         (movtf insn): Add input G constraint.
10819         (movtf splitter): Use alpha_split_tfmode_pair.
10821 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10823         * i386/cygwin.h: PROTO -> PARAMS.
10825 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
10827         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
10828         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
10829         using _Qp_cmp/_Q_cmp and testing the return value.
10830         (print_operand): Call reverse_condition_maybe_unordered if
10831         we are handling CCFPmode or CCFPEmode.
10832         Handle ORDERED, UN* and LTGT comparisons.
10833         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
10834         if not TARGET_HARD_QUAD.
10835         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
10836         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
10837         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
10838         Adjust gen_b* calls so that they reflect return comparison of
10839         sparc_emit_float_lib_cmp.
10841 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10843         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
10844         incoming operands array is large enough for one more operand.
10845         (alpha_emit_xfloating_arith): Likewise.
10847 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
10849         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
10850         file with one line and no trailing newline.
10851         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
10852         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
10853         checking if the match is on the line.
10854         * fixinc/gnu-regex.c: Provide regerror not __regerror.
10856 2000-01-25  Richard Henderson  <rth@cygnus.com>
10858         * sparc.c (output_cbranch): Fix accidental squashing of the
10859         fp branch pre-delay nop.
10861 2000-01-25  Richard Henderson  <rth@cygnus.com>
10863         * tree.def (UNNE_EXPR): Remove.
10864         * c-typeck.c (build_binary_op): Don't handle it.
10865         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
10867         * rtl.def (UNNE): Remove.
10868         (LTGT): Add.
10869         * jump.c (reverse_condition): Update accordingly.
10870         (swap_condition): Likewise.
10871         (comparison_dominates_p): Handle unordered comparisons.
10872         (reverse_condition_maybe_unordered): New.
10873         * rtl.h (reverse_condition_maybe_unordered): Declare.
10875         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
10876         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
10877         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
10878         * sparc.md (bltgt): New.
10880 2000-01-25  Nick Clifton  <nickc@redhat.com>
10882         * emit-rtl.c (emit_insn): Only check machine class insns for
10883         improper emission of a RETURN.
10885 2000-01-25  Richard Henderson  <rth@cygnus.com>
10887         * Makefile.in (flow.o): Depend on $(EXPR_H).
10888         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
10889         duplicate the structure of diddle_return_value for keeping regs live.
10891 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10893         * loop.c (current_loop_info): Delete.
10894         (consec_sets_invariant_p): Add loop argument, update callers.
10895         (get_condition_for_loop): Likewise.
10896         (count_nonfixed_reads, update_giv_derive): Likewise.
10897         (simplify_giv_expr, general_induction_var): Likewise.
10898         (consec_sets_giv, recombine_givs): Likewise.
10899         (move_movables): Delete loop_start and loop_end arguments,
10900         add loop argument, and update callers.
10901         (find_mem_givs, check_final_value): Likewise.
10902         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
10903         (loop_invariant_p): Rename from invariant_p, add loop argument, and
10904         update callers.
10905         (basic_induction_var): Add loop argument, delete loop_level argument,
10906         and update callers.
10907         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
10908         add loop argument, and update callers.
10909         (find_splittable_regs, find_splittable_givs): Likewise.
10910         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
10911         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
10912         (biv_total_increment): Delete loop_start and loop_end arguments;
10913         update callers.
10914         (precondition_loop_p): Delete loop_start and loop_info arguments;
10915         update callers.
10916         * loop.h (get_condition_for_loop): Add loop argument.
10917         (biv_total_increment): Delete loop_start and loop_end arguments.
10918         (precondition_loop_p): Delete loop_start and loop_info arguments;
10919         add loop argument.
10920         (final_biv_value): Delete loop_start and loop_end arguments;
10921         add loop argument.
10922         (final_giv_value, back_branch_in_range_p): Likewise.
10924 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
10926         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
10928 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
10930         * Makefile.in (c-gperf.h) : Change the "See" pointer to
10931         point to the new "generated_files" doc.
10933 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
10935         * config/fp-bit.c (_unord_f2): Fix typo.
10937 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
10939         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
10940         c-typeck.c, objc/objc-act.c: Remove all references to obstack
10941         functions obsoleted by GC, such as push_obstacks_nochange,
10942         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
10943         and code which existed only to decide whether or not to call
10944         them.  Remove now-unused NESTED argument from start_function;
10945         all callers changed.  Do not change behavior based on ggc_p.
10946         The use of the ixp_obstack in c-iterate.c and the util_obstack
10947         in objc/objc-act.c remain; these are not obsoleted by garbage
10948         collection.
10949         * c-tree.h: Update prototype for start_function.
10951         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
10953 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
10955         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
10956         mips16.
10958 2000-01-25  Richard Henderson  <rth@cygnus.com>
10960         * sparc-protos.h (select_cc_mode): Declare.
10961         * sparc.c (select_cc_mode): New.  Handle unordered compares.
10962         (output_cbranch): Always reverse via code change.  Handle
10963         unordered compares.  Factor tests and string updates.
10964         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
10965         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
10966         * sparc.md (bunordered, bordered): New.
10967         (bungt, bunlt, buneq, bunge, bunle): New.
10969 2000-01-25  Richard Henderson  <rth@cygnus.com>
10971         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
10972         * ggc-common.c (ggc_add_rtx_varray_root): New.
10973         (ggc_mark_rtx_varray): New.
10974         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
10975         functions down below ggc_mark_foo.
10976         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
10978 2000-01-25  Richard Henderson  <rth@cygnus.com>
10980         * alpha.c (secondary_reload_class): Don't allocate a secondary
10981         for integral mode memories into FLOAT_REGS.  Rearrange the more
10982         complicated memory expression inward.
10984 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
10986         * inclhack.def: Fixes to play nicer with FreeBSD, and
10987         corrections to comments.
10988         (cxx_unready): Add select expression.
10989         (irix_sockaddr): Add bypass expression.
10990         (machine_ansi_h_va_list): New fix.
10991         (stdio_va_list): No need to edit _BSD_VA_LIST_.
10992         Split out addition of "#include <stdarg.h>" to...
10993         (stdio_stdarg_h): ... here.
10994         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
10995         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
10996         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
10997         size_t.
10998         (ultrix_ifdef): Tighten up select expression.
11000         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
11001         re_ct and max_mach to avoid use of shell.  Make printed names
11002         match names in inclhack.def.  Use static copyright date.
11003         Don't count c_test and test expressions as requiring regex_t
11004         slots.  Add some commentary.
11005         * inclhack.tpl: Do not include the 'This script contains N
11006         fixup scripts' line if PROGRAM is defined.  Use static
11007         copyright date.
11009 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
11011         * dwarf2out.c: include "varray.h", not dyn-string.h.
11012         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
11013         (addr_const_to_string, addr_to_string): Lose.
11014         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
11015         (struct dw_val_struct): val_addr is now an rtx.
11016         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
11017         (used_rtx_varray): New varray.
11018         (dwarf2out_init): Initialize it.
11019         (save_rtx): New fn.
11020         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
11021         addr_to_string.
11022         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
11023         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
11024         * Makefile.in (dwarf2out.o): Update dependencies.
11026 2000-01-24  Richard Henderson  <rth@cygnus.com>
11028         * i386.c (i386_dwarf_output_addr_const): New.
11029         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
11031         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
11032         if defined.
11033         * dwarfout.c (output_mem_loc_descriptor): Likewise.
11034         * i386.c (i386_simplify_dwarf_addr): New.
11035         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
11037 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
11039         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
11040         TYPE_STUB_DECL is NULL.
11042 2000-01-24  Richard Henderson  <rth@cygnus.com>
11044         * builtins.c (expand_tree_builtin): Move ...
11045         * c-common.c (expand_tree_builtin): ... here.
11047 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11049         * loop.h (LOOP_INFO): New accessor macro.
11050         * basic-block.h (struct loop): Rename field `info' to `aux'.
11051         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
11052         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
11053         * unroll.c (loop_iterations, unroll_loop): Likewise.
11055 2000-01-24  Christopher Faylor <cgf@cygnus.com>
11057         * config/i386/t-cygwin: Accomodate new winsup directory layout
11058         when searching for include files.
11060 2000-01-24  Richard Henderson  <rth@cygnus.com>
11062         * rtl.def: Add unordered fp comparisions.
11063         * tree.def: Likewise.
11064         * tree.h: Add ISO C 9x unordered fp comparision builtins.
11066         * builtins.c (expand_tree_builtin): New function.
11067         * c-typeck.c (build_function_call): Use it.
11068         (build_binary_op): Support unordered compares.
11069         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
11071         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
11072         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
11073         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
11074         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
11075         * jump.c (reverse_condition): Don't abort for UNLE etc, but
11076         return UNKNOWN.
11077         (swap_condition): Handle unordered compares.
11078         (thread_jumps): Check can_reverse before reversing.
11079         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
11080         reversed for FP.
11082         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
11083         setcc is present before acking for cmp_optab.  Update all callers.
11084         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
11085         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
11086         * expr.c (expand_expr): Likewise.  Support unordered compares.
11087         (do_jump, do_store_flag): Likewise.
11088         * expr.h (enum libfunc_index): Add unordered compares.
11090         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
11091         (DPBIT_FUNCS): Add _unord_df.
11092         * config/fp-bit.c (_unord_f2): New.
11093         * fp-test.c (main): Try unordered compare builtins.
11095         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
11096         * alpha.c (alpha_comparison_operator): Check mode properly.
11097         (alpha_swapped_comparison_operator): Likewise.
11098         (signed_comparison_operator): Likewise.
11099         (alpha_fp_comparison_operator): New.
11100         (alpha_emit_conditional_branch): Handle unordered compares.
11101         * alpha.h (PREDICATE_CODES): Update.
11102         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
11103         (bunordered, bordered): New.
11105 2000-01-24  Richard Henderson  <rth@cygnus.com>
11107         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
11108         * alpha.md (movtf): New expander, insn, and splitter.
11110 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
11112         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
11113         dead registers.
11115 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
11117         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
11118         (FIXED_REGISTERS, CALL_USED_REGISTERS,
11119          REG_ALLOC_ORDER): Add frame pointer
11120         (FRAME_POINTER_REGNUM): Set to 20
11121         (HARD_FRAME_POINTER_REGNUM): New macro.
11122         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
11123         to HARD_FRAME_POINTER.
11124         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
11125         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
11126         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
11127         (HI_REGISTER_NAMES): Add "frame".
11128         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
11129         (debug_reg): Handle FRAME_POINTER_REGNUM.
11130         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
11131         GENERAL_REGS and INDEX_REGS.
11132         * i386.c (SAVED_REGS_FIRST): new macro.
11133         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
11134         (ix86_decompose_address, memory_address_length): Likewise.
11135         (regclass_map): Add frame pointer.
11136         (call_insn_operand): Handle frame_pointer_rtx.
11137         (reg_no_sp_operand): Likewise.
11138         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
11139         (print_operand, legitimize_pic_address): Fix formating.
11140         (ix86_compute_frame_size): Make static, update prototype, new
11141         parameters padding1, padding2, use ix86_nsaved_regs, use
11142         stack_alignment_needed.
11143         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
11144         to HARD_FRAME_POINTER_REGNUM conversions.
11145         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
11146         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
11147         (print_reg): Abort on FRAME_POINTER_REGNUM
11149 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
11151         * i386.h (PREDICATE_CODES): Add aligned_operand.
11152         * i386.c (aligned_operand): New function.
11153         (ix86_aligned_p): Kill.
11154         * i386.md (movhi_1): Emit mov for aligned operands.
11155         (promoting peep2s): Use aligned_operand.
11157 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
11159         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
11160         expression to allow underscores in macro names.
11161         (fix_char_macro_defines): Increment scanning pointer.
11163 2000-01-23  Richard Henderson  <rth@cygnus.com>
11165         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
11166         * alpha/osf5.h: New file.
11167         * configure.in (alpha-*-osf5): Add it to tm_file.
11169         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
11171         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
11172         (alpha_emit_xfloating_cvt, function_arg): Declare.
11173         * alpha.c (alpha_emit_conditional_branch): Call
11174         alpha_emit_xfloating_compare for TFmode compares.
11175         (alpha_lookup_xfloating_lib_func): New.
11176         (alpha_compute_xfloating_mode_arg): New.
11177         (alpha_emit_xfloating_libcall): New.
11178         (alpha_emit_xfloating_arith): New.
11179         (alpha_emit_xfloating_compare): New.
11180         (alpha_emit_xfloating_cvt): New.
11181         (print_operand): Add default abort case.
11182         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
11183         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
11184         (BIGGEST_ALIGNMENT): Increase to 128 bits.
11185         (RETURN_IN_MEMORY): True for TF/TCmode.
11186         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
11187         (FUNCTION_ARG): Move to function_arg.
11188         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
11189         (ASM_OUTPUT_LONG_DOUBLE): New.
11190         (ASM_OUTPUT_DOUBLE): Always output bits.
11191         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
11192         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
11193         (extenddftf2, trunctfdf2): New.
11195 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11197         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
11198         * config/sparc/sol2.h: ... here.
11200 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11202         * basic-block.h (struct loops): New field `levels'.
11203         * flow.c (flow_loops_level_compute): Traverse all outer loops.
11204         (flow_loop_level_compute): Initialise level to 1.
11205         (flow_loops_find): Set loops->levels.
11206         (flow_loops_dump): Print loops->levels.
11208 2000-01-23  Richard Henderson  <rth@cygnus.com>
11210         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
11211         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
11213 2000-01-23  Richard Henderson  <rth@cygnus.com>
11215         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
11216         * i386.h (DBX_REGISTER_NUMBER): Use them.
11217         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
11218         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
11219         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
11220         * i386/sequent.h: Kill incorrect comment.
11222 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
11224         * ggc-page.c (struct page_entry): Make `context_depth' an
11225         `unsigned short'.
11226         (struct globals): Likewise.
11228 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
11230         * loop.c (check_dbra_loop): When checking a loop for
11231         reversability, check the source of any stores to ensure
11232         they don't depend on an initial value.
11234 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11236         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
11238 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
11240         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
11241         'pz_scan' into scope of entire function.  Only affects
11242         compiles with -DDEBUG.
11244 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
11246         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
11247         section naming to that prior to 2000-01-07 patch.
11248         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
11249         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
11250         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
11251         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
11252         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
11254 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
11256         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
11257         constant.
11259 2000-01-21  Jim Wilson  <wilson@cygnus.com>
11261         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
11262         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
11264 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
11266         * cpphash.c (change_newlines): Delete function.
11267         (struct argdata): Delete 'newlines' and 'use_count' fields.
11268         (macroexpand): Remove code referencing those fields.
11270 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11272         * loop.c (loops_info): New variable.
11273         (loop_optimize): Allocate loops->array and free it on exit.
11274         Allocate memory for loops_info and assign to each loop,
11275         replacing alloca.
11276         (find_and_verify_loops): Do not allocate loops->array.
11278 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
11280         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
11282 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
11284         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
11285         pseudos if expanded after first flow.
11286         (movdi_pic_label_ref): Likewise.
11288 2000-01-20  Richard Henderson  <rth@cygnus.com>
11290         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
11292 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
11294         * Makefile.in (fixinc.sh): Depend on specs.
11295         * fixinc/Makefile.in: Add rule to create machname.h.
11296         (fixlib.o): Depend on machname.h.
11297         * fixinc/fixtests.c (machine_name): New test.
11298         * fixinc/fixfixes.c (machine_name): New fix.
11299         * fixinc/fixlib.c (mn_get_regexps): New helper function for
11300         the machine_name test and fix.
11301         * fixinc/fixlib.h: Prototype it.
11302         * fixinc/inclhack.def (machine_name): Use the C test and fix.
11303         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
11305         * gcc.c (do_spec_1) [case P]: Take care not to create
11306         identifiers with three leading or trailing underscores.
11308         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
11309         (fixincl): Don't specify libraries twice on link line.
11310         (gnu-regex.o): Remove special rule.
11311         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
11312         defined by config.h.  Do not define _REGEX_RE_COMP.
11313         (regcomp): Allocate and initialize a fastmap.
11314         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
11316 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
11318         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
11320 2000-01-19  Richard Henderson  <rth@cygnus.com>
11322         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
11323         arguments with BB.  Update all callers.  Tidy line wrapping.
11325 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
11327         * emit-rtl.c (try_split): Return last_insn if we split the
11328         last_insn.
11330 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
11332         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
11333         (ix86_initial_elimination_offset): Declare.
11334         * i386.c (ix86_nsaved_regs): Break out from ...
11335         (ix86_can_use_return_insn_p): ... here.
11336         (ix86_emit_save_regs): Break out from ...
11337         (ix86_expand_prologue): ... here.
11338         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
11339         out from ...
11340         (ix86_expand_epilogue): ... here.
11341         (ix86_compute_frame_size): Make static, add prototype.
11342         (ix86_initial_elimination_offset): Break out from ...
11343         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
11345 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11347         * recog.h (OUT_FCN): Delete.
11349         * vax.md: Call `get_insn_template' instead of OUT_FCN.
11351 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11353         * cppalloc.c: PROTO -> PARAMS.
11354         * cpperror.c: Likewise.
11355         * cppfiles.c: Likewise.
11356         * cpplib.c: Likewise.
11357         * cpplib.h: Likewise.
11359         * config/arm/arm-protos.h: PROTO -> PARAMS.
11360         * config/arm/arm.c: Likewise.
11361         * config/c4x/c4x.c: Likewise.
11362         * config/fr30/fr30-protos.h: Likewise.
11363         * config/nextstep.c: Likewise.
11364         * config/pa/pa.c: Likewise.
11365         * config/pj/pj.c: Likewise.
11366         * config/rs6000/rs6000.c: Likewise.
11367         * config/v850/v850-protos.h: Likewise.
11368         * config/v850/v850.c: Likewise.
11370 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11372         * i370-protos.h: New file.
11374         * i370.c: Include tm_p.h.  Fix compile time warnings.
11376         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
11377         warnings.
11379         * i370.md: Likewise.
11381 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11383         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
11384         (target_isinf, target_isnan, eisnan): Mark parameter with
11385         ATTRIBUTE_UNUSED.
11386         (eiisinf): Wrap in INFINITY.
11387         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
11388         (ibmtoe): Remove unused variable `rndsav'.
11390 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11392         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
11393         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
11395 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
11397         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
11398         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
11399         (fix_char_macro_defines, fix_char_macro_uses): New functions.
11401         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
11402         Recognize Emacs mode markers also.
11403         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
11404         C++ comments in C++ headers.  Call is_cxx_header only if
11405         necessary.
11407         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
11408         bypass for ncurses.
11409         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
11410         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
11411         ... these, which use the new C fixes.
11412         (math_exception): Escape literal '+' in bypass expression.
11414         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
11415         Regenerate.
11417 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
11419         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
11420         inside the MEM.
11422 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11424         * loop.c (loop_optimize): Allocate loop_info structure for each loop
11425         prior to calling scan_loop.
11427 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11429         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
11430         (split_branches, calc_live_regs): Likewise.
11432 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11434         * sh.md (fpu_single, fp_mode): New attributes.
11436 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11438         * loop.c (current_loop_info): Renamed from loop_info_data
11439         and changed to a pointer.
11440         (loop_optimize): Allocate loop_info structure for each loop
11441         and initialise to zero.
11442         (scan_loop): Set current_loop_info.
11444         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
11445         on iteration_var.
11447 2000-01-19  Richard Henderson  <rth@cygnus.com>
11449         * stupid.c: Die die die.
11450         * Makefile.in (OBJS): Remove stupid.o.
11451         (stupid.o): Likewise.
11453         * except.c (emit_eh_context): Don't emit USEs for stupid.
11454         * explow.c (probe_stack_range): Likewise.
11455         * flags.h (obey_regdecls): Remove.
11456         * flow.c (find_basic_blocks): Don't run try_merge_blocks
11457         when not optimizing.
11458         (life_analysis): Limit data collection when not optimizing.
11459         (mark_regs_live_at_end): Always mark the return value registers.
11460         (mark_used_regs): Remove dummy RETURN case.
11461         (print_rtl_with_bb): Don't consult obey_regdecls.
11462         * function.c (use_variable, use_variable_after): Remove.
11463         (assign_parms): Consult optimize not obey_regdecls.
11464         (expand_function_start): Don't emit USEs for stupid.
11465         (expand_function_end): Likewise.
11466         * global.c (build_insn_chain): Export.
11467         * integrate.c (expand_inline_function): Kill return-value USE
11468         handling code.
11469         * jump.c (jump_optimize_1): Do simple jump optimizations and
11470         dead code elimination.
11471         (calculate_can_reach_end): Remove check_deleted argument.
11472         (delete_insn): Patch out insns even when not optimizing.
11473         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
11474         * rtl.h (use_variable, use_variable_after): Remove declarations.
11475         (build_insn_chain): Declare.
11476         * stmt.c (expand_value_return): Don't emit USEs for stupid.
11477         (expand_end_bindings): Likewise.
11478         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
11479         * toplev.c (obey_regdecls): Remove.
11480         (rest_of_compilation): Don't set it.  Kill stupid in favour of
11481         flow1, local-alloc, and reload.
11482         (main): Don't set obey_regdecls.
11484         * config/nextstep.c (handle_pragma): Likewise.
11486         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
11488         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
11490 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11492         * alpha-protos.h: PROTO -> PARAMS.
11493         * alpha.c: Likewise.
11494         * elf.h: Likewise.
11495         * h8300.c: Likewise.
11496         * i386-protos.h: Likewise.
11497         * i386.c: Likewise.
11498         * m32r-protos.h: Likewise.
11499         * m32r.c: Likewise.
11500         * mips.c: Likewise.
11501         * mips.md: Likewise.
11502         * gmon-sol2.c: Likewise.
11503         * sparc.c: Likewise.
11505 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11507         * ns32k-protos.h: New file.
11509         * ns32k.c: Fix compile time warnings.
11511         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
11512         warnings.
11514         * ns32k.md: Likewise.
11516 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11518         * vax-protos.h: New file.
11520         * vax.c: Fix compile time warnings.
11522         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
11523         warnings.
11525         * vax.md: Likewise.
11527         * vaxv.md: Likewise.
11529 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11531         * romp-protos.h: New file.
11533         * romp.c: Fix compile time warnings.
11535         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
11536         warnings.
11538         * romp.md: Likewise.
11540 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11542         * we32k-protos.h: New file.
11544         * we32k.c: Fix compile time warnings.
11546         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
11547         warnings.
11549 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11551         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
11553         * except.c (eh_regs): Likewise.
11555         * final.c (output_operand): Likewise.
11557         * fold-const.c (target_isinf, target_isnan): Likewise.
11559 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
11561         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
11562         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
11564         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
11565         when optimize_size.
11566         (clrstrsi): Rewrite.
11567         (strsethi, strsetqi): New expanders.
11568         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
11569         (cmpstrsi): Emit compare insn before cmpstrsi_1
11570         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
11571         (strlensi_1): Likewise.
11572         (cmpstrsi_1): Likewise; do not output compare.
11573         (strlen expander): Do not unroll when optimizing for size.
11574         (*subsi3_carry): Rename to subsi3_carry
11575         (addqi3_cc): New pattern.
11576         * i386.h (processor_costs): Add move_ratio field.
11577         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
11578         * i386.c (*_cost): Set move_ratio.
11579         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
11580         (x86_expand_strlensi_1): Rewrite the main loop.
11582 2000-01-17  Richard Henderson  <rth@cygnus.com>
11584         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
11585         * cse.c (find_comparison_args, fold_rtx): Likewise.
11586         * integrate.c (subst_constants): Likewise.
11587         * loop.c (get_condition): Likewise.
11589         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
11591         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
11593 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11595         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
11596         (RESTORE_WARN_FLAGS): Unpack it.
11597         Change semantic type of extension to ttype.
11598         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
11599         * c-parse.y, c-parse.c, objc/objc-parse.y,
11600         objc/objc-parse.c: Regenerate.
11602 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
11604         * fixinc/fixlib.c: Add copyright notice.
11605         (compile_re): New function.
11606         * fixinc/fixlib.h: Prototype compile_re.
11608         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
11609         Use compile_re to compile regular expressions.
11611         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
11612         where the pattern matched.
11614         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
11615         use 'replace'.
11616         (ultrix_ansi_compat): Likewise.
11617         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
11618         add egrep test.
11619         (interactv_add2, interactv_add3): Delete.
11620         (x11_sprintf): Don't use filename glob.
11621         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
11622         Regenerate.
11624 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11626         * print-rtl.c: PROTO -> PARAMS.
11627         * real.c: Likewise.
11628         * reg-stack.c: Likewise.
11629         * resource.c: Likewise.
11630         * sdbout.h: Likewise.
11631         * simplify-rtx.c: Likewise.
11632         * stor-layout.c: Likewise.
11633         * stupid.c: Likewise.
11634         * xcoffout.c: Likewise.
11635         * xcoffout.h: Likewise.
11637 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11639         * toplev.c: PROTO -> PARAMS.
11640         * toplev.h: Likewise.
11641         * tree.c: Likewise.
11642         * tree.h: Likewise.
11643         * unroll.c: Likewise.
11644         * varasm.c: Likewise.
11645         * varray.c: Likewise.
11646         * varray.h: Likewise.
11648 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11650         * reload.c: PROTO -> PARAMS.
11651         * reload.h: Likewise.
11652         * reload1.c: Likewise.
11653         * reorg.c: Likewise.
11654         * resource.h: Likewise.
11655         * rtl.c: Likewise.
11656         * rtl.h: Likewise.
11657         * rtlanal.c: Likewise.
11658         * sbitmap.h: Likewise.
11659         * sdbout.c: Likewise.
11660         * stack.h: Likewise.
11661         * stmt.c: Likewise.
11662         * system.h: Likewise.
11664 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11666         * machmode.h: PROTO -> PARAMS.
11667         * mbchar.h: Likewise.
11668         * mips-tdump.c: Likewise.
11669         * mips-tfile.c: Likewise.
11670         * optabs.c: Likewise.
11671         * output.h: Likewise.
11672         * prefix.c: Likewise.
11673         * profile.c: Likewise.
11674         * protoize.c: Likewise.
11675         * real.h: Likewise.
11676         * recog.c: Likewise.
11677         * recog.h: Likewise.
11678         * regclass.c: Likewise.
11679         * regmove.c: Likewise.
11680         * regs.h: Likewise.
11682 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11684         * ggc-common.c: PROTO -> PARAMS.
11685         * ggc-page.c: Likewise.
11686         * ggc-simple.c: Likewise.
11687         * ggc.h: Likewise.
11688         * global.c: Likewise.
11689         * graph.c: Likewise.
11690         * gthr-win32.h: Likewise.
11691         * haifa-sched.c: Likewise.
11692         * halfpic.h: Likewise.
11693         * integrate.c: Likewise.
11694         * integrate.h: Likewise.
11695         * jump.c: Likewise.
11696         * lcm.c: Likewise.
11697         * local-alloc.c: Likewise.
11698         * loop.c: Likewise.
11699         * loop.h: Likewise.
11701 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11703         * genattr.c: PROTO -> PARAMS.
11704         * genattrtab.c: Likewise.
11705         * gencheck.c: Likewise.
11706         * gencodes.c: Likewise.
11707         * genconfig.c: Likewise.
11708         * genemit.c: Likewise.
11709         * genextract.c: Likewise.
11710         * genflags.c: Likewise.
11711         * gengenrtl.c: Likewise.
11712         * genopinit.c: Likewise.
11713         * genoutput.c: Likewise.
11714         * genpeep.c: Likewise.
11715         * genrecog.c: Likewise.
11717 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
11719         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
11721 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11723         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
11724         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
11725         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
11726         * configure, config.in: Rebuilt.
11728 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
11730         * config/i386/i386.md: Add peephole to merge successive stack
11731         adjusts.
11733 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
11735         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
11736         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
11737         when walking backwards to find all the parameter loads when
11738         the basic block ends in a call.
11740 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11742         * loop.c (this_loop_info): Delete.
11743         (uid_loop): Add in place of uid_loop_num.  All uses updated.
11744         (loop_number_exit_count): Delete and replace with entry in loop
11745         structure.  All uses updated.
11746         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
11747         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
11748         (loop_outer_loop): Likewise.
11749         (loop_invalid, loop_number_exit_labels): Likewise.
11750         (loop_used_count_register): Delete and replace with entry in
11751         loop_info structure.
11752         (find_and_verify_loops): Add loops argument.
11753         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
11754         loop_end, etc. arguments with loop structure pointer.  All callers
11755         changed.
11756         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
11757         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
11758         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
11759         (insert_bct): Likewise.
11760         (basic_induction_var): New argument level.
11761         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
11762         vtop, and cont.  Add used_count_register.
11763         (uid_loop): Delete declaration.
11764         (loop_number_exit_count): Likewise.
11765         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
11766         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
11767         (loop_outer_loop, loop_used_count_register): Likewise.
11768         (loop_invalid, loop_number_exit_labels): Likewise.
11769         (unroll_loop): Replace loop_start and loop_end arguments
11770         with loop structure pointer.
11771         (loop_precondition_p, loop_iterations): Likewise.
11772         Include basic-block.h.
11773         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
11774         with loop structure pointer.
11775         (loop_precondition_p, loop_iterations): Likewise.
11776         * basic-block.h (struct loop): New entries vtop, cont,
11777         cont_dominator, start, end, top, scan_start, exit_labels,
11778         exit_count.
11779         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
11781 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11783         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
11785 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
11787         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
11789 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11791         * pdp11-protos.h: New file.
11793         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
11794         time warnings.
11796         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
11797         warnings.
11799         * pdp11.md: Likewise.
11801         * 2bsd.h: Likewise.
11803 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11805         * mn10300-protos.h: New file.
11807         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
11808         time warnings.
11810         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
11811         warnings.
11813         * mn10300.md: Likewise.
11815 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11817         * mn10200-protos.h: New file.
11819         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
11820         time warnings.
11822         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
11823         warnings.
11825         * mn10200.md: Likewise.
11827 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11829         * h8300-protos.h: New file.
11831         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
11832         time warnings.
11834         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
11835         warnings.
11837         * h8300.md: Likewise.
11839 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11841         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
11842         (asm_emit_uninitialised): Likewise.
11844 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
11846         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
11847         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
11849 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
11851         * config/mips/mips.c (override_options): Don't turn on extra
11852         alignment for mips16.
11854 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
11856         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
11857         eabi, and make sure queued POSTINCREMENT rtl is emitted at
11858         the right point.
11860 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
11862         * builtins.c (PAD_VARARGS_DOWN): Define.
11863         (std_expand_builtin_va_arg): Use the above macro.
11864         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
11865         * tm.texi (Register Arguments): Document the above macro.
11867 2000-01-14  Nick Clifton  <nickc@cygnus.com>
11869         * emit-rtl.c (emit_insn): If checking is enabled, make sure
11870         that this function has not been used to emit a jump
11871         instruction.
11873         * jump.c (return_jump_1): Cope with being passed a null rtx.
11875 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11877         * eh-common.h: PROTO -> PARAMS.
11878         * emit-rtl.c: Likewise.
11879         * errors.c: Likewise.
11880         * errors.h: Likewise.
11881         * except.c: Likewise.
11882         * except.h: Likewise.
11883         * explow.c: Likewise.
11884         * expmed.c: Likewise.
11885         * expr.c: Likewise.
11886         * expr.h: Likewise.
11887         * final.c: Likewise.
11888         * fix-header.c: Likewise.
11889         * flow.c: Likewise.
11890         * fold-const.c: Likewise.
11891         * function.c: Likewise.
11892         * function.h: Likewise.
11893         * gcc.c: Likewise.
11894         * gcov-io.h: Likewise.
11895         * gcov.c: Likewise.
11896         * gcse.c: Likewise.
11898 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11900         * sh-protos.h: New file.
11902         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
11903         Add static prototypes.  Fix compile time warnings.
11905         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
11906         * sh.md: Likewise.
11907         * elf.h: Likewise.
11909 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11911         * arc-protos.h: New file.
11913         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
11914         time warnings.
11916         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
11917         warnings.
11919         * arc.md: Likewise.
11921 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11923         * dsp16xx-protos.h: New file.
11925         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
11926         time warnings.
11928         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
11929         warnings.
11931         * dsp16xx.md: Likewise.
11933 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11935         * convex-protos.h: New file.
11937         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
11938         time warnings.
11940         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
11941         warnings.
11943 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11945         * elxsi-protos.h: New file.
11947         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
11948         time warnings.
11950         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
11951         warnings.
11953         * elxsi.md: Likewise.
11955 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
11957         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
11958         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
11959         match the comment for MIPS16.
11961 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
11963         * flow.c (split_edge): Do not call set_block_for_insn if we
11964         do not have a basic_block_for_insn structure.
11966         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
11967         and destination functions are 32bit aligned within the trampoline.
11968         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
11969         (TRAMPOLINE_ALIGNMENT): Define.
11971         * cse.c (cse_insn): When changing (set (pc) (reg)) to
11972         (set (pc) (label_ref)), verify the change creates a valid insn.
11974         * fr30.c (call_operand): Tighten and rework to match rules for
11975         call RTL expressions.
11976         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
11977         * fr30.md (call patterns): Improve constraints.
11979 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
11981         * fr30.c (fr30_expand_epilogue): Revert last change.
11982         Use emit_jump_insn for the return insn.
11984 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
11985                           Stan Cox  <scox@cygnus.com>
11987         * predict.c: New file. Preliminary infrastructure work for static
11988         branch prediction and basic block reordering.
11989         * basic-block.h: Add prototype for estimate_probability.
11990         * Makefile.in: Add rules for predict.o.
11992 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
11994         * fixincludes (va_list): Use __not_va_list__ for the dummy.
11995         * fixinc/*: Likewise.
11997 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11999         * cccp.c: PROTO -> PARAMS.
12000         * cexp.y: Likewise.
12001         * collect2.c: Likewise.
12002         * combine.c: Likewise.
12003         * convert.h: Likewise.
12004         * cse.c: Likewise.
12005         * dbxout.c: Likewise.
12006         * dbxout.h: Likewise.
12007         * diagnostic.c: Likewise.
12008         * doprint.c: Likewise.
12009         * dwarf2out.c: Likewise.
12010         * dwarf2out.h: Likewise.
12011         * dwarfout.c: Likewise.
12012         * dwarfout.h: Likewise.
12013         * dyn-string.h: Likewise.
12015 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12017         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
12018         macro conditionals guarding use.
12020         * dwarf2out.c: Include "tm_p.h".
12022         * function.c (locate_and_pad_parm): Mark parameter with
12023         ATTRIBUTE_UNUSED.
12024         (expand_function_end): Likewise for variable `context'.
12026         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
12028 2000-01-13  Nick Clifton  <nickc@cygnus.com>
12030         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
12031         register to prevent compile time warnings.
12033 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
12035         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
12036         to avoid -Wtraditional warning.
12038 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12040         * 1750a-protos.h: New file.
12042         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
12043         time warnings.
12045         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
12046         warnings.
12048         * 1750a.md: Likewise.
12050 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12052         * a29k-protos.h: New file.
12054         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12055         time warnings.
12057         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
12058         warnings.
12060 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12062         * clipper-protos.h: New file.
12064         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
12065         time warnings.
12067         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
12068         warnings.
12070 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12072         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
12074 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
12076         * configure.in (--enable-new-gxx-abi): New option.
12077         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
12078         * Makefile.in (GXX_ABI_FLAG): New variable.
12079         * configure: Regenerate.
12081 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12083         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
12084         * tm.texi (FORCE_STRUCT_BLK): Document.
12085         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
12087 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
12089         * config/ns32k/ns32k.md: Revert Jan 9 change.
12091         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
12092         to a mode-test, if the predicate is address_operand.
12094 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
12096         * combine.c (if_then_else_cond): Be careful about what kinds
12097         of RTL expressions are passed to operand_subword.
12099         * flow.c (split_edge): If we have to insert a new jump, make
12100         sure to associate it with a basic block.
12102         * flow.c (commit_one_edge_insertion): A block with one successor
12103         can end in a JUMP_INSN that is not a simplejump.
12105 2000-01-12  Robert Lipe  <robertl@sco.com>
12107         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
12108         (BUILD_VA_LIST_TYPE): Define.
12109         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
12110         with crtstuff.c.
12112 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
12114         * cccp.c (do_pragma): Add cast to (char *).
12116 2000-01-12  Richard Henderson  <rth@cygnus.com>
12117             Fred Fish  <fnf@be.com>
12118             Jason Merrill  <jason@cygnus.com>
12120         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
12121         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
12122         * i386/beos-elf.h, i386/beos-pe.h: New files.
12124         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
12125         * cross-make (SYSTEM_HEADER_DIR): Define using
12126         CROSS_SYSTEM_HEADER_DIR.
12128         * gcc.c (LIBRARY_PATH_ENV): Provide default.
12129         (process_command): Use it.
12130         (main): Likewise.  Kill trailing = from env vars.
12131         (build_search_list): Put it back.
12132         * collect2.c (main): Use LIBRARY_PATH_ENV.
12134         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
12135         * toplev.c: Use NEED_DECLARATION_ENVIRON.
12137         * tm.texi (Frame Layout): Document SMALL_STACK.
12138         * c-common.c (c_common_nodes_and_builtins): Check it.
12140         * system.h: Undef alloca after including glibc's <stdlib.h>,
12141         if USE_C_ALLOCA is defined.
12143         * gcc.c (set_input): New fn.
12144         (main): After all input files are compiled, reset the input file
12145         info to the first.
12147         * aclocal.m4 (rindex, index): If already defined, don't attempt
12148         to redefine.
12150         * ginclude/varargs.h: (__va_list__): Define ifndef.
12151         * ginclude/stdarg.h: Likewise.
12153         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
12154         instead of unsigned char.
12156         * hash.h (true, false, boolean): Undef before enum.
12158         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
12159         proper type of "HOST_WIDE_INT *", rather than their natural type of
12160         "unsigned HOST_WIDE_INT *".
12162 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12164         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
12166         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
12168         * regclass.c (choose_hard_reg_mode): Likewise.
12170         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
12172         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
12174 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12176         * c-common.c: PROTO -> PARAMS.
12177         * c-common.h: Likewise.
12178         * c-decl.c: Likewise.
12179         * c-iterate.c: Likewise.
12180         * c-lang.c: Likewise.
12181         * c-lex.c: Likewise.
12182         * c-lex.h: Likewise.
12183         * c-parse.in: Likewise.
12184         * c-pragma.c: Likewise.
12185         * c-pragma.h: Likewise.
12186         * c-tree.h: Likewise.
12187         * c-typeck.c: Likewise.
12188         * objc/objc-act.c: Likewise.
12189         * objc/objc-act.h: Likewise.
12191 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12193         * m88k-protos.h: New file.
12195         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12196         time warnings.
12198         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
12200         * m88k.md: Likewise.
12202         * tekXD88.h: Likewise.
12204 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12206         * m68k-protos.h: New file.
12208         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12209         time warnings.
12211         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
12213         * mot3300.h: Likewise.
12215 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
12217         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
12218         extract_bitlst.
12219         (extract_bitlist): Declare bitlen.
12221 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
12223         * cccp.c: Accept and ignore -lang-fortran.
12225         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
12226         qualifiers don't match at any level of pointerness.
12228 2000-01-12  Robert Lipe  <robertl@sco.com>
12230         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
12232 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
12234         * reload1.c (reload_reg_unavailable): New static variable.
12235         (reload_reg_free_p): Test it.
12236         (reload_reg_free_for_value_p): Test it instead of
12237         reload_reg_used.
12238         (choose_reload_regs_init): Compute it.
12240 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
12242         * reorg.c (fill_slots_from_thread): Check modified_in_p
12243         before replacing.
12245 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
12247         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
12248         these nodes even if INTERNALS is not set.
12250 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
12252         * gcse.c (delete_null_pointer_checks_1): Cope when
12253         get_condition cannot determine the condition.
12255 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
12257         * toplev.h (set_message_length): Declare.
12259         * diagnostic.c (obstack_chunk_alloc): Define macro.
12260         (obstack_chunk_free): Likewise.
12261         (struct output_buffer): New data structure.
12262         (vmessage): Remove.
12263         (output_maximum_width): New variable.
12264         (doing_line_wrapping, set_message_length, init_output_buffer,
12265         get_output_prefix, output_space_left, emit_output_prefix,
12266         output_newline, output_append, output_puts, dump_output,
12267         vbuild_message_string, build_message_string, build_location_prefix,
12268         voutput_notice, output_printf, line_wrapper_printf,
12269         vline_wrapper_message_with_location):  New functions. Implement
12270         automatic line wrapping.
12271         (v_message_with_decl): Make it handle automatic line wrapping.
12272         (v_error_with_file_and_line): Likewise.
12273         (v_warning_with_file_and_line): Likewise.
12274         (announce_function): Likewise.
12275         (default_print_error_function): Likewise.
12277 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
12279         * cpplib.h (struct cpp_options): Change lang_asm to char.
12280         Add lang_fortran.
12281         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
12282         done in cpp_handle_option now.
12283         (initialize_builtins): Take out special case code used only by
12284         __STDC_VERSION__.
12285         (cpp_handle_option): Turn off trigraphs and trigraph warnings
12286         if -traditional.  Recognize -lang-fortran and set
12287         lang_fortran, also turn off cplusplus_comments.
12288         (print_help): Document -lang-fortran.
12289         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
12290         lang_asm. Ignore all directives other than `# 123 "file"' if
12291         CPP_PREPROCESSED.
12292         (cpp_get_token): If -traditional, don't recognize directives
12293         unless the # is in column 1.
12294         (parse_string): If lang_fortran or lang_asm, silently
12295         terminate strings ('' or "") at end of line.
12296         Remove unnecessary braces.
12298 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12299             Richard Henderson  <rth@cygnus.com>
12301         * resource.c (mark_referenced_resources): Mark a set strict_low_part
12302         as used.
12303         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
12304         strict_low_part when possible.
12306 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12308         * alias.c: PROTO -> PARAMS.
12309         * basic-block.h: Likewise.
12310         * bitmap.c: Likewise.
12311         * bitmap.h: Likewise.
12312         * builtins.c: Likewise.
12313         * c-aux-info.c: Likewise.
12314         * caller-save.c: Likewise.
12315         * calls.c: Likewise.
12317 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12319         * Makefile.in (toplev.o): Depend on regs.h.
12321         * output.h (tdesc_section): Prototype.
12323         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
12325         * sdbout.c: Include "tm_p.h".
12327         * toplev.c: Include "regs.h".
12329 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
12331         * unroll.c (unroll_loop): Add EH support.
12333 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12335         * pa-protos.h: New file.
12337         * pa.c: Include recog.h and tm_p.h.
12338         (compute_zdepwi_operands, compute_movstrsi_length,
12339         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
12340         find_addr_reg, import_milli): Add static prototypes.
12341         (pa_cpu_string, pa_arch_string): Constify a char*.
12342         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
12343         (read_only_operand): Add argument `mode'.
12344         (singlemove_string, output_move_double, output_fp_move_double,
12345         output_block_move, output_and, output_ior, output_ascii,
12346         remove_useless_addtr_insns, milli_names, output_mul_insn,
12347         output_div_insn, output_mod_insn, output_arg_descriptor,
12348         output_cbranch, output_bb, output_bvb, output_dbra, ,
12349         output_millicode_call, output_call, hppa_encode_label,
12350         output_parallel_movb, output_parallel_addb): Constify a char*.
12351         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
12352         (output_parallel_addb): Remove extra arg to `constrain_operands'
12354         * pa.h:  Move all prototypes to pa-protos.h.
12355         (pa_cpu_string, pa_arch_string): Constify a char*.
12356         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
12358         * pa.md: Call `function_label_operand' with mode argument.
12359         Likewise for `read_only_operand'.
12360         Fix nesting of parens in call to `symbolic_operand'.
12362 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12364         * i860-protos.h: New file.
12366         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
12367         time warnings.
12369         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
12371         * i860.md: Likewise.
12373 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
12375         * i386.md (movstrsi expander): Rewrite.
12376         (movstrsi_1 insn): Deleted.
12377         (strmovhi, strmovqi expander): New expanders.
12378         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
12379         * i386.c (x86_single_stringop): New global variable.
12380         * i386.h (x86_single_stringop): Declare.
12381         (TARGET_SINGLE_STRINGOP): New macro.
12383 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
12385         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
12386         integer vararg POSTINCREMENT before the destination of the jump
12387         for the hard fp case.
12388         (function_arg_pass_by_reference): Pass a copy of CUM to
12389         FUNCTION_ARG.
12391         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
12392         for CONSTANT_ADDRESS_P above while loop for subreg.
12394 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
12396         * flow.c (propagate_block): When a prologue/epilogue insn
12397         is marked dead, unconditionally clear libcall_is_dead and
12398         insn_is_dead, and only dump rtl if warnings aren't being
12399         suppressed.
12401 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
12403         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
12404         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
12405         (FIXED_REGISTERS): Set dirflag as fixed.
12406         (CALL_USED_REGISTERS): Set dirflag as used.
12407         (REG_ALLOC_ORDER): Set dirflag as last one.
12408         (DIRFLAG_REG): New macro.
12409         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
12410         (HI_REGISTER_NAMES): Add dirflag.
12411         (DEBUF_PRINT_REG): Handle dirflag.
12412         * i386.md (type attribute): New cld and str types.
12413         (length_opcode attribute): Set cld and str to 1.
12414         (memory attribute): Set str to unknown - it is not clear from the
12415         patterns.
12416         (pent_np function unit): Prefixed string operations takes 12 cycles
12417         minimally; cld takes 2 cycles.
12418         (ppro_uops attribute): Str is "many" and cld is "few".
12419         (ppro_p0 unit): Handle cld here.
12420         (k6_alux unit): Handle cld and str types.
12421         (k6_load unit): It is ocupied by str opcodes.
12422         (k6_store unit): It is ocupied by str opcodes.
12423         (athlon_decode): Str is vector decoded.
12424         (athlon_ieu): Handle str and cld.
12425         (cld pattern): New.
12426         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
12427         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
12428         cmpstrsi_nz_1 insn): Do not output cld instruction
12430 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
12432         * gcc.texi (G++ and GCC): Add Java and Chill.
12433         (Bug Critera): Don't list languages.
12435         * gcc.texi (Incompatibilities): No longer claim most C compilers
12436         are K&R.
12438         * gcc.texi (G++ and GCC): Update other front-ends list.
12440 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
12442         * i386.c (ix86_expand_setcc): Fix typo.
12443         (ix86_expand_movcc): Similarly.
12445         * Band-aid until haifa's bitset implementation is nuked.
12446         * haifa-sched.c (extract_bitlst): New parameter for size of the
12447         bitset in bits.  All callers changed.  Avoid looking at undefined
12448         bits in the bitset.
12449         (edgeset_bitsize): New variable.
12450         (schedule_region): Initialize edgeset_bitsize.
12452 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12454         * Makefile.in (optabs.o): Depend on real.h
12455         (resource.o): Depend on insn-attr.h
12457         * builtins.c (result_vector): Wrap prototype in macro conditions
12458         governing definition and use.
12460         * c-common.c: Include tm_p.h.
12462         * c-lex.c: Likewise.
12464         * elfos.h: Constify a char*.
12466         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
12467         (get_attr_length, shorten_branches, profile_after_prologue): Mark
12468         parameter with ATTRIBUTE_UNUSED.
12470         * fold-const.c (exact_real_inverse): Wrap variable `i' in
12471         CHECK_FLOAT_VALUE.
12473         * haifa-sched.c (schedule_insns): Mark parameter with
12474         ATTRIBUTE_UNUSED.
12476         * optabs.c: Include real.h.
12478         * real.h (ereal_atof): Add prototype arguments.
12480         * resource.c: Include insn-attr.h.
12482         * sdbout.c (sdbout_queue_anonymous_type,
12483         sdbout_dequeue_anonymous_types): Wrap in macro
12484         SDB_ALLOW_FORWARD_REFERENCES.
12485         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
12486         ATTRIBUTE_UNUSED.
12488         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
12490         * stupid.c: Include tm_p.h.
12492         * tree.c (real_value_from_int_cst): Mark parameter with
12493         ATTRIBUTE_UNUSED.
12495 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12497         * i960-protos.h: New file.
12499         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
12500         time warnings.
12502         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
12504 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12506         * combine.c (expand_field_assignment): Do not discard SUBREGs
12507         while computing nonzero_bits.
12509 2000-01-09  Nick Clifton  <nickc@cygnus.com>
12511         * config/arm/arm.c: Fix compile time warnings about signed vs
12512         unsigned constants.
12513         * config/arm/arm.h: Fix compile time warnings about signed vs
12514         unsigned constants.
12516 2000-01-09  Philip Blundell  <philb@gnu.org>
12518         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
12519         than `ldm' with only one register.
12520         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
12521         only one register.
12523         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
12524         clobbered.
12526 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
12528         * config/ns32k/ns32k.md (load or push effective address): Operand 1
12529         must have SImode.
12531 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12533         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
12534         assignment used as truth value.
12536         * function.c (assign_temp): Mark parameter `dont_promote' with
12537         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
12538         PROMOTE_FOR_CALL_ONLY.
12540         * genrecog.c (write_subroutine): Mark variable `operands' with
12541         ATTRIBUTE_UNUSED.
12543         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
12544         ATTRIBUTE_UNUSED.
12546         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
12547         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
12549         * toplev.c (note_deferral_of_defined_inline_function): Likewise
12550         for `decl'.
12552 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12554         * config/c4x.h: Tidy up comments.
12555         * config/c4x.c: Likewise.
12557 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
12559         * fold-const.c (lshift_double, rshift_double): Handle
12560         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
12562 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12564         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
12565         in prepare_function_start().
12567 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
12569         * config/v850/v850.c (expand_epilogue): Interrupt functions no
12570         longer allocate extra stack for function calls.
12572 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12574         * config/c4x/c4x.md (*subqf3_set): Fix typo.
12576 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12578         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
12580 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
12582         * rs6000.c (processor_target_table): Add power3 as alias for 630.
12583         * aix43.h: Revert Aug 2 change.
12584         (HAS_INIT_SECTION): Define, not visible yet.
12585         (LD_INIT_SWITCH): Define, not visible yet.
12586         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
12588         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
12590         * collect2.c (main): Expand ld2 size further.
12591         (export_object_lst): Cast assignment to avoid warning.
12592         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
12593         (scan_prog_file, COFF): Do not collect initialization or
12594         finalization functions generated for entire shared object if
12595         init/fini support present.
12597 2000-01-07  Nick Clifton  <nickc@cygnus.com>
12599         * config/elfos.h: Tidy up formatting of marcos.  Make sure
12600         that .section directives are always prefixed by a tab.
12602         * config/svr4.h: Add #include "elfos.h" and remove duplicate
12603         definitions.
12605 2000-01-07  Matt Austern  <austern@sgi.com>
12607         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
12608         expon.
12610 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
12612         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
12613         crtstuff.c.
12614         (crtbegin.o, s-crtS): Likewise.
12616 2000-01-06  Richard Henderson  <rth@cygnus.com>
12618         * alpha.md (adddi_2+1): Limit offset such that it will be
12619         loadable with a single ldah+lda pair.
12620         (adddi_2+2): Explicitly fail split if we can't make it work.
12622 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
12624         * protoize.c: Conditionally include unistd.h.
12625         (IS_SAME_PATH_CHAR): New macro.
12626         (IS_SAME_PATH): New macro.
12627         (CPLUS_FILE_SUFFIX): New macro.
12628         (cplus_suffix): New static variable.
12629         (is_abspath): New static function.
12630         (in_system_include_dir): Handle DOS style pathnames.
12631         (file_could_be_converted): Likewise.
12632         (file_normally_convertible): Likewise.
12633         (directory_specified_p): Likewise.
12634         (file_excluded_p): Likewise.
12635         (abspath): Likewise.
12636         (shortpath): Likewise.
12637         (referenced_file_is_newer): Likewise.
12638         (save_def_or_dec): Likewise.
12639         (do_processing): Likewise.
12640         (main): Likewise.
12641         (edit_file): Likewise. Use rename instead of link.
12642         (rename_c_file): Likewise. Don't rename syscalls file.
12643         (munge_compile_params): Define null device for DOS based systems.
12644         (process_aux_info_file): Use binary mode if appliable.
12645         (edit_file): Likewise.
12646         * invoke.texi (Running Protoize): Document C++ suffixes used.
12648         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
12649         IS_DIR_SEPARATOR macros.
12650         * collect2.c: Likewise.
12651         * cppinit.c: Likewise.
12652         * dwarf2out.c: Likewise.
12653         * gcc.c: Likewise.
12654         * gcov.c: Likewise.
12655         * prefix.c: Likewise.
12656         * rtl.c: Likewise.
12657         * toplev.c: Likewise.
12658         * system.h: And move to here.
12660         * prefix.c (update_path): Fix typo in variable name.
12662 2000-01-06  Richard Henderson  <rth@cygnus.com>
12664         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
12665         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
12666         (count_reg_sets_1, count_reg_references): Likewise.
12667         (flow_loops_level_compute): Start counting actual loop depth at 1.
12668         (flow_loops_find): Likewise.
12669         * local-alloc.c (update_equiv_regs): Likewise.
12670         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
12672 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
12674         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
12675         FIRST_PSEUDO_REGISTER
12676         * dwarf2out.c: Don't include frame.h
12677         * dwarfout.c: Likewise
12678         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
12679         frame.h
12681 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
12683         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
12684         dead registers.
12686         * i386.c (movsf splitter): Fix typo in my last checkin.
12688 2000-01-05  Nick Clifton  <nickc@cygnus.com>
12690         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
12691         own definition of this macro.
12692         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
12693         flag_data_sections or UNIQUE_SECTION_P are true.
12695         * tm.texi (UNIQUE_SECTION): Document that it can be called for
12696         unitialised data decls.
12698         * config/i386/winnt.c (i386_pe_unique_section): Cope with
12699         being called for uninitialised data.
12701         * config/i386/interix.c (i386_pe_unique_section): Cope with
12702         being called for uninitialised data.
12704         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
12705         for uninitialised data.
12707         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
12708         for uninitialised data.
12710         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
12711         for uninitialised data.
12713         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
12714         (UNIQUE_SECTION_P): Always generate a unique section if
12715         flag_data_sections is true.
12716         (UNIQUE_SECTION): Also generate unique sections for
12717         uninitialised data.
12718         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
12719         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
12720         named_section().
12722 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12724         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
12725         SI, or DI.
12727 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12729         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
12730         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
12731         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
12732         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
12733         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
12735         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
12737 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
12739         * c-decl.c (finish_enum): Simplify code to determine minimum and
12740         maximum values of the enum, and calculate the type.  Remove check
12741         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
12742         the DECL_INITIAL of each enumeration constant with a copy converted
12743         to the enumeration type.  When updating variant types, don't bother
12744         updating the type itself.
12746         * c-typeck.c (build_binary_op): Simplify conditional expressions
12747         when weeding out spurious signed-unsigned warnings.  Add new
12748         spurious warning category: if the unsigned quantity is an enum
12749         and its maximum value fits in signed_type(result_type).  Update
12750         commentary.
12751         (build_conditional_expr): Warn here if one alternative is signed
12752         and the other is unsigned.
12754 2000-01-05  Nick Clifton  <nickc@cygnus.com>
12756         * config/fr30/fr30.h: Remove extraneous comments.
12758 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
12760         * reload1.c (choose_reload_regs): When disabling a reload, also
12761         set reload_spill_index to -1.
12763 2000-01-04  Joel Sherrill (joel@OARcorp.com>
12765         * configure.in (m68*-*-rtemscoff*): New target, formal name for
12766         old m68*-*-rtems*.
12767         (m68*-*-rtemself*): New target.
12768         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
12769         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
12770         (sparc*-*-rtemself*): New target.
12771         (sparc*-*-rtems*): Now elf not a.out.
12772         * config/i386/rtems.h: Include config/rtems.h.
12773         * config/i386/rtemself.h: Include config/rtems.h.
12774         * config/i960/rtems.h: Include config/rtems.h.
12775         * config/m68k/rtems.h: Include config/rtems.h.
12776         * config/m68k/rtemself.h: Include config/rtems.h.
12777         * config/mips/rtems64.h: Include config/rtems.h.
12778         * config/pa/rtems.h: Include config/rtems.h.
12779         * config/rs6000/rtems.h: Include config/rtems.h.
12780         * config/sh/rtems.h: Include config/rtems.h.
12781         * config/sh/rtemself.h: Include config/rtems.h.
12782         * config/sparc/rtems.h: Include config/rtems.h.
12783         * config/sparc/rtemself.h: Include config/rtems.h
12785 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
12787         * final.c (shorten_branches): Correctly compute length of
12788         asms without operands.
12790 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
12792         * configure.in: Add pj target.
12793         * configure: Regenerate.
12794         * config/pj: New directory.
12795         * config/pj/lib1funcs.S: New file.
12796         * config/pj/linux.h: New file.
12797         * config/pj/pj.c: New file.
12798         * config/pj/pj.md: New file.
12799         * config/pj/pjl.h: New file.
12800         * config/pj/t-pj: New file.
12801         * config/pj/xm-pj.h: New file
12803 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
12805         * toplev.c (rest_of_compilation): Run shorten-branches before
12806         reg-stack for now.
12808 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12810         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
12811         macros so that they're consistent with their names.
12812         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
12813         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
12815 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12817         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
12818         modified inadvertently.
12820 2000-01-04  Joel Sherrill <joel@OARcorp.com>
12822         * configure.in (v850*-*-rtems*): New target.
12823         * configure: Regenerate.
12824         * config/v850/rtems.h: New file.
12826 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
12828         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
12829         (__gthread_key_create): Likewise.
12830         (__gthread_key_dtor):  Likewise.
12831         (__gthread_once): Fix logic.
12832         (__gthread_key_delete): Cast away constness.
12834         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
12835         * invoke.texi: Document.
12836         * i386/mingw32.h (CPP_SPEC): Use.
12837         (LIBGCC_SPEC): Likewise.
12838         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
12840 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
12842         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
12843         (HANDLE_PRAGMA_PACK): Undefine.
12844         (SLOW_UNALIGNED_ACCESS): Define.
12846 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
12848         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
12849         to default definition.
12850         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
12851         (store_fixed_bit_field): Call macro with word_mode and alignment.
12852         (extract_bit_field): Call macro with relevant mode and alignment.
12853         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
12854         to default definition.
12855         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
12856         and alignment.
12857         (move_by_pieces_ninsns): Likewise.
12858         (clear_by_pieces): Likewise.
12859         (emit_push_insn): Likewise.
12860         (store_field): Call macro with relevant mode and alignment.
12861         (expand_expr): Likewise.
12862         (expand_expr_unaligned): Likewise.
12864         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
12865         (SLOW_UNALIGNED_ACCESS): Define.
12866         (CASE_VECTOR_MODE): Always use 32-bit offsets.
12867         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
12868         (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
12869         (toc_section): Likewise and .toc pseudo-op.
12870         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
12871         64-bit mode.
12872         (TEXT_SECTION_ASM_OP): Likewise.
12873         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
12874         32-bit offsets.
12876         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
12877         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
12878         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
12879         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
12880         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
12882 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
12884         * regclass.c: Revert my Jan 4 change to loop cost computation.
12886 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
12888         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
12889         compilation.
12891 2000-01-04  Stan Cox  <scox@cygnus.com>
12893         * haifa-sched.c (build_control_flow): Change unreachable simple
12894         loop test to check if current block has only one predecessor.
12895         (find_rgns): Initialize degree.  Use dest as degree index, not src.
12897 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12899         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
12901         * calls.c (expand_call): Likewise for
12902         `old_stack_arg_under_construction'.
12904         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
12906         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
12907         `save_constant'.
12909         * gcc.c (execute): Likewise for `ut' and `st'.
12911         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
12913         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
12915         * jump.c (jump_optimize_1): Likewise for `temp2'.
12917         * local-alloc.c (block_alloc): Likewise for `r1'.
12919         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
12921         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
12922         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
12924         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
12925         and `set2'.
12927         * reload.c (find_reloads): Likewise for `goal_alternative_number'
12928         and `goal_earlyclobber'.
12930         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
12932         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
12934         * stupid.c (stupid_life_analysis): Likewise for `chain'.
12936         * unroll.c (copy_loop_body): Likewise for `copy'.
12938         * varasm.c (output_constructor): Likewise for `byte'.
12940 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
12942         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
12943         all FP constants for constant->reg moves.
12944         (ix86_split_to_parts): Try to convert memory address into immediate
12945         when available in the constant pool.
12946         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
12947         moves.
12948         (LEGITIMATE_CONSTANT_P): Return 1.
12949         * i386.md (pushsf): New splitter to convert constant pool memory
12950         reference to immediate.
12951         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
12952         reload.
12954 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
12956         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
12957         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
12958         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
12959         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
12960         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
12962 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
12964         * ginclude/stdbool.h:  Support compilation as C++.
12966 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12968         * fold-const.c (make_range): Don't try to reverse an unbounded range.
12970 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
12972         * regclass.c (regclass): Properly compute loop_cost.  Adjust
12973         comments.
12975         * regclass.c: Fix minor whitespace problems.
12977 2000-01-03  Anthony Green  <green@cygnus.com>
12979         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
12980         Restore the pic register if required.
12982 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
12984         * c-common.c (format_char_info): Update comment.
12985         (check_format_info): Recognize 'z' modifier in the same way 'Z'
12986         was recognized.  Emit warning for formats new in ISO C99 only
12987         if flag_isoc9x is not set.
12989 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
12991         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
12993 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
12995         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
12996         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
12997         (make_compound_operation): Choose cheaper alternative between
12998         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
13000         * regclass.c (op_costs): Remove global variable.
13001         (record_reg_classes): New parameter "op_costs" and "reg_pref".
13002         (record_operand_costs): Break out from ...
13003         (scan_one_insn): ... here.
13004         (dump_regclass): Make dumps nicer.
13005         (regclass): Dump preferrences choosed and changes done during passes.
13007 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
13009         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
13011 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
13013         * config/sparc/sparc.c (gen_df_reg): New function.
13014         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
13015         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
13016         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
13017         movtf_cc_reg_sp64+1): Use it.
13019 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
13021         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
13022         copied LABEL_DECLs.
13024 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
13026         * config/i386/i386.c (ix86_expand_unary_operator): Function
13027         definition made void.
13028         (ix86_expand_binary_operator): Update outdated preceding comment.
13029         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
13030         prototype.
13032         * config/i386/i386.c (override_options): Fix option-name typo.
13034 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
13036         * system.h (CEIL): Define.
13037         * builtins.c (CEIL): Remove.
13038         * expmed.c (CEIL): Likewise.
13039         * expr.c (CEIL): Likewise.
13040         * stor-layout.c (CEIL): Likewise.
13042 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13044         * expr.c (store_constructor_field): Fix typo introduced with last
13045         gcc2 merge.
13047 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
13049         * tree.h (BINFO_N_BASETYPES): New macro.
13051 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
13053         * expmed.c (emit_store_flag): Prevent losing a pending stack
13054         adjust the same way we prevent losing queued increments.
13056 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13058         * function.c (update_temp_slot_address): Handle case where sum of
13059         temporary address plus offset in register is a valid address.
13061 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
13063         * genrecog.c (change_state) Corrected typo.
13065 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13067         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
13068         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
13069         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
13071 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
13073         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
13074         case, expand GT comparisons correctly.  Fix a comment before this
13075         part of the code.
13077 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
13079         * dwarfout.c: Include "frame.h"
13080         * dwarf2out.c: Likewise.
13081         * Makefile.in (dwarfout.o): Depend on frame.h
13082         (dwarf2out.o): Likewise.
13084 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
13086         Restore i386 binary compatibility in Dwarf EH info.
13087         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
13088         value of FIRST_PSEUDO_REGISTER.
13089         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
13090         (struct frame_state): Use DWARF_FRAME_REGISTERS.
13091         * dwarfout.c (output_reg_number): Ditto.
13092         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
13093         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
13095 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
13097         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
13098         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
13099         (<hack>_RE_CT): not needed
13100         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
13101         rewritten to scan the file text once only
13102         "template<..." test added
13103         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
13104         (is_cxx_header): declaration added
13105         * fixinc/fixtests.c(is_cxx_header): removed
13106         (apply_fix_p_t): removed
13107         (double_slash_test): is_cxx_header is only called once now
13108         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
13109         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
13110         within the templates.
13111         The borken spelling of "broken" was fixed.
13112         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
13113         The default level depends on FIXINC_DEBUG.
13115 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13117         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
13118         Otherwise provide a declaration for atexit.
13119         (init_dummy): Make sure dummy call to atexit is nevertheless
13120         called with correct number of args.
13122         * frame.c: Update comments referring to other files.
13124         * libgcc2.c: Likewise.
13126 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13128         * cse.c (free_element, get_element): Remove unused prototypes.
13130         * fold-const.c (extract_muldiv): Initialize variables `op0' and
13131         `op1'.
13133         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
13134         `else' clauses.
13136 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
13138         * configure.in,configure: case arm for mn10200-*-* now sets
13139         float_format=i32 so that float.h will correctly claim "double"
13140         to be 32 bits. Ran autoconf to generate configure from .in file.
13142 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
13144         * pa.md (conditional zero): If op1 is a register, force it into
13145         the same register as op0.
13147 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
13149         * tree.h (BINFO_BASETYPES): Improve documentation.
13151 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13153         * configure.in (--enable-checking): Use a more portable `for'
13154         loop syntax.
13156 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13158         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
13159         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
13161         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
13162         Delete files.
13164         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
13165         Delete descriptions.
13167         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
13168         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
13169         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
13170         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
13171         xm-svr4.h: Remove all instances of sys_siglist handling.
13173 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
13175         * config/sparc/sparc.md (cmp_zero_qi,
13176         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
13177         cmp_zero_extendqidi2_andcc_set): New patterns.
13179 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
13181         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
13182         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
13183         (fpgnulib.c, xfgnulib.c): Add rules.
13184         * m68k/t-mot3300-gas: Likewise.
13186 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
13188         * configure.in: Avoid [[ by using test and changequote.  Add
13189         changequote required by 1999-12-14 change.
13190         * configure: Rebuild.
13192 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
13194         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
13196 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
13198         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
13199         * flow.c (find_use_as_address): Likewise.
13200         * function.c (fixup_var_refs_1): Likewise.
13201         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
13202         * jump.c (invert_exp, redirect_exp): Likewise.
13203         * loop.c (replace_call_address): Likewise.
13204         (count_nonfixed_reads): Likewise.
13205         * rtlanal.c (modified_between_p): Likewise.
13206         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
13207         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
13208         * unroll.c (remap_split_bivs): Likewise.
13210 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13212         * diagnostic.c (v_message_with_decl): Use .* format specifier
13213         instead of building the format specifier width manually.
13215         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
13216         determining whether to provide a prototype.  Remove the
13217         sys_siglist clause in the conditional.
13219 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
13221         * fold-const.c (operand_equal_p): Use memcmp to compare string
13222         constants.
13223         Suggested by D. J. Bernstein
13225 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
13227         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
13228         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
13229         compiling libgcc2.
13230         * config/mips/mips.h (TARGET_64BIT): Likewise.
13231         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
13232         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
13233         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
13234         dsps.  Give routines proper names if SI/DI modes are not used.
13235         * longlong.h: Use DWunion instead of DIunion.
13237 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
13239         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
13240         GC_CHECKING, GC_ALWAYS_COLLECT.
13241         * configure.in: Allow --enable-checking with an argument
13242         listing check modes to enable.
13243         * config.in, configure: Rebuilt.
13244         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
13245         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
13246         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
13247         ENABLE_GC_ALWAYS_COLLECT.
13248         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
13249         throughout.
13250         * tree.h, tree.c: Change ENABLE_CHECKING to
13251         ENABLE_TREE_CHECKING throughout.
13253 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13255         * fold-const.c (fold_truthop): Properly check for FP RHS.
13257 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
13259         * toplev.h (note_deferall_of_defined_inline_function): Declare.
13260         * toplev.c (note_deferral_of_defined_inline_function): New
13261         function, split out from ...
13262         (rest_of_compilation): ... here.  Use it.
13264 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13266         * expr.c (store_constructor): Don't call clear_storage if size is
13267         variable.
13269 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13271         * Makefile.in (toplev.o): Depend on loop.h.
13273         * dwarfout.c: Include tm_p.h.
13275         * emit-rtl.c (restore_emit_status): Mark parameter with
13276         ATTRIBUTE_UNUSED.
13278         * final.c (final_scan_insn): Likewise.
13280         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
13281         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
13282         flow_depth_first_order_compute, flow_loop_pre_header_find,
13283         flow_loop_tree_node_add, flow_loops_tree_build,
13284         flow_loop_level_compute, flow_loops_level_compute,
13285         flow_loop_outside_edge_p): Add prototypes.
13286         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
13288         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
13289         Mark with ATTRIBUTE_NORETURN.
13291         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
13293         * local-alloc.c (no_conflict_p): Likewise.
13295         * loop.c (insert_bct): Hide definitions of variables with hidden
13296         usage.
13297         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
13299         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
13300         with ATTRIBUTE_UNUSED.
13301         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
13302         (reg_scan): Likewise.
13304         * reload.c (find_reloads): Remove unused variables `changed'.
13306         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
13307         away const-ness.
13308         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
13309         Remove unused variable `insn'.
13311         * toplev.c: Include loop.h.
13312         (report_file_and_line): Remove unnecessary prototype.
13314         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
13316         * unroll.c (biv_total_increment): Likewise.
13318 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13320         * reload1.c (emit_input_reload_insns): Restore old behaviour
13321         wrt. 'special' reloads.
13323 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
13325         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
13326         hash.h.  (cse.c): Don't depend on hashtab.h.
13328         * cse.c: Don't include hashtab.h.
13329         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
13330         of dead functions.
13331         * ggc-simple.c: Don't include hash.h.
13333 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
13335         * dwarf2out.c (add_abstract_origin_attribute): Call
13336         gen_abstract_function on our function context.
13338 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
13340         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
13342 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13344         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
13345         case in switch.
13347 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13349         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
13350         constraints to "a!r".
13352 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
13354         * Makefile.in (calls.o): Depend on function.h.
13355         (alias.o): Likewise.
13357 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
13359         * reload1.c (emit_reload_insns): Break out code and variables into...
13360         (input_reload_insns, other_input_address_reload_insns,
13361         other_input_reload_insns, input_address_reload_insns,
13362         inpaddr_address_reload_insns, output_reload_insns,
13363         output_address_reload_insns, outaddr_address_reload_insns,
13364         operand_reload_insns, other_operand_reload_insns,
13365         other_output_reload_insns): ... new static variables, and...
13366         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
13367         do_output_reload): ... new functions.
13369 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13371         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
13373 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13375         * md.texi: Add c4x constraints documentation.
13377 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
13379         * config/i386/dgux.c (struct option): Rename to
13380         lang_independent_option.
13381         (struct m_options): Add description field.
13382         (output_options): Rename option type, add sep declaration, output
13383         ix86_cpu_string and ix86_arch_string only if set.
13384         (output_file_start): Rename option type.
13386 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
13388         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
13389         stmp-int-hdrs.
13390         (libgcc2.a): Similarly.
13392 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
13394         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
13395         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
13396         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
13398 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
13400         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
13401         Remove redundant initialization of "frexpon" and "expon".
13403 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13405         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
13407         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
13408         (store_constructor_field, expand_expr): Pass new arg.
13410 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
13412         * Makefile.in (explow.o): Depend on function.h.
13414         * stor-layout.c (set_sizetype): Fix typo.
13416 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
13418         * function.c (cfun): Renamed from current_function.  All users
13419         changed.
13420         * function.h (cfun): Rename declaration as well.
13422         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
13423         to be of type regset_head, not regset.  All users changed by adding
13424         address operator.
13425         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
13427 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13429         * config/c4x/rtems.h: New file.
13431 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
13433         * reload1.c (spill_failure): Take class of failed reload as argument
13434         and print it.  Caller changed.
13436 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13438         * rs6000.h (SUBTARGET_DEFAULT): New macro.
13439         (TARGET_SWITCHES): Allow subtargets to default switches.
13440         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
13442 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
13444         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
13445         in a main program.
13447 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
13449         * cccp.c (main): Define __STDC_VERSION__ as necessary.
13450         * cppinit.c (cpp_handle_option): Likewise.
13452         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
13453         determine when to define.
13455 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
13457         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
13458         cmove with mismatched test and data modes.
13460 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
13462         * c-typeck.c (c_expand_start_case): Don't warn for long switch
13463         in system headers.
13465 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13467         * alias.c: Minor reformatting.
13468         * flow.c: Likewise.
13469         * regs.h: Likewise.
13470         * stor-layout.c: Likewise.
13471         * fold-const.c: Likewise.
13472         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
13473         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
13474         not arg itself.
13475         (size_int_wide): Cache nodes even if garbage collecting.
13476         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
13477         of SAVE_EXPR has no side effects.
13478         * cse.c: Move a comment.
13479         * tree.c: Minor reformatting.
13480         (int_size_in_bytes): Return -1 if constant overflows.
13482 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13484         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
13486 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
13488         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
13489         after any change to c-parse.in, even if objc-parse.y didn't
13490         change.  Oops.
13492 1999-12-18  David S. Miller  <davem@redhat.com>
13494         * toplev.c (rest_of_compilation): Restore BLOCK tree
13495         reconstruction and branch shortening changes lost in
13496         December 18th change.
13498 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
13500         * config/arm/linux-elf.h: Change all instances of
13501         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
13502         * config/arm/uclinux-elf.h: Likewise.
13504 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
13506         * toplev.c (notice, vmessage, v_message_with_file_and_line,
13507         v_message_with_decl, file_and_line_for_asm,
13508         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
13509         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
13510         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
13511         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
13512         pfatal_with_name, fatal_io_error, need_error_newline,
13513         last_error_function, last_error_tick, announce_function,
13514         default_print_error_function, print_error_function,
13515         report_error_function, fnotice, error_with_file_and_line,
13516         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
13517         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
13518         warning_with_decl, warning_for_asm, warning, pedwarn,
13519         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
13520         diagnostic.c
13521         (compile_file): Use fnotice instead of notice.  Adjust call.
13523         * diagnostic.c: New file.
13525         * Makefile.in (OBJS): Include diagnostic.o
13526         (diagnostic.o): Define dependence.
13528 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13530         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
13531         Tweak formatting.
13533 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13535         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
13537 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
13539         * fixtests.c (is_cxx_header): New fn, split out of
13540         double_slash_test.
13541         (else_endif_label): Allow "#endif // comment" in C++ headers,
13542         as determined by is_cxx_header.
13543         * fixfixes.c (else_endif_label_fix): Update comment.
13544         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
13545         a tty.
13546         * genfixes: Correct double thinko in commandline parsing.
13547         * hackshell.tpl: Generate correct sh syntax for bypass
13548         entries.
13550         * inclhack.def (all): Whenever an inserted preprocessor
13551         conditional is split over multiple lines, use double
13552         backslashes in this file so the fixed header will be readable.
13554         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
13555         and add bypass entry for correct version of this header.
13556         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
13557         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
13559         (hpux8_bogus_inlines): New fix, split from...
13560         (ultrix_atof_param) ... here.
13561         (math_expression): Add bypass entry keyed to glibc comment
13562         indicating the problem has been dealt with; disable
13563         unnecessary sed operations; update commentary.
13564         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
13565         add select and bypass entries, simplify shell operation.
13566         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
13568         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
13569          ultrix_atof_param): Add select entry.
13570         (stdio_va_list, sunos_mather_decl): Add bypass entry.
13571         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
13572         comments with the fixes they describe.
13574         * c-parse.in (string action): Do not warn about ANSI string
13575         concatenation in system headers.  Affects C parser only.
13576         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
13578 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
13580         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
13581         compiling libgcc2 the macro depends always on arch cpp defines.
13583 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
13585         * loop.c (insert_loop_mem): Don't record MEMs from inside
13586         EXPR_LISTs.
13588 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
13590         * regclass.c (regclass): Do not use flowgraph when not optimizing.
13592         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
13593         notes too, create one when replacement failed, attempt to simplify
13594         resulting notes.
13595         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
13596         or REG_EQUIV notes.
13598 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
13600         * crtstuff.c (__dso_handle): Declare.
13601         (__cxa_finalize): Likewise.
13602         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
13603         non-NULL.
13605         * invoke.texi: Document -fuse-cxa-atexit.
13607         * tree.h (ptr_type_node): Document.
13608         (const_ptr_type_node): Likewise.
13610 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13612         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
13613         (optimize_reg_copy_2): Likewise.
13614         (optimize_reg_copy_3): Likewise.
13615         (fixup_match_2): Likewise.
13616         (regmove_optimize): Likewise.
13617         (fixup_match_1): Liekwise.
13619         * i386.md (HI to SImode promoting splitters): Rewrite.
13620         (pushsf mem peep2): New.
13621         (testhi to andhi peep2): Remove.
13622         * i386.h (x86_promote_QImode): New.
13623         (TARGET_PROMOTE_QImode): New.
13624         (PREDICATE_CODES): Add promotable_binary_operator.
13625         * i386.c (x86_promote_QImode0: New.
13626         (promotable_binary_operator): New.
13627         * i386-protos.h (promotable_binary_operator): New.
13629         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
13630         condition.
13631         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
13633 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
13635         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
13636         * function.c (insert_block_after_note): Remove.
13637         (retrofit_block): Likewise.
13638         (identify_blocks): Fix indentation.
13639         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
13640         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
13641         * function.h (insert_block_after_note): Remove prototype.
13642         (retrofit_block): Likewise.
13643         * integrate.c (expand_inline_function): Don't call
13644         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
13645         just expand_start_bindings.  Use the block_map to remap old
13646         NOTE_BLOCKs to new ones.
13647         (integrate_decl_tree): Keep track of remapped blocks.
13648         * integrate.h (struct inline_remap): Add block_map.
13649         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
13650         NOTE_BLOCK on the notes.
13651         (expand_start_bindings): Rename to ...
13652         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
13653         (expand_end_bindings): Set NOTE_BLOCK.
13654         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
13655         reconstruct the BLOCK tree.
13656         * tree.h (expand_start_bindings): Macroize.  Call ...
13657         (expand_start_bindings_and_block): New function.
13659 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
13661         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
13662         to match the format.
13664 1999-12-16  David S. Miller  <davem@redhat.com>
13666         * expr.c (emit_move_insn_1): Only emit clobbers if one of
13667         the outputs is a SUBREG.
13668         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
13669         change.
13671         * config/sparc/sparc.c (epilogue_renumber): Add default case
13672         to switch stmt.
13674 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13676         * toplev.c (rest_of_compilation): Run branch shortening after
13677         reg-stack.
13679         * regclass.c (loop_depth): Remove
13680         (scan_one_insn): Do not handle LOOP_NOTE insns.
13681         (regclass): Go through basic blocks and set loop_cost
13683 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
13685         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
13687 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13689         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
13690         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
13691         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
13693 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
13695         * loop.c (insert_loop_mem): Ignore memory clobbers.
13697         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
13698         to (OP A B).
13700 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
13702         * profile.c: Remove redundant #include "output.h".
13704         * h8300.md (HImode preinc peephole): Fix typo.
13706 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
13708         * function.c (retrofit_block): Abort if we don't find a suitable insn.
13709         (insert_block_after_note): Abort if we don't have a previous block.
13710         Remove FN parameter.
13711         * function.h: Adjust.
13713 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
13715         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
13716         argument more than once.
13718 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
13720         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
13722 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
13724         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
13726 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13728         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
13729         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
13730         update stack_alignment_needed.
13731         (prepare_function_start): Initialize stack_alignment_needed
13732         * function.h (struct function): Add field stack_alignment_needed.
13734 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13736         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
13737         Handle live_throughout / dead_or_set instead of live_before /
13738         live_after.
13739         (save_call_clobbered_regs): Get register livenessinformation from
13740         chain->live_throughout.
13741         (add_stored_regs): New function.
13742         (insert_restore, insert_save): Add restored / saved registers to
13743         dead_or_set.
13744         * global.c (reg_dies): New parameter chain.
13745         (reg_becomes_live): Third parameter is regs_set now.
13746         Changed all callers.
13747         (reg_dies): New parameter chain.  Changed all callers.
13748         (build_insn_chain): Set live_throughout instead of
13749         live_before / live_after.
13750         * reload.h (struct insn_chain): Replace members live_before /
13751         live_after with live_throughout / dead_or_set.
13752         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
13753         instead of live_before / live_after.
13754         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
13755         (order_regs_for_reload, find_reg, finish_spills): Likewise.
13756         (choose_reload_regs_init): Likewise.
13757         * stupid.c (current_chain, find_clobbered_regs): Delete.
13758         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
13759         instead of chain->live_before / chain->live_after.
13760         (mark_hard_ref): New function.
13761         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
13763 1999-12-15  David S. Miller  <davem@redhat.com>
13765         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
13767 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13769         * flow.c (calculate_loop_depth): Make global, remove prototype,
13770         rewrite to use new loop infrastructure.
13771         (find_basic_block): Remove calculate_loop_depth call.
13772         * toplev.c (rest_of_compilation): Call find_basic_block.
13773         * output.h (calculate_loop_depth): Declare.
13775         * flow.c (dump_flow_info): Dump loop_depth.
13776         (flow_loops_nodes_find): Increase loop_depth for basic block in the
13777         body.
13778         (flow_loops_find): Initialize the loop_depth for each basic block.
13780 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
13782         * tree.c (decl_function_context): Handle virtual functions.
13784         * tlink.c (scan_linker_output): Don't look in demangled name when
13785         looking for linker output keywords.
13787         * dwarfout.c (output_type): We can defer namespace-scope classes.
13789 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
13791         * regclass.c (record_reg_classes): Update comment for merging
13792         register class preferences in reg->reg copies.  Tighten conditions
13793         for merging register class preferences in reg->reg copies.
13795 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
13797         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
13799 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
13801         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
13802         (INIT_SECTION_ASM_OP): Delete.
13803         (FINI_SECTION_ASM_OP): Delete.
13804         (STARTFILE_SPEC): Define to hold just crtbegin.o.
13806 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
13808         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
13809         the abstract origin wasn't emitted.
13811         * dwarf2out.c (class_scope_p): New fn.
13812         (gen_subprogram_die): Use it.
13813         (gen_variable_die): Use it.  Tweak logic.
13814         (gen_struct_or_union_type_die): Check context_die to determine
13815         if we're function-local.
13816         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
13818 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
13820         * loop.c (check_dbra_loop): Can't reverse a biv that has
13821         maybe_multiple set.
13823 1999-12-14  Nick Clifton  <nickc@cygnus.com>
13825         * config/arm/arm.c: Add support for -mcpu=arm720 command line
13826         switch.
13828 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13830         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
13831         for givs made from biv increments.
13833 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
13835         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
13836         * alpha.c (override_options): Recognize -mcpu=ev67.
13837         * alpha.h (CPP_CPU_EV67_SPEC): New.
13838         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
13839         (EXTRA_SPECS): Update.
13841 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
13843         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
13844         appropriate for -lang-c89 and -std=*.
13845         * cppinit.c (cpp_handle_option): Likewise.
13846         (new_pending_define): New, split out from cpp_handle_option.
13847         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
13848         or enable trigraphs for -ansi/-std=*.
13850         * ginclude/stdarg.h (__va_copy): New.
13851         (va_copy): Don't define for C89.
13853 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
13855         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
13856         for long long multiply-accumulate.
13858 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13860         * regclass.c (scan_one_insn): Set loop_cost to 1 when
13861         optimizing for size.
13863 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
13865         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
13866         if something changed.  Back out that part of yesterday's changes.
13868         * loop.c (loop_max_reg): New static variable.
13869         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
13870         max_reg_num.
13871         (scan_loop): Call reg_scan_update whenever we may have added new
13872         registers, and update loop_max_reg.
13874 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13876         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
13877         when source does not die.
13879         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
13881 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
13883         * config/sparc/linux64.h (TARGET_LIVE_G0,
13884         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
13885         variants on Linux.
13886         * config/sparc/linux.h (TARGET_LIVE_G0,
13887         TARGET_BROKEN_SAVERESTORE): Likewise.
13888         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
13889         TARGET_BROKEN_SAVERESTORE): Likewise.
13891         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
13892         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
13893         not %g2.
13894         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
13895         as sparc64 block profiling register.
13896         * config/sparc/sparc.c (sparc_override_options): Allow block
13897         profiling with -m32.
13898         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
13899         profiling register.
13900         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
13901         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
13902         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
13904         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
13905         for sparc64.
13906         * config/sparc/sparc.h: Likewise.
13907         * config/sparc/xm-sysv4-64.h: Likewise.
13908         * config/float-sparc.h: Likewise.
13909         * glimits.h: Likewise.
13910         * longlong.h: Likewise.
13912         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
13913         (ASM_IDENTIFY_GCC): Remove.
13915 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
13917         * combine.c (combine_simplify_rtx): Don't make shared rtl.
13918         (simplify_logical): Likewise.
13920 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
13922         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
13923         * cppfiles.c (INO_T_EQ): Likewise.
13925 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
13927         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
13928         * i386/mingw32.h (LIB_SPEC): Likewise.
13929         (STARTFILE_SPEC): Likewise.
13930         * i386/uwin.h (LIB_SPEC): Likewise.
13931         (STARTFILE_SPEC): Likewise.
13933         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
13934         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
13936 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
13938         * combine.c (combine_simplify_rtx): Fix order of checks for
13939         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
13941 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
13943         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
13944         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
13946 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
13948         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
13949         defined.
13950         * regclass.c (inv_reg_alloc_order): New array.
13951         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
13953         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
13954         counted_for_groups, counted_for_nongroups.  Add fields rld and
13955         n_reloads.
13956         * reload.c (push_secondary_reload): Don't set nongroup field of
13957         new reloads.
13958         (push_reload): Likewise.
13959         (find_reloads): Delete code to compute nongroup fields.
13960         * reload1.c (reload_insn_firstobj): New static variable.
13961         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
13962         users changed.
13963         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
13964         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
13965         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
13966         functions.
13967         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
13968         functions.
13969         (struct hard_reg_n_uses): Deleted.
13970         (potential_reload_regs): Deleted.
13971         (init_reload): Initialize spilled_pseudos and pseudos_counted.
13972         (reload): Don't try to allocate reload registers if we already know
13973         we have to make another pass.  Call select_reload_regs.  Free memory
13974         starting with reload_firstobj when starting another pass.
13975         Don't allocate spilled_pseudos.
13976         (calculate_needs_all_insns): Call copy_reloads for an insn that
13977         needs reloads; don't call calculate_needs.
13978         (spill_cost): New static array.
13979         (used_spill_regs_local): New static variable.
13980         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
13981         to compute potential_reload_regs.
13982         (find_reload_regs): Completely rewritten to use find_reg.
13983         (allocate_reload_reg): Don't test counted_for_groups or
13984         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
13985         all cllers changed.
13986         (choose_reload_regs): Add fallback code that uses the existing
13987         register allocation from find_reload_regs.
13989 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
13991         * flow.c (create_edge_list): Cast xmalloc return value.
13993 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
13995         * doprnt.c: Remove incorrect comment closure.
13997         * cse.c: Fix a few minor whitespace goofs.
13999 1999-12-13  Don Bowman  <don@pixstream.com>
14001         * mips/vxworks.h: Fix problem with comment termination.
14002         (EXTRA_SECTIONS): Add in_sbss.
14003         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
14005 1999-12-12  David S. Miller  <davem@redhat.com>
14007         * cse.c (struct cse_reg_info): Add hash_next member,
14008         reorder rest of struct for better packing on 64-bit
14009         hosts.
14010         (cse_reg_info_tree): Kill.
14011         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
14012         REGHASH_FN): New custom pow2 hash mechanism.
14013         (NBUCKETS): Kill.
14014         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
14015         use a pow2 hash table.
14016         (get_cse_reg_info): Rework to use new REGHASH.
14017         (new_basic_block): Likewise, use HASH_SIZE, and inline
14018         free_element call.
14019         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
14020         and inline free_element call.
14021         (lookup_as_function, insert, flush_hash_table, invalidate,
14022         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
14023         invalidate_for_call, use_related_value, find_comparison_args,
14024         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
14025         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
14026         get_element): Kill.
14028 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
14030         * cse.c (cse_basic_block): Free qty_table consistently.
14032 1999-12-12  David S. Miller  <davem@redhat.com>
14033             Jakub Jelinek    <jakub@redhat.com>
14035         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
14036         SUBREGs by hand, gen the appropriate hard reg directly.
14037         (movtf reg/mem split): Likewise and alter_subreg on destination
14038         if necessary.
14039         (movtf mem/reg split): Similarly.
14040         (movdf_cc_sp64): Rename from hidden pattern.
14041         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
14042         (movtf_cc_sp64, following split): New pattern and splitter.
14043         (movdf_cc_reg_sp64): Rename from hidden pattern.
14044         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
14045         TARGET_HARD_QUAD.
14046         (movtf_cc_reg_sp64, following split): New pattern and splitter.
14048 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
14050         * loop.c (load_mems): Don't hoist written floating point mem
14051         if -ffloat-store.
14053 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
14055         * except.h (struct eh_queue): Add `next' pointer.
14056         (struct eh_status): Make x_ehqueue a pointer.
14057         (push_ehqueue):  Declare.
14058         (pop_ehqueue): Likewise.
14059         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
14060         pointer.
14061         (expand_fixup_region_end): Likewise.
14062         (expand_leftover_cleanups): Likewise.
14063         (push_ehqueue): Define.
14064         (pop_ehqueue): Likewise.
14065         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
14066         than doing it inline.
14067         (expand_start_all_catch):  Adjust now that ehqueue is a
14068         pointer.
14069         (mark_eh_queue): Mark all level of the queue.
14070         (mark_eh_status):  Adjust now that ehqueue is a
14071         pointer.
14072         (init_eh_for_function): Allocate ehqueue.
14073         (free_eh_status): Free it.
14074         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
14075         expansion for a fixup.
14077 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14079         * gthr-single.h (__gthread_active_p): Add prototype arguments.
14081         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
14082         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
14083         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
14084         function_ptr, getpagesize, __enable_execute_stack,
14085         __enable_execute_stack, __clear_insn_cache,
14086         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
14087         _cleanup, _exit, __default_terminate, __terminate_func,
14088         __terminate, __empty, __throw, new_eh_context,
14089         eh_context_initialize, eh_context_static, eh_context_specific,
14090         get_eh_context, __get_eh_context, __get_eh_info,
14091         init_reg_size_table, eh_threads_initialize,
14092         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
14093         __unwinding_cleanup, throw_helper, __throw, __rethrow,
14094         __pure_virtual): Add prototype arguments.
14095         (__bb_exit_func): Cast a sizeof to long when comparing against one.
14096         Cast a signed value to unsigned long when comparing against one.
14097         (new_eh_context): Wrap in _GTHREADS macro.
14098         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
14099         declaration.
14100         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
14101         (throw_helper): Initialize variables `handler_p' and `pc_p'.
14103 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14105         * combine.c (record_promoted_value): Remove unused variable
14106         `links2'.
14108         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
14110         * global.c (record_conflicts): Likewise for `j'.
14112         * genoutput.c (output_insn_data): Don't unnecessarily cast away
14113         const-ness.
14115 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14117         * i386-protos.h (output_387_binary_op, output_fix_trunc,
14118         output_fp_compare): Constify a char*.
14120         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
14121         static prototypes.
14122         (override_options, ix86_comp_type_attributes, print_operand,
14123         output_387_binary_op, output_fix_trunc, output_fp_compare):
14124         Constify a char*.
14125         (ix86_sched_reorder): Mark parameter `clock_var' with
14126         ATTRIBUTE_UNUSED.
14128         * i386.h (DEBUG_PRINT_REG): Constify a char*.
14130 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
14132         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
14133         operand, for use in the Java front-end.
14135 1999-12-10  Ben Collins  <bcollins@debian.org>
14137         * configure.in: Fix typo for "-64" in 64bit as check.
14138         * configure: Rebuilt.
14140 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
14142         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
14143         appropriate.
14145 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14147         * c-parse.in (string): With -Wtraditional, warn if ANSI string
14148         concatenation is utilized.
14150         * invoke.texi (-Wtraditional): Document it.
14152 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14154         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
14155         Cast a ptrdiff_t to long and pass it to printf with %ld.
14157 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
14159         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
14160         68881, we have no 68881 registers at all.
14161         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
14162         value in a 68881 register if it is available.
14164 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
14166         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
14167         for long long multiply-accumulate.
14169 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
14171         * loop.c (insert_loop_mem): Undo last change.
14173 1999-12-10  David S. Miller  <davem@redhat.com>
14175         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
14176         New functions.
14177         * config/sparc/sparc-protos.h: Add them.
14178         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
14179         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
14180         constraints which use those helpers.
14181         (EXTRA_CONSTRAINT): Use this new macro.
14182         * md.texi: Update sparc target constraints documentation.
14183         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
14184         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
14185         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
14186         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
14187         (movsf high/lo_sum split): Rework for new patterns.
14188         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
14190 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
14192         * c-common.c (c_common_nodes_and_builtins):
14193         Create __builtin_ptrdiff_t and __builtin_size_t.
14195 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
14197         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
14199 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14201         * regclass.c (globalize_reg): Re-instate test that allows
14202         fixed registers to be declared as a variable even after functions
14203         are defined.
14205 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14207         * i386.md (cpu attribute): Add "athlon".
14208         (athlon_decode): New attribute.
14209         (Athlon scheduling units definitions): New.
14210         (fcmp and shld patterns): Set athlon_decode to "vector".
14211         * i386.c (athlon_cost): New.
14212         (m_ATHLON): New.
14213         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
14214         x86_use_sahf): Set for Athlon.
14215         (x86_use_fiop): Unset for Athlon.
14216         (override_options): Define Athlon alignments and "athlon" name.
14217         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
14218         * i386.h (TARGET_ATHLON): New.
14219         (enum processor_type): Add PROCESSOR_ATHLON.
14220         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
14221         for CPU_DEFAULT==5
14222         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
14224 1999-12-09  Andreas Jaeger  <aj@suse.de>
14226         * loop.c (record_biv): Declare parameter as int.
14228         * config/i386/i386-protos.h: Declare long_memory_operand.
14230 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
14232         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
14233         EXPR_WITH_FILE_LOCATION.
14235 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
14237         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
14238         in expander.
14240         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
14242         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
14243         updating code.
14245 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
14247         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
14248         default on linux64 again.
14249         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
14250         models for multilibing.
14251         * genmultilib: Accept | as alternative separator within a set in
14252         MULTILIB_OPTIONS.
14254         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
14256         * calls.c (precompute_arguments): Make sure initial_value contains
14257         value pseudo which CSE expects.
14258         * cse.c (struct set): New entry orig_src.
14259         (cse_insn): Set it early on entry, use it for libcall EQUIV note
14260         replacement.
14262 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
14264         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
14266 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
14268         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
14270 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
14272         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
14273         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
14275         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
14276         if TARGET_ARCH32.
14278         * longlong.h: Merge in changes from glibc.
14279         Also don't clobber %g2 register in 32bit SPARC assembly, so that
14280         -mno-app-regs libgcc can be compiled.
14281         * libgcc2.c: Add defines so that the updated longlong.h
14282         can be used in libgcc2.a. Also, make sure on most architectures
14283         (at least on all which have optimized code in longlong.h defined
14284         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
14286 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14288         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
14289         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
14290         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
14291         is GNU ld.
14292         * configure: Rebuilt.
14294 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
14296         * alpha.c (secondary_reload_class): For !BWX, sub-simode
14297         outputs require a register.
14299 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
14301         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
14302         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
14303         functions like dptoul will be resolved.
14304         (libgcc2.a): Make sure that the object files from DPBIT are named
14305         differently (prefix `_dp') from those that would be coming from
14306         FPBIT.
14308 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
14310         * configure.in: When target is sparc* and tm_file contains 64,
14311         test for 64bit support in assembler.  If not supported, remove
14312         sparc/t-sol2-64 from target-dependent Makefile fragments.
14313         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
14314         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
14315         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
14316         * acconfig.h (AS_SPARC64_FLAG): Added.
14317         * configure, config.in: Rebuilt.
14318         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
14319         support.  Use AS_SPARC64_FLAG.
14321 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
14323         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
14324         suitable for holding OFmode values so that gcc works with complex
14325         quad long doubles.
14326         (hard_64bit_mode_classes): Likewise.
14328         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
14329         so that it is actually matched.
14330         (sethi_di_medlow): Likewise.
14332         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
14333         as legitimate constant if -mvis.
14334         * config/sparc/sparc.md (movtf): Likewise.
14335         (clear_sf): Use const_double_operand.
14336         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
14338         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
14339         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
14340         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
14341         routines, _Qp_* cannot be handled like that now.
14342         (INIT_TARGET_OPTABS): Likewise.
14343         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
14344         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
14345         sparc_emit_float_lib_cmp if ARCH64 and soft float.
14346         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
14347         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
14348         divtf3, sqrttf3): New expanders.
14349         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
14350         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
14351         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
14352         non-_hq patterns.
14354         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
14355         * configure: Rebuilt.
14356         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
14357         -mcpu is given and we're doing 64bit compiles.
14359 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
14361         * loop.h (struct induction): Add multi_insn_incr.
14362         * loop.c (basic_induction_var): New multi_insn_incr argument.
14363         Set it if we search back through previous insns for the biv.
14364         (record_biv): New multi_insn_incr argument; fill in struct induction.
14365         (strength_reduce): Discard an iv with multiple bivs, any of
14366         which require multiple insns to increment.
14368 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
14370         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
14371         documentation.
14373 1999-12-06  David S. Miller  <davem@redhat.com>
14375         * combine.c (check_promoted_subreg): Do not conditionalize this upon
14376         PROMOTE_FUNCTION_RETURN.
14378 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
14380         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
14381         and handle REG_UNUSED note on insn.
14383         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
14384         inner_mask instead of mask.
14386 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
14388         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
14389         zero if there was an error.
14391 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
14393         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
14394         output string.
14396         * longlong.h: Fix clobbers in SPARC asm statements.
14398         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
14399         valid sethi operations when TARGET_ARCH64.
14401         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
14402         always use move_by_pieces to avoid infinite recursion.
14403         (restore_fixed_argument_area): Likewise.
14405         * combine.c (check_promoted_subreg, record_promoted_value): New
14406         functions.
14407         (combine_instructions): Use them to retain nonzero and sign bit
14408         information after SUBREGs are eliminated by optimizations in
14409         this pass if PROMOTE_FUNCTION_RETURN.
14411         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
14412         .register declaration. Don't use variables with __ prefixes.
14414 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14416         * fold-const.c (optimize_bit_field_compare): Only use one mode
14417         for both RHS and LHS in non-constant case.
14419 1999-12-06  Nathan Sidwell  <nathan@acm.org>
14421         * frame.c (start_fde_sort): Only allocate erratic array, if
14422         linear one was allocated. Return allocated flag.
14423         (fde_insert): Only insert, if there's a valid array.
14424         (fde_end_sort): Split, sort and merge if linear and erratic
14425         arrays exist, else just sort linear one.
14426         (search_fdes): New function. Linear search through original fde
14427         structure.
14428         (frame_init): Permit multiple initializations. Cope with
14429         memory shortages.
14430         (find_fde): Fallback on linear search, if failed to sort array.
14431         (__deregister_frame_info): Only free sorted array, if we
14432         allocated it.
14434 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
14436         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
14438 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
14440         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
14442 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
14444         * tree.h (special_function_p): Declare.
14445         * calls.c (special_function_p): Make it global.  Don't take `name'
14446         as a parameter.  Fix typo in 1999-11-28 change.
14447         (expand_cal): Adjust.
14449 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
14451         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
14452         * tree.h (EXPR_WFL_FILENAME): Define in terms of
14453         EXPR_WFL_FILENAME_NODE.
14454         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
14455         the TREE_CHAIN.
14456         * print-tree.c (print_note): Print TREE_PRIVATE and
14457         TREE_PROTECTED.
14459         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
14460         the original die cannot be found.
14462         * varray.h (varray_head_tag): Add elements_used.
14463         (VARRAY_PUSH): New macro.
14464         (VARRAY_POP): Likewise.
14465         (VARRAY_TOP): Likewise.
14466         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
14467         types.
14468         * varray.c (varray_init): Initialize elements_used.
14469         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
14470         (INTEGRATE_H): New variable.
14471         (integrate.o): Depend on INTEGRATE_H.
14472         (unroll.o): Likewise.
14474         * function.h (insert_block_after_note): Declare.
14475         * function.c (insert_block_after_note): Split out from ...
14476         (retrofit_block): ... here.
14478         * stmt.c (expand_fixup): Fix typo in comment.
14480 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14482         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
14483         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
14484         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
14485         (regmove_optimize, fixup_match_1): Likewise.
14487 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14489         * flow.c (flow_loops_dump): Add missing argument when calling
14490         flow_loop_nested_p.
14492 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
14493             Greg McGary  <gkm@gnu.org>
14495         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
14496         (init_attributes): Add A_NO_LIMIT_STACK.
14497         (decl_attributes): Handle A_NO_LIMIT_STACK.
14498         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
14499         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
14500         Handle stack bounds checking.
14501         * flags.h (flag_stack_check): Use the word 'probe' rather than
14502         'check', because the flag doesn't actually cause any checking to
14503         be done.
14504         * function.c (expand_function_start): Set
14505         current_function_limit_stack.
14506         * function.h (struct function): Add limit_stack.
14507         (current_function_limit_stack): Define.
14508         * invoke.texi (Code Gen Options): Document new options.
14509         * rtl.h: Declare stack_limit_rtx.
14510         * toplev.c (stack_limit_rtx): New variable.
14511         (decode_f_option): Handle new options -fstack-limit-register=REG,
14512         -fstack-limit-symbol=IDENT, -fno-stack-limit.
14513         (main): Add stack_limit_rtx as GC root.
14514         * tree.h (DECL_NO_LIMIT_STACK): New macro.
14515         (struct tree_decl): New member no_limit_stack.
14517         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
14518         stack_limit_rtx.
14519         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
14520         (conditional_trap+1): Get new mnemonic correct.
14521         (conditional_trap+2): New pattern for DImode traps.
14523         * config/m68k/m68k.c (output_function_prologue): Handle
14524         stack_limit_rtx.
14525         * config/m68k/m68k.md (trap): New insn.
14526         (conditional_trap): New insn.
14527         * md.texi (Standard Names): Document `trap' and
14528         `conditional_trap'.
14529         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
14530         so a cc0 setter doesn't get emitted at some random place in the
14531         function.
14533         * config/i960/i960.md (trap): New insn.
14534         (conditional_trap): New expander.
14535         (conditional_trap+1, conditional_trap+2): New insns for signed
14536         and unsigned cases.
14537         * config/i960/i960.c (i960_function_prologue): Use
14538         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
14540 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
14541                           Geoffrey Keating  <geoffk@cygnus.com>
14543         * flags.h (warn_padded, warn_packed): Add global var decls.
14544         * toplev.c (warn_padded, warn_packed): Add global var defns.
14545         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
14546         * stor-layout.c (layout_record): Add local variable `type'
14547         to hold often-used TREE_TYPE (field).  Add local variable
14548         `unpacked_align' to hold alignment that would be in force
14549         if no `packed' attribute were present.  Warn if `packed' attribute
14550         is unnecessary, or even harmful.  Warn when gcc inserts padding
14551         to satisfy alignment requirements of members.  Use NULL_TREE
14552         when checking whether var_size is set.
14553         * invoke.texi: Document new flags.
14555 1999-12-03  Nathan Sidwell  <nathan@acm.org>
14557         * frame.c (fde_split): Reimplement to avoid variable sized array.
14559 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14561         * combine.c (try_combine): Before fixing up LOG_LINKS for the
14562         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
14564 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
14566         * invoke.texi: Document the mips option -mno-crt0
14568 1999-12-02  Mike Karr  <mkarr@mathworks.com>
14570         * cccp.c (argdata): Added free_ptr member.
14571         (macroexpand): Initialize free_ptr of each argument. When an
14572         argument's buffers are freed, if the argument's free_ptr corresponds
14573         to a buffer on the input stack, then return the free_ptr to that stack
14574         frame, otherwise, free it.
14575         (macarg): If an argument begins and ends on the same input stack level,
14576         then transfer the free_ptr of that buffer to the argument in case
14577         the stack is popped during the processing of a subsequent argument.
14579 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
14581         * loop.c (note_reg_stored): New function.
14582         (struct note_reg_stored_arg): New structure.
14583         (try_copy_prop): Change to be more conservative; only replace within
14584         one extended basic block and stop replacing if a store to the
14585         replacement reg is seen.
14587 1999-12-02  Nick Clifton  <nickc@cygnus.com>
14589         * config/fp-bit.c: Initialise all fields of the NAN
14590         constants.
14592         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
14593         to HANDLE_PRAGMA.
14595 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
14597         * i386.md (extend?f?f2): Force the input into a register, not
14598         the output.
14600 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
14602         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
14603         regclass' sake.
14604         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
14605         alternative because setting up 64bit constant is usually costly,
14606         especially when reload is in progress or completed.
14607         (movdf_const_intreg_sp64): Likewise.
14608         (movdf_const_intreg split): Fix building up constants when
14609         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
14611 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
14613         * combine.c (if_then_else_cond): Use const_true_rtx instead of
14614         const1_rtx for return values in EQ/NE comparison against (const_int 0)
14615         case.
14617         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
14618         (asm_file_start): Emit .am33 into assembly file when compiling for
14619         the AM33.
14620         (print_operand_address): Handle POST_INC addresses.
14621         (can_use_return_insn, initial_offset): Check AM33 registers too.
14622         (expand_prologue): Check & save AM33 registers too.
14623         (expand_epilogue): Similarly.
14624         (secondary_reload_class): Handle AM33 specific secondary reloads.
14625         (output_tst): Emit efficient code for the AM33 too.
14626         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
14627         (TARGET_SWITCHES): Add -mam33 switch.
14628         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
14629         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
14630         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
14631         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
14632         (enum reg_class, REG_CLASS_NAMES): Likewise.
14633         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
14634         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
14635         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
14636         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
14637         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
14638         (HAVE_POST_INCREMENT): Define.
14639         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
14640         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
14641         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
14642         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
14643         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
14644         (zero_extend to SI from QI/HI): Likewise.
14645         (sign_extend to SI from QI/HI): Likewise.
14646         (mulsidi3, umulsidi3): New patterns for the AM33.
14647         (tstsi with zero extension from QI/HI): Add AM33 variants.
14648         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
14649         (return_internal_regs, store_movm): Handle new AM33 registers.
14650         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
14651         (LIBGCC, INSTALL_LIBGCC): Likewise.
14652         * invoke.texi: Document new flags.
14654 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14656         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
14657         (addsi3_carry): Likewise.
14658         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
14659         (sbbsi3_carry): Likewise.
14660         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
14661         (mulhi3): Likewise.
14662         (test?i_1): Ensure that only one operand is memory.
14663         (conditional move patterns): likewise.
14664         (shift and rotate patterns): Rewrite to expander, add
14665         "binary_operator_ok" to the condition.
14667         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
14668         * i386.h (procesor_costs): Add movzbl_load field.
14669         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
14670         non-Q registers, accept DImode registers anywhere.
14671         (Q_CLASS_P): New.
14672         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
14673         * i386.c (*_cost): Set value for movxbl_load field.
14675         * (addsi): New add to lea splitter.
14676         (ashlsi): Likewise.
14677         (lea to add/shift peep2): New.
14679 1999-12-01  Mark Salter <msalter@cygnus.com>
14681         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
14682         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
14683         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
14685 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14687         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
14688         * i386.md (movsi_xor): New.
14689         (movsi_or): New.
14690         (movsi_1, movhi_1, movqi_1): Remove.
14691         (movsi_2): Rename to movsi_1.
14692         (movhi_2): Rename to movhi_1.
14693         (movqi_2): Rename to movqi_1.
14694         (movdi_1): Remove; remove splitter.
14695         (movdi_2): Rename to movdi_1.
14696         (divmodsi4 splitter): Do not emit clobbers for move patterns.
14697         (long move peep2): Do not create QI or HI mode mov0s
14698         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
14700         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
14701         rewrite splitters.
14703         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
14704         (abs?f2_if): Likewise.
14706 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
14708         * ggc.h (ggc_test_and_set_mark): New macro.
14709         (ggc_mark_rtx): Use ggc_test_and_set_mark.
14710         (ggc_mark_tree): Likewise.
14711         (ggc_mark_rtvec): Likewise.
14712         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
14714 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
14716         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
14717         containing types.
14718         (decl_scope_table): Just an array of trees now.
14719         (push_decl_scope): Simplify.
14720         (dwarf2out_init): Adjust.
14721         (local_scope_p): New fn.
14722         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
14723         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
14724         (gen_typedef_die): Likewise.
14725         (gen_lexical_block_die): Don't call push/pop_decl_scope.
14726         (gen_inlined_subroutine_die): Likewise.
14727         (gen_abstract_function): Set current_function_decl temporarily.
14728         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
14729         Handle block extern declarations.  Don't call push/pop_decl_scope.
14730         (gen_decl_die): Fix logic for block externs.
14732 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14734         * calls.c (special_function_p): Remove `realloc' and add `strdup'
14735         to the list of functions which have attribute malloc by default.
14737 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14739         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
14740         integer constant does not match the traditional type, limit the
14741         warnings to cases where the base of the type is ten.
14743         * invoke.texi (-Wtraditional): Document it.
14745 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14747         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
14748         * rs6000.md: Only access a CONST_INT with INTVAL
14750 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
14752         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
14753         (compute_nearerout): Likewise.
14754         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
14755         size_t to unsigned long for formatting.
14757 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
14759         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
14760         Allow the user to override call-used/fixed state of %g2-5
14761         registers from the command line (with the exception of %g4 for
14762         embedded model).
14763         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
14764         there is a higher chance of having a leaf function.
14765         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
14766         for ARCH64 which has %ccr register.
14767         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
14768         patterns.
14769         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
14770         insn accept into delay slot any insn which does not use %[ol]
14771         registers.  Accept some LO_SUM and shift left by 1 for the normal
14772         restore case.
14773         (output_function_epilogue): Likewise.
14774         (epilogue_renumber): Added argument which inhibits any renumbering
14775         and just tests if the rtx does not use any %[ol] registers.
14776         (output_return): Reflect above change.
14778 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
14780         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
14781         aggregate passing for sizes <= 16 bytes.
14783 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
14785         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
14786         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
14787         * reload.c (find_dummy_reload): Likewise.
14788         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
14789         * reload1.c (reload_as_needed): Likewise.
14790         * stupid.c (stupid_find_reg): Likewise.
14791         * tm.texi (Obsolete Register Macros): Delete section.
14792         * gmicro.h: Remove all traces of the two macros.
14793         * i386.h: Likewise.
14794         * m88k.h: Likewise.
14795         * mips.h: Likewise.
14797 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
14799         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
14800         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
14801         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
14802         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
14803         units for the sparclite86x chip.
14804         (flush): Revert October 14th change; add SImode specifically.
14805         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
14806         * invoke.texi: Document it.
14808 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
14810         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
14811         psimode_truncation_operand.
14813         * config/mn10200/mn10200.c (psimode_truncation_operand): New
14814         function.  Return true if the operand is either a MEM valid
14815         for a PSImode address or not a MEM at all.
14817         * config/mn10200/mn10200.md (truncsipsi2): Use
14818         psimode_truncation_operand.
14820 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14822         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
14823         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
14824         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
14825         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
14826         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
14827         (flow_loop_level_compute, low_loops_level_compute): Likewise.
14828         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
14829         * basic-block.h: Protect from multiple inclusion.
14830         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
14831         (struct loops, struct loop): Define structures.
14832         * sbitmap.c (sbitmap_a_subset_b_p): New function.
14833         * sbitmap.h: Protect from multiple inclusion.
14834         (sbitmap_a_subset_b_p): Add prototype.
14835         * Makefile.in (LOOP_H): New macro.
14836         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
14838 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
14840         * cppinit.c (CAT): The argument list of this macro may not contain
14841         spaces !
14843 1999-11-29  David S. Miller  <davem@redhat.com>
14845         Move quantity tables and register equivalence chains into
14846         per-qty and per-register structure arrays respectively.
14847         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
14848         qty_const_insn, qty_comparison_code, qty_comparison_const,
14849         qty_comparison_qty): Delete, replace with...
14850         (qty_table): this structure table.
14851         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
14852         (reg_eqv_table): this structure table.
14853         (make_new_qty): Add argument MODE.  Caller updated.
14854         Update to use qty_table and reg_eqv_table.
14855         (make_regs_eqv, delete_reg_equiv, insert_regs,
14856         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
14857         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
14858         cse_process_notes, cse_main, cse_basic_block): Likewise.
14860 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14862         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
14863         operation if C is negative.
14864         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
14865         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
14866         law for some divisions if constant is negative and change other
14867         divisions to the opposite rounding.
14869         * expr.c (store_constructor_field): If bit position is not multiple
14870         of alignment of TARGET's mode, use BLKmode.
14872         * expr.c (expand_expr_unaligned): Add more code from full case
14873         that is needed when OP0 is in a register.
14875 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14877         * dwarfout.c (field_byte_offset): Size can be zero if there was
14878         an error.
14880 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
14882         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
14883         (associate_trees): Delete unused var TEM.
14884         (extract_muldiv): Delete unused var CANCEL_P.
14886         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
14887         (target_isinf, target_isnan, target_negative): Add return types to
14888         function definitions.
14890 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
14892         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
14893         * fixinc/hackshell.tpl: ditto
14894         * fixinc/fixtests.c(double_slash_test): more C++ header testing
14895         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
14897 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
14899         * reload.c (push_reload): When looking for a register to put into
14900         reg_rtx, make sure all hard regs in a multi-reg register are in the
14901         right class and nonfixed.
14903         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
14904         pending_read_insns, pending_write_insns, pending_read_mems,
14905         pending_write_mems, pending_list_length, last_pending_memory_flush,
14906         last_function_call, sched_before_next_call): Move static variables
14907         into a structure.
14908         (bb_ prefixed versions): Replace with single array bb_deps.
14909         (struct deps): New structure.
14910         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
14911         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
14912         argument of type "struct deps *"; use that instead of global
14913         variables.  All callers changed.
14914         (init_rgn_data_dependencies): Delete function.
14915         (init_rtx_vector): Delete function.
14916         (init_deps): New function.
14918         (free_pending_lists): Simplify, we always use the bb_deps array even
14919         if only one basic block.
14920         (compute_block_backward_dependences): Likewise.
14921         (schedule_region): Likewise.
14923         (propagate_deps): New function, broken out of
14924         compute_block_backward_dependences.
14925         (compute_block_backward_dependences): Use it.
14927         * alpha.md: Delete useless patterns that tried to work around
14928         register elimination problems.
14930         * unroll.c (loop_iterations): Don't abort if iteration variable
14931         was made by loop.
14933         From Joern Rennecke:
14934         * reload1.c (reloads_conflict): Reverse test comparing operand
14935         numbers when testing for conflict between output/outaddr reloads.
14937 1999-11-29  David S. Miller  <davem@redhat.com>
14939         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
14940         arg.
14941         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
14943 1999-11-28  Robert Lipe  <robertl@cygnus.com>
14945         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
14946         table from .fini into .dtor.
14948 1999-11-28  Anthony Green  <green@cygnus.com>
14950         * tree.h (struct tree_decl): Add malloc_flag.
14951         (DECL_IS_MALLOC): Define.
14952         * c-common.c (attrs): Add A_MALLOC attribute.
14953         (init_attributes): Add this attribute to the table.
14954         (decl_attributes): Handle malloc attribute.
14955         * calls.c (special_function_p): Check for the malloc attribute.
14956         * extend.texi (Function Attributes): Document malloc attribute.
14958 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
14960         * pa.md (reload shift-add patterns): Remove.
14962 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14964         * reorg.c (dbr_schedule) Print more statistics. Corrected
14965         problem when printing info when 3 delay slots are filled.
14967 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
14969         * combine.c (setup_incoming_promotions): Pass an outgoing
14970         regno to FUNCTION_ARG_REGNO_P which it expects.
14972 1999-11-28  Andreas Jaeger  <aj@suse.de>
14974         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
14976 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
14978         * cccp.c (do_include): Avoid initialization of automatic variable.
14980         * integrate.c (mark_stores): Function definition made void, to match
14981         previous declaration.
14982         * regclass.c (dump_regclass): Ditto.
14983         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
14985 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14987         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
14988         known to be multiple of divisor.
14990         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
14992         * combine.c (try_combine): Add code to try to merge a set of a
14993         two-word pseudo to a constant with a setting of one of those words
14994         to a constant.
14996         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
14997         (split_tree): Completely rework to make more general.
14998         (make_range, fold): Call negate_expr.
14999         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
15000         (fold, associate): Call new split_tree and associate_trees.
15001         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
15003 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
15005         * loop.c (try_copy_prop): Avoid GNU C extension.
15007 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
15009         * except.c (init_eh_for_function): Still zero eh_return_context,
15010         eh_return_stack_adjust, and eh_return_handler.
15012         * except.h (eh_status): Adjust documentation for x_protect_list.
15013         (begin_protect_partials): New function.
15014         * except.c (enqueue_eh_entry): Fix formatting.
15015         (get_first_handler): Add consistency check.
15016         (add_partial_entry): Adjust usage of protect_list.
15017         (emit_cleanup_handler): Save and restore ehqueue.
15018         (expand_start_all_catch): Add comment.
15019         (begin_protect_partials): New function.
15020         (end_protect_partials): Adjust usage of protect_list.
15021         (init_eh_for_function): Use xcalloc.
15023 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15025         * c-common.c (check_format_info): Don't call a variadic function
15026         with a non-literal format string.
15028         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
15030         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
15031         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
15032         Likewise.
15034         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
15035         Likewise.
15037         * collect2.c (collect_wait): Likewise.
15039         * dbxout.c (dbxout_type): Likewise.
15041         * gcc.c (do_spec_1): Likewise.
15043         * genemit.c (gen_insn, gen_expand): Likewise.
15045         * genrecog.c (write_switch, write_subroutine): Likewise.
15047         * mips-tfile.c (catch_signal, botch): Likewise.
15049         * print-rtl.c (print_rtx): Likewise.
15051         * toplev.c (default_print_error_function, report_error_function,
15052         _fatal_insn): Likewise.
15054 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
15056         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
15058 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15060         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
15061         operations when needed.
15062         * i386.md (fop_?f_comm): New.
15063         (fop_?f_1): Do not accept commutative operands.
15065 1999-11-25  Andreas Jaeger  <aj@suse.de>
15067         * config/mips/mips.md (casesi_internal): Add missing brace.
15069 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
15071         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
15072         (splice_child_die): Handle moving a child DIE from the declaration
15073         DIE of a class to its specification.
15074         (gen_struct_or_union_type_die): Use 'complete' consistently.
15075         (gen_decl_die): Generate the virtual context DIE first.
15076         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
15078 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
15080         * config/mips/mips.md (call_value_multiple_interanal1): New.
15082 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
15084         * dwarf2out.c (free_AT, free_die): New fns.
15085         (remove_children): Call them.
15086         (output_line_info): Disable removal of duplicate notes.
15088         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
15089         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
15090         means pretend the type isn't defined.
15091         Don't defer emitting types.
15092         (gen_type_die_for_member): New fn.
15093         (gen_decl_die): Call it.
15094         (splice_child_die): New fn.
15095         (gen_member_die): Call it rather than generate duplicate dies.
15097         Defer emitting information for the abstract instance of an inline
15098         until we either inline it or emit an out-of-line copy.
15099         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
15100         from output_inline_function if DECL_ABSTRACT is also set.
15101         (block_ultimate_origin): Likewise.
15102         (gen_abstract_function): New fn.
15103         (gen_decl_die, gen_inlined_subroutine_die): Call it.
15104         (gen_subprogram_die):  An abstract instance is not a declaration
15105         just because it doesn't match current_function_decl.  Don't abort
15106         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
15107         has an abstract origin.
15108         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
15109         abstract instance here.
15111 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
15113         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
15114         where we need to reload fpul from a system register.
15116 1999-11-24  Andreas Jaeger  <aj@suse.de>
15118         * config/mips/linux.h (CPP_PREDEFINES): Added.
15119         (LINK_SPEC): Remove -Y since this is only needed on sparc.
15121 1999-11-24  Andreas Jaeger  <aj@suse.de>
15123         * config/mips/linux.h (TARGET_VERSION): Added.
15124         (HANDLE_SYSV_PRAGMA): Added.
15125         (DEFAULT_VTABLE_THUNKS): Added.
15127 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15129         * local-alloc.c (qty): New structure and static variable.
15130         (qty_phys_reg): Remove, all references changed to qty.
15131         (qty_n_refs): Likewise.
15132         (qty_min_class): Likewise.
15133         (qty_birth): Likewise.
15134         (qty_death): Likewise.
15135         (qty_size): Likewise.
15136         (qty_mode): Likewise.
15137         (qty_n_calls_crossed): Likewise.
15138         (qty_alternate_class): Likewise.
15139         (qty_changes_size): Likewise.
15140         (qty_first_reg): Likewise.
15141         (alloc_qty): Rename variable QTY to QTYNO.
15142         (finf_free_reg): Likewise.
15143         (local_alloc): Allocate qty, do not allocate the removed variables.
15145 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
15147         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
15148         when -membedded-pic is passed.
15150         * config/mips/mips.md (casesi): Handle 64-bit case too.
15151         (casesi_internal_di): New insn.
15153         * config/mips/mips.c (embedded_pic_offset): Always make the
15154         embedded-pic subtractions relative to the name of the current
15155         function by use of the magic string "..CURRENT_FUNCTION".
15156         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
15158 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
15160         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
15161         of (const_int 0), when what we really care about is
15162         whether it's a zero constant anyway.
15163         (div_trap_mips16): Likewise.
15165 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
15167         * loop.c (loop_optimize): Always find_loop_tree_blocks and
15168         unroll_block_trees when generating debuggable code.
15170         * tree.h (unsave_expr_1): New function.
15171         (lang_unsave): New variable.
15172         (get_callee_fndecl): New function.
15173         * tree.c (unsave_expr_now_r): New function.
15174         (lang_unsave): Define.
15175         (unsave_expr_1): Likewise.
15176         (unsave_expr_now_r): Split out from unsave_expr_now.
15177         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
15178         call unsave_expr_now_r.
15179         (get_callee_fndecl): Define.
15181         * Makefile.in (gencheck): Don't depend on lang_tree_files.
15182         (gencheck.o): Do depend on lang_tree_files.
15184         * integrate.h (copy_decl_for_inlining): New declaration.
15185         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
15186         (copy_decl_for_inlining): New function.
15187         (integrate_parm_decls): Use it.
15188         (integrate_decl_tree): Likewise.
15190 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
15192         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
15193         the second two from the first.
15194         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
15195         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
15196         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
15197         ISA_HAS_FP4.
15198         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
15199         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
15200         ISA_HAS_FP4.
15202 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
15204         * pa.md (call_internal_symref, call_value_internal_symref): No mode
15205         needed on the address operand.
15206         * pa.c (call_operand_address): Check for the correct mode.
15208 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
15210         * loop.c: Include "basic-block.h".
15211         (try_copy_prop, replace_loop_reg): New functions.
15212         (load_mems): Detect registers that just hold copies of the hoisted
15213         mem, and call try_copy_prop to eliminate them.
15214         * Makefile.in (loop.o): Update dependencies.
15216 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
15218         * Makefile.in (gencheck.o): Depend on gencheck.h.
15219         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
15220         (insn-peep.o): Depend on except.h and function.h.
15221         (insn-attrtab.o): Depend on RECOG_H.
15222         (insn-output.o): Depend on toplev.h and flags.h.
15223         (gengenrtl.o): Depend on real.h.
15224         (gen-protos.o): Depend on cpplib.h and cpphash.h.
15225         Unify all dependencies to be on RECOG_H rather than recog.h.
15227 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15229         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
15230         * configure.in: Try building a bi-arch 32/64-bit compiler on
15231         sparc-*-solaris2.7 and higher.
15232         * configure: Rebuild.
15234 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
15236         * config/freebsd.h: New, FreeBSD architecture independent file.
15237         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
15238         independent pieces.
15239         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
15240         directly by i386/freebsd.h.
15241         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
15242         independent configuration file.
15243         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
15244         directly by i386/freebsd.h.
15245         * configure: Rebuilt.
15247         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
15248         which is in the user's namespace.
15249         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
15250         `i386' which is not in our namespace.
15252 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
15254         * invoke.texi (ARM Options): Add in -mno-alignment-traps
15256 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
15258         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
15259         (add_dwarf_attr, add_child_die): Just push onto the front.
15260         (reverse_die_lists): New fn.
15261         (add_sibling_attributes): Use it.
15262         (push_decl_scope): Reorganize.
15263         (add_name_and_src_coords_attributes): Don't set file and line for
15264         an artificial decl.
15265         (gen_subprogram_die): An artificial function doesn't need to match
15266         file and line.
15267         (gen_compile_unit_die): Return the generated die.  Only add
15268         AT_comp_dir if the filename is relative.
15269         (remove_AT): Simplify loop.  Also free string values.
15270         (output_die): A DIE ref can't be null.
15271         (output_value_format, value_format): Take a dw_attr_ref.
15272         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
15273         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
15274         AT_addr, AT_lbl): New fns.
15275         (various): Use them.
15276         (various): Constify.
15278 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15280         * combine.c (combine_simplify_rtx): When handling a SUBREG,
15281         take SUBREG_WORD into account.
15282         (if_then_else_cond): Likewise.
15284 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
15286         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
15287         clause from BSD license, pursuant with
15289           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
15291 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
15293         * loop.c (load_mems): Reformat slightly.
15294         * basic-block.h (regset_head): New typedef.
15295         (INIT_REG_SET): New macro.
15297 1999-11-22  Bruce Korb  <autogen@linuxbox.com
15299         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
15300         (mips-dec-bsd*): non-functional code
15301         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
15303         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
15304         added three replacement fixes
15305         (no_double_slash): removed comments that are not (any longer) pertinent
15306         (bad_lval): this fix currently runs against many files.
15307         The comment seems to indicate that we should select for files
15308         containing 'pragma extern_prefix'.
15310         * fixinc/fixinc.x86-linux-gnu: deleted
15311         * fixinc/inclhack.sh:  regen
15312         * fixinc/fixincl.x:  regen
15313         * fixinc/fixincl.sh:  regen
15315 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
15317         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
15318         its code is INSN and it has no notes.
15320 1999-11-22  Andrew Haley  <aph@cygnus.com>
15322         * varasm.c (function_defined): Remove.
15323         (make_function_rtl): Don't set function_defined.
15324         (make_decl_rtl): Remove global register warning.
15325         * regclass.c (no_global_reg_vars): New variable.
15326         (globalize_reg): Warn if function has already been defined.
15327         (regclass_init): Set no_global_reg_vars.
15329 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15331         * regclass.c (reg_pref): New structure and static variable
15332         (prefclass): Delete.
15333         (altclass): Delete.
15334         (all uses of prefclass and altclass): Use reg_pref instead.
15336 1999-11-21  Nick Clifton  <nickc@cygnus.com>
15338         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
15339         -malignment-traps.
15340         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
15341         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
15342         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
15344 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
15346         * varasm.c (output_constructor): Solve problem with long long
15347         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
15349 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15351         * global.c (allocno): New structure and static variable.
15352         (allocno_reg): Remove, all references replaced by allocno.
15353         (allocno_size): Likewise.
15354         (hard_reg_conflicts): Likewise.
15355         (hard_reg_preferences): Likewise.
15356         (hard_reg_copy_preferences): Likewise.
15357         (hard_reg_full_preferences): Likewise.
15358         (regs_someone_prefers): Likewise.
15359         (allocno_calls_crossed): Likewise.
15360         (allocno_n_refs): Likewise.
15361         (allocno_live_length): Likewise.
15362         (find_reg): Rename ALLOCNO to NUM.
15364         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
15365         references updated.
15366         (may_move_out_cost): New variable.
15367         (init_reg_sets_1): Initialize may_move_out_cost.
15368         (record_reg_classes): Use may_move_out_cost.
15370         * regclass.c (dump_regclass): New function.
15371         (regclass): New parameter DUMP, call DUMP_REGCLASS.
15372         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
15373         pass rtl_dump_file to regclass.
15374         * rtl.h (regclass): Update prototype.
15376 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15378         * i386.md (neg, not and abs patterns): Revmap to use
15379         ix86_expand_unary_operator and ix86_unary_operator_ok.
15380         (add?f and sub?f expanders): Force operand 1 to register.
15381         * i386.c (ix86_expand_unary_operator): Rewrite.
15382         (ix86_unary_operator_ok): Ensure that memory operands
15383         match real opcode.
15384         (ix86_binary_operator_ok): Do not allow operand 1 to
15385         come into memory and operand 0 not.
15386         (ix86_expand_binary_operator): Ensure that
15387         src1 is not non-matching memory.
15389         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
15390         to support integer registers and memory.
15391         (abss?2_integer): Likewise.
15393         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
15394         (REG_CLASS_NAMES): Likewise.
15395         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
15396         and GENERAL_REGS.
15397         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
15398         (movsf): Likewise; unify 4th and 5th alternative.
15399         (pushdf): Likewise.
15400         (movdf_1): Likewise; rename to movdf_integer.
15401         (pushxf): Likewise; rename to pushxf_integer; fix output template;
15402         remove redundant splitter.
15403         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
15404         (movdf_nointeger): New.
15405         (movxf_nointeger): New.
15406         (pushxf_nointeger): New.
15408         * i386.md (extend?f?f): Split to expander and pattern, refuse two
15409         memory operands in patterns.
15410         (fop*): Refuse two memory operands.
15412         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
15413         on !TARGET_USE_CLTD CPUs.
15415 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
15417         * extend.texi: Document C++ restricted pointers and references.
15419 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
15421         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
15422         (invalidate_skipped_set): Call it unconditionally.
15423         (cse_set_around_loop): Likewise.
15425 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
15427         * rtl.texi (mem): Add documentation for alias-set argument
15428         to RTX `mem'.
15430 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15432         * i386.h (struct_processor_costs): New fields int_load, int_store,
15433         fp_move, fp_load and fp_store
15434         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
15435         fp->int moves
15436         (MEMORY_MOVE_COST): New macro.
15437         * i386.c (386_cost): Define new fields.
15438         (i486_cost): Likewise.
15439         (pentium_cost): Likewise.
15440         (pentiumpro_cost): Likewise.
15441         (k6_cost): Likewise.
15443 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
15444                           Geoffrey Keating  <geoffk@cygnus.com>
15446         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
15448         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
15449         MASK_ALIGN_INT.
15451         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
15452         (TARGET_STRICT_ALIGNMENT): New macro.
15453         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
15454         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
15455         * invoke.texi (M680x0 Options): Document -mstrict-align.
15457 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
15458                           Richard Henderson  <rth@cygnus.com>
15460         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
15461         (ix86_split_long_move): Declare.
15462         * i386.c (split_xf, ix86_split_movdi): Remove.
15463         (ix86_split_to_parts, ix86_split_long_move): New.
15464         * i386.md (dimode move splitters): Use ix86_split_long_move.
15465         (dfmode move splitters): Likewise.
15466         (xfmode move splitters): Likewise.
15467         (movsf_1): Allow F->r.
15468         (movdf_1, movxf_1): Allow F->ro.
15470 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
15472         * except.h (struct eh_entry): Add goto_entry_p.
15473         (eh_region_from_symbol): Remove prototype.
15474         * except.c (find_func_region_from_symbol): New function.
15475         (emit_cleanup_handler): Likewise.
15476         (eh_region_from_symbol): Make it static.
15477         (add_new_handler): Verify the argument.
15478         (find_func_region): Update comment.
15479         (expand_eh_region_end): Expand handlers here, rater than waiting
15480         until expand_leftover_cleanups or start_all_catch.
15481         (expand_leftover_cleanups): Don't expand here.
15482         (expand_start_all_catch): Or here.
15483         (expand_rethrow): Check the return value from find_func_region.
15484         * function.c (expand_function_end): Emit the catch_clauses.
15486 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
15488         * integrate.c (expand_inline_function): Add necessary check for NULL.
15490 1999-11-18  Nick Clifton  <nickc@cygnus.com>
15492         * toplev.c (main): Correctly detect an unrecognised option.
15494         * cppinit.c (cpp_handle_option): Do not claim to have consumed
15495         a -f option if it has not been recognised.
15497 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
15499         * basic-block.h (update_life_extent): Remove trailing comma on
15500         enumeration type list.
15502 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15504         * varasm.c (output_constructor) Solved problem with long long
15505         bitfields. Corrected calculating this_time and shift. Also
15506         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
15508 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
15510         * flow.c (split_edge): Take looping structure into account when
15511         determining where to put the new block note.
15513 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
15515         * Makefile.in (ggc-none.o): Provide host specific version if
15516         needed.
15518 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
15520         * cse.c (delete_trivially_dead_insns): Identify no-op insns
15521         containing subregs too.
15523 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
15525         * invoke.texi: Add documentation for -muninit-const-in-rodata.
15526         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
15527         (TARGET_UNINIT_CONST_IN_RODATA): Define.
15528         (text_section): Add switches -munint-const-in-rodata and
15529         -mno-uninit-const-in-rodata.
15530         (ASM_OUTPUT_COMMON): Remove.
15531         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
15532         const objects should be placed in read-only data. Otherwise declare
15533         them in common.
15535 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
15537         * jump.c (jump_optimize_1): Revert last change.
15539 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
15541         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
15542         test if optimizing for size.
15544 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
15546         * Makefile.in (toplev.o): Depend on except.h.
15547         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
15549 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15551         * i386.md (divmodsi4): Rewrite to expander.
15552         (*divmodsi4_nocltd): New.
15553         (*divmodsi4_cltd): New.
15554         (divmodsi4 splitter): Handle the case when input comes in edx.
15555         (udivmodhi4): Do not use constraints in exander.
15556         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
15558 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
15560         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
15561         for the common case.
15563 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
15565         * explow.c (hard_function_value): Add outgoing argument.
15566         * expr.h (hard_function_value): Declare it.
15567         * calls.c (expand_call, emit_library_call_value): Update callers.
15568         * function.c (aggregate_value_p): Ditto.
15569         (diddle_return_value): Must look at the outgoing registers
15570         on archs with register windows.
15572 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
15574         * alpha.c (alpha_build_va_list): Use make_lang_type and
15575         initialize TYPE_NAME for the va_list record.
15577         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
15579         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
15580         for printing.
15581         * ggc.h (struct ggc_statistics): Rearrange elements for better
15582         packing on 64-bit hosts.
15583         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
15584         (compute_nearerout): Likewise.
15586 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
15588         * config/rs6000/rs6000.c (first_reg_to_save): Save
15589         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
15591 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
15593         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
15594         notion of nesting to find the DIE for a type or function.
15595         DIEs can go in limbo even if we got a context_die.
15596         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
15597         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
15598         for local type.
15599         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
15600         (gen_type_die): Writing out the context doesn't cause member class
15601         template instantiations to be written out as well.
15603 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
15605         * rs6000.h (ASM_OUTPUT_DEF): New.
15606         Based on proposed addition from David Edelsohn.
15608 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
15609             Bruce Korb  <autogen@linuxbox.com>
15611         * fixinc/inclhack.def
15612         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
15613         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
15614                 in net/inet.h.
15615         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
15616         (svr4_endian): enabled with SVR5
15617         (svr4_mkdev): simplified syntax and enabled with SVR5
15619 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
15621         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
15622         * configure: Rebuilt.
15623         * config/t-freebsd-thread: New file.
15625 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
15627         * i386.c (ix86_decompose_address): Verify the base is a REG
15628         before trying to examine its register number.
15630         * basic-block.h: Remove all #defines and prototypes related to
15631         integer lists.
15632         (free_bb_mem, compute_preds_succs): Remove prototype.
15633         * rtl.h (free_bb_mem): Remove prototype.
15634         * flow.c (alloc_int_list_node); Remove function.
15635         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
15636         (compute_preds_succs, free_bb_mem): Likewise.
15637         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
15638         * toplev.c (rest_of_compilation): Likewise.
15639         * haifa-sched.c (build_control_flow): Use flow generated edge
15640         list to build the haifa specific edge list.
15641         (find_rgns): Use new CFG data structures instead of pred/succ lists.
15642         (schedule_insns): Do not build pred/succ lists anymore.  Instead
15643         build the edge table.
15645         * basic-block.h (dump_bb_data): Remove declaration.
15646         * flow.c (dump_bb_data): Remove function.
15647         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
15648         (sbitmap_union_of_predsucc): Likewise.
15650         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
15651         argument.  All callers changed.
15652         (delete_null_pointer_checks_1): No longer need to compute the
15653         pred/succ lists.
15655         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
15656         All callers changed.
15657         (pre_expr_reaches_here_p_work): Likewise.
15658         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
15659         * lcm.c (compute_laterin): Fix initialization of LATER.
15660         (compute_nearerout): Similarly for NEARER.
15662 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15664         * cse.c (set_nonvarying_address_components): Delete unused function.
15665         (refers_to_p): Likewise.
15667 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
15669         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
15670         needed.
15672 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15674         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
15675         definition in do while (0).
15677 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
15679         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
15681 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
15683         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
15685 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
15687         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
15688         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
15689         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
15690         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
15692         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
15693         saved on the stack.  Output more accurate stack frame statistics
15694         into assembler file.
15696 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
15698         * genextract.c (record_insn_name): New function.
15699         (get_insn_name): No longer a stub.
15700         (main): Call record_insn_name for each insn.  After each label
15701         written, print the insn name in a comment.
15703 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15705         * output.h (const_section, init_section, fini_section): Add
15706         prototypes.
15708         * alpha/elf.h (const_section): Delete declaration.
15710         * svr4.h (const_section): Likewise.
15712 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
15714         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
15715         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
15716         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
15717         expressions.
15718         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
15719         variable-sized array bounds.
15721 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
15723         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
15724         ASM_OUTPUT_LABEL.
15726 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15728         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
15729         addresses the same way GO_IF_LEGITIMATE_INDEX does.
15731 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15733         * cse.c (hash_arg_in_struct): Delete.
15734         (struct table_elt): Delete elt in_struct.
15735         (struct set): Delete elt src_in_struct.
15736         (merge_equiv_classes): Don't set either hash_arg_in_struct or
15737         the corresponding in_struct elts.
15738         (canon_hash): Likewise.
15739         (safe_hash): Likewise.
15740         (find_best_addr): Likewise.
15741         (record_jump_cond): Likewise.
15742         (cse_insn): Likewise.
15744 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
15746         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
15748         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
15749         unsigned types.
15751 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
15753         * function.c (diddle_return_value): Put back check that the DECL_RTL
15754         for the function is a register.
15756         * function.c (diddle_return_value): Use hard_function_value to
15757         get an rtx suitable for use in the USE/CLOBBER insn.
15759         * global.c (global_conflicts): Update comments.
15760         (record_conflicts): No need to record conflicts between pseudos here.
15762 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
15764         * fixinc/fixincl.c: Added verbose levels for status messages
15766 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15768         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
15769         operand as argument to expand_and or expand_binop.
15771 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
15773         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
15774         gcc_add_string_root.
15776 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
15778         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
15780 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
15782         * flow.c (compute_flow_dominators): Initially put all blocks on
15783         the worklist.
15784         * lcm.c (compute_antinout_edge, compute_available): Similarly.
15785         * gcse.c (compute_cprop_avinout): Remove.
15786         (compute_cprop_data): Use compute_available.
15787         (delete_null_pointer_checks_1): Use compute_available.
15789         * basic-block.h (compute_available): Returns a void now.
15790         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
15791         to return a value anymore.
15792         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
15793         worklists.  Fix boundary cases. Compute maximal solutions.
15794         (compute_laterin, compute_nearerout): Similarly.
15796         * dwarf2out.c (add_AT_location_description): Allow
15797         (mem (plus (pseudo) (...)) too.
15799 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
15801         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
15803 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
15804                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15806         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
15808         * gansidecl.h: Likewise.
15810         * rtl.c: Likewise.
15812         * rtl.h: Likewise.
15814         * toplev.h: Likewise.
15816         * tree.c: Likewise.
15818         * tree.h: Likewise.
15820         * varray.c: Likewise.
15822         * varray.h: Likewise.
15824 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
15826         * gcov.c (struct arcdata): Add hits and total, remove prob.
15827         (output_branch_counts): New.
15828         (process_args): Set output_branch_counts if -c.
15829         (calculate_branch_probs): Store hits and total instead of
15830         percentage.
15831         (output_data): Emit counts if output_branch_counts is true.
15832         * gcov.texi (Invoking Gcov): Document -c switch..
15834 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
15836         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
15837         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
15839 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
15841         * invoke.texi (C Dialect Options): Add missing builtins from
15842         c-common.c to list.
15843         * extend.texi (Other Builtins): Copy to this list.
15845 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15847         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
15848         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
15849         redundant bitmap.h.
15851 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
15853         * flow.c (compute_flow_dominators): No longer treat basic block 0
15854         or (n_basic_blocks - 1) specially.  Clear the AUX field before
15855         starting computation of doms/pdoms.  Fix initial state for pdoms.
15857 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15859         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
15860         match rtl.o's: added ggc.h and toplev.h
15861         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
15862         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
15863         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
15865 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
15867         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
15868         from HAVE_DOS_BASED_FILESYSTEM.
15869         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
15870         HAVE_DOS_BASED_FILESYSTEM.
15871         (main): Likewise.
15872         (split_directories): Only special-case DOS file names if
15873         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
15874         instead of explicit tests.  Conditionalize on !VMS.
15875         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
15876         tests.  Conditionalize on !VMS.
15877         (process_command): Only use make_relative_prefix if !VMS.
15878         (free_split_directories): Conditionalize on !VMS.
15879         (DIR_UP): Conditionalize on !VMS.
15881 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15883         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
15885 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15887         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
15888         case.
15890 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
15892         * invoke.texi (Environment Variables): Document relative path
15893         lookup.
15894         * gcc.c (DIR_UP): If not defined, define as "..".
15895         (standard_bindir_prefix): New static, holds target location to
15896         install binaries.
15897         (split_directories): New function to split a filename into
15898         component directories.
15899         (free_split_directories): New function, release memory allocated
15900         by split_directories.
15901         (make_relative_prefix): New function, make a relative pathname if
15902         the compiler is not in the expected location.
15903         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
15904         can figure out an appropriate prefix from argv[0].
15905         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
15906         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
15907         STANDARD_BINDIR_PREFIX.
15909 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15911         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
15912         in c4x.c.
15913         * config/c4x/c4x.h: Moved prototypes to c4x.h.
15914         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
15915         c4x_secondary_memory_needed) Delete.
15916         (fp_zero_operand): Add mode argument.
15918 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
15920         * reload1.c (reload_reg_free_for_value_p): Don't use a register
15921         that is in reload_reg_used.
15923 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
15925         * config/arm/arm-protos.h: New file: Prototypes for functions
15926         defined in arm.c and pe.c.
15927         * config/arm/arm.h: Fix compile time warnings.
15928         * config/arm/arm.c: Fix compile time warnings.
15929         * config/arm/pe.h: Fix compile time warnings.
15930         * config/arm/aout.h: Fix compile time warnings.
15932 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
15934         * config/m32r/m32r-protos.h: New file: Prototypes for functions
15935         defined in m32r.c
15937         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
15938         Add support for subtargets.
15939         Add prototypes for new predicates.
15940         Add scheduling macros.
15942         * config/m32r/m32r.c: Fix compile time warnings.
15943         (int8_operand): New predicate function.
15944         (reg_or_cmp_int16_operand): New predicate function.
15945         (extend_operand): New predicate function.
15946         (m32r_adjust_code): New scheduling function.
15947         (m32r_adjust_priorty): New scheduling function.
15948         (m32r_sched_init): New scheduling function.
15949         (m32r_sched_reorder): New scheduling function.
15950         (m32r_sched_variable_issue): New scheduling function.
15951         (direct_return): New codegen function.
15952         (m32r_not_same_reg): New rtl testsing function.
15954         * config/m32r/m32r.md: Fix compile time warnings.
15955         Add support for pre decrement and post increment memory
15956         references.
15957         Add S<cc> patterns.
15958         Add fabs patterns.
15960 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15962         * global.c (EXECUTE_IF_CONFLICT): Don't define.
15963         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
15964         (find_reg): Likewise.
15966 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
15968         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
15969         to avoid assembler errors.
15971 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
15973         * config/v850/v850-protos.h: New file: Prototypes for functions
15974         defined in v850.c
15975         * config/v850/v850.h: Move prototypes to v850-protos.h
15976         * config/v850/v850.c: Move prototypes to v850-protos.h
15977         * config/v850/v850.md: Fix compile time warnings.
15979         * config/fr30/fr30-protos.h: New file: Prototypes for functions
15980         defined in fr30.c
15981         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
15982         * config/fr30/fr30.c: Fix compile time warnings.
15983         * config/fr30/fr30.md: Fix compile time warnings.
15985 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
15987         * tree.h (get_containing_scope): Declare it.
15988         * tree.c (get_containing_scope): New fucntion.
15989         (decl_function_context): Use it.
15990         * toplev.c (rest_of_compilation): Use get_containing_scope.
15992 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15994         * Makefile.in (rtl.o): Depend on toplev.h.
15996 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
15998         * cse.c (delete_trivially_dead_insns): Replace alloca with
15999         xmalloc/xcalloc.
16000         * except.c (update_rethrow_references): Likewise.
16001         (init_eh_nesting_info): Likewise.
16002         * function.c (identify_blocks): Likewise.
16003         * gcse.c (dump_hash_table): Likewise.
16004         * graph.c (print_rtl_graph_with_bb): Likewise.
16005         * loop.c (combine_movables): Likewise.
16006         (move_movables): Likewise.
16007         (count_loop_regs_set): Likewise.
16008         (strength_reduce): Likewise.
16009         * profile.c (compute_branch_probabilities): New function, split
16010         out from ...
16011         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
16012         * regclass.c (regclass): Likewise.
16013         * regmove.c (regmove_optimize): Likewise.
16014         * toplev.c (compile_file): Likewise.
16015         (main): Don't mess with the stack rlimit.
16017 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
16019         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
16020         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
16022 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
16024         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
16026 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
16028         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
16029         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
16030         macro expansion.
16032 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
16034         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
16036 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
16038         * gcse.c (post_dominators): Kill.
16039         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
16040         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
16041         pass in a pdom array since we do not need pdoms.
16042         * haifa-sched.c (schedule_insns): Similarly.
16043         * flow.c (compute_dominators): Remove dead function.
16044         (compute_flow_dominators): Do not compute doms or pdoms if the
16045         caller does not request them.  Split up loop to build doms and
16046         pdoms.  Use a worklist to compute doms and pdoms.
16047         * basic-block.h (compute_dominators): Remove prototype.
16049 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
16051         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
16052         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
16053         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
16054         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
16055         (cant_move, fed_by_spec_load, is_load_insn): Remove.
16056         (schedule_region): Remove unused variable.
16057         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
16059 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
16061         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
16062         (update_equiv_regs): Likewise.
16063         (block_alloc): Likewise.
16064         * reg-stack.c (reg_to_stack): Likewise.
16065         (convert_regs_2): Likewise.
16066         * reload1.c (reload_as_needed): Likewise.
16068 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
16070         * Makefile.in (dbxout.o): Depend on ggc.h.
16071         (dwarf2out.o): Likewise.
16072         (xcoffout.o): Likewise.
16073         * dbxout.c: Include ggc.h.
16074         (dbxout_init): Register lastfile as a root.
16075         * dwarf2out.c: Include ggc.h.
16076         (dwarf2out_line): Register lastfile as a root.
16077         * xcoffout.c: Include ggc.h.
16078         (xcoffout_source_line): Register xcoff_lastfile as a root.
16080 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
16082         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
16084 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
16086         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
16087         defined.
16088         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
16090 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16092         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
16093         (EXECUTE_IF_CONFLICT): Likewise.
16094         (ALLOCNO_LIVE_P): Avoid signed division.
16095         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
16096         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
16097         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
16099 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
16101         * haifa-sched.c (schedule_block): Don't crash if there's no
16102         next insn for an interblock movement.
16103         (add_branch_dependences): Don't allow clobber insns to move either.
16105 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
16107         * i386.c (split_xf): New.
16108         * i386-protos.h: Declare it.
16109         * i386.md (movxf_1): Add general regs alternatives.
16110         (movxf_1+1): New splitter for same.
16112 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
16114         * function.c (purge_addressof_1): Add missing return values.
16116 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
16118         * function.c (is_addressof): New function.  Returns true if
16119         the given piece of RTL is an ADDRESSOF.
16120         (purge_addressof_1): Make boolean.  Return false if the
16121         ADDRESSOFs could not be purged.
16122         (purge_addressof): If ADDRESSOFs could not be purged from the
16123         notes attached to an insn, remove the offending note(s),
16124         unless they are attached to a libcall.
16126 1999-11-05  Andreas Jaeger  <aj@suse.de>
16128         * genoutput.c (null_operand =): Initialize all fields.
16130         * errors.h: Add extern to prototypes.
16132 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
16134         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
16135         * configure: Rebuilt.
16137 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16139         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
16140         (mirror_conflicts): New function.
16141         (global_alloc): Call it.
16142         (expand_preferences): Remove redundant CONFLICTP test.
16143         (find_reg, dump_conflicts): Likewise.
16144         (prune_preferences): Process conflicts one word at a time.
16146 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
16148         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
16149         instead of an explicit loop.
16151 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
16153         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
16154         if REG_RETVAL check succeeds, then put classp in src_elt.
16156 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
16158         * function.c (pad_to_arg_alignment): Only update argument_pad
16159         if the argument's alignment is greater than STACK_BOUNDARY.
16161 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
16163         * bitmap.h (BITMAP_XFREE): New.
16164         * flow.c (life_analysis): Use it.
16165         (life_analysis_1): Free blocks.
16167         * combine.c (undo_commit): New.
16168         (try_combine): Use it.  Don't zap undobuf.undos.
16169         (combine_instructions): Don't zap undobuf.undos; free the
16170         undobuf.frees list.
16172         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
16174         * stmt.c (cost_table_): New.
16175         (estimate_case_costs): Use it instead of xmalloc.
16177         * toplev.c (compile_file): Reuse dumpname memory instead
16178         of strdup'ing it.
16180 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
16182         * reg-stack.c (convert_regs_1): Initialize target_stack->top
16183         after verifying an EH edge.
16185         * haifa-sched.c (init_rgn_data_dependences): Correctly
16186         size bb_pending_lists_length when zeroing.
16188 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
16190         * function.c (diddle_return_value): New.
16191         (expand_function_end): Use it.
16192         * stmt.c (expand_null_return): Likewise.
16193         (expand_value_return): Likewise.
16195         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
16197         * reload1.c (reload): Don't remove return value clobbers.
16199 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
16201         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
16203 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
16205         * cse.c (cse_main): Use xmalloc, not alloca.
16206         (cse_basic_block): Likewise.
16207         * local-alloc.c (local_alloc): Likewise.
16209 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
16210                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16212         * rtl.c: Include toplev.h.
16213         (fatal): Remove declaration.
16215 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
16217         * haifa-sched.c (schedule_block): Fix thinko.
16219 1999-11-03  James McKelvey <mckelvey@fafnir.com>
16221         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
16222         S_IR* defined values
16224 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
16226         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
16227         call `malloc' instead.
16229 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
16231         * flags.h (flag_renumber_insns): Declare.
16232         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
16233         renumbering table.
16234         * rtl.h (renumber_insns): Change prototype.
16235         * toplev.c (flag_renumber_insns): Define.
16236         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
16238 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
16240         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
16241         and fpsqrtd.  Use them and create fdiv function unit to more
16242         accurately represent fpu sqrt pipeline semantics on UltraSparc.
16243         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
16245 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
16247         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
16248         3 on UltraSparc.
16249         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
16250         insn into ready list, do not use just a raw swap.
16252 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
16254         * rtl.h (renumber_insns): New function.
16255         (remove_unnecessary_notes): Likewise.
16256         * emit-rtl.c (renumber_insns): Define.
16257         (remove_unncessary_notes): Likewise.
16258         * toplev.c (rest_of_compilation): Remove dead code.
16259         Use renumber_insns and remove_unncessary_notes.
16261         * gcse.c (struct null_pointer_info): New type.
16262         (get_bitmap_width): New function.
16263         (current_block): Remove.
16264         (nonnull_local): Likewise.
16265         (nonnull_killed): Likewise.
16266         (invalidate_nonnull_info): Take a null_pointer_info as input.
16267         (delete_null_pointer_checks_1): New function.
16268         (delete_null_pointer_checks): Use it.
16270         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
16271         (split_edges): Likewise.
16272         (schedule_block): Likewise.
16273         (compute_block_backward_dependencies): Likewise.
16274         (schedule_region): Likewise.
16275         (schedule_insns): Likewise.
16277 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
16279         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
16280         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
16281         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
16282         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
16283         * jump.c (delete_unreferenced_labels): Don't delete if
16284         LABEL_ALTERNATE_NAME is set.
16285         * print-rtl.c (print_rtx): Dump alternate name.
16286         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
16287         * rtl.h (LABEL_ALTERNATE_NAME): Define.
16288         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
16289         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
16291 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16293         * fix-header.c (recognized_extern, recognized_function): Constify
16294         a char*.
16296         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
16297         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
16298         (compute_available): Remove unused variable `last'.
16299         (compute_nearerout): Remove unused variable `temp_bitmap'.
16300         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
16301         Remove unused variable `x'.
16303         * scan.h (recognized_function, recognized_extern): Constify a
16304         char*.
16306         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
16308 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16310         * varasm.c (decode_rtx_const): Use XSTR to access the string
16311         of a SYMBOL_REF.
16313 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
16315         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
16317 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16319         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
16321 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
16323         * pa.c (ireg_operand): New function.
16324         * pa.h (PREDICATE_CODES): Handle ireg_operand.
16325         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
16326         Fix out of date comment.
16328         * pa.md (negdi2): Turn into expander + anonymous pattern.
16330         * reload.c (find_reloads): Fix typos in recent change.
16332         * dwarf2out.c: Do not include ctype.h.
16334 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16336         * regclass.c (record_reg_classes): Always use may_move_cost when
16337         seeing how operand fits with various register classes.
16339 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
16341         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
16342         * toplev.c: Revert Nov 1 13:22 change.
16344 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
16346         * config/pa/pa.md (height reduction patterns): Add checks for
16347         overlapping operands to avoid semantic-destroying splits for
16348         height reduction patterns.
16350 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16352         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
16353         have been an hyphen, fixed.
16354         * configure: Rebuilt.
16356 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
16358         * config/arm/tpe.h: Add prototypes for exported functions.
16359         * config/arm/pe.c: Fix compile time warnings.
16360         * config/arm/semi.h: Fix compile time warnings.
16361         * config/arm/arm.c: Fix compile time warnings.
16362         * config/arm/arm.h: Fix compile time warnings.
16363         * config/arm/arm.md: Fix compile time warnings.
16364         * config/arm/thumb.c: Fix compile time warnings.
16365         * config/arm/thumb.h: Fix compile time warnings.
16366         * config/arm/thumb.md: Fix compile time warnings.
16368 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
16370         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
16371         detection code
16373         * unroll.c (unroll_loop): Remove LOOP notes when loop is
16374         completely unrolled.
16376 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16378         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
16380 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
16382         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
16383         * rtl.h (rtx_equal_p): Move prototype.
16384         * rtl.c (rtx_equal_function_value_matters): Move from
16385         rtlanal.c
16386         (rtx_equal_p): Likewise.
16387         * rtlanal.c (rtx_equal_function_value_matters): Delete.
16388         (rtx_equal_p): Likewise.
16390 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
16392         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
16393         ! HAS_INIT_SECTION.
16395 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
16397         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
16399         * pa.h (ADDR_VEC_ALIGN): Define.
16401         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
16402         notes when presented with "if (foo) break; end_of_loop" and
16403         the break sequence gets moved out of the loop.
16405         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
16406         Remove explicit zero initializations of entries within MAP.
16408 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
16410         * reg-stack.c (convert_regs_1): Handle EH edges specially.
16412 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
16414         * bitmap.h (BITMAP_XMALLOC): New macro.
16415         * flow.c (CLEAN_ALLOCA): Remove.
16416         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
16417         (life_analysis): Likewise.
16418         (update_life_info): Don't use CLEAN_ALLOCA.
16419         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
16420         (calculate_global_regs_live): Likewise.
16421         (print_rtl_with_bb): Likewise.
16422         (verify_flow_info): Likewise.
16423         * global.c (global_alloc): Likewise.
16424         (global_conflicts): Likewise.
16425         * integrate.c (save_for_inline_nocopy): Likewise.
16426         (expand_inline_function): Likewise.
16427         * jump.c (jump_optimize_1): Likewise.
16428         (duplicate_loop_exit_test): Likewise.
16429         (thread_jumps): Likewise.
16430         * loop.c (loop_optimize): Likewise.
16431         (combine_givs): Likewise.
16432         (recombine_givs): Likewise.
16433         * reorg.c (dbr_schedule): Likewise.
16434         * unroll.c (unroll_loop): Likewise.
16436         * combine.c (combine_instructions): Use xmalloc instead of alloca.
16438 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
16440         * toplev.c (rest_of_compilation): Don't optimize the CFG
16441         when rebuilding, just before dbr.
16443 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16445         * output.h (assemble_end_function, assemble_destructor,
16446         assemble_constructor, assemble_gc_entry, assemble_global,
16447         assemble_label, output_constant_pool) Constify a char*.
16449         * varasm.c (assemble_destructor, assemble_constructor,
16450         assemble_gc_entry, assemble_end_function, assemble_global,
16451         assemble_label, output_constant_pool): Likewise.
16453 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
16455         * config/arm/thumb.c (thumb_expand_prologue): Add comments
16456         explaining what is goin on in this function.
16458 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16460         * regclass.c (record_reg_classes): In matching case, recompute
16461         costs since the direction of movement is different.
16463 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
16465         * resource.c (mark_target_live_regs): For unconditional branches,
16466         the resources found at the branch target should be added to the
16467         resources found so far, not intersected.
16469 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
16471         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
16472         old cpp's.
16473         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
16474         (sys/mman.h): Include this file only if #HAVE_MMAP.
16475         (run_compiles): Initialize `esac_fmt' with one old KR string, not
16476         with automatically concatenated ANSI strings.
16478 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
16480         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
16481         (DIV_ROUND_UP): Robustify.
16482         (ggc_recalculate_in_use_p): New function.
16483         (release_pages): Don't inline it.
16484         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
16485         outer contexts.
16486         (ggc_pop_context): Use ggc_recalculate_in_use_p.
16487         (clear_marks): Always save in_use_p.
16488         (sweep_pages): Use ggc_recalculate_in_use_p.
16489         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
16490         Release pages before counting statistics.
16492 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
16494         * toplev.c (rest_of_compilation): Fix thinko in this change:
16496         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
16498         (rest_of_compilation): If inside an inlined external function,
16499         pretend we are just being declared.
16501 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
16503         * flow.c (calculate_global_regs_live): Fix thinko.
16505         * integrate.c (expand_inline_function): Fix bugs in previous
16506         change from Oct 28, 1999.
16508 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
16510         * stmt.c (expand_value_return): Fix typo in this change:
16512         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16513         (expand_value_return): Correctly convert VAL when promoting function
16514         return; support RETURN_REG being a PARALLEL.
16516 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
16518         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
16520 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16522         * hard-reg-set.h (reg_names): Constify a char*.
16524         * regclass.c  (reg_names): Likewise.
16526         * regs.h (reg_names): Likewise
16528         * a29k/a29k.c (reg_names): Delete declaration.
16530         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
16532         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
16533         arc_output_function_epilogue): Likewise.
16535         * elxsi/elxsi.c (reg_names): Likewise.
16537         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
16539         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
16540         Likewise.
16542         * m88k/m88k.c (output_function_profiler): Likewise.
16544         * sparc/sparc.c (sparc_flat_output_function_prologue,
16545         sparc_flat_output_function_epilogue): Likewise.
16547 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
16549         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
16550         warning from -Wuninitialized and put it under -W.
16551         * function.c (uninitialized_vars_warning): Warn only when the
16552         corresponding flag is set.
16554 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
16556         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
16557         is nonzero and the single set does not have an elt, then assign
16558         it an elt.
16560         * simplify-rtx.c: New file.
16561         * Makefile.in (OBJS): Add simplify-rtx.o
16562         (simplify-rtx.o): Add dependencies.
16563         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
16564         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
16565         (cse_gen_binary, simplify_unary_operation): Delete.
16566         (simplify_binary_operation, simplify_plus_minus): Likewise.
16567         (check_fold_consts, simplify_relation_operation): Likewise.
16568         (simplify_ternary_operation): Likewise.
16569         (delete_trivially_dead_insns): Simplify the contents of the
16570         REG_EQUAL note before trying to substitute it into the source
16571         of the reg-reg copy at the end of a libcall sequence.
16573         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
16574         references/callers changed.
16576         * mn10200.c (mn10200_va_arg): Force the return value into a
16577         register.
16579         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
16581         * cccp.c (macroexpand): Avoid out of range accesses for omitted
16582         arguments.
16584 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
16586         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
16588 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
16590         * fold-const.c (fold): Fix thinko when optimizing comparisons
16591         against -0.0.
16593 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
16595         * gcc.texi (Passes): Update front-end files to their current
16596         location.
16598 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
16600         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
16601         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
16602         (PREDICATE_CODES): Add addition_operation.
16603         * alpha-protos.h (addition_operation): Declare.
16604         (secondary_reload_class): Likewise.
16605         * alpha.c (addition_operation): New.
16606         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
16607         * alpha.md (adddi3): Turn into expander.
16608         (*lda, *adddi_2): New.
16609         (movsf, movdf patterns): Don't preference integer regs.
16610         (movsi, movdi patterns): Don't preference fp regs.
16612 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
16614         * genrecog.c (write_switch): Check for duplicate CODE cases.
16616 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
16618         * ggc-common.c: Update pre-function commentary.
16619         * ggc-page.c: Likewise.
16620         (poison): Remove.
16621         (poison_pages): Use memset directly.
16622         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
16623         (ggc_collect): Poison before sweeping.
16624         * ggc-simple.c: Update pre-function commentary.
16625         (ggc_alloc_obj): Poison non-zeroed memory.
16627 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
16629         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
16630         match format string, even on 64-bit hosts.
16631         * gcc-page.c (ggc_page_print_statistics): Likewise.
16633 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
16635         * config/i386/i386.c (ix86_cpu): Revert last patch.
16636         * config/i386/i386.h (ix86_cpu): Ditto.
16638 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
16640         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
16641         TYPE_SIZE, convert type of result to sizetype.
16643 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
16645         * flow.c (count_or_remove_death_notes): Equate NULL with the
16646         universal set.
16648         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
16649         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
16650         dbr_schedule.
16652         * i386.c (pic_label_no): Delete.
16653         (ix86_attr_length_default): Don't use single_set to peek
16654         inside a parallel.
16656         * recog.c (peephole2_optimize): Allow recog_next_insn to index
16657         the first insn after bb->end.
16658         * i386.md (push mem peeps): Scratch is live after evaluation
16659         of the memory.
16660         (cmp mem peep): Similarly.
16662 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
16664         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
16665         * function.c (pad_to_arg_alignment): Add missing braces.
16667 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16669         * alpha/alpha-protos.h (literal_section): Add prototype.
16670         (alpha_need_linkage, alpha_start_function,alpha_end_function):
16671         Constify a char*.
16673         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
16674         prototype.
16675         (alpha_start_function, alpha_end_function, float_strings,
16676         alpha_need_linkage): Constify a char*
16678         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
16680         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
16682         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
16684         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
16686 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16688         * flow.c (debug_flow_info): Add prototype.
16690         * gcc.c (main): Likewise.
16692         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
16693         Likewise.
16695         * reload1.c (failed_reload, set_reload_reg): Likewise.
16697         * mips-tfile.c (main): Likewise.
16698         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
16699         with ATTRIBUTE_NORETURN.
16701 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
16703         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
16704         DECL is not a memory ref.
16706 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
16708         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
16709         * config/i386/i386.c (ix86_cpu): Add extern attribute.
16711 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
16713         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
16714         * config/mips/elf64.h: ditto.
16716 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
16718         * expr.c (emit_push_insn): New argument alignment_pad.
16719         Update all callers.  Adjust stack pointer based on alignment pad.
16720         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
16721         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
16722         (locate_and_pad_parm): New argument alignment_pad.  Update all
16723         callers.
16724         * expr.h (emit_push_insn): Update prototype.
16725         (locate_and_pad_parm): Update prototype.
16726         * calls.c (arg_data):  Add new field alignment_pad.
16727         (initialize_argument_information): Initialize alignment_pad.
16729 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
16731         * except.c (free_eh_nesting_info): Free the info itself.
16732         * function.c (free_after_compilation): Don't free NULL.
16733         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
16734         (pre_edge_insert): Free inserted.
16735         * stmt.c (free_stmt_status): Don't free NULL.
16737 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
16739         * gcov.c (DIR_SEPARATOR): Provide default.
16740         (output_data): Add test for MS-DOS format absolute filename.
16741         (fancy_abort): Correct program name.
16742         (open_files): Open all files in binary mode.
16743         * libgcc2.c (__bb_exit_func): Likewise.
16745         * profile.c (init_branch_prob): Specify binary when opening files.
16747         * flags.h (flag_unwind_tables): New decl.
16748         * toplev.c (flag_unwind_table): New definition.
16749         (f_options): Add -funwind-tables.
16750         (decode_g_option): Clarify warning when unknown -g option is given.
16751         (rest_of_compilation): If inside an inlined external function,
16752         pretend we are just being declared.
16754         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
16755         (dwarf2out_frame_finish): Likewise.
16757 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
16759         * fold-const.c (merge_ranges): If not in0, but in1, handle
16760         upper bounds equal like subset case.
16762 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
16764         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
16765         passed in a register but moved to the stack.
16767 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
16769         * gcc.c (pass_exit_codes, greatest_status): New variables.
16770         (struct option_map): Add entry for "--pass-exit-codes".
16771         (execute): Update greatest_status if error.
16772         (display_help): Add documentation for -pass-exit-codes.
16773         (process_command): Handle -pass-exit-codes.
16774         (main): Look at pass_exit_codes and greatest_status on call to exit.
16776 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16778         * reload.c (find_reloads): Refine test for no input reload
16779         case to not includes reloads emitted after insn.
16781         * function.c (find_temp_slots_from_address): Handle sum involving
16782         a register that points to a temp slot.
16783         (update_temp_slot_address): Make recursive call if both old and
16784         new are PLUS with a common operand.
16785         * calls.c (expand_call): Mark temp slot for result as having
16786         address taken.
16788         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
16790         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
16791         component as well as "BINUTILS".
16793         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
16794         * integrate.c (copy_rtx_and_substitute): Likewise.
16795         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
16796         All callers changed.
16797         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
16799         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
16800         gdb extensions, write size of type; also be more consistent
16801         in using references when this is a subtype.
16803         * pa.md (extv, extzv, insv): Use define_expand to reject constant
16804         that is out of range.
16806         * loop.c (unknown_constant_address_altered): New variable.
16807         (prescan_loop): Initialize it.
16808         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
16809         (invariant_p, case MEM): Remove handling for volatile and readonly;
16810         check new variable if readonly.
16811         (check_dbra_loop): Chdeck unknown_constant_address_altered.
16813         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
16814         (addr_affects_sp_p): Removed from note_mem_written and only
16815         define #ifdef AUTO_INC_DEC.
16817         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
16819         * regclass.c (record_reg_classes): Properly handle register move
16820         directions.
16822         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
16823         Don't think valid if both operands are invalid.
16824         (struct constant_descriptor): New field RTL.
16825         (mark_const_hash_entry): Mark it.
16826         (record_constant{,_rtx}): Initialize it.
16827         (output_constant_def): Allocate RTL in permanent obstack and
16828         save in table.
16829         ({record,compare}_constant_1): Modes must match for
16830         CONSTRUCTOR of ARRAY_TYPE.
16832         * c-common.h (initializer_constant_valid_p): Delete decl from here.
16833         * output.h (initializer_constant_valid_p): Move decl to here.
16834         * c-common.c (initializer_constant_valid_p): Delete function from here.
16835         * varasm.c (initializer_constant_valid_p): Move function to here.
16837         * tree.h (STRIP_SIGN_NOPS): New macro.
16838         * fold-const.c (optimize_minmax_comparison): New function.
16839         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
16840         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
16841         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
16842         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
16843         widening conversions.
16844         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
16845         to look at size of mode, not precision of type; also add missing cases.
16846         (optimize_bit_field_compare, decode_field_reference): Don't try to
16847         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
16849         * dwarf2out.c (ctype.h): Include.
16850         (dwarf2out_set_demangle_name_func): New function.
16851         (size_of_line_info): Deleted.
16852         (output_line_info): Compute size of line info table from difference
16853         of labels.
16854         (base_type_die, add_name_attribute): Call demangle function, if any.
16855         (field_byte_offset): Use bits per word for variable length fields.
16856         (gen_array_type_die): Add array name.
16857         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
16858         (dwarf2out_add_library_unit_info): New function.
16860         * explow.c (set_stack_check_libfunc): New function.
16861         (stack_check_libfunc): New static variable.
16862         (probe_stack_range): Allow front-end to set up a libfunc to call.
16864         * combine.c (simplify_comparison): When making comparison in wider
16865         mode, check for having commuted an AND and a SUBREG.
16866         (contains_muldiv): New function.
16867         (try_combine): Call it when dividing a PARALLEL.
16868         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
16869         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
16870         a PLUS.
16871         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
16872         use one of the CLOBBERs instead.
16873         (if_then_else_cond): If comparing against zero, just return thing
16874         being compared.
16876         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
16877         Don't generate shifts and subtract if have conditional arithmetic.
16879         * rtl.h (delete_barrier): New declaration.
16880         * jump.c (jump_optimize): Set up to handle conditional call.
16881         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
16882         (delete_barrier): New function.
16884         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
16886         * recog.c (nonmemory_operand): Accept ADDRESSOF.
16888         * tree.c (build_type_attribute_variant): Push to obstack of
16889         ttype around type_hash_canon call.
16891         * expr.c (placeholder_list): Move decl to file scope.
16892         (expand_expr): Don't force access to volatile just because its
16893         address is taken.
16894         If ignoring reference operations, just expand the operands.
16895         (expand_expr, case COMPONENT_REF): Propagate
16896         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
16897         Refine test for using bitfield operations vs pointer punning.
16898         (expand_expr, case CONVERT_EXPR): If converting to
16899         BLKmode UNION_TYPE from BLKmode, just return inner object.
16900         Use proper mode in store_field call.
16901         Properly set sizes of object to store and total size in store_field
16902         call for convert to union.
16903         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
16904         memory (like for ADDR_EXPR).  Also, don't put constant in register if
16905         we'll want it in memory.
16906         (readonly_fields_p): New function.
16907         (expand_expr, case INDIRECT_REF): Call it if LHS.
16908         (expand_assignment): Handle a RESULT_DECL where
16909         DECL_RTL is a PARALLEL.
16910         (do_jump, case WITH_RECORD_EXPR): New case.
16911         (get_inner_reference): Always go inside a CONVERT_EXPR
16912         and NOP_EXPR if both modes are the same.
16913         (store_field): Use bitfield operations if size of bitsize is not same
16914         as size of RHS's type.
16915         Check for bitpos not a multiple of alignment in BLKmode case.
16916         Do block move in largest possible alignment.
16917         (store_constructor): Set BITSIZE to -1 for variable size and properly
16918         in case of array of BLKmode.
16919         (expand_expr_unaligned): New function.
16920         (do_compare_and_jump): Call it.
16922         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
16923         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
16924         does not include 'o'.
16926         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
16927         both SET_DEST and SET_SRC reference a virtual register.
16928         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
16930         * integrate.c (expand_inline_function): Handle case of setting
16931         virtual stack vars register (from built in setjmp); when parameter
16932         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
16933         (subst_constant): Add new parm, MEMONLY.
16934         (expand_inline_function, integrate_parm_decls): Pass new parm.
16935         (integrate_decl_tree): Likewise.
16936         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
16937         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
16938         (copy_rtx_and_substitute, case SET): Add explicit calls to
16939         copy_rtx_and_substitute for both sides.
16941         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
16942         constraints.
16943         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
16944         within INDEX_TYPE, instead of before.
16945         (fixup_gotos): Use f->target_rtl, not the next insn,
16946         since latter may be from a later fixup.
16947         (expand_value_return): Correctly convert VAL when promoting function
16948         return; support RETURN_REG being a PARALLEL.
16949         (expand_return): When checking for result in regs and having
16950         cleanup, consider PARALLEL in DECL_RTL as being in regs.
16952 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
16954         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
16955         last_nominal_fname): Mark const.
16956         (struct include_hash: name, nshort, control_macro): Mark
16957         const.
16958         (struct macrodef: symnam): Mark const.
16959         (struct if_stack: fname): Mark const.
16960         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
16961         (IStable): New character-syntax array which encompasses all
16962         the old is_foo arrays.
16963         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
16964         is_space): New macros for interrogating IStable.
16965         (check_macro_name): Kill last argument.  All callers changed.
16967         * cppinit.c (initialize_char_syntax): Delete.
16968         (is_idchar, is_idstart, is_hor_space, is_space,
16969         trigraph_table): Delete.
16970         (IStable): New.  Initialize with clever macros to avoid
16971         information duplication.
16972         (builtin_array): Table of builtins to get rid of explicit list
16973         in initialize_builtins.
16974         (initialize_builtins): Use builtins_array.
16975         (cpp_start_read): Call init_IStable, and set IStable['$'] if
16976         opts->dollars_in_ident.
16978         * cppexp.c: Change all refs to is_xyz[] arrays to use new
16979         is_xyz() macros.
16980         (cpp_parse_expr): Avoid 'format string is not constant'
16981         warning. Use ISGRAPH to identify printable chars.
16982         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
16983         is_xyz() macros.
16984         (read_and_prescan): Map trigraphs to chars with open-coded
16985         if-else-if-... sequence, not a lookup table.
16986         * cpphash.c: Change all refs to is_xyz[] arrays to use new
16987         is_xyz() macros.
16988         * cpplib.c: Change all refs to is_xyz[] arrays to use new
16989         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
16990         (check_macro_name): Remove ability to report an invalid
16991         assertion name, which is never used.
16992         (do_line): Constify a couple of char *'s.
16993         * cppmain.c (main): Call cpp_cleanup before returning.
16995 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
16997         * ggc.h (struct ggc_statistics): New type.
16998         (ggc_get_size): New function.
16999         (ggc_print_statistics): Likewise.
17000         * ggc-common.c (ggc_stats): New variable.
17001         (ggc_mark_rtx_children): Keep statistics.
17002         (ggc_mark_tree_children): Likewise.
17003         (ggc_print_statistics): New function.
17004         * ggc-page.c (struct globals): Add bytes_mapped field.
17005         (alloc_anon): Update it.
17006         (release_pages): Likewise.
17007         (ggc_get_size): New function.
17008         (ggc_page_print_statistics): New function.
17009         * ggc-simple.c (ggc_get_size): New function.
17011 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
17013         * flow.c (propagate_block): When the last reference to a label
17014         before an ADDR_VEC is deleted because the reference is a dead
17015         store, delete the ADDR_VEC.
17017 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
17019         * resource.c (find_free_register): Don't use the frame pointer
17020         if frame_pointer_needed.
17022 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
17024         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
17025         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
17027         * config/i960/i960.c (i960_va_start): New locals base, num.
17028         Use INDIRECT_REF instead of ARRAY_REF on valist.
17029         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
17031 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
17033         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
17035 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
17037         * tree.def (PLACEHOLDER_EXPR): Update comments.
17039 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17041         * c-common.c (check_format_info): Avoid non-literal format string
17042         warnings when `first_arg_num' is zero.
17044 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17046         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
17048 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
17050         * arm.md (casesi_insn): Add a clobber of the condition code
17051         register.
17053 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
17055         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
17056         used by both cc1 and cc1plus.
17058 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
17060         * config/arm/arm.c: Initialise arm_structure_size_boundary to
17061         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
17062         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
17063         to the value 32 if it has not already been defined.
17064         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
17065         Override definition in arm.h with a value of 8.
17067 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
17069         * c-pragma.c (push_alignment): Don't check the return value
17070         of xmalloc.
17072 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
17074         * sparc.h (ADJUST_COST): Fix thinko.
17076 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
17078         * cccp.c (rescan): Fixed obp pointer handling around call to
17079         check_expand subroutine.
17081 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
17083         * gcse.c (delete_null_pointer_checks): Only record non-null info
17084         for pseudos when examining stores.
17086         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
17087         splitters for these patterns.  Use "#" for output templates.
17088         (addsi3_carryin_shift): New pattern.
17090 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
17092         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
17093         of the function return register into a plain REG until
17094         after function inlining is done.
17096 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
17098         * jump.c (jump_optimize_1): If we did cross-jumping, and
17099         the data will matter, rebuild the CFG.
17100         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
17101         not optimizing.  Don't run shorten_branches.
17102         * toplev.c (rest_of_compilation): Run shorten_branches after
17103         reg_to_stack.
17105 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
17107         * rtl.h (note_stores): Add additional paramter.
17108         * rtlanal.c (reg_set_p_1): Take additional paramter.
17109         (reg_set_last_1): Likewise.
17110         (reg_set_p): Adjust call to note_stores.
17111         (reg_set_last): Likewise.
17112         (note_stores): Pass data parameter to worker function.
17113         * alias.c (record_set): Take additional parameter.
17114         (init_alias_analysis): Pass it.
17115         * caller-save.c (mark_set_regs): Take additional parameter.
17116         (save_call_clobbered_regs): Pass NULL to note_stores.
17117         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
17118         parameter.
17119         (record_dead_and_set_regs_1): Likewise.
17120         (reg_dead_at_p_1): Likewise.
17121         (combine_instructions): Adjust calls to note_stores.
17122         (try_combine): Likewise.
17123         (record_dead_insn): Remove.
17124         (record_dead_and_set_regs): Adjust calls to note_stores.
17125         (reg_dead_at_p): Likewise.
17126         * cse.c (invalidate_skipped_set): Take additional parameter.
17127         (cse_check_loop_start): Likewise.
17128         (cse_check_loop_start_value): Remove.
17129         (cse_set_around_loop): Adjust calls to note_stores.
17130         * flow.c (notice_stack_pointer_modification): Take additional
17131         parameter.  Remove duplicate declaration.
17132         (record_volatile_insns): Adjust calls to note_stores.
17133         * gcse.c (record_set_info): Take additional parameter.
17134         (record_last_set_info): Likewise.
17135         (invalidate_nonnull_info): Likewise.
17136         (record_set_insn): Remove.
17137         (compute_sets): Adjust calls to note_stores.
17138         (last_set_insn): Remove.
17139         (compute_hash_table): Adjust calls to note_stores.
17140         (insert_insn_end_bb): Likewise.
17141         (delete_null_pointer_checks): Likewise.
17142         * global.c (mark_reg_store): Take additional parameter.
17143         (mark_reg_clobber): Likewise.
17144         (reg_becomes_live): Likewise.
17145         (global_conflicts): Adjust calls to note_stores.
17146         (build_insn_chain): Likewise.
17147         * integrate.c (note_modified_parmregs): Take additional parameter.
17148         (mark_stores): Likewise.  Make it static.
17149         (save_for_inline_nocopy): Adjust calls to note_stores.
17150         (try_constants): Likewise.
17151         * integrate.h (mark_stores): Remove declaration.
17152         * jump.c (mark_modified_reg): Take additional parameter.
17153         (thread_jumps): Adjust calls to note_stores.
17154         * local-alloc.c (validate_equiv_mem_from_store): Take additional
17155         parameter.
17156         (no_equiv): Likewise.
17157         (reg_is_set): Likewise.
17158         (validate_equiv_mem): Adjust calls to note_stores.
17159         (update_equiv_regs): Likewise.
17160         (block_alloc): Likewise.
17161         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
17162         (note_addr_stored): Take additional parameter.
17163         (note_set_pseudo_multiple_uses): Likewise.
17164         (record_initial): Likewise.
17165         (prescan_loop): Adjust calls to note_stores.
17166         (strength_reduce): Likewise.
17167         (check_dbra_loop): Likewise.
17168         * regmove.c (flags_set_1): Take additional paramter.
17169         (mark_flags_life_zones): Adjust calls to note_stores.
17170         * reload1.c (mark_not_eliminable): Take additional parameter.
17171         (forget_old_reloads_1): Likewise.
17172         (reload_cse_invalidate_rtx): Likewise.
17173         (reload_cse_check_clobber): Likewise.
17174         (reload_combine_note_store): Likewise.
17175         (move2add_note_store): Likewise.
17176         (reload): Adjust calls to note_stores.
17177         (reload_as_needed): Likewise.
17178         (emit_reload_insns): Likewise.
17179         (reload_cse_regs_1): Likewise.
17180         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
17181         (reload_combine): Adjust calls to note_stores.
17182         * resource.c (update_live_status): Take additional paramter.
17183         (mark_target_live_regs): Adjust calls to note_stores.
17184         * stupid.c (find_clobbered_regs): Take additional parameter.
17185         (stupid_life_analysis): Adjust calls to note_stores.
17187 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
17189         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
17190         definition.
17192         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
17193         definition.
17195         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
17196         of the variable arm_structure_size_boundary.
17198 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
17200         * alias.c (init_alias_analysis): Allocate reg_known_value and
17201         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
17202         and reg_seen.
17203         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
17204         * cse.c (cse_main): Call end_alias_analysis.
17205         * haifa-sched.c (schedule_insns): Likewise.
17206         * local-alloc. (update_equiv_regs): Likewise.
17207         * reload1.c (reload_cse_regs): Likewise.
17209 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
17211         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
17212         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
17213         mapping from MASK_FPU.
17215 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
17217         * sparc.md (call): Don't bound structure return size to 0xfff.
17219 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
17221         * resource.c (mark_target_live_regs): Check that the target
17222         insn wasn't created after compute_bb_for_insn.
17224 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
17226         * ggc-page.c (poison_pages): Don't be overzealous.
17228 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
17230         * alias.c: Update comments for ADDRESS.
17231         (nonlocal_reference_p): Look inside the ADDRESS to determine if
17232         it is a local memory reference.
17234         * c-typeck.c (build_function_call): Check that the built-in
17235         function is of class BUILT_IN_NORMAL before trying to recongize
17236         it as BUILT_IN_ABS.
17237         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
17238         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
17240 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
17242         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
17243         of alloca.
17244         (pre_gcse): Likewise.
17245         (hoist_expr_reaches_here_p): Likewise.
17246         (hoist_code): Likewise.
17247         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
17248         code to ...
17249         (pre_expr_reaches_here_p_work): ... here.
17250         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
17251         code to ...
17252         (expr_reaches_here_p_work): ... here.
17254 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
17256         * resource.c (find_basic_block): Delete.
17257         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
17258         (init_resource_info): Call compute_bb_for_insn.
17260 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
17262         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
17263         with already adjacent blocks, but no fallthru.
17264         (merge_blocks_move_successor_nojumps): Simplify.
17265         (debug_flow_info): New.
17267         * toplev.c (rest_of_compilation): Open jump1 dump file before
17268         jump and close after, as opposed to just using dump_rtl.
17270 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17272         * reload.h (earlyclobber_operand_p): Declare.
17273         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
17274         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
17275         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
17276         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
17278 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
17279                           Richard Henderson  <rth@cygnus.com>
17281         * emit-rtl.c (emit_block_insn_before): New.
17282         (emit_block_insn_after): New.
17283         * basic-block.h: Declare them.
17285         * bitmap.h: Protect from multiple inclusion.
17287         * recog.c (scratch_operand): Handle VOIDmode correctly.
17289         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
17291         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
17292         * function.c (assign_parms): Likewise.
17293         * global.c (global_conflicts): Clarify STACK_REGS commentary.
17295         * reg-stack.c (max_uid): Remove.
17296         (blocks, block_begin, block_end, block_drops_in): Remove.
17297         (block_stack_in, block_out_reg_set, block_number): Remove.
17298         (struct block_info_def, BLOCK_INFO): New.
17299         (enum emit_where): New.
17300         (current_block): New.
17301         (BLOCK_NUM): Remove.
17302         (mark_regs_pat, record_label_references): Remove.
17303         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
17304         (nan): New.
17305         (goto_block_pat, print_blocks, dump_stack_info): Remove.
17306         (reg_to_stack): Simplified test for existance of fp code.  Use
17307         flow.c code.  Call shorten_branches after cross-jump opt.
17308         (check_asm_stack_operands): Renamed from record_asm_reg_life.
17309         Return false if the asm doesn't use stack regs.  Don't do life
17310         analysis on the asm.
17311         (emit_pop_insn): Replace function pointer arg `when' with
17312         enum `where'.  Update all callers.
17313         (change_stack): Likewise.  Update basic block end.
17314         (emit_swap_insn): Use current_block->head to limit reverse search
17315         for start of block.  Use emit_block_insn_after.
17316         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
17317         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
17318         structure assignment instead of bcopy.
17319         (print_stack): New.
17320         (convert_regs_entry, convert_regs_exit): New.
17321         (convert_regs_1, convert_regs_2): Split out from convert_regs.
17322         Work on basic blocks and the CFG.
17323         (convert_regs): Use them.
17325         * i386.c (output_fix_trunc): Remove code for DImode input operand
17326         not at top-of-stack.
17327         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
17328         appropriate mode.
17329         (fix_truncdi_1): Allow any mode scratch.
17331 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
17333         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
17334         * linux.h, netbsd.h, vms.h: Not here.
17336 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
17338         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
17339         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
17340         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
17341         CONDITIONAL_REGISTER_USEAGE): Use them.
17342         * config/mips/mips.c (mips_move_1word,mips_move_2words,
17343         gen_conditional_branch,override_options) : Use them.
17344         * config/mips/mips.md : Use them.
17346 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
17348         * i386.md (zero_extendqihi2): Use SImode register name with andl.
17350 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
17352         * integrate.c (function_cannot_inline_p): Don't allow inlining
17353         if setjmp is used.
17355 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17357         * c-parse.in (cast_expr): Constify.
17359         * cccp.c (special_symbol): Likewise.
17361         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
17363         * dwarf2out.c (base_type_die): Likewise.
17365         * global.c (allocno_compare): Likewise.
17367         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
17369         * regclass.c (fix_register): Likewise.
17371         * rtl.h (fix_register): Likewise.
17373         * stupid.c (stupid_reg_compare): Likewise.
17375         * toplev.c (decode_f_option): Likewise.
17377         * tree.c (build_complex_type): Likewise.
17379 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
17381         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
17383 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17385         * reload.c (find_reloads): Compute mode and nregs fields of all
17386         reloads.
17387         * reload1.c (calculate_needs_all_insns): Simplify a bit.
17388         (calculate_needs): Use precomputed mode/nregs values.
17389         (allocate_reload_reg): Likewise.
17390         Break out two...
17391         (failed_reload, set_reload_reg): ... new functions.
17392         (choose_reload_regs_init): New function, mostly broken out from...
17393         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
17394         Also lose one #if 0 block.
17396 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
17398         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
17399         substitution.
17401 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
17403         * tree.h (BLOCK_TYPE_TAGS): Remove.
17404         (BLOCK_END_NOTE): Likewise.
17405         (BLOCK_LIVE_RANGE_FLAG): Likewise.
17406         (BLOCK_LIVE_RANGE_START): Likewise.
17407         (BLOCK_LIVE_RANGE_END): Likewise.
17408         (tree_block): Remove live_range_flag, live_range_var_flag, and
17409         type_tags.  Remove end_note, live_range_start, and live_range_end.
17410         (remember_end_note): Remove prototype.
17411         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
17412         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
17413         remember_end_note.
17414         * ggc-common.c (ggc_mark_tree_children): Don't mark
17415         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
17416         * integrate.c (adjust_copied_decl_tree): Remove.
17417         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
17418         * stmt.c (last_block_end_note): Remove.
17419         (init_stmt): Don't add a GC root for it.
17420         (expand_fixup): Don't set it.
17421         (remember_end_note): Remove.
17422         (expand_end_bindings): Don't set last_block_end_note.
17424 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17426         * reload1.c (reload_reg_free_for_value_p): Show
17427         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
17428         reloads.
17430 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
17432         * expmed.c (extract_bit_field): Allow for the case of non-integer
17433         objects that are smaller than a word (like SFmode on a 64-bit
17434         machine).
17436         * loop.c (basic_induction_var): A non-integer variable which is
17437         being set by a paradoxical subreg is probably not a biv.
17439 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
17441         * prefix.c (translate_name) Check for empty prefix string.
17443 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
17445         * Makefile.in (CPP_CROSS_NAME): New variable.
17446         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
17447         xcpp.
17448         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
17449         names of the files to be uninstalled.
17451 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
17453         * collect2.c (IS_DIR_SEPARATOR): Define.
17454         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
17456         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
17457         functions too.
17459         * haifa-sched.c (add_dependence): Update the true dependency
17460         cache the first time we add a true dependence to the LOG_LINKS chain.
17462 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
17464         * fold-const.c (fold): Fix comment.
17466 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17468         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
17469         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
17470         dbxout_start_new_source_file, dbxout_source_file,
17471         dbxout_source_line, dbxout_finish, dbxout_type_fields,
17472         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
17473         Constify a char*.
17474         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
17475         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
17476         (dbxout_block): Initialize variable `blocknum'.
17478         * dbxout.h (dbxout_init, dbxout_finish,
17479         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
17480         dbxout_args, dbxout_source_line): Constify a char*.
17482         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
17483         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
17484         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
17485         low_pc_attribute, high_pc_attribute, body_begin_attribute,
17486         body_end_attribute, comp_dir_attribute, sf_names_attribute,
17487         src_info_attribute, mac_info_attribute, producer_attribute,
17488         lookup_filename, generate_macinfo_entry, fundamental_type_code,
17489         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
17490         dwarfout_undef): Constify a char*.
17491         (add_incomplete_type, retry_incomplete_types): Add prototypes.
17493         * dwarfout.h (dwarfout_define, dwarfout_undef,
17494         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
17496 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
17498         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
17499         (MULTILIB_ISA_DEFAULT): New.
17500         (MULTILIB_DEFAULTS): Use it.
17501         * config/mips/mips.c (): Remove the now unnecessary definition
17502         of MIPS_ISA_DEFAULT.
17503         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
17504         unnecessary definition.
17506 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
17508         * arm.md (pic_load_addr): Add constraints to operand 1.
17510 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
17512         * fixinc/genfixes:  Provide a means for specifying -D options to
17513         AutoGen
17515 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
17517         * arm.c (arm_override_options): Correct initialization of
17518         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
17519         arm_is_strong, and arm_is_6_or_7.
17521         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
17522         (note_set_pseudo_multiple_uses): New function.
17523         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
17524         if a pseudo set in the loop exit is used elsewhere.
17526 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
17528         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
17530 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
17532         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
17533         a single load-address pattern.
17535 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
17537         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
17538         depending on whether or not line-number notes are present.
17540 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17542         * cccp.c (progname, file_buf, default_include, include_file,
17543         macrodef, definition, hashval, wchar_type, user_label_prefix,
17544         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
17545         expand_to_temp_buffer, is_system_include, base_name,
17546         absolute_filename, read_name_map, open_include_file,
17547         record_control_macro, check_precompiled, check_preconditions,
17548         pcfinclude, pass_thru_directive, create_definition,
17549         check_macro_name, comp_def_part, collect_expansion,
17550         check_assertion, read_token_list, assertion_install,
17551         assertion_lookup, eval_if_expression, conditional_skip,
17552         validate_else, skip_quoted_string, quote_string, macarg1,
17553         error_from_errno, install, lookup, hashf, dump_defn_1,
17554         perror_with_name, pfatal_with_name, main, trigraph_pcp,
17555         check_white_space, rescan, handle_directive, monthnames,
17556         special_symbol, do_include, remap_include_file, write_output,
17557         arglist, do_assert, do_unassert, do_line, do_error, do_once,
17558         do_ident, do_sccs, do_xifdef, skip_if_group,
17559         output_line_directive, macroexpand, macarg, change_newlines,
17560         initialize_builtins, make_definition): Constify a char*.
17562         * pcp.h (stringdef): Likewise.
17564 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
17566         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
17567         not of pattern.
17569 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
17570                           Richard Henderson  <rth@cygnus.com>
17572         * alias.c: Include ggc.h.
17573         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
17574         (record_set): Verify enough room in reg_base_value.
17575         (init_alias_analysis): Allocate reg_base_value with xcalloc.
17576         Register it as a GC root.
17577         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
17578         * Makefile.in (alias.o): Depend on ggc.h.
17580         * unroll.c (unroll_loop): Verify the insn before a barrier
17581         is a JUMP_INSN before checking JUMP_LABEL.
17583 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17585         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
17586         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
17587         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
17588         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
17589         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
17590         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
17592 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17594         * output.h (ctors_section, dtors_section, bss_section): Prototype.
17596         * alpha/alpha-interix.h (text_section): Delete prototype.
17597         * alpha/elf.h (text_section): Likewise.
17598         * arm/linux-elf.h (text_section): Likewise.
17599         * arm/linux-telf.h (text_section): Likewise.
17600         * c4x/c4x.h (text_section): Likewise.
17601         * dsp16xx/dsp16xx.h (bss_section): Likewise.
17602         * elfos.h (text_section): Likewise.
17603         * i386/aix386ng.h (text_section): Likewise.
17604         * i386/i386-interix.h (text_section): Likewise.
17605         * i386/sco5.h (text_section): Likewise.
17606         * i386/svr3gas.h (text_section): Likewise.
17607         * nextstep.h (text_section): Likewise.
17608         * psos.h (text_section): Likewise.
17609         * ptx4.h (text_section): Likewise.
17610         * svr3.h (text_section): Likewise.
17611         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
17613 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17615         * final.c (peephole): Delete prototype.
17617         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
17618         (pre_insert_copies): Remove unused variable `bb'.
17620         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
17621         prototypes.
17623         * output.h (peephole): Add prototype.
17625 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
17627         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
17628         -O0.
17630 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
17632         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
17633         for inlined declarations.
17635 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
17637         * arm.c (logical_binary_operator): New fucntion.
17638         * arm.h (logical_binary_operator): Declare it.
17639         (PREDICATE_CODES): Handle logical_binary_operator.
17640         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
17641         output constraints.  Add appropriate splitters.
17642         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
17643         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
17644         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
17646 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17648         * genoutput.c (struct operand_data): New elt eliminable.
17649         (output_operand_data): Write it.
17650         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
17651         (compare_operands): Take it into account.
17652         * recog.h (struct insn_operand_data): New elt eliminable.
17653         * reload1.c (check_eliminable_occurrences, elimination_effects): New
17654         functions.
17655         (old_asm_operands_vec, new_asm_operands_vec): Delete.
17656         (eliminate_regs): Move code that detects changes to elimination
17657         target regs into new function elimination_effects.
17658         Delete one #if 0 block.
17659         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
17660         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
17661         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
17662         Only call eliminate_regs for real operands of the insn, not for parts
17663         of its structure or parts matched by things like match_operator.
17664         Use elimination_effects and check_eliminable_occurrences.  Use
17665         copy_insn to duplicate the pattern when not in the final pass.
17667 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
17669         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
17670         and fld.
17672 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
17674         * fixinc/README: document the "mach" machine matching test
17675         * fixinc/fixfixes.c: Implement the #else/#endif label fix
17676         * fixinc/fixtests.c: Implement the #else/#endif label test
17677         * fixinc/inclhack.def: utilize these tests and fixes
17678         * fixinc/inclhack.sh:  regen
17679         * fixinc/fixincl.x:  regen
17680         * fixinc/fixincl.sh:  regen
17682 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
17684         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
17685         depend on ggc.h.
17687 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
17689         * gcc.1: Document exit codes.
17691 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17693         * calls.c: Include tm_p.h later, so everything we need is defined.
17694         * expr.c: Likewise.
17695         * function.c: Likewise.
17697         * except.c: Include tm_p.h.
17699         * sparc.c: Likewise.
17700         (dwarf2out_cfi_label): Don't prototype.
17701         (check_return_regs, epilogue_renumber,
17702         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
17703         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
17704         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
17705         ultra_schedule_insn): Add static prototype.
17706         (data_segment_operand, text_segment_operand): Call itself with the
17707         proper number of arguments.
17708         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
17710         * sparc.h: Move all declarations to sparc-protos.h.
17711         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
17712         symbolic_operand.
17714         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
17716         * config/svr4.h (text_section, ctors_section, dtors_section): Add
17717         Prototypes.
17718         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
17719         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
17720         ASM_OUTPUT_ASCII): Constify a char*.
17722         * sparc-protos.h: New file for sparc prototypes.
17724 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17726         * function.c (record_insns, contains): Always declare and define.
17727         (record_insns): Mark with ATTRIBUTE_UNUSED.
17729 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
17731         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
17732         to .section when outputting a .bss section to deal with multiple
17733         .bss input sections (as happens with -fdata-sections)
17734         Also output %progbits, not @progbits so the assembler doesn't treat as
17735         a comment.
17736         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
17738         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
17739         thumb parts even when building with non-thumb CPUs, by forcing
17740         thumb mode.
17742 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
17744         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
17745         (movdf_const_intreg_sp64): Similarly.
17747         * local-alloc.c (update_equiv_regs): Check the correct insn
17748         for pre-existing REG_EQUIV notes.
17750 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
17752         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
17753         block reached by a branch if we're not going to actually process
17754         this block.
17756 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
17758         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
17759         a local extern function declaration.
17761 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
17763         * i386.c (ix86_expand_prologue): Properly wrap USE around
17764         reg for CALL_INSN_FUNCTION_USAGE.
17766 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
17768         * config/mips/mips.md (movdf_internal1a): Allow floating-point
17769         move between GP_REGs.
17771 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
17773         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
17774         the mode size when finding out if an offset is legal.
17776 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
17778         * basic-block.h (PROP_*): Move constants from ...
17779         * flow.c: ... here.
17780         (compute_bb_for_insn): Free the array before reallocating.
17781         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
17782         (allocate_reg_life_data): Reset all reg variables collected by
17783         propagate_block.
17784         (get_block_head_tail): Don't convert from bb to block.
17785         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
17786         (find_insn_reg_weight): Take block not bb.
17787         (schedule_block): Don't set block num for moved insns.
17788         (schedule_region): Don't update_life_info or find_insn_reg_weight.
17789         (schedule_insns): Do it here instead.
17790         * combine.c (combine_instructions): Invoke compute_bb_for_insn
17791         before update_life_info.
17792         * recog.c (split_all_insns, peephole2_optimize): Update for
17793         new arg to update_life_info.
17794         * rtlanal.c (remove_note): Cope with NULL note.
17795         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
17796         if we did sched1.
17798 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
17800         * jump.c (jump_optimize_1): More accurately detect casesi insns.
17802         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
17803         block records so that merge_blocks_nomove will clean up correctly.
17804         (split_edge): Handle casesi insns.
17806         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
17808 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
17810         * pa.md (call, call_value): Do not emit a blockage after restoring
17811         the PIC register.
17813 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
17815         * c-typeck.c (c_expand_asm_operands): Fix typo.
17817 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17819         * arm.c (fpu_rhs_operand): Verify modes.
17820         (fpu_add_operand): Likewise.
17821         (di_operand): Likewise.
17822         (soft_df_operand): Likewise.
17824 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
17826         * arm.c (arm_return_in_memory): APCS rules state that the elements
17827         of a structure returned in a register must be 'integer-like'.
17829 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
17831         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
17832         in the source tree when the generated targets are out of date
17833         * fixinc/genfixes: Alter it to run individual fixes for make.
17834         * fixinc/README: rewrite
17835         * fixinc/inclhack.def: moved initial comments to README
17837 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
17839         * toplev.c (main): Do not generate an error message if an
17840         unrecognised command line switch is recognisable by another
17841         language.  If extra_warnings are enabled, then generate a
17842         warning message instead.
17844 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17846         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
17847         (insert_pack_attributes): Delete prototype.
17849         * c-pragma.c (default_alignment): New static variable.
17850         (push_alignment): Initialize to current effective alignment.
17851         (pop_alignment): Use to set new alignment.
17852         (insert_pack_attributes): Delete function.
17853         (handle_pragma_token): Set default_alignment as well each time
17854         a #pragma pack(<n>) is encountered.
17856 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
17858         * reg-stack.c (stack_result): Aggregates are not returned in
17859         stack registers.
17861 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
17863         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
17865 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
17867         * basic-block.h (set_block_num): Declare.
17868         * flow.c (update_life_info): Don't call compute_bb_for_insn
17869         or free_basic_block_vars.
17870         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
17871         (insn_orig_block): Remove.
17872         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
17873         (schedule_block): Keep BLOCK_NUM up-to-date.
17874         (schedule_insns): Use compute_bb_for_insn.
17875         * recog.c (split_all_insns): Likewise.
17876         (peephole2_optimize): Likewise.
17878 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
17880         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
17881         if the pic register is used.
17883 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17885         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
17886         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
17887         if that tests TREE_PERMANENT.
17889 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
17891         * cse.c (invalidate_for_call): Do not remove memory references from
17892         the table here.  It's handled elsewhere.
17894         * haifa-sched.c (add_dependence): Protect references to the
17895         true dependency cache with #ifdef INSN_SCHEDULING.
17896         (remove_dependence): Similarly.
17898         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
17899         to the cfg code that this is a return instruction.
17900         * mn10300.md (return_internal): Similarly.
17902         * combine.c (get_last_value): If the last set of a register
17903         is after subst_low_cuid, then we can not use it to determine
17904         the register's last value.
17906 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
17908         * Makefile.in: Back out previous change.
17910 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
17912         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
17914         * haifa-sched.c (add_dependence): Only check/update the cache
17915         if it exists.
17916         (remove_dependence): Likewise.
17917         (schedule_insns): Only create the true_dependency_cache if the
17918         average number of instructions in a basic block is very large.
17920 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
17922         * Makefile.in (ggc-common.o): Depend on genrtl.h.
17923         (ggc-simple.o): Likewise.
17924         (ggc-page.o): Likewise.
17926 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
17928         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
17929         Prototype for exported functions.
17930         (pre_lcm, pre_rev_lcm): Remove prototypes.
17931         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
17932         (compute_available): Move to lcm.c, and change parameter order.
17933         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
17934         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
17935         (gcse_main): No longer call compute_preds_succs.  Rebuild the
17936         set table after reach pre pass.
17937         (pre_insert_map, pre_delete_map, edge_list): New.
17938         (alloc_pre_mem): Allocate edge vectors.
17939         (free_pre_mem): Delete edge vectors.
17940         (compute_pre_data): Call new edge based lcm routines.
17941         (process_insert_insn): New function.
17942         (insert_insn_end_bb): Use it.
17943         (pre_edge_insert): New function.
17944         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
17945         needed.
17946         (pre_insert_copies): Revamp using new edge based lcm outputs.
17947         (pre_delete): Likewise.
17948         (one_pre_gcse_pass): Insert & remove fake edges to the exit
17949         block.
17950         (compute_code_hoist_vbeinout): New new edge based routines.
17951         * lcm.c: Remove all the old LCM functions.  Replace with new ones
17952         that work with the new cfg datastructures and work with edges
17953         instead of blocks.
17955 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17957         * reload.h (struct reload): Add new fields "mode" and "nregs".
17958         * reload1.c: Change all occurrences of reload_mode and reload_nregs
17959         to reference the "mode" and "nregs" field within struct reload.
17961 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
17963         * haifa-sched.c (true_dependency_cache): New.
17964         (add_dependence): Use the true dependency cache to avoid expensive
17965         walks down the LOG_LINKS dependency list.  Add entries to the
17966         cache as necessary.
17967         (remove_dependence): Remove entries from the true dependency cache
17968         as needed.
17969         (schedule_insns): Allocate and initialize and free the true
17970         dependency cache.
17972         * haifa-sched.c (schedule_insns): Do not remove inter-block
17973         dependencies anymore.
17975 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
17977         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
17978         * i386/t-winnt: Likewise.
17980 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
17982         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
17984 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
17986         * Makefile.in (LANGUAGES): Omit "proto".
17987         (clean): Remove stale comment about removing unprotoize.c.
17989 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17991         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
17992         using arithmetic on void pointers.
17994 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
17996         * haifa-sched.c (compute_block_forward_dependencies): Only check
17997         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
17999 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
18001         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
18002         (expr_equiv_p): Reject memories with different alias sets.
18004 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
18006         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
18007         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
18008         (f_options): Add "bounded-pointers" and "bounds-check" entries.
18009         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
18010         (lang_init): Set default for flag_bounds_check if still "unspecified".
18012 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18014         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
18016 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18018         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
18019         instructions.
18021 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18023         * config/c4x/c4x.md (*db_noclobber,
18024         *decrement_and_branch_until_zero_noclobber): New patterns and
18025         associated splitters.
18027 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18029         * config/c4x/c4x.md (parallel instruction patterns): Rework
18030         constraints to keep reload happy.
18032 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18034         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
18035         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
18036         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
18037         Add new patterns and associated post-reload splitters.
18039 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18041         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
18043 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18045         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
18046         if appropriate.
18047         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
18049 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18051         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
18052         memory mode.
18054 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
18056         * pa.c (move_operand): Rely on memory_address_p to determine the
18057         validity of non-indexed memory addresses.
18058         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
18059         operand in DFmode and SFmode when generating PA2.0 code.
18061 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
18063         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
18065 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
18067         * mips.c (function_prologue): Fix argument types.
18068         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
18069         (casesi_internal): Write to the scratch register.
18071 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
18073         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
18074         to U_CHAR **.
18075         (parse_charconst): Delete unnecessary cast when calling
18076         cpp_parse_escape.
18077         (cpplib.h): Kill prototype of cpp_parse_escape.
18079 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
18081         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
18082         * unroll.c (unroll_loop): Cast return value of alloca.
18083         * i370/i370.c: Include function.h and toplev.h.
18084         (i370_label_scan): Remove c++ commented abort.
18085         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
18086         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
18087         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
18088         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
18090 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
18092         * config/t-freebsd: Do not override USER_H.
18093         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
18095 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
18096                           Mumit Khan  <khan@xraylith.wisc.edu>
18098         * c-parse.in (component_decl): Support anonymous struct/union.
18099         (%expect): Update.
18100         * c-parse.y: Regenerate.
18101         * c-parse.c: Likewise.
18102         * objc/objc-parse.y: Likewise.
18103         * objc/objc-parse.c: Likewise.
18104         * c-decl.c (finish_struct): Don't sort the fields.
18105         (field_decl_cmp): Delete unused function.
18107 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
18109         * sparc.md (movsf_const_intreg): Revert last constraint change.
18110         (movdf_const_intreg_sp32): Likewise.
18112 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
18114         * cse.c: Include hashtab.h instead of splay-tree.h
18115         (struct cse_reg_info): No longer use variant union.  Add new
18116         field "regno".  All references changed to avoid union.
18117         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
18118         (free_cse_reg_info): Remove.
18119         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
18120         (get_cse_reg_info): Revamp to use expandable hash tables instead
18121         of splay trees.  Initialize new fields in cse_reg_info structure.
18122         (new_basic_block): Similarly.
18124 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
18126         * genrecog.c (message_with_line): Prototype.
18127         (validate_pattern): Pass along the set for the dest, not a flag.
18128         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
18129         Check for PC/CC0 as sources.
18130         (nodes_identical): Check for children position match before
18131         allowing the combination.
18133         * rtl.c (read_rtx): Track line number across \\\n.
18135 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
18137         * mips.h (SPECIAL_MODE_PREDICATES): New.
18138         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
18139         (movdi+1, movsi+1): Add output reload constraint.
18140         (casesi_internal): Likewise.  Fix commentary.
18141         (return_internal): Use pmode_register_operand.
18143 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
18145         * 1750a.md (movstrqi): Add missing output reload constraint.
18146         (call_value): Likewise.
18147         * a29k.md (cpxxx patterns): Add missing match_operator mode.
18148         (jmpfdec): Add missing inout reload constraint.
18149         * elxsi.md (addsi patterns): Add missing output reload constraint.
18150         (move from sp): Use @ alternates.
18151         (call_value): No constraint on output.
18152         * fr30.md (movsi_pop): Add missing output reload constraint.
18153         (movsf_constant_store): Likewise.
18154         (splits): Remove constraints.
18155         (subsi3): Add missing mode.
18156         * i370.md (cmpstrsi+1): Add missing output reload constraint.
18157         (call_value): Likewise.
18158         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
18159         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
18160         * m32r.md (movsicc_internal): Add output reload constraint.
18161         (movstrsi_internal): Add inout reload constraints.
18162         * m88k.h (reg_names): Don't declare.
18163         (SPECIAL_MODE_PREDICATES): New.
18164         * m88k.md (*): Use register_operand not reg_or_0_operand
18165         on destinations.
18166         * mn10200.h (PREDICATE_CODES): New.
18167         * ns32k.md (ffs pattern): Add output reload constraint.
18168         * pdp11.md (sob pattern): Add inout reload constraint.
18169         * sh.md (splits): Remove constraints.
18170         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
18171         * v850.md (pattern_is_ok_for_epilogue): Likewise.
18172         * vax.md (jgequ pattern): Add inout reload constraint.
18174 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
18176         * configure.in (djgpp): Revert previous patch.
18177         * configure: Rebuit.
18178         * config/i386/djgpp.h: Revert previous patch.
18180 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
18182         * fixinc/inclhack.def: Restore patch lost during last merge of
18183         "no_bogosity" branch.
18184         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
18186 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18188         * fixincludes: Add a HPUX 11 fix for inttypes.h.
18189         * fixinc/inclhack.def: Same.
18190         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
18192 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
18194         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
18195         as the base of a PLUS.
18197 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18199         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
18200         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
18202 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
18204         * pa.md (post_stw+1): Use pmode_register_operand.
18205         (dcacheflush, icacheflush): Likewise.
18207         * i386.md (movstricthi_1): Allow r/r.
18209 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
18211         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
18212         to (not (and (arg0) (arg1))). Similary for and.
18214         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
18215         fallthrough to associate code.
18216         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
18217         bits in common.
18219         * combine.c (simplify_logical): Convert XOR to IOR if operands have
18220         no bits in common; remove XOR to ROTATE conversion.
18222 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18224         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
18226 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18228         * config/c4x/c4x.c (dst_operand): New.
18229         (PREDICATE_CODES): Update.
18230         * config/c4x/c4x.h (dst_operand): Declare it.
18231         * config/c4x/c4x.md:  Define mode for each unspec usage.
18232         (move patterns):  Use dst_operand predicate instead of src_operand.
18233         (movqi_update, movqf_update): Delete.
18235 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
18237         * recog.c (pmode_register_operand): New.
18238         * recog.h: Declare it.
18239         * genrecog.c (pred_codes): Likewise.
18240         (special_mode_pred_table): Likewise.
18241         (validate_pattern): Don't warn no mode for address_operand.
18243         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
18244         if the operand is not insn-like.
18246 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
18247                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
18249         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
18251 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
18253         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
18254         instead of general_operand in a SET_DEST.  Use const_double_operand
18255         instead of an explicit test against CONST_DOUBLE.
18256         (movsf_const_lo): Add missing register mode.
18257         (goto_handler_and_restore): Add auxiliary test for Pmode.
18258         (flush): Adjust to use address_operand.
18259         (return_sf_no_fpu): Add missing output constraint.
18261 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
18263         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
18264         for call return value.
18265         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
18267 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
18269         * toplev.c (main): Only warn about options for other languages.
18270         * collect2.c (main): Pass -w to sub-gcc.
18272 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
18274         * flow.c (propagate_block): Add call-clobbered registers to
18275         significant too.
18277         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
18278         zapping mem_set_list.
18279         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
18280         (mark_set_1, mark_used_regs): Likewise.
18282 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
18284         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
18286 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
18288         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
18289         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
18290         options. Also add a new item "C-only Warning Options" to the
18291         option summary.
18293 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
18295         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
18296         from multiple calls.
18298 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
18300         * i386.md (call value patterns): Move to the end of the file.
18301         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
18303 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
18305         * configure.in (djgpp configuration): Define extra_objects..
18306         * configure: Rebuilt.
18307         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
18308         (DTORS_SECTION_ASM_OP): Define.
18309         (INIT_SECTION_ASM_OP): Define.
18310         (FINI_SECTION_ASM_OP): Define.
18311         (DATA_SECTION_ASM_OP): Define.
18312         (TEXT_SECTION_ASM_OP): Define.
18313         (EH_FRAME_SECTION_ASM_OP): Define.
18314         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
18315         (STARTFILE_SPEC): Add crtbegin.o.
18316         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
18317         to here from LINK_COMMAND_SPEC.
18318         (DO_GLOBAL_CTORS_BODY): Define.
18319         (CRTSTUFF_USE_FINI_SECTION): Define
18320         (HAS_INIT_SECTION): Delete.
18322 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
18324         * Makefile.in (all.cross): Depend on xcpp$(exeext).
18326 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
18328         * pa.h (PREDICATE_CODES): New.
18330         * genrecog.c (validate_pattern): Condense the destination
18331         non-lvalue message.
18333 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
18335         * alpha.md (call-1): Supply missing mode for operator.
18336         (*): Add missing output reload constraints.  Remove constraints
18337         from define_splits.
18339         * i386.h (SPECIAL_MODE_PREDICATES): New.
18340         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
18341         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
18342         (addsi_lea_3): Add missing mode for op 3.
18343         (prologue_set_got, prologue_get_pc): Add missing modes.
18344         (*) Add missing output reload constraints.
18346 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
18348         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
18349         check for member bit-size overflow and use var_size if it occurs.
18350         (layout_record): Use bitsize_int() to define the type size in bits.
18351         Likewise for computation and assignment to DECL_FIELD_BITPOS.
18352         (layout_decl): Likewise when assigning to DECL_SIZE.
18354 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
18356         * genrecog.c (validate_pattern): Typo last change.  Verify
18357         that output operands have output reloads.
18359 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
18361         * genrecog.c (special_mode_pred_table): New.
18362         (NUM_SPECIAL_MODE_PREDS): New.
18363         (find_operand): New.
18364         (validate_pattern): New argument `insn'.  Warn for assignment to
18365         any predicate accepting non-lvalues.  Conditionaly warn for
18366         match_operand without a mode.  Try much harder to match source
18367         and destination modes on a set.
18368         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
18370 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
18372         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
18374 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
18376         * combine.c (simplify_logical): Recognize xor pattern that encodes
18377         rotation.
18379 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18381         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
18382         alignment.
18384 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
18386         * ggc-page.c (MAP_FAILED): Provide default.
18388 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
18390         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
18391         * sparc.h (PREDICATE_CODES): Update.
18393 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
18395         * alpha.c (some_ni_operand): New.
18396         * alpha-protos.h: Declare it.
18397         * alpha.h (PREDICATE_CODES): Update.
18398         * alpha.md (sXaddq reload insns): Use some_ni_operand
18399         for SET_DEST instead of some_operand.
18401 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
18402                           Jim Wilson  <wilson@cygnus.com>
18404         * genrecog.c (maybe_both_true_2): Don't compare modes of
18405         two DT_pred tests.
18406         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
18407         after find_afterward.
18408         (debug_decision_1): Dump next and afterward codes.
18410 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
18412         * rtl.c (dump_and_abort): Remove.
18413         (fatal_with_file_and_line): New.
18414         (fatal_expected_char): New.
18415         (read_rtx_lineno, read_rtx_filename): New.
18416         (read_skip_spaces): Track line number.
18417         (read_name): Use fatal_with_file_and_line.
18418         (read_rtx): Use fatal_expected_char.  Track line number.
18419         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
18421         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
18422         if it isn't a CODE_LABEL.
18424         * genattr.c (main): Set read_rtx_filename.
18425         * genattrtab.c (main): Likewise.
18426         * gencodes.c (main): Likewise.
18427         * genconfig.c (main): Likewise.
18428         * genemit.c (main): Likewise.
18429         * genextract.c (main): Likewise.
18430         * genflags.c (main): Likewise.
18431         * genopinit.c (main): Likewise.
18432         * genoutput.c (main): Likewise.
18433         * genpeep.c (main): Likewise.
18435         * genrecog.c (decision_test.u.insn): Add `lineno'.
18436         (pattern_lineno, error_count): New variables.
18437         (message_with_line): New.
18438         (add_to_sequence): Break out checking code to ...
18439         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
18440         (merge_insn): Use message_with_line.
18441         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
18442         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
18444 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18446         * expr.c (store_constructor): Clear union if constructor is empty.
18448 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
18450         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
18451         Add !endian checks.  Change %{...} to %(...).
18453 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
18455         * i386.md (*addsi3_cc): Renamed from addcsi3.
18456         (*addsi3_carry): Renamed from addxsi3.
18457         (*subsi3_cc): Renamed from subcsi3.
18458         (*subsi3_carry): Renamed from subxsi3.
18459         (*xorqi_cc_1): Renamed from xorcqi_1.
18460         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
18461         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
18463 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
18465         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
18466         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
18468 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
18470         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
18471         climb up the chain of insns.
18473 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
18475         * genrecog.c (write_subroutine): Careful for null trees.
18476         (process_tree): Don't elide empty functions.
18478 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
18480         * Makefile.in (genrtl.o): Depend on ggc.h.
18481         * configure.in (valloc): Probe for it.
18482         (with-gc): Use ggc-page if valloc present.
18483         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
18484         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
18485         (ggc_alloc_string): Moved from ggc-page.c.
18486         * ggc-none.c (ggc_alloc_obj): New.
18487         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
18488         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
18489         (struct globals): Likewise for dev_zero_fd.
18490         (init_ggc): Likewise for it's initialization.
18491         (ggc_allocated_p): Move careful dereference from ...
18492         (ggc_lookup_page_table): ... here.  Delete.
18493         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
18494         (alloc_anon): Use valloc if no mmap.
18495         (release_pages): Use free if using valloc.
18496         (ggc_alloc_obj): Renamed from alloc_obj.
18497         (ggc_set_mark): Renamed from mark_obj.
18498         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
18499         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
18500         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
18501         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
18502         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
18503         (ggc_collect): Use fp printing instead of our own rounding.
18504         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
18505         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
18506         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
18507         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
18508         (struct ggc_string, struct ggc_any): Delete.
18509         (offsetof): Provide default definition.
18510         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
18511         (PTR_KEY): New.
18512         (struct ggc_mem): New, from corpse of ggc_any.
18513         (struct ggc_status): Delete.
18514         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
18515         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
18516         (n_strings_collected, n_anys_collected): Delete.
18517         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
18518         (ggc_alloc_string, ggc_alloc): Delete.
18519         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
18520         (ggc_free_string, ggc_free_any): Delete.
18521         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
18522         (ggc_compare_addresses, ggc_mark_string): Delete.
18523         (ggc_mark_string_if_gcable, ggc_mark): Delete.
18524         (search_data): Delete.
18525         (struct globals): New.
18526         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
18527         (tree_insert, tree_lookup): New.
18528         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
18529         (clear_marks, sweep_objs): New.
18530         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
18531         (init_ggc): Set allocated_last_gc.
18532         (ggc_push_context): Gut.  Use G.context.
18533         (ggc_pop_context): Likewise.
18534         (ggc_pop_context_1): New.
18535         (debug_ggc_tree): New.
18536         (debug_ggc_balance, tally_leaves): New.
18537         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
18538         (ggc_mark_string_if_gcable): Remove decl.
18539         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
18540         (ggc_mark_rtvec_children): New.
18541         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
18542         (ggc_mark_if_gcable): New decl.
18543         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
18544         (ggc_alloc_tree, ggc_alloc): Likewise.
18545         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
18546         (ggc_alloc_obj): New decl.
18547         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
18548         (ggc_alloc_tree, ggc_alloc): Likewise.
18549         (ggc_set_mark): New decl.
18550         * rtl.h (struct rtx_def): Remove gc_mark.
18551         (struct rtvec_def): Likewise.
18552         * tree.h (struct tree_common): Likewise.
18554 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
18556         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
18557         float_format and thread_file definitions.
18558         * configure: Rebuilt.
18560 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
18562         * extend.texi (Function Names): Document types of function names.
18564 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18566         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
18567         an earlyclobbered output conflict with RELOAD_INPUT reloads.
18569 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18571         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
18573 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18575         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
18577 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
18579         * collect2.c (main): Do prelimnary link on AIX if rflag.
18581 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
18583         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
18584         __CTOR_LIST__ in opposite order, which is the correct order for sorted
18585         constructors.
18586         (__do_global_dtors): similarly for __DTOR_LIST__.
18588 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18589                                 Diego Novillo <dnovillo@cygnus.com>
18591         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
18592         FPUL_REGS.
18594 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
18596         * fixincl/*: Merged "no_bogosity" branch
18597         * fixincl/fixlib.h: protect against doubly defining t_bool
18598         * fixincl/server.h: protect against doubly defining t_bool
18600 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
18602         * genoutput.c: Include toplev.h.
18604 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
18606         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
18607         Undef.
18608         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
18609         * configure: Regenerate.
18611 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
18613         * gcse.c (delete_null_pointer_checks): Returns void.
18615 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18617         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
18618         * emit-rtl.c (copy_insn_1): Likewise.
18620 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
18622         * config/mips/mips.c (mips_build_va_list): Correct
18623         TREE_CHAIN setting when hard-float.
18624         (mips_va_start): Use corrected setting.
18625         (mips_va_arg): Likewise.  Also pass a tree to build of
18626         POSTINCREMENT_EXPR rather than a naked 'int'.
18628 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
18630         * ggc.h (ggc_push_context): Fix comment.
18631         (ggc_pop_context): Likewise.
18632         (mark_string_if_gcable): Likewise.
18633         * ggc-common.c (ggc_mark_rtx_children): Use
18634         ggc_mark_string_if_gcable.
18635         * ggc-page.c (ggc_lookup_page_table): New function.
18636         (ggc_allocated_p): Likewise.
18637         (mark_obj): Fix formatting.
18638         (ggc_mark_string_if_gcable): New function.
18639         * ggc-simple.c (ggc_allocated_strings): New variable.
18640         (ggc_strings_used): Likewise.
18641         (ggc_compare_addresses): New function.
18642         (ggc_pop_context): Pop the `any' memory too.
18643         (ggc_mark_string_if_gcable): New function.
18644         (ggc_collect): Initialize and tear down ggc_allocated_strings.
18646 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
18648         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
18649         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
18650         * rs6000.c (expand_block_move): Match movstrsi_?reg register
18651         changes.
18653 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
18655         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
18656         (sched_reg_live_length, sched_reg_basic_block): Delete.
18657         (current_block_num, bb_live_regs, old_live_regs): Delete.
18658         (dead_notes, struct sometimes): Delete.
18659         (sched_note_set, birthing_insn_p): Delete.
18660         (adjust_priority): Gut useless reg lifetime code.
18661         (create_reg_dead_note, attach_deaths): Delete.
18662         (attach_deaths_insn, new_sometimes_live): Delete.
18663         (finish_sometimes_live): Delete.
18664         (find_pre_sched_live, find_post_sched_live): Delete.
18665         (update_reg_usage): Delete.
18666         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
18667         (schedule_insns): Delete reg lifetime code.
18668         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
18669         (unlink_other_notes): Adjust REG_NOTE commentary.
18670         (reemit_notes): Use REG_SAVE_NOTE.
18671         (schedule_block): Likewise.
18672         (schedule_region): Allocate bitmap of blocks in region.  Use
18673         count_or_remove_death_notes.  Use update_life_info.
18675         * rtl.h (REG_SAVE_NOTE): New.
18676         * rtl.c (reg_note_name): Update.
18678 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
18680         * combine.c (refresh_blocks, need_refresh): New.
18681         (combine_instructions): Allocate refresh_blocks.  Invoke
18682         update_life_info if needed.
18683         (distribute_notes): Mark refresh_blocks instead of installing
18684         USE insns.
18685         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
18686         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
18688         * Makefile.in (recog.o): Depend on basic-block.h.
18690 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
18692         * genrecog.c (add_to_sequence): Thinko last change: delete
18693         shadowing allow_const_int variable.
18695 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18697         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
18698         __GNUC__ and __GNUC_MINOR__.
18700         * gansidecl.h: Likewise.
18702         * rtl.c: Likewise.
18704         * rtl.h: Likewise.
18706         * toplev.h: Likewise.
18708         * tree.c: Likewise.
18710         * tree.h: Likewise.
18712         * varray.c: Likewise.
18714         * varray.h: Likewise.
18716 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18718         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
18719         use one before a jump table.
18721         * rtl.def (ADDRESS): Change documentation to match reality.
18722         * md.texi: Don't document it.
18723         * gmicro.md (load address pattern): Use 'p' constraint, delete use
18724         of ADDRESS rtx.
18726         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
18728 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
18730         * genrecog.c (add_to_sequence): Move allow_const_int test outside
18731         known predicate block; default allow_const_int true.
18732         (debug_decision_list): New.
18734 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
18736         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
18738 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
18740         * gcse.c (gcse_main): Avoid global optimizations if we have a
18741         large number of basic blocks and the ratio of edges to blocks
18742         is high.
18743         (delete_null_pointer_checks): Likewise.
18745 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
18747         * c-common.c (check_format_info): Warn if format string isn't a
18748         string literal.
18750 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
18752         * configure.in (arm*-*-*): Don't let autoconf remove brackets
18753         * configure: regenerate
18755 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
18757         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
18758         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
18759         (peepholes): Re-enable.
18761 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
18763         * Makefile.in (flow.o): Depend on TREE_H.
18764         * basic-block.h (REG_SET_EQUAL_P): New.
18765         (XOR_REG_SET): New.
18766         (n_edges): Declare.
18767         (free_regset_vector): Remove declaration.
18768         (flow_delete_insn_chain): Declare.
18769         (enum update_life_extent): New.
18770         (update_life_info, count_or_remove_death_notes): Declare.
18771         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
18772         Verify register live at bb->global_live_at_start before adding USE.
18773         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
18774         (CLEAN_ALLOCA): New.
18775         (n_edges): New.
18776         (PROP_*): New flags.
18777         (find_basic_blocks_1): Use alloc_EXPR_LIST.
18778         (clear_edges): Zero n_edges.
18779         (make_edge): Increment n_edges.
18780         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
18781         (flow_delete_insn_chain): Export.
18782         (delete_block): Decrement n_edges.
18783         (merge_blocks_nomove): Likewise.
18784         (life_analysis): Give life_analysis_1 PROP flags.
18785         (verify_wide_reg_1, verify_wide_reg): New.
18786         (verify_local_live_at_start): New.
18787         (update_life_info): Rewrite to call into propogate_block.
18788         (mark_reg): New.
18789         (mark_regs_live_at_end): After reload, if epilogue as rtl,
18790         always mark stack pointer.  Conditionally mark PIC register.
18791         After reload, mark call-saved registers, return regsiters.
18792         (life_analysis_1): Accept PROP flags not remove_dead_code.
18793         Call mark_regs_live_at_end before zeroing regs_ever_live.
18794         Use calculate_global_regs_live.  Copy global_live_at_end before
18795         calling final propagate_block.  Zero reg_next_use on exit.
18796         (calculate_global_regs_live): New.
18797         (allocate_bb_life_data): Don't allocate bb->local_set.
18798         (init_regset_vector, free_regset_vector): Remove.
18799         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
18800         Test flags before every operation.  Warn if prologue/epilogue insn
18801         would have been deleted.
18802         (mark_set_regs, mark_set_1): Accept and use FLAGS.
18803         Use alloc_EXPR_LIST.
18804         (mark_used_regs): Accept and use FLAGS, not FINAL.
18805         Remove special handling for RETURN.
18806         (try_pre_increment): Use alloc_EXPR_LIST.
18807         (dump_flow_info): Dump n_edges.
18808         (unlink_insn_chain, split_hard_reg_notes): Remove.
18809         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
18810         (find_insn_with_note, new_insn_dead_notes): Remove.
18811         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
18812         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
18813         (replace_insns): Remove.
18814         (count_or_remove_death_notes): New.
18815         (verify_flow_info): Abort on error after all checks.
18816         (remove_edge): Decrement n_edges.
18817         (remove_fake_edges): Tweak format.
18818         * haifa-sched.c (schedule_insns): Use split_all_insns.
18819         * output.h (update_life_info): Remove declaration.
18820         * recog.c (split_all_insns): From the corpse of split_block_insns,
18821         do the whole function block by block.  Use update_life_info.
18822         (recog_last_allowed_insn): New.
18823         (recog_next_insn): Mind it.
18824         (peephole2_optimize): Set it.  Walk backwards through blocks.
18825         Use update_life_info.
18826         * rtl.h (update_flow_info, replace_insns): Remove declarations.
18827         (split_all_insns): Declare.
18828         * toplev.c (rest_of_compilation): Thread prologue before flow2.
18829         Use split_all_insns.
18831         * i386.md (or -1 peep2s): Disable.
18833 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
18835         * config/mips/mips.md (movstrsi+[123]) : Combine these into
18836         a single pattern.  Scrap the 'd' versions as unnecessary.
18838         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
18839         tablejump_mips162,tablejump_internal4): The operands to a
18840         label_ref must be VOIDmode.
18842 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18844         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
18846 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
18848         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
18850 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
18852         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
18853         cache every function if ggc_p.
18855 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18857         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
18858         instead of copy_rtx.  Accept sequences that contain asm statements.
18859         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
18860         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
18861         orig_asm_operands_vector, copy_asm_operands_vector,
18862         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
18863         variables.
18864         * rtl.h (copy_insn, copy_insn_1): Declare.
18866 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18868         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
18870         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
18871         arguments to `current_file_function_operand'.
18873         * genrecog.c: Include hard-reg-set.h and resource.h in the
18874         generated output file.
18876         * real.c: Include tm_p.h.
18878 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18880         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
18881         output operand.
18883 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
18885         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
18886         before the fctiwz insn.
18888 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18889                           Mark Mitchell  <mark@codesourcery.com>
18891         * tree.c (make_lang_type_fn): New funtion pointer.
18892         (make_lang_type): Call it.
18893         * tree.h (make_lang_type): Declare.
18894         (make_lang_type_fn): Likewise.
18895         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
18897 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
18899         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
18900         make sure that HIGH instructions are copied into BASE_REGS.
18902 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
18904         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
18906 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
18908         * c-decl.c (finish_struct): Use simpler method of
18909         removing elements of a singly-linked list.
18911 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
18913         * alpha.md (peephole2's): Comment out peephole2's that generate
18914         buggy code.
18916 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
18918         * genrecog.c (add_to_sequence): Disable mode check for
18919         wildcard matches.
18921 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18923         * ggc-simple.c (init_ggc): Set empty_string.
18925 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
18927         * configure.in: Detect mmap.  Add --with-gc=foo to select
18928         garbage collector; default to page if mmap available.
18929         * Makefile.in (GGC): Substitute.
18931 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
18933         * c-decl.c (ggc_p): Enable.
18935 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18937         * flow.c (verify_flow_info): Make it extern & unconditionally define.
18939 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
18941         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
18942         string for little-endian-data.
18944 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
18946         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
18947         case somebody tries to compile --enable-checking code with gcc
18948         1.34 or such.
18950 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
18952         * genrecog.c (add_to_sequence): Verify operand to label_ref is
18953         VOIDmode.
18955 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
18957         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
18958         * jump.c (jump_optimize_1): Document why.
18960 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18962         * collect2.c (scan_prog_file, scan_libraries): Prototype function
18963         pointers and casts for `int_handler' and `quit_handler'.
18965         * flow.c (verify_flow_info, split_hard_reg_notes,
18966         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
18967         remove_edge, remove_fake_successors): Add static prototypes.
18968         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
18969         (mark_set_1): Initialize variable `regno'.
18970         (unlink_insn_chain): Likewise for variable `curr'.
18971         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
18973         * loop.c (strength_reduce): Initialize variable
18974         `unrolled_insn_copies'.
18975         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
18976         prototypes.  Change these functions to take const PTR parameters
18977         to avoid prototype conflict when used as the comparson argument
18978         for qsort.
18979         (check_dbra_loop): Initialize variable `comparison_val'.
18981         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
18982         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
18983         (find_valid_class): Initialize variable `best_class'.
18984         (find_reloads): Call memcpy, not bcopy.
18986         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
18987         (hard_reg_use_compare): Don't needlessly cast away const.
18988         (reload_reg_class_lower): Likewise.
18989         (choose_reload_regs): Initialize variable `regno'.
18991 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
18993         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
18995 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
18997         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
18998         ({,d}discard): Add forward declarations.  Declare parameter as
18999         unused.
19000         (main_without_main): Explicitly declare return type to be int.
19001         (memcpy): Properly declare.
19003         * libgcc2.c (toplevel): If inhibit_libc is defined and not
19004         building the trampoline support, declare malloc, free, and
19005         atexit.
19006         (__clear_cache): Mark arguments as potentially unused.
19008         * frame.c (toplevel): If inhibit_libc is defined, declare
19009         malloc and free.
19011 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
19013         * flow.c (make_edge): Accept an optional 2D bitmap in which
19014         to cache edge existence.  Update all callers.
19015         (make_label_edge, make_eh_edge): Pass through the edge cache.
19016         (make_edges): Provide the cache.
19018 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19020         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
19021         a char*.
19022         (local_mbtowc): Change the type of variable `i' from int to size_t.
19024         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
19025         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
19027 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
19029         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
19030         after other includes that define the appropriate types.  Include
19031         tm_p.h for getting user prototypes.
19032         * ggc-callbacks.c (toplevel): Ditto.
19033         * ggc-none.c (toplevel): Ditto.
19034         * gcc-page.c (toplevel): Ditto.
19035         * ggc-simple.c (toplevel): Ditto.
19037 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
19038                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
19040         * config/mips/mips.c (mips_move_2words): Split doubles if
19041         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
19043 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
19045         * genrecog.c (struct decision_test): New.
19046         (struct decision): Remove test-related members, sort the rest by size.
19047         (IS_SPLIT): Simplify.
19048         (new_decision, new_decision_test): New.
19049         (add_to_sequence): Use them.  No special handling for args of
19050         non-MATCH codes.
19051         (maybe_both_true): Renamed from not_both_true; return sense changed.
19052         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
19053         of maybe_both_true and adjusted for decision_test.
19054         (position_merit): Remove.
19055         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
19056         (merge_accept_insn): New, broken out of merge_trees.
19057         (merge_trees): Use them.  No special case for c_test; no node
19058         splitting; use test type instead of position_merit.
19059         (factor_tests): New.
19060         (simplify_tests): New.
19061         (break_out_subroutines): Don't write code now.
19062         (find_afterward): New.
19063         (write_afterward, write_switch, write_cond): New.
19064         (write_action, is_unconditional): New.
19065         (write_node): New.  Use them.
19066         (write_tree_1): Rewrite.  Use the new functions above.
19067         (write_tree): Remove afterward processing.
19068         (write_subroutine): Simplify function variant emission.
19069         (write_subroutines): New.
19070         (same_codes, clear_codes): Remove.
19071         (same_modes, clear_modes): Remove.
19072         (write_header): New, broken out of main.
19073         (make_insn_sequence): Use new_decision and new_decision_test.
19074         (process_tree): New, broken out of main.
19075         (main): Adjust for merge_trees interface change.
19076         Don't #define operands in the output file.
19077         (record_insn_name): New, broken out of make_insn_sequence.
19078         (debug_decision_2, debug_decision_1, debug_decision_0): New.
19079         (debug_decision): New.
19081 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
19083         * resource.c (find_free_register): Mark class_str argument const.
19084         * resource.h: Update prototype to match.
19086         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
19087         * i386.md: Give all anonymous insns names.
19089 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
19091         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
19092         blocks.
19094 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
19096         * toplev.c (dbr_sched_time): Unconditional.
19097         (peephole2_time): New.
19098         (compile_file): Add pass numbers to all of the dump file suffixes.
19099         Dump peephole2_time.  Don't dump times for non-applicable passes.
19100         (rest_of_compilation): Add pass numbers to dump file suffixes.
19101         Conditionalize calls to the scheduler.
19102         * invoke.texi: Update.
19104 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
19106         * flow.c (make_edges): Fix insn iteration.
19107         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
19108         (find_basic_blocks_1): Fix spelling mistake.
19110 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
19112         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
19113         always have side-effects.  Use memset not bzero.
19114         (make_node): Likewise.
19116 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
19118         * stmt.c (expand_anon_union_decl): When any of the elements of the
19119         union is addressable, so is the entire union.
19121 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
19123         * sbitmap.c (sbitmap_ones): Don't set too many bits.
19125         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
19126         * bitmap.c (bitmap_operation): Return true iff TO changed.
19127         (bitmap_equal_p): New.
19128         (bitmap_bit_p): Tidy arithmetic.
19129         (debug_bitmap_file): Likewise.
19131 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
19133         * toplev.c (rest_of_compilation): Turn on cse_not_expected
19134         before cse2 instead of after.
19136 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
19138         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
19139         register offsets.
19141 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19143         * cppinit.c (is_idchar initializer): Loosen tests to accept
19144         gcc 2.>6 and >2.
19146 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
19148         * mips.md: Define conditional move patterns for floating point
19149         operands and DI mode conditions.
19151 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
19153         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
19154         always have side-effects.
19156 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
19158         * mn10200.c (asm_file_start): Fix typo.
19160         * cppinit.c (is_idchar initializer): Tighten tests for when
19161         to put the table into initialized memory.
19163         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
19164         not an array of rtunion.
19165         * gcc-page.c (ggc_alloc_rtvec): Similarly.
19166         * gcc-simple (ggc_free_rtvec): Similarly.
19168         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
19169         of rtunions.
19171         * mbchar.h: Add missing #endif.
19173         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
19174         (FPBIT, DPBIT): Define.
19176 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19178         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
19180         * profile.c (instrument_arcs, output_gcov_string,
19181         tablejump_entry_p): Add static prototypes.
19182         (output_gcov_string): Constify a char*.
19184         * regmove.c (replacement_quality, fixup_match_2): Add static
19185         prototypes.
19187         * resource.h (reg_dead_p): Add extern prototype.
19189         * rtl.c (trim_filename): Add static prototype.
19191         * scan-decls.c (skip_to_closing_brace): Likewise.
19193         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
19194         (expand_end_case): Initialize variable `range'.
19195         (emit_case_nodes): Remove unused prototype `rtx_fn'.
19197         * varasm.c (asm_emit_uninitialised): Add static prototype.
19198         (asm_emit_uninitialised, assemble_variable): Mark parameter with
19199         ATTRIBUTE_UNUSED.
19201 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19203         * cpplib.c (if_directive_nameo): Add static prototype.
19205         * cse.c (cse_insn): Remove unused variable `p'.
19207         * except.c (create_rethrow_ref, push_entry,
19208         receive_exception_label, new_eh_region_entry, find_func_region,
19209         clear_function_eh_region, process_nestinfo): Add static prototypes.
19210         (get_reg_for_handler): Hide definition.
19211         (process_nestinfo): Initialize variable `extra_handlers'.
19213         * expr.h (expand_builtin_longjmp): Add extern prototype.
19215         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
19217         * function.c (prepare_function_start): Likewise.
19218         (pop_function_context_from): Mark parameter `context' with
19219         ATTRIBUTE_UNUSED.
19220         (push_temp_slots_for_block, flush_addressof): Hide definition.
19222         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
19223         solve_program_flow_graph, calculate_branch_probs,
19224         function_summary, main, fancy_abort): Add prototypes.
19226         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
19227         (add_hash): Constify a char*.
19229         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
19230         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
19231         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
19233         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
19235         * lists.c (free_list, zap_lists): Likewise.
19237 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19239         * alias.c (nonlocal_reference_p): Add static prototype.
19241         * bitmap.c (bitmap_element_allocate): Prototype args in function
19242         pointer cast.
19244         * builtins.c (stabilize_va_list): Add static prototype.
19245         (expand_builtin_va_arg): Constify a char*.
19247         * c-lex.c (getch, put_back, extend_token_buffer_to,
19248         read_line_number, token_getch, token_put_back): Add static
19249         prototypes.
19251         * c-parse.gperf (hash, is_reserved_word): Likewise.
19253         * cccp.c (is_dir_separator): Likewise.
19255 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19257         * graph.h: New file to prototype functions exported by graph.c.
19259         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
19261         * graph.c: Include graph.h.
19263         * toplev.c: Likewise.  Remove redundant prototypes.
19265 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
19267         * invoke.texi: Removed duplicated description for -Q.
19269 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
19271         * extend.texi: Grammar fix in __extension__ text.
19273 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
19275         * md.texi (define_peephole2): New section.
19277 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
19279         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
19280         (mov $-1 to or peepholer): Enable for pentium when optimizing for
19281         speed.
19283 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
19285         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
19287 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
19289         * i386.md (ffs expander): Emit Pentium friendly code for
19290         TARGET_PENTIUM.
19292 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
19294         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
19295         for non-trees.
19296         (build1): Likewise.
19298 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19300         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
19302 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
19304         * config/m68k/m68k.c (use_return_insn): Return false if the pic
19305         register is in use.
19307 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19309         * md.texi (No Constraints): Delete section.
19310         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
19311         * final.c (final_scan_insn): We always have register constraints.
19312         * genattrtab.c: Don't include "insn-config.h".
19313         (write_attr_case): We always have register constraints.
19314         * genconfig.c (register_constraint_flag): Delete.
19315         (walk_insn_part): Don't check whether we have register constraints.
19316         (main): Don't write out "#define REGISTER_CONSTRAINTS".
19317         * genoutput.c (have_constraints): Delete.
19318         (main): Don't set it.
19319         (output_operand_data): We always have constraints.
19320         (scan_operands): Likewise.
19321         (compare_operands): Likewise.
19322         * local-alloc.c (block_alloc): We always have constraints.
19323         (requires_inout): Always compile this function.
19324         * recog.c (extract_insn): We always have constraints.
19325         (constrain_operands, reg_fits_class_p): Always compile these
19326         functions.
19327         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
19328         fields.
19329         (struct insn_operand_data): Likewise.
19330         * regclass.c (regclass): We always have constraints.
19331         (record_reg_classes, copy_cost, record_address_regs,
19332         auto_inc_dec_reg_p): Always compile these functions.
19333         * regmove.c (regmove_optimize): We always have constraints.
19334         * reload.c (find_reloads): Likewise.
19335         * reload1.c (reload): Likewise.
19336         (reload_cse_simplify_operands): Likewise.
19337         * i860.c (output_delay_insn): Likewise.
19339 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
19341         * iris6.h (BUILD_VA_LIST_TYPE): Define.
19343 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
19345         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
19346         for the va_list record.
19348 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
19350         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
19351         prologues.
19353 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
19355         * alias.c: Include insn-flags.h.
19356         * Makefile.in (alias.o): Update.
19358 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
19360         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
19361         to LTU and GEU.  Handle more cases using sbb.
19363 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
19365         * i386.md (truncatexfdf splitters): Do not use subreg.
19366         (fop XFmode patterns): Fix mode in operand testing.
19368 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
19370         * jump.c (jump_optimize_1): Amend last change to test only the
19371         form of the operand, not the insn.
19373         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
19374         not register_operand to determine when B may need preloading.
19376 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
19378         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
19379         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
19380         (call-value patterns): Move to end of file.
19381         (*): Remove mode from label_ref in (pc) context.
19382         (movstrqi): Use memory not general_operand for BLKmode operands.
19383         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
19384         to register_operand operands.
19385         (peep2 patterns): Convert from commented-out peephole patterns.
19387 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19389         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
19390         to BUILT_IN_INIT_DWARF_REG_SIZES.
19391         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
19392         Renamed from BUILT_IN_DWARF_REG_SIZE; call
19393         expand_builtin_init_dwarf_reg_sizes.
19394         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
19395         with __builtin_init_dwarf_reg_size_table.
19396         * dwarf2out.c (struct reg_size_range): Delete.
19397         (expand_builtin_init_dwarf_reg_sizes): New function.
19398         (expand_builtin_dwarf_reg_size): Delete.
19399         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
19400         (expand_builtin_dwarf_reg_size): Don't declare.
19401         * libgcc2.c (dwarf_reg_size_table_initialized): New.
19402         (dwarf_reg_size_table): New.
19403         (init_reg_size_table): New function.
19404         (copy_reg): Use dwarf_reg_size_table.
19405         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
19406         before use.
19408 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
19410         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
19411         Correctly build argument list to constructor and destructor functions.
19413 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
19415         * c-tree.h (warn_float_equal): Declare.
19416         * c-decl.c (warn_float_equal): Define.
19417         (c_decode_option): Recognize -W[no-]float-equal.
19418         * c-typeck.c (build_binary_op): Conditionally warn
19419         about equality tests of floating point types.
19420         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
19421         * invoke.texi: Add docs for -Wfloat-equal warning.
19423 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
19425         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
19426         generating RTL directly.
19427         * mips.h (INIT_TARGET_OPTABS): Likewise.
19428         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
19430         * expr.h (init_mov_optab): Delete declaration
19432         * h8300.c (WORD_REG_USED): Update to avoid useless register
19433         saves in interrupt functions and functions which never return.
19435         * cse.c (struct set): Delete inner_dest_loc field.
19436         (cse_insn): Remove assignments to inner_dest_loc field.
19438 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
19440         * ggc-page.c: Don't include <unistd.h> etc taken care of
19441         by "system.h".  Include <sys/mman.h> afterward.
19443 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
19445         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
19446         ggc_alloc_string.
19448 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
19450         * xcoffout.c (xcoffout_declare_function): Add documentation.
19451         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
19452         TARGET_64BIT.  Compare constant to -1, not bit pattern.
19453         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
19454         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
19455         gen_movsi typos.
19457 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
19459         * dwarf2out.c (add_abstract_origin_attribute): Abort if
19460         origin_die is NULL.
19461         (gen_inlined_enumeration_type_die): Do not abort if the type has
19462         not been writeen out.
19463         (gen_inlined_structure_type_die): Do not abort if the type has
19464         not been writeen out.
19465         (gen_inlined_union_type_die): Do not abort if the type has
19466         not been writeen out.
19467         (gen_tagged_type_instantiation_die): Do not abort if the type
19468         has not been written out.
19470 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19472         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
19473         call it.
19474         * reg-stack.c (straighten_stack): Copy hard reg set with
19475         COPY_HARD_REG_SET.
19477 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
19479         * builtins.c (stabilize_va_list): Stabilize array type va_list
19480         to a pointer type, not the base record type.
19481         (expand_builtin_va_copy): Dereference the pointers explicitly;
19482         use the correct size for the copy.
19484         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
19485         (rs6000_va_arg): Likewise.
19487 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
19489         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
19491 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
19493         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
19494         field.
19495         (DECL_BUILT_IN_CLASS): Adjust accordingly.
19497 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
19499         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
19500         (init_ggc): Use it instead of a constant.
19501         (ggc_collect): Bound allocated_last_gc by it.
19503 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
19505         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
19506         with va_list.
19508 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
19510         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
19511         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
19512         * configure:  Regen.
19513         * config/mips/openbsd.h:  New, OpenBSD little endian target.
19514         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
19515         * config/mips/xm-openbsd.h:  New, OpenBSD host.
19517 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
19519         * config/m68k/m68k.c (output_function_prologue,
19520         output_function_epilogue): Use
19521         current_function_uses_pic_offset_table instead of regs_ever_live
19522         to decide whether to save/restore pic register.
19523         (legitimize_pic_address): Don't modify regs_ever_live any more.
19525 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
19527         * function.h (struct function): Add x_dont_save_pending_sizes_p.
19528         * stor-layout.c (variable_size): Don't add sizes to the pending
19529         sizes list if x_dont_save_pending_sizes_p is set.
19531 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
19533         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
19534         for symbolic_operand().
19535         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
19537 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19539         * combine.c (gen_rtx_combine): Add missing call to va_end().
19541         * final.c (asm_fprintf): Likewise.
19543         * genattrtab.c (attr_rtx): Likewise.
19545 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
19547         * cse.c: Update comments.
19548         (cse_insn): When converting a conditional/computed jump into
19549         an unconditional jump, always make sure a BARRIER immediately
19550         follows the converted jump.  Do not delete unreachable code.
19551         (cse_basic_block): Do not delete unreachable code.
19552         * toplev.c (rest_of_compilation): Move call to
19553         delete_trivially_dead_insns after the conditional call to
19554         jump_optimize.
19556 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19558         * collect2.c (make_temp_file): Don't prototype.
19560         * gcc.c (make_temp_file): Likewise.
19562         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
19564 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
19566         * varasm.c (asm_emit_uninitialised): New function: Generate
19567         the assembler statements necessary to declare an uninitialised
19568         variable.
19569         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
19570         variable.
19571         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
19572         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
19573         section.
19574         (assemble_variable): Use asm_emit_uninitialised to emit an
19575         uninitialised variable.
19577 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
19579         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
19580         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
19581         <geoffk@cygnus.com>.
19583 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19585         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
19586         * c-common.h (builtin_function): Don't declare.
19588         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
19589         DECL_BUILT_IN.
19590         (pushdecl): Likewise.
19591         (finish_decl): Likewise.
19592         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
19593         int.  All callers changed.
19594         Set the builtin's DECL_BUILT_IN_CLASS.
19595         * tree.h (enum built_in_class): New.
19596         (enum built_in_function): Delete NOT_BUILT_IN.
19597         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
19598         in a union.
19599         (DECL_SET_FUNCTION_CODE): Likewise.
19600         (DECL_BUILT_IN_CLASS): New macro.
19601         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
19602         (struct tree_decl): Split builtin function code field into a
19603         struct.
19604         (builtin_function): Declare.
19606 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
19608         * optabs.c (init_traps): Fix typo in last change.
19610 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
19612         * toplev.c (rest_of_decl_compilation): Update comment.
19614 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
19616         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
19617         in .sbss if appropriate.
19618         (EXTRA_SECTION_FUNCTIONS): Add sbss.
19619         (SBSS_SECTION_ASM_OP): New macro.
19620         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
19621         (EXTRA_SECTIONS): Add in_sbss.
19622         * config/mips/mips.h: Prototype sbss_section.
19624 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
19626         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
19627         to disappear.
19629 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
19631         * optabs.c (init_traps): Register trap_rtx as a GC root.
19633 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19635         * config/mips/mips.c (function_arg_pass_by_reference): Define
19636         unconditionally, since it's called unconditionally.
19638 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
19640         * toplev.c (documented_lang_options): Add -fshort-wchar.
19641         * c-decl.c (c_decode_option): Likewise.
19642         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
19643         for wchar_t.
19644         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
19645         * gcc.c (default_compilers): If -fshort-wchar,
19646         override __WCHAR_TYPE__.
19647         * tm.texi (C Dialect Options): Add -fshort-wchar.
19649         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
19650         symbol for a variable.
19652         * cpplib.h (CPP_PREPROCESSED): New macro.
19653         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
19654         we're seeing this input for a second time.
19656 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
19658         * emit-rtl.c (init_emit_once): Initialize modes first.
19660 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
19662         * config/i386/i386.c (pic_label_name): Change to char pointer.
19663         (global_offset_table): New variable.
19664         (load_pic_register): Fill global_offset_table if it hasn't
19665         already been done.  Allocate pic_label_name dynamically.
19666         * ggc.h (empty_string): New variable.
19667         * ggc-simple.c (empty_string): Likewise.
19668         (init_ggc): Allocate empty_string and add as root.
19669         * stmt.c (digit_strings): New variable.
19670         (init_stmt): Add last_block_end_note as root.  Allocate and
19671         initialize digit_strings.
19672         (expand_asm_operands): Use empty_string instead of string
19673         constant.  Use digit_strings instead of string constants.
19674         * profile.c (init_arc_profiler): Allocate string with
19675         ggc_alloc_string instead of xmalloc.
19676         (output_func_start_profiler): Likewise.
19677         * c-typeck.c (digest_init): Check if init is error_mark_node.
19679 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
19680                           Richard Henderson  <rth@cygnus.com>
19682         * ggc-page.c: New file.
19683         * Makefile.in (ggc-page.o): New.
19685 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
19687         * invoke.texi: Document -fdelete-null-pointer-checks
19688         * toplev.c (flag_delete_null_pointer_checks): New.
19689         (f_options): Add entry for -fdelete-null-pointer-checks.
19690         (rest_of_compilation): Conditionalize null pointer check
19691         elimination on flag_delete_null_pointer_checks.
19692         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
19694 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
19696         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
19697         copyright notice and special exception to GPL.
19699 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19701         * abi64.h (mips_function_value): Add prototype arguments.
19703         * mips-protos.h: New file with mips prototypes.
19705         * mips.c: Include "tm_p.h".
19706         (mktemp, lookup_name): Add prototype arguments.
19707         (extern_list, string_constant, mips_fill_delay_slot,
19708         mips_output_external, mips_output_external_libcall,
19709         mips_output_filename, mips_declare_object, function_prologue,
19710         mips_expand_prologue, function_epilogue, mips16_constant,
19711         build_mips16_function_stub, mips_output_conditional_branch):
19712         Constify a char*.
19713         (mips_va_start): Remove unused variable `u'.
19714         (mips_va_arg): Cast value to unsigned when comparing against one.
19715         (trace): Delete.
19716         (save_restore_insns, mips_expand_prologue): Add missing arg in
19717         call to `large_int'.
19719         * mips.h: Move prototypes to mips-protos.h.
19720         (data_section, memory_address_p, rdata_section,
19721         readonly_data_section, simple_epilogue_p, text_section): Delete
19722         prototypes delcared elsewhere.
19723         (mips_epilogue_delay_slots, print_options): Delete unused decls.
19724         (trace): Delete.
19725         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
19727         * mips.md: Delete extra args in call to `mips_move_2words'.
19729         * xm-iris6.h (alloca): Add prototype argument.
19731         * genpeep.c: Include "tm_p.h" in generated output file.
19733 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19735         * basic-block.h (find_edge_index): Change parameters.
19736         * flow.c (verify_edge_list): Pass basic_block parameters to
19737         find_edge_index instead of integers.
19739 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
19741         * combine.c (simplify_comparison): Use an unsigned shift to adjust
19742         the constant.
19744 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
19746         * gcc.1: Fix a formatting error.
19748 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
19750         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
19751         i786, mn10200, mn10300, pdp11, v850.
19753 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
19755         * libgcc2.c (num_digits): Add prototype with
19756         __attribute__((const)).
19757         (__terminate): Add prototype.
19759 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
19761         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
19763         * alpha/alpha.c (print_operand): Fix type of `code'.
19764         (alpha_output_filename): Constify.
19765         * alpha/alpha.h: Move all function declarations ...
19766         * alpha/alpha-protos.h: ... here.  New file.
19767         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
19768         (SECTION_FUNCTION_TEMPLATE): Likewise.
19770 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19772         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
19773         * expr.c (expand_expr): Likewise.
19774         (do_jump): Likewise.
19775         (do_store_flag): Pass ccp_store_flag to can_compare_p.
19776         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
19777         accessor macros.
19778         (enum can_compare_purpose): New.
19779         (can_compare_p): Adjust prototype.
19780         (prepare_cmp_insn, prepare_operand): Declare.
19781         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
19782         * optabs.c (cmp_available_p): Deleted.
19783         (expand_abs): Pass ccp_jump to can_compare_p.
19784         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
19785         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
19786         Call can_compare_p rather than cmp_available_p.
19787         (prepare_operand): No longer static.
19788         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
19789         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
19790         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
19791         sequence to use emit_cmp_and_jump_insns.
19792         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
19794 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
19796         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
19797         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
19798         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
19799         (plus (reg) (const_int 0))
19800         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
19802 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
19804         * rs6000.c (expand_block_move): DImode loads and stores require
19805         word-aligned displacements.  Increment address registers with
19806         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
19808 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
19810         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
19811         is no name for the base type, rather than segfault.  If we are
19812         writing out a complex integer type, use DW_ATE_lo_user.
19814         * expr.c (emit_move_insn_1): If we are copying a complex that fits
19815         in one word or less (complex char, complex short, or on 64 bit
19816         systems complex float) to/from a hard register, copy it through
19817         memory instead of dying in gen_{real,imag}part.  If we have a
19818         short complex type, prevent inlining since it allocates stack
19819         memory.
19821         * tree.c (build_complex_type): If we are writing dwarf2 output,
19822         generate a name for complex integer types.
19824 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19826         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
19827         * flow.c (remove_edge): Remove extra whitespace.
19828         (remove_fake_edges): Fix comment.
19829         (add_noreturn_fake_exit_edges): Use the correct name.
19831 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
19833         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
19834         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
19835         (clean): Depend on INTL_CLEAN.
19836         (maintainer-clean): Adjust.
19838 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19840         * configure.in (AC_PREREQ): Bump to 2.13.
19841         (AC_C_STRINGIZE): Call this instead of using a custom macro.
19843         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
19845         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
19847         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
19849         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
19850         (HAVE_STRINGIZE): Define.
19852 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
19854         * c-parse.in: save and restore warn_pointer_arith on __extension__
19855         along with pedantic.
19856         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
19857         Set the type of extension to itype rather than $<itype>1 kludge.
19858         * extend.texi (Alternate Keywords): Adjust documentation.
19859         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
19861 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
19863         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
19864         most assembler templates.
19866         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
19867         FP loads and stores.
19868         (following_call): Always return zero for the PA8000.
19869         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
19870         FP loads and stores.
19871         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
19873         * pa.h (BRANCH_COST): Define.
19875         * pa.md (return, return_internal): Use bve for PA2.0.
19877         * pa.md (fused multiply): Add variants which reduce height for the
19878         fused multiply, but which still generate 2 insns.
19879         (fnegabs): Similarly.
19881         * pa.md (subsi3): Turn into an expander.  Create two anonymous
19882         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
19883         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
19885         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
19886         for TARGET_PA_20.
19887         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
19888         code generation.
19889         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
19890         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
19892         * regclass.c (init_regs): Add "top_of_stack" as a garbage
19893         collection root.
19895         * flow.c (record_active_eh_regions): Terminate loop after finding
19896         the last insn in the last basic block.
19898 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19900         * config/c4x/c4x.md: Delete parallel instruction peepholes.
19902 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19904         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
19906 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19908         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
19909         splitting to not use output template.
19911 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19913         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
19914         * config/c4x/c4x.c (c4x_va_start): New function.
19916 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
19918         * genrecog.c (not_both_true): Handle correctly cases when called for
19919         tests with different positions in the insn.
19921 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19923         * machmode.h (HOST_PTR_PRINTF): Move from here ...
19925         * system.h (HOST_PTR_PRINTF): ... to here.
19927         * mips-tfile.c: Don't include machmode.h.
19929         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
19930         (mips-tfile.o): Don't depend on machmode.h.
19932 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19934         * haifa-sched.c (sched_analyze): Rename local variable `region' to
19935         avoid conflicts with typedef struct `region' at the top level scope.
19937 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
19939         * basic-block.h (basic_block): Add eh_beg, eh_end.
19940         * flow.c (entry_exit_blocks): Update.
19941         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
19942         Call new functions.
19943         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
19944         lists.c functions to allocate insn lists.
19945         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
19946         edge creation ...
19947         (make_eh_edge): ... here.  New.
19948         (move_stray_eh_region_notes): New.
19949         (record_active_eh_regions): New.
19950         (delete_unreachable_blocks): Split out block merging ...
19951         (try_merge_blocks): ... here.  New.
19952         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
19953         Dump debugging data.
19954         (merge_blocks_move_successor_nojumps): Likewise.
19955         (merge_blocks): Use eh_beg+eh_end to validate block movement.
19957 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
19959         * extend.texi (Bound member functions): Document unbound pmf
19960         conversion.
19962 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19964         * flow.c (split_edge): Handle insertion on a fallthrough edge which
19965         has the EXIT_BLOCK as a dest.
19967 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19969         * flow.c (remove_edge): New function to remove an edge from the
19970         flow graph.
19971         (remove_fake_successors): New function to remove fake successor edges.
19972         (remove_fake_edges): New function to remove all fake edges from the
19973         flow graph.
19974         (add_fake_exit_edges): New function to add fake edges from all blocks
19975         with no successors to the exit block.
19976         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
19977         prototypes for new functions.
19979 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19981         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
19982         Use Pmode to determine whether to output .dword or .word.
19984 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
19986         * tree.c (built_in_filename): New variable.
19987         (BUILT_IN_FILENAME): New macro.
19988         (init_tree_codes): Allocate built_in_filename.
19989         (make_node): Use built_in_filename instead of string constant.
19991 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
19993         * configure.in: Add fr30 target.
19994         * configure: Regenerate.
19995         * config/fr30: New directory.
19996         * config/fr30/crti.asm: New file.
19997         * config/fr30/fr30.c: New file.
19998         * config/fr30/crtn.asm: New file.
19999         * config/fr30/fr30.h: New file.
20000         * config/fr30/fr30.md: New file.
20001         * config/fr30/lib1funcs.asm: New file.
20002         * config/fr30/t-fr30: New file.
20003         * config/fr30/xm-fr30.h: New file.
20005 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
20007         * flow.c (merge_blocks_move_successor_nojumps): Delete the
20008         BARRIER at the end of the successor, not the BARRIER before
20009         the successor.
20011         * pa.c (pa_add_gc_roots): Fix thinko in last change.
20013 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
20015         * stmt.c (any_pending_cleanups): Don't crash when
20016         current_function->stmt is unset.
20018 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20020         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
20021         other initializations that may use it for relative offsets.
20023 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20025         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
20026         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
20027         * config/i386/sol2dbg.h: Removed.
20028         * config/i386/sol2gas.h: New file, to enable gas work-around.
20029         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
20030         Don't use sol2dbg.h.
20031         * configure: Rebuilt.
20033 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
20035         * invoke.texi (-fthis-is-variable): Remove documentation.
20037 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
20039         * basic-block.h (compute_bb_for_insn): Declare.
20040         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
20041         to use; set size of basic_block_for_insn directly.
20042         (find_basic_blocks): Update.
20044 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20046         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
20048 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20050         * crtstuff.c (ON_EXIT): Delete empty macro definition.
20051         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
20053 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
20055         * c-decl.c (c_decode_option): Extend comment.
20057 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
20059         * toplev.c (progname): Make 'const char *'
20060         (flag_print_mem): Move out of main.
20061         (version_flag): Move out of main.
20062         (filename): Move out of main.
20063         (debug_args): Remove g prefix from options.
20064         (documented_lang_options): Remove cpplib specific options.
20065         (display_help): Add g prefix to debug options.
20066         (check_lang_option): Delete this function.
20067         (decode_d_option): New function: Decode -d... option.
20068         (decode_f_option): New function: Decode -f... option.
20069         (decode_W_option): New function: Decode -W... option.
20070         (decode_g_option): New function: Decode -g... option.
20071         (independent_decode_option): New function: Decode a language
20072         independent command line option.
20073         (main): Invoke lang_decode_option and then
20074         independent_decode_option on each command line option in
20075         turn.
20077 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
20079         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
20080          * fold-const.c (fold_range_test): Do not try to fold the range
20081          test if the rhs or lhs has side effects.
20083         * basic-block.h (compute_flow_dominators): Declare.
20085         * gcse.c (alloc_code_hoist_mem): New function.
20086         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
20087         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
20088         (hoist_code, one_code_hoisting_pass): Likewise.
20089         (gcse_main): If optimizing for size, then hoist expressions
20090         computed in multiple dominated basic blocks.
20092         * gcse.c (invalid_nonnull_info): New function.
20093         (delete_null_pointer_checks): Likewise.
20094         * rtl.h (delete_null_pointer_checks): Declare.
20095         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
20097         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
20098         (merge-blocks_move_successor_nojumps): Likewise.
20099         (merge_blocks): Allow merging of some blocks, even if it requires
20100         physical movement of the blocks, but not if it requires new jumps.
20102         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
20103         Callers and prototype changed.
20104         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
20106 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20108         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
20109         -YP when both -p and -pg are present.  From i386/sol2.h.
20111 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20113         * Makefile.in (distclean): Delete tm_p.h.
20114         * configure.in: Create a new file, "tm_p.h", from a list in
20115         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
20116         "i386/i386-protos.h".
20118         * alias.c: Include "tm_p.h".
20119         * c-typeck.c: Likewise.
20120         * calls.c: Likewise.
20121         * cse.c: Likewise.
20122         * emit-rtl.c: Likewise.
20123         * explow.c: Likewise.
20124         * expmed.c: Likewise.
20125         * expr.c: Likewise.
20126         * final.c: Likewise.
20127         * flow.c: Likewise.
20128         * fold-const.c: Likewise.
20129         * function.c: Likewise.
20130         * gcse.c: Likewise.
20131         * global.c: Likewise.
20132         * haifa-sched.c: Likewise.
20133         * integrate.c: Likewise.
20134         * jump.c: Likewise.
20135         * local-alloc.c: Likewise.
20136         * loop.c: Likewise.
20137         * optabs.c: Likewise.
20138         * recog.c: Likewise.
20139         * reg-stack.c: Likewise.
20140         * regclass.c: Likewise.
20141         * regmove.c: Likewise.
20142         * reload.c: Likewise.
20143         * reload1.c: Likewise.
20144         * reorg.c: Likewise.
20145         * resource.c: Likewise.
20146         * stmt.c: Likewise.
20147         * stor-layout.c: Likewise.
20148         * toplev.c: Likewise.
20149         * tree.c: Likewise.
20150         * unroll.c: Likewise.
20151         * genattrtab.c (main): Make generated file include "tm_p.h".
20152         * genemit.c (main): Likewise.
20153         * genoutput.c (main): Likewise.
20154         * genrecog.c (main): Likewise.
20156         * i386.h: Delete all prototypes.
20157         * i386.c: Include "tm_p.h".
20158         (ix86_attr_length_default): Call constant_call_address_operand
20159         with correct number of arguments.
20160         * i386-protos.h: New file.
20161         * i386.md (unnamed patterns): Call constant_call_address_operand
20162         with correct number of arguments.
20163         (exception_receiver): Call load_pic_register with correct number
20164         of arguments.
20166 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
20168         * c-pragma.c (mark_align_stack): Dereference the void* properly.
20170 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
20172         * rtl.h (insns_safe_to_move_p): New function.
20173         * loop.c (find_and_verify_loops): Use it.
20174         * rtlanal.c (insns_safe_to_move_p): Define it.
20176 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
20178         * c-pragma.c: Include ggc.h.
20179         * Makefile.in (c-pragma.o): Update.
20181 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20183         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
20184         (LIB_SPEC): Likewise.
20185         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
20186         Reindent -YP/-p/-pg.
20187         Copied from config/sparc/sol2.h.
20189 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
20191         * c-pragma.c (mark_align_stack): New.
20192         (init_pragma): New.
20193         * c-pragma.h (init_pragma): Declare it.
20194         * c-lex.c (init_parse): Call it.
20196 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20198         * configure.in: Pick up thread library on Solaris/x86 just
20199         like on Solaris/sparc.
20200         * configure: Rebuilt.
20202 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
20204         * rtl.h (global_rtx_index): New enum.
20205         (global_rtl): Change to array of rtx.
20206         (pc_rtx, cc0_rtx): Redefine accordingly.
20207         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
20208         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
20209         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
20210         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
20211         (const_int_rtx): Change to array of rtx.
20212         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
20213         accordingly.
20214         * emit-rtl.c (global_rtl): Change to array of rtx.
20215         (const_int_rtx): Change to aray of rtx.
20216         (gen_rtx_CONST_INT): Redefine accordingly.
20217         (init_emit_once): Allocate and initialize global_rtl.  Likewise
20218         for const_int_rtx.  Add both as GC roots.
20219         * genattrtab.c (global_rtl): Update declaration.
20221 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
20223         * Makefile (USER_H): Add iso646.h back.
20225 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
20227         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
20228         zapping the LOG_LINKS of sched_before_next_call.
20230         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
20231         * pa.c (insn_refs_are_delayed): Renamed from
20232         insn_sets_and_refs_are_delayed.
20234 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
20236         * functiion.h (struct function): Add x_whole_function_mode_p.
20237         (retrofit_block): Declare.
20238         * function.c (retrofit_block): New function.
20239         (identify_blocks): Add assertions.  Allow an incomplete set of
20240         block notes if we're still generating code for the function.
20241         * integrate.c: Include loop.h.
20242         (expand_inline_function): Call find_loop_tree_blocks to map block
20243         notes to blocks when in whole-function mode.  Use retrofit_block
20244         to insert new BLOCKs for the inlined function, rather than
20245         insert_block.
20246         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
20247         * Makefile.in (integrate.o): Depend on loop.h.
20249 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
20251         * tree.h (warn_about_unused_variables): Declare.
20252         * stmt.c (warn_about_unused_variables): New function, split out
20253         from ...
20254         (expand_end_bindings): Here.
20256 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
20258         * stmt.c (preserve_subexpressions_p): Don't crash when
20259         current_function->stmt is unset.
20261 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
20263         * stmt.c (expand_start_bindings): Allow callers to pass a flag
20264         indicating that no NOTE_INSN_BLOCK_BEG note is required.
20265         (expand_start_target_temps): Use it.
20266         * except.c (expand_eh_region_start_for_decl): Likewise.
20267         * expr.c (expand_expr): Likewise.
20269 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20271         * fold-const.c (operand_equal_p): Pay attention to side effects.
20273 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
20275         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
20276         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
20278         * tlink.c (scan_linker_output): Look for keywords before accepting
20279         a mangled name in quotes.
20281 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
20283         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
20284         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
20286 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
20288         * alpha.md: Revert Thu Nov 26 change that came in through the
20289         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
20290         Avoid earlyclobber when possible.
20292 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20294         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
20296         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
20297         Define HAVE_ON_EXIT.
20299 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20301         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
20302         CTYPE_CONV in all ctype macros.
20304         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
20305         from system.h.
20307         * cexp.y (initialize_random_junk): Likewise.
20309         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
20311         * i370.c (handle_pragma): Likewise.
20313         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
20315         * v850.c (override_options): Likewise.
20317         * doprint.c (_doprnt): Likewise.
20319         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
20320         Likewise.
20322         * fixinc/server.c (load_data): Likewise.
20324         * fold-const.c (real_hex_to_f): Likewise.
20326         * genattr.c (write_upcase, gen_attr): Likewise.
20328         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
20329         write_upcase): Likewise.
20331         * genemit.c (print_code): Likewise.
20333         * genopinit.c (gen_insn): Likewise.
20335         * genpeep.c (print_code): Likewise.
20337         * genrecog.c (print_code): Likewise.
20339         * optabs.c (init_libfuncs): Likewise.
20341 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
20343         * haifa-sched.c (sched_analyze): Keep the list of notes organized
20344         in pairs.
20345         (reemit_notes): Likewise.
20347 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
20349         * ggc.h (ggc_root): Move to ggc-common.c.
20350         (roots): Remove.
20351         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
20352         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
20353         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
20354         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
20355         * ggc-common.c (ggc_root): Move from ggc.h.
20356         (roots): Declare, static.
20357         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
20358         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
20359         null or check/set mark bit.
20360         (ggc_mark_roots): New.
20361         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
20363 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
20365         * m32r.c: Include toplev.h.
20366         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
20367         (gen_compare): Rename swap_p to must_swap to match uses.
20368         Add default abort case.
20369         (m32r_output_function_epilogue): Remove unused variables.
20370         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
20371         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
20372         define to empty parameter list.  Update all uses.
20373         (predicate decls): Use enum machine_mode not int.
20374         * m32r.md (movsi): Call abort, not fatal_insn.
20375         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
20377 1999-09-14  Andrew Haley  <aph@cygnus.com>
20379         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
20380         use $0 instead of 0.
20382 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20384         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
20385         computation out of loop over hard regs.
20387 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
20389         * function.c (identify_blocks): Don't shadow a variable in an
20390         outer scope.
20391         * integrate.c (integrate_decl_tree): Don't use pushlevel,
20392         pushdecl, or poplevel to build up the new BLOCK tree.
20393         (expand_inline_function): Likewise.
20394         (integrate_parm_decls): Likewise.
20396 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
20398         * c-typeck.c (qualify_type): Merge qualifiers from both types.
20400 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
20402         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
20403         * invoke.texi: Document this change.
20405 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
20407         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
20408         Free the struct.
20409         (mark_emit_status): Renamed from mark_emit_state.
20410         * except.c (mark_eh_status): Renamed from mark_eh_state.
20411         Check not null before marking.
20412         (free_eh_status): New.
20413         * expr.c (mark_expr_status, free_expr_status): New.
20414         * function.c (free_machine_status): New.
20415         (free_after_parsing): New.
20416         (free_after_compilation): Move bits to free_after_parsing; call
20417         free_eh_status, free_expr_status; zero the marked members of the
20418         function state.
20419         (prepare_function_start): No can_garbage_collect.
20420         Call init_eh_for_function.
20421         (expand_dummy_function_end): Free up current_function state.
20422         (mark_function_status): Renamed from mark_function_state.
20423         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
20424         * function.h (struct function): No can_garbage_collect.
20425         (free_machine_status, free_after_parsing): Declare.
20426         (free_eh_status, free_expr_status): Declare.
20427         * ggc.h (mark_expr_status): Declare.
20428         * stmt.c (free_stmt_status): Free the struct.
20429         (mark_stmt_status): Renamed from mark_stmt_state.
20430         (init_stmt): Don't call init_eh.
20431         (init_stmt_for_function): Don't call init_eh_for_function.
20432         * toplev.c (compile_file): Call init_eh.
20433         (rest_of_compilation): Free basic block info before ggc_collect.
20434         Call free_after_parsing; conditionally call free_after_compilation.
20435         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
20436         Check not null before marking.
20437         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
20439 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
20441         * c-lex.c (yylex): Initialize warn.
20443 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
20445         * pa.c (emit_move_sequence): Properly set the mode of the scratch
20446         register when performing secondary reloads for the SAR register.
20448 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
20450         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
20451         (NOTE_BLOCK): New macro.
20452         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
20453         * function.h (identify_blocks): Change prototype.
20454         * function.c (identify_blocks): Simplify.
20455         (reorder_blocks): Likewise.
20456         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
20457         NOTE_INSN_BLOCK_{BEG,END}.
20458         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
20459         the list of saved notes if the note isn't a
20460         NOTE_INSN_BLOCK_{BEG,END}.
20461         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
20462         NOTE_BLOCK_NUMBER.
20463         (reemit_notes): Adjust recreation of notes to reflect new saved
20464         note structure.
20465         * print-rtl.c (print_rtx): Print the address of the BLOCK when
20466         printing a block note.
20467         * stmt.c (block_vector): Remove.
20468         (find_loop_tree_blocks): Simplify.
20469         (unroll_block_trees): Likewise.
20470         * tree.h (reorder_block): Change prototype.
20472 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
20474         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
20475         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
20476         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
20477         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
20478         (atexit, exit): Simplify.
20479         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
20480         * config/lots: Remove defns of HAVE_ATEXIT.
20482 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
20484         * calls.c (precompute_arguments): Fix typo in comment.
20485         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
20486         TARGET_EXPR.
20488 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
20490         * dsp16xx.c (override_options): Fix typos in GC root registration.
20492 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
20494         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
20495         from config/svr4.h.
20496         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
20497         (FUNCTION_PROFILER): Redefine appropriately for Linux.
20498         (CC1_SPEC): Likewise.
20500 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20502         * genattr.c (main): Add extern prototype.  Call return, not exit.
20503         * genattrtab.c (main): Likewise.
20504         * gencheck.c (main): Likewise.
20505         * gencodes.c (main): Likewise.
20506         * genconfig.c (main): Likewise.
20507         * genemit.c (main): Likewise.
20508         * genextract.c (main): Likewise.
20509         * genflags.c (main): Likewise.
20510         * gengenrtl.c (main): Likewise.
20511         * genopinit.c (main): Likewise.
20512         * genoutput.c (main): Likewise.
20513         * genpeep.c (main): Likewise.
20514         * genrecog.c (main): Likewise.
20516         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
20517         * genattrtab.c (get_insn_name): Likewise.
20518         * gencodes.c (get_insn_name): Likewise.
20519         * genconfig.c (get_insn_name): Likewise.
20520         * genemit.c (get_insn_name): Likewise.
20521         * genextract.c (get_insn_name): Likewise.
20522         * genflags.c (get_insn_name): Likewise.
20523         * genopinit.c (get_insn_name): Likewise.
20524         * genpeep.c (get_insn_name): Likewise.
20526         * gencheck.c (usage): Add static prototype.
20527         * genextract.c (print_path): Constify a char*.
20528         * genopinit.c (optabs): Likewise.
20529         * genoutput.c (operand_data, data, output_predicate_decls,
20530         compare_operands): Likewise.
20531         * genrecog.c (write_tree): Add default case in switch.
20533 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20535         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
20537         * print-rtl.c (get_insn_name): Remove prototype.
20539         * toplev.h (progname): Declare const.
20541         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
20542         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
20543         dump_sched_info, dump_local_alloc, regset_release_memory,
20544         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
20545         error_with_file_and_line, error_with_decl, error_for_asm, error,
20546         fatal, warning_with_file_and_line, warning_with_decl, warning,
20547         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
20548         Remove redundant prototypes.
20550         (notice, check_lang_option, report_file_and_line, vnotice,
20551         mark_file_stack): Add static prototype.
20552         (set_fatal_function): Add prototype.
20553         (vnotice, report_file_and_line, set_fatal_function,
20554         check_lang_option): Constify a char*.
20555         (main): Prototype.  Call return, not exit.
20557 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20559         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
20561         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
20563         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
20565         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
20567 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20569         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
20570         behave as if it's zero in all cases.
20571         (expand_function_start): Adjust call to assign_parms.
20572         * tree.h (assign_parms): Adjust prototype.
20573         * objc/objc-act.c (hack_method_prototype): Adjust call to
20574         assign_parms.
20576 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
20578         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
20579         arg_pointer_rtx fixed if the argument pointer register is
20580         not fixed.
20581         (NONZERO_BASE_PLUS_P): Likewise.
20583 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
20585         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
20586         match_insn2 to match_insn.
20587         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
20589 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
20591         * Makefile.in (USER_H): Remove va-foo.h.
20593         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
20594         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
20595         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
20596         va-spur.h,va-v850.h}: Remove.
20598 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
20600         * sparc/sparc.md (eligible_for_return_delay): New attribute.
20601         (in_return_delay): Use it instead of match_insn.
20603 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20605         * config/alpha/va_list.h (va-alpha.h): Do not include.
20606         (__gnuc_va_list): Typedef as in varargs.h.
20608 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
20610         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
20611         DECL_LIVE_RANGE_RTL.
20613 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
20615         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
20616         not NOTE_BLOCK_NUMBER.
20617         (expand_eh_region_end): Likewise.
20618         (find_exception_handler_labels): Likewise.
20619         (scan_region): Likewise.
20620         (exception_optimize): Likewise.
20621         (update_rethrow_references): Likewise.
20622         (set_insn_eh_region): Likewise.
20623         * final.c (final_scan_insn): Likewise.
20624         * flow.c (make_edges): Likewise.
20625         * integrate.c (expand_inline_function): Likewise.
20626         * print-rtl.c (print_rtx): Likewise.
20628 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
20630         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
20631         terms of builtin functions and types.
20633         * mips.c (mips_build_va_list): New.
20634         (mips_va_start, mips_va_arg): New.
20635         * mips.h (BUILD_VA_LIST_TYPE): New.
20636         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
20638         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
20639         (sh_build_va_list, sh_va_start, sh_va_arg): New.
20640         * sh.h (BUILD_VA_LIST_TYPE): New.
20641         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
20643 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
20645         * recog.h (struct recog_data): Make dup_num, operand_address_p,
20646         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
20647         (struct insn_data): Likewise with n_operands, n_dups,
20648         n_alternatives, output_format.
20649         * regclass.c (scan_one_insn): Cast n_operands to int before
20650         arithmetic inside comparison.
20652 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
20654         * toplev.c (compile_function): Unconditionally emit nop.
20656 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20658         * haifa-sched.c (actual_hazard): Move declaration of variable
20659         `this_cost' into the scope where it is used.
20661 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20663         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
20664         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
20665         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
20667         * genrecog.c (make_insn_sequence): Call memset, not bzero.
20669         * jump.c (find_insert_position): Don't declare or define unless
20670         !HAVE_conditional_arithmetic.
20671         (returnjump_p_1, delete_prior_computation): Add static prototypes.
20673         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
20675         * recog.c (offsettable_address_p): Prototype function pointer.
20676         (preprocess_constraints): Call memset, not bzero.
20678         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
20679         (gcc_obstack_init): Don't declare.
20680         (fix_sizetype): Add static prototype.
20681         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
20682         (tree_cons): Call memset, not bzero.
20684         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
20685         definition in macro ASM_WEAKEN_LABEL.
20686         (mark_const_hash_entry): Add static prototype.
20688 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20690         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
20692         * unroll.c (find_common_reg_term, subtract_reg_term,
20693         loop_find_equiv_value): Add static prototypes.
20694         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
20695         (copy_loop_body): Remove unreachable break statement.
20697         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
20699         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
20701 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20703         Undo some changes from the gcc2 merge:
20704         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
20705         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
20706         pointers.
20708         Undo this change:
20709         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
20710         * emit-rtl.c (gen_lowpart_common): Disable optimization of
20711         initialized float-int union if the value is a NaN.
20713 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20715         * gthr-win32.h: New file.
20717         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
20718         shared as a valid attribute.
20719         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
20720         * extend.texi: Document `shared' variable attribute.
20722 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
20724         * configure.in: Handle --enable-threads on FreeBSD.
20725         * configure: Rebuit.
20727 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
20729         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
20730         thread support.
20731         * configure: Rebuilt.
20733 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
20734                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
20735                           Rosimildo DaSilva <rdasilva@connecttel.com>
20737         * configure.in (m68k-*-rtemscoff*): Added.
20738         * configure.in (mips64orion-*-rtems*): Converted to ELF.
20739         * configure.in (sparc-*-rtemsaout*): Added as alias for old
20740         sparc-rtems configuration.
20741         * configure.in (sparc-*-rtemself*): Added.
20742         * configure.in (sparc-*-rtems*): Now ELF not a.out.
20743         * config/i386/rtems.h: Added comment.
20744         * config/sparc/rtemself.h: New file.
20746         * configure.in (m68k-rtemself): Added.
20747         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
20748         and DWARF_DEBUGGING_INFO.
20749         * config/m68k/crti.s: New file.
20750         * config/m68k/crtn.s: New file.
20751         * config/m68k/t-crtstuff: New file.
20752         * config/m68k/rtemself.h: New file.
20754         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
20755         global ctor/dtor and C++ exception handling.
20756         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
20757         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
20758         ENDFILE_SPEC.
20759         * config/i386/t-rtems-i386: New File.
20761 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
20763         * stmt.c (expand_end_case): Return right away if the case stack is
20764         empty.
20766 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
20768         * Makefile.in (version.c): Remove rule incorrectly brought in from
20769         the gcc2 merge.
20771 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
20773         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
20774         * msdos/top.sed:  Take into account a prepended $(SHELL) to
20775         move-if-change.
20776         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
20778         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
20780 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20782         * regmove.c (fixup_match_1): Don't change an unchanging register.
20783         (stable_but_for_p): Renamed to:
20784         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
20785         Changed all callers.
20787 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
20789         * loop.c (strength_reduce): Don't call reg_used_between_p if the
20790         insn from BL2 is after the insn from BL.
20792 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
20794         * recog.h (INSN_OUTPUT_FORMAT_*): New.
20795         (struct insn_data): Merge `template' and `outfun' into `output'.
20796         Add `output_format'.
20797         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
20798         (struct data): Remove `outfun'; add `output_format'.
20799         (name_for_index): Remove declaration.
20800         (output_insn_data): Handle output formats.
20801         (process_template): Emit the bare array for @.
20802         (gen_expand, gen_split): Set output_format to NONE.
20803         * output.h (get_insn_template): Declare.
20804         * final.c (get_insn_template): New.
20805         (final_scan_insn): Use it.
20806         * toplev.c (compile_file): Likewise.
20808         * c4x/c4x.c (c4x_process_after_reload): Likewise.
20809         * i860/i860.c (output_delayed_branch): Likewise.
20810         (output_delay_insn): Likewise.
20812 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20814         * rtl.c (obstack_alloc_rtx): Removed.
20816 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
20818         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
20820 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
20822         * i386.c (call_insn_operand): Reject const_int.
20823         (expander_call_insn_operand): Use call_insn_operand.
20825 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20827         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
20829 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
20831         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
20832         Use DImode operation.
20834 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
20836         * gcc.c: Include sys/resource.h.
20837         (report_times): New flag.
20838         (execute):  If report_times is set, calculate and report the
20839         CPU time consumed by each subprocess.
20841         (rus, prus): New globals.
20842         (option_map): Add --time.
20843         (display_help): Document -time.
20844         (process_command): Set report_times if -time is given.
20845         Turn off -pipe if -time is given.
20847         * invoke.texi: Document new option -time.
20849         * configure.in: Check for getrusage.  Check if we have to
20850         prototype getrusage.
20851         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
20852         * configure: Regenerate.
20853         * config.in: Regenerate.
20855 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
20857         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
20858         fields.
20860 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
20862         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
20863         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
20864         (nan): Return _thenan_sf or _thenan_df as appropriate.
20865         (L_thenan_sf): Define _thenan_sf.
20866         (L_thenan_df): Define _thenan_df.
20868         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
20869         (DPBIT_FUNCS): Add _thenan_df.
20871 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
20873         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
20874         TYPE_SIZE_UNIT.
20876 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20878         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
20880         * gcc.h: New file.
20881         (lang_specific_driver): Don't take a function pointer parameter.
20882         All callers changed.
20884         * gcc.c: Include gcc.h.
20885         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
20886         lang_specific_extra_outfiles, fatal): Don't declare.
20887         (multilib_defaults_raw): Constify.
20888         (read_specs): Call memset, rather than bzero.
20889         (main): Call return, not exit.
20890         (lookup_compiler): Call memcpy, not bcopy.
20891         (fatal): Make extern.
20893         * cppspec.c: Include gcc.h.
20894         (lang_specific_driver): Initialize variable `quote'.  Constify a
20895         char*.  All calls to the function pointer parameter now
20896         explicitly call `fatal'.
20898         * gccspec.c (lang_specific_driver): Include gcc.h.
20900 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
20902         * arm.c (note_invalid_constants): Use recog_data.operand_type
20903         for recog_op_type.
20905 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20907         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
20908         Declare.
20910         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
20911         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
20912         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
20913         reload_secondary_in_reload, reload_secondary_out_reload,
20914         reload_secondary_in_icode, reload_secondary_out_icode,
20915         reload_reg_rtx, reload_when_needed): Delete declarations.
20916         (struct reload): New structure.
20917         (rld): Declare new array.
20918         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
20919         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
20920         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
20921         reload_secondary_in_reload, reload_secondary_out_reload,
20922         reload_secondary_in_icode, reload_secondary_out_icode,
20923         reload_reg_rtx, reload_when_needed): Delete definitions.
20924         (rld): New array.
20925         (whole file): Replace uses of the deleted arrays with uses of rld.
20926         * reload1.c (whole file): Replace uses of the deleted arrays with
20927         uses of rld.
20928         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
20929         explicit loops, not with bcopy.
20931 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
20933         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
20934         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
20935         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
20936         insn_name): Delete and consolidate into new structures.
20937         (insn_operand_predicate_fn): New.
20938         (insn_output_fn): New.
20939         (insn_gen_fn): New.
20940         (struct insn_operand_data): New.
20941         (struct insn_data): New.
20942         (insn_data): New.
20943         (OUT_FCN): Update for insn_data change.
20944         * builtins.c (expand_builtin_strlen): Likewise.
20945         (expand_builtin_memcmp): Likewise.
20946         * combine.c (make_extraction, simplify_comparison): Likewise.
20947         * cse.c (canon_reg, cse_insn): Likewise.
20948         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
20949         * expmed.c (store_bit_field, extract_bit_field): Likewise.
20950         (emit_store_flag): Likewise.
20951         * expr.c (convert_move, emit_block_move): Likewise.
20952         (clear_storage, emit_push_insn, expand_increment): Likewise.
20953         (do_store_flag): Likewise.
20954         * expr.h (GEN_FCN): Likewise.
20955         (insn_gen_function): Die.
20956         * final.c (final_scan_insn): Update for insn_data change.
20957         (output_asm_name): Likewise.
20958         * function.c (fixup_var_refs_1): Likewise.
20959         * loop.c (check_dbra_loop): Likewise.
20960         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
20961         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
20962         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
20963         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
20964         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
20965         * regmove.c (gen_add3_insn): Likewise.
20966         * reload.c (push_secondary_reload, combine_reloads): Likewise.
20967         (find_reloads, find_reloads_address_1): Likewise.
20968         (debug_reload_to_stream): Likewise.
20969         * reload1.c (emit_reload_insns, gen_reload): Likewise.
20970         * stmt.c (expand_end_case): Likewise.
20971         * toplev.c (compile_file): Likewise.
20973         * c4x/c4x.c (c4x_process_after_reload): Likewise.
20974         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
20976         * print-rtl.c (insn_name_ptr): Remove declaration.
20977         (get_insn_name): Declare.
20978         (print_rtx): Use it.
20979         * genoutput.c (insn_name_ptr): Remove.
20980         (next_operand_number): New.
20981         (struct operand_data): New.
20982         (null_operand, odata, odata_end): New.
20983         (struct data): Use struct operand_data.
20984         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
20985         (get_insn_name): Renamed from name_for_index.
20986         (output_prologue): Define NO_MD_PROTOTYPES.
20987         (output_predicate_decls): Break out from output_epilogue.
20988         Iterate over the operands list.
20989         (output_operand_data): Break out from output_epilogue.  Emit
20990         just the operands list.
20991         (output_insn_data): Break out from output_epilogue.  Emit just
20992         the insn data.
20993         (output_epilogue): Remove.
20994         (output_get_insn_name): New.
20995         (constraints, op_n_alternatives, predicates, address_p): Die.
20996         (modes, strict_low, seen): Die.
20997         (scan_operands): Take new param `d' instead of writing to
20998         seven global variables.
20999         (compare_operands): New.
21000         (place_operands): New.
21001         (validate_insn_alternatives): Update for struct data change.
21002         (gen_insn): Don't zero or copy 7 global arrays.  Update for
21003         scan_operands; call place_operands.
21004         (gen_peephole, gen_expand, gen_split): Likewise.
21005         (main): Update for new output routines.
21007         * genattr.c (insn_name_ptr): Remove.
21008         (get_insn_name): New function.
21009         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
21010         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
21011         * genrecog.c: Likewise.
21013         * alpha.md (adddi3): Make `pattern' array static.
21015 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21017         * config/c4x/c4x.h (c4x_rpts_cycles_string,
21018         c4x_cpu_version_string): Constify char *.
21019         * config/c4x/c4x.c (c4x_rpts_cycles_string,
21020         c4x_cpu_version_string): Likewise.
21022 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
21024         * tree.c (save_tree_status): Revert 10 Sep change.
21025         (restore_tree_status): Likewise.  Call obstack_free with NULL
21026         before freeing the obstack proper.
21028 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
21030         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
21032         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
21033         surrounding context.
21035 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
21037         * tree.c (type_hash_canon): Put all types in the hash-table, when
21038         GC'ing.
21040 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
21042         * recog.h (struct recog_data, recog_data): New.
21043         (recog_foo variables): Kill.
21044         * recog.c (recog_operand, recog_operand_loc): Kill.
21045         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
21046         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
21047         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
21048         (recog_data): Define.
21049         (extract_insn): Update all recog_foo references to use recog_data.
21050         (preprocess_constraints, constrain_operands): Likewise.
21051         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
21052         * genattrtab.c (main): Likewise.
21053         * genextract.c (main): Likewise.
21054         * genoutput.c: Likewise.
21055         * genrecog.c (write_subroutine, main): Likewise.
21056         * local-alloc.c (block_alloc): Likewise.
21057         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
21058         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
21059         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
21060         * reload.c (find_reloads, find_reloads_toplev): Likewise.
21061         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
21062         (reload_cse_simplify_operands): Likewise.
21064         * arc/arc.c (arc_final_prescan_insn): Likewise.
21065         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
21066         * h8300/h8300.c (notice_update_cc): Likewise.
21067         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
21068         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
21069         * mn10200/mn10200.c (notice_update_cc): Likewise.
21070         * mn10300/mn10300.c (notice_update_cc): Likewise.
21071         * romp/romp.c (update_cc): Likewise.
21072         * sparc/sparc.c (check_pic): Likewise.
21073         * v850/v850.c (notice_update_cc): Likewise.
21075         * genemit.c (main): Don't declare recog_operand.
21077 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
21079         * ggc.h (rtvec_def): Forward declare.
21080         (tree_node): Likewise.
21081         (ggc_root): Define.
21082         (roots): Declare.
21083         (ggc_set_mark_rtx): Add prototype.
21084         (ggc_set_mark_rtvec): Likewise.
21085         (ggc_set_mark_tree): Likewise.
21086         * ggc-simple.c (ggc_root): Don't define.
21087         (roots): Don't declare.
21088         (ggc_mark_rtx): Remove.
21089         (ggc_mark_rtvec): Likewise.
21090         (ggc_mark_tree): Likewise.
21091         (ggc_mark_varray): Likewise.
21092         (ggc_mark_tree_hash_table_entry): Likewise.
21093         (ggc_mark_tree_hash_table): Likewise.
21094         (ggc_set_mart_rtx): New function.
21095         (ggc_set_mark_rtvec): Likewise.
21096         (ggc_set_mark_tree): Likewise.
21097         (ggc_add_root): Remove.
21098         (ggc_add_rtx_root): Likewise.
21099         (ggc_remove_tree_root): Likewise.
21100         (ggc_add_string_root): Likewise.
21101         (ggc_add_tree_varray_root): Likewise.
21102         (ggc_add_tree_hash_table_root): Likewise.
21103         (ggc_del_root): Likewise.
21104         (ggc_mark_rtx_ptr): Likewise.
21105         (ggc_mark_tree_ptr): Likewise.
21106         (ggc_mark_string_ptr): Likewise.
21107         (ggc_mark_tree_varray_ptr): Likewise.
21108         (ggc_mark_tree_hash_table_ptr): Likewise.
21109         * ggc-common.c: New file.
21110         * Makefile.in (OBJS): Add ggc-common.o.
21111         (ggc-common.o): List dependencies.
21113 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
21115         * cppalloc.c (xstrdup): Use memcpy.
21116         * cpperror.c (cpp_print_containing_files): Don't use
21117         cpp_notice.
21118         * cpplib.c (conditional_skip): Set temp->lineno.
21119         (do_endif): Make error message less obscure.
21120         (if_directive_name): New function.
21121         (cpp_get_token [case EOF]): Unwind the if stack and generate
21122         error messages for each unterminated conditional in this file.
21123         (parse_string):  Do not behave differently if -traditional.
21125 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
21127         * builtins.c (expand_builtin_va_arg): Cope with an array-type
21128         va_list decomposing to pointer-type.
21129         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
21130         (rs6000_va_arg): Likewise.
21132 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
21134         * except.c (start_dynamic_handler): Compute size using
21135         STACK_SAVEAREA_MODE.
21137 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21139         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
21140         include directory headers.  Don't define strrchr.  Don't provide
21141         my_* replacement functions.  Prefer PTR over `pointer_type'.
21142         Don't prototype system functions.  Don't redefine getopt.
21144         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
21145         safe_read, safe_write, save_pointers, restore_pointers,
21146         is_id_char, in_system_include_dir, directory_specified_p,
21147         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
21148         find_corresponding_lparen, referenced_file_is_newer,
21149         save_def_or_dec, munge_compile_params, gen_aux_info_file,
21150         process_aux_info_file, identify_lineno, check_source,
21151         seek_to_line, forward_to_next_token_char, output_bytes,
21152         output_string, output_up_to, other_variable_style_function,
21153         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
21154         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
21155         find_static_definition, connect_defs_and_decs, add_local_decl,
21156         add_global_decls, needs_to_be_converted, visit_each_hash_node,
21157         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
21158         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
21159         scan_for_missed_items, edit_file, string_list_cons): Add static
21160         prototypes.
21161         (standard_exec_prefix, target_machine, target_version,
21162         default_syscalls_dir, string_list, string_list_cons, find_file,
21163         do_cleaning): Constify a char*.
21164         (safe_read, safe_write): Use PTR, not a char*.
21165         (is_id_char): Take an int, not a char.
21166         (main): Add prototype.  Call return, not exit.
21168 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
21170         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
21171         when comparing types.
21173 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
21175         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
21176         (strength_reduce): Release the varrays from the no-bivs early exit.
21178         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
21179         the loop over the registers.
21181         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
21182         for a new obstack.
21183         (restore_tree_status): Check that instead when freeing the obstack.
21185 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
21187         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
21188         as pointers.
21190 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21192         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
21193         operand size modifiers.
21195 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21197         * c-common.c (c_common_nodes_and_builtins): Don't build
21198         va_list_type_node.
21199         * c-common.h (enum c_tree_index and related accesor macros): Remove
21200         everything now declared in tree.h.
21201         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
21202         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
21203         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
21204         (error_mark_node, void_type_node, char_type_node, integer_type_node,
21205         unsigned_type_node, ptr_type_node, va_list_type_node,
21206         integer_zero_node, null_pointer_node, integer_one_node): Delete.
21207         (init_decl_processing): Call build_common_tree_nodes and
21208         build_common_tree_nodes_2 instead of building their nodes here.
21209         Don't add roots for these nodes.
21210         * stor-layout.c (size_zero_node, size_one_node): Delete.
21211         (set_sizetype): Make a new node for bitsizetype each time.
21212         * tree.c (global_trees): New variable.
21213         (init_obstacks): Add a gc root for it.
21214         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
21215         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
21216         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
21217         (build_common_tree_nodes): New function.
21218         (fix_sizetype): New function.
21219         (build_common_tree_nodes_2): New function.
21220         * tree.h (enum tree_index): New.
21221         (global_trees): Declare.
21222         Add accessor macros for all nodes now moved to global_trees.
21223         Delete their declarations.
21225 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
21227         * c-decl.c (finish_function): When processing a nested function,
21228         push and pop GC context around rest_of_compilation.
21230 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
21232         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
21233         Default ix86_arch to PROCESSOR_I386.
21234         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
21235         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
21236         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
21237         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
21238         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
21239         (EXTRA_SPECS): Remove deleted specs.
21241 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
21243         * function.c (assign_stack_local_1): Allocate from
21244         function->x_frame_offset, not frame_offset.
21246 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
21248         * ggc.h (lang_cleanup_tree): Remove.
21249         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
21250         * ggc-callbacks.c (lang_cleanup_tree): Remove.
21252         * c-decl.c (finish_struct): Use ggc_alloc to allocate
21253         TYPE_LANG_SPECIFIC when garbage collecting.
21254         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
21255         (lang_cleanup_tree): Remove.
21257 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
21259         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
21260         * crtstuff.c: Not here.
21261         * dwarf2out.c: Or here.
21262         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
21263         info.
21265 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
21267         * function.h (free_after_compilation): Remove decl parameter.
21268         (free_varasm_status0: Likewise.
21269         (free_emit_status): Likewise.
21270         (free_stmt_status): Likewise.
21271         (free_after_compilation): Likewise.
21272         (init_lang_status): New variable.
21273         (free_lang_status): Likewise.
21274         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
21275         * function.c (init_lang_status): New variable.
21276         (free_lang_status): Likewise.
21277         (push_function_context_to): Don't set function::decl here.
21278         (free_after_copmilation): Make decl parameter implicit.  Call
21279         free_lang_status if defined.
21280         (prepare_function_start): Call init_lang_status if defined.
21281         (init_function_start): Set function::decl here.
21282         * profile.c (output_func_start_profiler): Don't call pushdecl
21283         until we've actually started the function.
21284         * stmt.c (free_stmt_status): Make decl parameter implicit.
21285         * toplev.c (rest_of_compilation): Don't pass decl to
21286         free_after_compilation.
21287         * varasm.c (free_varasm_status): Likewise.
21289 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21291         * except.c (call_get_eh_context): Add root when allocating static
21292         tree variable.
21294 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
21296         * arm.c: Include "ggc.h".
21297         (arm_add_gc_roots): New function.
21298         (arm_override_options): Call it.
21299         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
21301         * arm.md (define_asm_attributes): Add a pool_range attribute.
21303 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
21305         * extend.texi (Volatiles): New node.
21307 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
21309         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
21310         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
21311         (struct ggc_any): Replace `mark' with `magic_mark'.
21312         (ggc_alloc_string): Use memcpy, not bcopy.
21313         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
21314         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
21315         (ggc_free_any): New.
21316         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
21317         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
21318         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
21319         Use IS_MARKED. Use ggc_free_any.
21321 1999-09-09  Scott Bambrough <scottb@netwinder.org>
21323         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
21325 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
21327         * toplev.c (main): Always init_ggc.
21329 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
21331         * except.c (find_all_handler_type_matches): Free the list if
21332         we found no matches.
21334         * combine.c (SUBST): Break out to a real function do_SUBST.
21335         (SUBST_INT): Likewise.
21336         * gcse.c (free_pre_mem): Free `temp_bitmap'.
21337         (pre_insert): Free `inserted'.
21338         * loop.c (basic_induction_var): Always set `location'.
21340         * function.c (expand_function_end): Add initial_trampoline as a root.
21341         * rtl.h (init_varasm_once): Declare.
21342         * toplev.c (compile_file): Call it.
21343         * ggc-simple.c (ggc_mark_string_ptr): New.
21344         (ggc_add_string_root): New.
21345         (ggc_collect): Disable collection avoidance temporarily.
21346         * ggc.h (ggc_add_string_root): Declare.
21347         * except.c (create_rethrow_ref): Use ggc_alloc_string.
21348         * optabs.c (init_libfuncs): Likewise.
21349         * varasm.c (named_section): Use ggc_alloc_string.
21350         (make_function_rtl): Likewise.
21351         (make_decl_rtl): Likewise.
21352         (assemble_static_space): Likewise.
21353         (assemble_trampoline_template): Likewise.
21354         (output_constant_def): Likewise.
21355         (force_const_mem): Likewise.
21356         (mark_const_hash_entry): New.
21357         (mark_pool_sym_hash_table): New.
21358         (mark_varasm_state): Use it.
21359         (init_varasm_once): New.
21361         * expr.h (init_one_libfunc): Declare.
21362         * optabs.c (init_one_libfunc): New.
21363         (init_optabs): Use it.
21364         * config/gofast.h: Likewise.
21365         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
21366         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
21368 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
21370         * Makefile.in (cppexp.o): Depend on cpphash.h.
21371         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
21372         Include cpphash.h.
21373         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
21374         * cpplib.c (do_define): Generalise to handle poisoned definitions,
21375         redefining poisoned identifiers, etc.
21376         (do_undef): Don't allow poisoned identifiers to be undefined.
21377         (do_pragma): Add #pragma poison.
21378         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
21380         * cccp.c: Add T_POISON node type.
21381         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
21382         poisoned xxx.
21383         (do_define): Generalise to handle poisoned definitions,
21384         redefining poisoned identifiers, etc.
21385         (do_undef): Don't allow poisoned identifiers to be undefined.
21386         (do_pragma): Add #pragma poison.
21387         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
21389         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
21390         * c-pragma.h: Add ps_poison state.  We now always have generic
21391         pragmas.
21393 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
21395         * ggc.h (ggc_alloc): New function.
21396         (ggc_mark): Likewise.
21397         * ggc-simple.c (ggc_any): New structure.
21398         (ggc_status): Add anys.
21399         (n_anys_collected): New variable.
21400         (ggc_alloc): Define.
21401         (ggc_mark): Likewise.
21402         (ggc_collect): Collect the anys.
21404 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21406         * c-decl.c (mark_binding_level): Make static to match prototype.
21408 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
21410         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
21412 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
21414         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
21415         will use into account.  Expand the max width to 5.
21416         * rtl.c: Likewise.
21418 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
21420         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
21421         for the rtx length.
21423 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
21425         * alpha.md (call value patterns): Remove the result predicates.
21427 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
21429         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
21430         last change.
21432 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21434         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
21435         changed from extern char *, to extern PTR.  Also fix typo in
21436         NEED_DECLARATION_REALLOC test.
21438         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
21440 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21442         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
21443         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
21444         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
21445         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
21447         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
21449         * cccp.c (pcfinclude): Likewise.
21451         * global.c (allocno_compare): Likewise.
21453         * haifa-sched.c (rank_for_schedule): Likewise.
21455         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
21457         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
21459         * stupid.c (stupid_reg_compare): Likewise.
21461         * tree.c (_obstack_allocated_p): Likewise.
21463         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
21465 1999-09-08  Bruce Korb  autogen@linuxbox.com
21467         * Makefile.in: Give the hapless gperf user a hint about
21468         why "gperf -F" fails.
21470 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
21472         * lists.c: Include ggc.h.
21473         (zap_lists): New.
21474         (init_EXPR_INSN_LIST_cache): Install it.
21476         * ggc-simple.c (init_ggc): Absorb the old init.
21477         (ggc_push_context): Use xcalloc.
21478         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
21479         (ggc_collect): Add [rvts] tags to the collection stats.
21481 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
21483         * cccp.c (main): Fix handling of -include and -imacros options.
21485 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
21487         * cpplib.c (cpp_push_buffer): Fix order of arguments.
21489 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
21491         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
21492         genrtl.c.
21494 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
21496         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
21497         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
21498         and SET_DEST. Update comment.
21500 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21502         * config/c4x/c4x.c: Include ggc.h.
21503         (c4x_add_gc_roots): New function.
21504         (c4x_override_options): Call c4x_add_gc_roots.
21506 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
21508         * defaults.h (TARGET_ESC): Move ...
21509         * system.h: ... here, where Linas had it in the first place.  Silly me.
21511 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
21513         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
21514         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
21515         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
21516         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
21517         * defaults.h (TARGET_ESC): Add default.
21519 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
21521         * configure.in: add i370-*-openedition, i370-*-mvs and
21522         i370-*-linux targets
21524 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
21526         * dsp16xxx.c: Include ggc.h
21527         (override_options): Mark GC roots.
21528         * mn10200.c: Include ggc.h.
21529         (asm_file_start): Mark GC roots.
21530         * tahoe.c: Include ggc.h.
21531         (extensible_operand): Mark GC roots.
21533 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
21535         * README: Add section discussing status of ELF ABI.
21536         * i370.c: Fix misc spelling mistakes.
21537         (i370_label_scan): Updated notes, exception handling.
21538         (i370_function_prolog): Simplify ELF stack handling.
21539         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
21540         (STACK_GROWS_DOWNWARD): ELF stack grows down.
21541         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
21542         * i370.md: (movdi): Add notes.
21543         (floatsidf2): Use stack not rtca for scratch float area.
21544         (iorsi3): Correct operand constraints.
21545         * x-oe: Restore TAROUTOPTS which are used by pax.
21547 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
21549         * rs6000.c: Include ggc.h.
21550         (rs6000_add_gc_roots): New function.
21551         (override_options): Call it.
21553 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
21555         * alpha.h (alpha_compare): New.
21556         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
21557         * alpha.c: Likewise for the definitions.
21558         (alpha_emit_conditional_branch): Update for alpha_compare.
21559         (alpha_emit_conditional_move): Likewise.
21560         * alpha.md (cmpdf, cmpdi): Likewise.
21561         (setcc patterns): Likewise.  Zero alpha_compare after use.
21562         (sne): Optimize (x != 0) into (0U < x).
21564 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
21566         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
21567         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
21568         (INIT_EXPANDERS): Remove.
21569         * alpha.c: Include ggc.h.
21570         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
21571         (alpha_init_machine_status, alpha_mark_machine_status): New.
21572         (override_options): Install them.
21573         (struct machine_function): Moved to alpha.h.
21574         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
21575         (alpha_init_expanders): Remove.
21576         (alpha_return_addr): Adjust to use current_function->machine.
21577         (alpha_ra_ever_killed): Likewise.
21578         (alpha_expand_epilogue): Likewise.
21579         * alpha.md (eh_epilogue): Likewise.
21581 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
21582                           Melissa O'Neill  <oneill@cs.sfu.ca>
21583                           Geoffrey Keating  <geoffk@cygnus.com>
21585         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
21586         call-used registers (call-saved registers must still be contiguous
21587         and end with r31, of course).
21589 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
21591         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
21592         (self_promoting_type_p): Delete.
21593         (self_promoting_args_p): Move ...
21594         * c-common.c: ... here.
21595         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
21596         (simple_type_promotes_to): New.
21597         * builtins.c (lang_type_promotes_to): New.
21598         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
21599         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
21600         * c-common.h: ... here.
21601         (self_promoting_args_p, simple_type_promotes_to): Declare.
21602         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
21603         (grokdeclarator): Likewise.
21604         * tree.h (lang_type_promotes_to): Declare.
21606 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
21608         Add some machine-dependent GC roots.
21609         * sparc.c: Include ggc.h.
21610         (sparc_add_gc_roots): New function.
21611         (mark_ultrasparc_pipeline_state): Likewise.
21612         (override_options): Call sparc_add_gc_roots.
21613         * pa.c: Include ggc.h.
21614         (pa_add_gc_roots): New function.
21615         (mark_deferred_plabels): Likewise.
21616         (override_options): Call pa_add_gc_roots.
21617         * mips.c: Include ggc.h.
21618         (mips_add_gc_roots): New function.
21619         (override_options): Use it.
21621 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21623         * cpperror.c (cpp_file_line_for_message): Constify a char*.
21625         * cppexp.c (parse_number, parse_charconst, cpp_lex,
21626         cpp_parse_expr): Add static prototypes.
21627         (parse_charconst): Don't cast away const-ness.
21628         (token): Constify a char*.
21630         * cppfiles.c (file_name_list, include_hash, find_include_file,
21631         finclude, initialize_input_buffer): Constify a char*.
21632         (file_cleanup, find_position): Add static prototypes.
21634         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
21635         collect_expansion): Add static prototypes.
21636         (cpp_install, create_definition, monthnames): Constify a char*.
21638         * cpphash.h (cpp_install): Likewise.
21640         * cppinit.c (known_suffixes, default_include,
21641         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
21642         (base_name, dump_special_to_buffer, initialize_dependency_output):
21643         Add static prototypes.
21645         * cpplib.c (my_strerror): Constify a char*.
21646         (null_underflow, null_cleanup, skip_comment, copy_comment,
21647         copy_rest_of_line, handle_directive, pass_thru_directive,
21648         get_directive_token, read_line_number, cpp_print_file_and_line,
21649         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
21650         v_cpp_warning_with_line, detect_if_not_defined,
21651         consider_directive_while_skipping): Add static prototypes.
21652         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
21653         cpp_pedwarn_with_file_and_line): Constify a char*.
21655         * cpplib.h (cpp_options, include_hash, progname, definition,
21656         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
21657         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
21658         find_include_file, deps_output, include_hash): Constify a char*.
21660         * cppmain.c (progname): Constify.
21661         (main): Add prototype.  Use return, not exit.
21663         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
21664         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
21665         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
21666         check_protection): Add static prototype.
21667         (xfree): Remove.
21668         (progname, recognized_macrom, recognized_extern): Constify a char*.
21669         (main): Add prototype.
21671         * gen-protos.c (progname): Constify a char*.
21673 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
21675         * emit-rtl.c (free_emit_status): Take decl as a parameter.
21676         (init_emit_once): Add more GC roots.
21677         * except.c (mark_func_eh_entry): New function.
21678         (mark_eh_node): Mark false_label and rethrow_label.
21679         (init_eh): Add more GC roots.
21680         * function.c (free_after_compilation): Take decl as a paramter.
21681         Call free_stmt_status.
21682         (mark_function_state): Don't assume x_parm_reg_stack_loc is
21683         non-NULL.
21684         * function.h (free_after_compilation): Change prototype.
21685         (free_varasm_status): Likewise.
21686         (free_emit_status): Likewise.
21687         (free_stmt_status): New function.
21688         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
21689         Remove, replacing with ...
21690         (ggc_status): New structure.
21691         (ggc_chain): New variable.
21692         (init_gcc): Define.
21693         (ggc_push_context): New function.
21694         (ggc_pop_context): Likewise.
21695         (ggc_alloc_rtx): Adjust for use of ggc_chain.
21696         (ggc_alloc_rtvec): Likewise.
21697         (ggc_alloc_tree): Likewise.
21698         (ggc_alloc_string): Likewise.
21699         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
21700         (ggc_mark_tree): Give language-dependent code a chance to mark
21701         `x' nodes.
21702         (ggc_mark_tree_varray): Handle empty arrays.
21703         (ggc_collect): Adjust for use of ggc_chain.  Clear
21704         bytes_alloced_since_last_gc.
21705         * ggc.h (ggc_pop_context): New function.
21706         (ggc_push_context): Likewise.
21707         * print-tree.c (print_node): Don't print obstacks when GC'ing.
21708         * stmt.c (free_stmt_status): New function.
21709         (init_stmt_for_function): Clear last_expr_value.
21710         * toplev.c (rest_of_compilation): Always call free_after_compilation.
21711         Conditionalize call to ggc_collect.
21712         (main): Call init_ggc.
21713         * tree.c (push_obstacks): Do the push, even when GC'ing.
21714         (push_obstacks_nochange): Likewise.
21715         (pop_obstacks): Liekwise.
21716         * varasm.c (free_varasm_status): Take decl as a parameter.
21718 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21720         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
21721         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
21722         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
21723         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
21725 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
21727         * pa/x-pa-mpeix: New file for the MPE port.
21729         * pa/quadlib.asm: New file for long double support.
21731         * configure.in: Add hppa1.0-*-mpeix for MPE port.
21732         * configure: Rebuilt.
21734 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
21736         * final.c (shorten_branches): Fix last change.
21738 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
21740         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
21742 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
21744         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
21745         details.
21747 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21749         * c-aux-info.c (concat): Don't define.
21751         * cccp.c (my_strerror): Likewise.  All callers changed to use
21752         xstrerror instead.
21753         (do_include): Call xstrdup, not xmalloc/strcpy.
21754         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
21755         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
21757         * collect2.c (my_strsignal): Likewise.  All callers changed to use
21758         strsignal instead.
21759         (locatelib): Call xstrdup, not xmalloc/strcpy.
21761         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
21763         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
21765         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
21767         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
21769         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
21771         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
21773         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
21774         malloc/realloc.
21775         (find_all_handler_type_matches): Likewise.  Don't check return
21776         value.
21777         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
21778         xmalloc, not malloc.
21779         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
21781         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
21782         (init_spec): Call xcalloc, not xmalloc/bzero.
21783         (set_spec): Call xstrdup, not save_string.
21784         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
21785         (find_a_file): Call xstrdup, not xmalloc/strcpy.
21786         (process_command): Call xstrdup, not save_string.
21787         (main): Call xcalloc, not xmalloc/bzero.
21789         * gcov.c (xmalloc): Don't define.
21790         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
21791         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
21792         (output_data): Call xcalloc, not xmalloc/bzero.
21794         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
21796         * mips-tdump.c (xmalloc): Don't define.
21797         (print_symbol): Call xmalloc, not malloc.
21798         (read_tfile): Call xcalloc, not calloc.
21800         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
21801         Don't define.  All callers of xfree/my_strsignal changed to use
21802         free/strsignal instead.
21803         (allocate_cluster): Call xcalloc, not calloc.
21805         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
21806         Fix memory leak, free allocated memory.
21808         * prefix.c (translate_name): Call xstrdup, not save_string.
21809         (update_path): Likewise.
21811         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
21813         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
21814         Don't define.  Callers of xfree/savestring2 changed to use
21815         free/concat instead.
21817         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
21818         (init_elim_table): Likewise.
21820         * resource.c (init_resource_info): Likewise.
21822         * stupid.c (stupid_life_analysis): Likewise.
21824         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
21825         (open_dump_file): Call concat, not xmalloc/strcpy/...
21826         (clean_dump_file): Likewise.
21827         (compile_file): Call xstrdup, not xmalloc/strcpy.
21829 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
21831         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
21832         * v850.c (v850_va_arg): New.
21834 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21836         * haifa-sched.c: Tidy comments.
21838 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21840         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
21841         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
21842         $(out_object_file)): Depend on ggc.h.
21843         * c-common.c: Include "ggc.h".
21844         (combine_strings): If doing GC, use ggc_alloc_string.
21845         * c-decl.c: Include "ggc.h".
21846         (ggc_p): Define with value 0.
21847         (mark_binding_level): New function.
21848         (init_decl_processing): Add GC roots.
21849         (mark_c_function_context): New function.
21850         (lang_mark_false_label_stack): New function.
21851         (lang_mark_tree): New function.
21852         (lang_cleanup_tree): New function.
21853         * c-lang.c: Include "ggc.h".
21854         (lang_init): Call c_parse_init.
21855         * c-lex.c: Include "ggc.h".
21856         (check_linenum): If doing GC, don't copy filenames to permanent
21857         obstack.
21858         * c-parse.in: Include "ggc.h".
21859         (c_parse_init): New function.
21860         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
21861         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
21863         * except.c (mark_eh_state): Mark more state.
21864         * function.c (mark_function_state): Likewise.
21865         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
21866         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
21867         * toplev.c (mark_file_stack): New function.
21868         (compile_file): If doing GC, use ggc_alloc_string on input filename.
21869         (main): Add root for input_file_stack.
21871         * i386.c: Include "ggc.h".
21872         (ix86_mark_machine_status): New function.
21873         (override_options): Set mark_machine_status.
21875 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21877         * tree.c (copy_node): Copy node contents also if doing GC.
21879 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
21881         * collect2.c (scan_libraries): Fix double-thinko :-).
21883 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
21885         * collect2.c (scan_libraries): Fix thinko.
21887         * cse.c (delete_trivially_dead_insns): Do not skip the last
21888         insn if it is a real insn.
21890 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
21892         * Makefile.in (ggc-simple.o): Depend on hash.h.
21893         * ggc.h (ggc_add_tree_hash_table_root): Declare.
21894         (ggc_mark_tree_varray): Likewise.
21895         (ggc_mark_tree_hash_table): Likewise.
21896         * ggc-simple.c: Include hash.h.
21897         (ggc_mark_tree_hash_table_ptr): New function.
21898         (ggc_mark_tree_hash_table_entry): Likewise.
21899         (ggc_mark_tree_hash_table): Likewise.
21900         (ggc_add_tree_hash_table_root): Likewise.
21901         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
21902         rtx, when defining fields.
21904 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
21906         * profile.c (output_func_start_profiler): Remove apparently
21907         nonsensical call to start_sequence.
21909 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
21911         * clipper/clipper.c (clipper_va_start): Fix typos.
21913         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
21914         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
21915         (spur_va_arg): New stub.
21917         * configure.in: Comment out pyramid.
21919 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
21921         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
21922         don't conflict with the bits that win32, cygwin, and dgux
21923         defines.
21925 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
21926                           Bernd Schmidt <bernds@cygnus.co.uk>
21928         * integrate.c (function_cannot_inline_p): Do not inline
21929         functions with forced labels.
21931 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
21932                           Bernd Schmidt <bernds@cygnus.co.uk>
21933                           Mark Mitchell  <mark@codesourcery.com>
21935         * Makefile.in (ggc-simple.o): Depend on varray.h.
21936         (rtl.o): Depend on ggc.h.
21937         (genattrtab.o): Depend on ggc.h.
21938         (print-tree.o): Likewise.
21939         (fold-const.o): Likewise.
21940         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
21941         (make_insn_raw): Don't cache insns when GC'ing.
21942         (emit_insn_before): Likewise.
21943         (emit_insn_after): Likewise.
21944         (emit_insn): Likewise.
21945         (start_sequence): Use xmalloc to allocate the sequence_stack.
21946         (end_sequence): Add free to free it.
21947         (gen_sequence): Don't cache insns when GC'ing.
21948         (clear_emit_caches): Don't use sequence_element_free_list.
21949         (init_emit): Use xcalloc, not xmalloc+bzero.
21950         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
21951         * function.c (pop_function_context_from): Use free to free the
21952         fixup_var_refs_queue.
21953         (put_reg_into_stack): Allocate it with xmalloc.
21954         * genattrtab.c: Include ggc.h.
21955         (operate_exp): Don't use obstack_free when GC'ing.
21956         (simplify_cond): Likewise.
21957         (simplify_text_exp): Likewise.
21958         (optimize_attrs): Likewise.
21959         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
21960         GC'ing.
21961         (gencode): Generate a #include for ggc.h.
21962         * ggc-callbacks.c (ggc_p): Define it to zero.
21963         * ggc-none.c (ggc_p): Likewise.
21964         * ggc-simple.c: Include varray.h.
21965         (ggc_mark_tree_varray): New function.
21966         (ggc_add_tree_varray_root): Likewise.
21967         (ggc_mark_tree_varray_ptr): Likewise.
21968         * ggc.h (ggc_p): Declare.
21969         (varray_head_tag): Likewise.
21970         (ggc_add_tree_varray_root): Declare.
21971         * print-tree.c (print_node): Don't check for TREE_PERMANENT
21972         inconsistencies when GC'ing.
21973         * rtl.c: Include ggc.h.
21974         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
21975         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
21976         (rtx_free): Don't call obstack_free when GC'ing.
21977         * toplev.c (rest_of_compilation): Call ggc_collect after every
21978         pass, if GC'ing.
21979         * tree.c (push_obstacks): Do nothing, if GC'ing.
21980         (pop_obstacks_nochange): Likewise.
21981         (pop_obstacks): Likewise.
21982         (make_node): Use ggc_alloc_tree when GC'ing.
21983         (copy_node): Likewise.
21984         (get_identifier): Use ggc_alloc_string when GC'ing.
21985         (build_string): Likewise.
21986         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
21987         (tree_cons): Likewise.
21988         (build1): Likewise.
21989         (type_hash_canon): Don't call obstack_free when GC'ing.
21991 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
21993         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
21994         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
21996 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
21997                           Bernd Schmidt <bernds@cygnus.co.uk>
21998                           Mark Mitchell  <mark@codesourcery.com>
22000         * Makefile.in (stor-layout.o): Depend on ggc.h.
22001         (expr.o): Depend on ggc.h.
22002         (profile.o): Depend on ggc.h.
22003         (stor-layout.o): Depend on ggc.h.
22004         * emit-rtl.c (init_emit_once): Add gc roots.
22005         * expr.c: Include ggc.h.
22006         (emit_block_move): Add gc roots.
22007         (clear_storage): Likewise.
22008         * expr.h (init_stor_layout_once): New function.
22009         * profile.c: Include ggc.h.
22010         (init_arc_profiler): profiler_label is a root.
22011         * scan.c (make_sstring_space): Trust xrealloc to function
22012         correctly with first parameter NULL.
22013         * stor-layout.c: Include ggc.h.
22014         (set_sizetype): Add gc root.
22015         (init_stor_layout_once): New function.
22016         * toplev.c (compile_file): Call it.
22018 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
22019                           Bernd Schmidt <bernds@cygnus.co.uk>
22020                           Mark Mitchell  <mark@codesourcery.com>
22022         * Makefile.in (tree.o): Depend on ggc.h.
22023         (varasm.o): Likewise.
22024         (function.o): Likewise.
22025         (stmt.o): Likewise.
22026         (except.o): Likewise.
22027         (optabs.o): Likewise.
22028         (emit-rtl.o): Likewise.
22029         * emit-rtl.c: Include ggc.h.
22030         (sequence_element_free_list): Remove, and all references.
22031         (mark_sequence): New functions.
22032         (mark_emit_state): New function.
22033         * except.c: Include ggc.h.
22034         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
22035         (mark_tree_label_node): New functions.
22036         (mark_eh_state): New function.
22037         * function.c: Include ggc.h.
22038         (mark_temp_slot, mark_function_chain): New functions.
22039         (mark_function_state): New function.
22040         (init_function_once): New function.
22041         * function.h (init_function_once): New function.
22042         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
22043         * ggc.h (label_node): Declare.
22044         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
22045         (lang_mark_false_label_stack): New function.
22046         (mark_temp_slot): Remove declaration.
22047         (mark_function_chain): Likewise.
22048         (mark_eh_state): Adjust prototype.
22049         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
22050         Likewise.
22051         * optabs.c: Include ggc.h.
22052         (mark_optab): New function.
22053         (init_optabs): Add gc roots.
22054         * stmt.c: Include ggc.h.
22055         (mark_cond_nesting, mark_loop_nesting): New functions.
22056         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
22057         (mark_stmt_state): New function.
22058         * toplev.c (compile_file): Call init_function_once.
22059         * tree.c: Include ggc.h.
22060         (type_hash): Move declaration earlier in file.
22061         (TYPE_HASH_SIZE, type_hash_table): Likewise.
22062         (init_obstacks): Add gc roots.
22063         (mark_type_hash): New function.
22064         * varasm.c: Include ggc.h.
22065         (mark_pool_constant): New function.
22066         (mark_varasm_state): New function.
22068 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22070         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
22072 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
22074         * c-decl.c (struct language_function): Renamed from struct c_function.
22075         Delete elt NEXT.
22076         (c_function_chain): Delete.
22077         (push_c_function_context): New arg F.  Don't warn about nested
22078         functions here.  Fill LANGUAGE elt of F.  Delete code to update
22079         c_function_chain.  Don't call push_function_context.
22080         (pop_c_function_context): New arg F.  Restore from there instead of
22081         from c_function_chain.  Don't call pop_function_context.  Clear out
22082         LANGUAGE field of F when done.
22083         * c-lang.c: Include "function.h"
22084         (lang_init): Initialize save_lang_status and restore_lang_status.
22085         * c-parse.in (nested_function, nested_function_notype): Warn about
22086         nested functions.  Call push_function_context/pop_function_context
22087         instead of the _c_ variants.
22088         * c-tree.h (push_c_function_context, pop_c_function_context): Update
22089         prototype.
22090         * Makefile.in (c-lang.o): Update dependencies.
22092         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
22093         regno_pointer_flag, regno_pointer_align.
22094         (gen_reg_rtx): Use xrealloc to enlarge them.
22095         (free_emit_status): New function.
22096         * function.c (mark_machine_status, mark_lang_status): New variables.
22097         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
22098         in some bits from assign_stack_local.  All callers changed to use new
22099         name.
22100         (assign_stack_local): Just call assign_stack_local_1.
22101         (free_after_compilation): New function.
22102         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
22103         (trampoline_address): Likewise.
22104         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
22105         (prepare_function_start): Explicitly clear some more variables.
22106         * function.h (struct function): New elt can_garbage_collect.
22107         (mark_machine_status, mark_lang_status): Declare variables.
22108         (free_after_compilation, free_emit_status, free_varasm_status,
22109         init_varasm_status): Declare functions.
22110         * toplev.c (rest_of_compilation): Call free_after_compilation when
22111         done with the current function.
22112         * varasm.c (free_varasm_status): New function.
22114 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
22116         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
22117         (EXPAND_BUILTIN_VA_ARG): Define.
22118         * sparc.c (sparc_va_start): New.
22119         (sparc_va_arg): New.
22121 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22123         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
22125 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22127         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
22129 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
22131         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
22132         (OBJS): Add $(GGC).
22133         (ggc-callbacks.o): New target.
22134         * ggc-callbacks.c: New file.
22136 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22138         * expr.h: Collapse individual optab and libfunc vars to arrays.
22139         (optab_index, libfunc_index): New enumerations.
22140         (optab_table, libfunc_table): New arrays.
22141         Add accessor macros for both.
22143         * optabs.c (optab_table, libfunc_table): New.
22144         Delete declarations for individual optab and libfunc vars.
22146 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
22148         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
22150 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
22152         * Makefile.in (GGC, GGC_LIB): New.
22153         (HOST_RTL): Include ggc-none.o.
22154         (ggc-simple.o): New target.
22155         (ggc-none.o): Likewise.
22156         * tree.h (tree_common): Add gc_mark.
22157         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
22158         (struct rtvec_def): Add gc_mark.
22159         * emit-rtl.c (global_rtl): Update static initializers to contain
22160         enough initializers.
22161         * ggc.h, ggc-none.c, ggc-simple.c: New files.
22162         * toplev.c (gc_time): New variable.
22163         (all_time): New variable.
22164         (compile_file): Print gc time.
22165         (print_time): Calculate percentage of the whole.
22167 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22169         Change obstack memory management and varasm constant pool handling so
22170         that nested functions are treated like any other functions.
22171         * function.c (init_machine_status): New variable.
22172         (push_function_context_to): Set contains_functions for the outer
22173         function.  Don't call save_varasm_status.
22174         (pop_function_context_from): Don't call restore_varasm_status.  Don't
22175         set current_function_contains_functions.
22176         (prepare_function_start): Call init_varasm_status rather than
22177         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
22178         is non-null.
22179         * function.h (struct function) Add field varasm.  Delete fields
22180         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
22181         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
22182         (init_machine_status): Declare.
22183         (save_varasm_status, restore_varasm_status): Delete declarations.
22184         (save_tree_status, restore_tree_status): Delete last argument.
22185         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
22186         code.  All callers changed.
22187         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
22188         save_constants_in_decl_trees, restore_constants, save_constants,
22189         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
22190         functions.
22191         (inlining): New variable.
22192         (reg_map, label_map, insn_map, orig_asm_operands_vector,
22193         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
22194         variables.
22195         (save_for_inline_nocopy): Don't save constants.
22196         Don't set inl_emit field in current_function.
22197         (expand_inline_function): Use emit field, not inl_emit, of the inlined
22198         function.  Set new variable inlining before
22199         calling copy_rtx_and_substitute.
22200         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
22201         constant pool references if inlining is nonzero.
22202         Delete ADDRESS and (most of the) CONST cases.
22203         (output_inline_function): Save and restore current_function/
22204         current_function_decl.  Delete restore_constants code.  Don't call
22205         init_const_rtx_hash_table.
22206         * output.h (init_const_rtx_hash_table): Don't declare.
22207         * rtl.h (struct function): Declare.
22208         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
22209         * toplev.c (rest_of_compilation): Don't treat nested functions or
22210         functions containing them specially.  Delete all code to deal with
22211         save_for_inline_copying.
22212         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
22213         inline_obstacks): Delete variables.
22214         (save_tree_status): Lose arg CONTEXT.  All callers changed.
22215         Simply allocate a new function_maybepermanent_obstack for the new
22216         function, delete all the special cases.
22217         Don't save inline_obstacks.
22218         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
22219         Delete special handling for function_maybepermanent_obstack; simply
22220         free it if empty.
22221         Don't restore inline_obstacks.
22222         (permanent_allocation):  Delete code that frees inline_obstacks.
22223         (print_inline_obstack_statistics): Delete function.
22224         (dump_tree_statistics): Don't call it.
22225         * varasm.c (struct varasm_status): New.
22226         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
22227         last_pool, pool_offset, const_double_chain): Delete global
22228         variables, replace with accessor macros.
22229         (immed_double_const): Don't walk const_double_chain outside a
22230         function, but don't treat nested functions specially anymore.
22231         (immed_real_const_1): Likewise.
22232         (clear_const_double_mem): Don't treat nested functions specially.
22233         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
22234         (save_varasm_status, restore_varasm_status): Delete functions.
22235         (init_varasm_status): New function.
22236         (force_const_mem): Don't treat nested functions specially.
22237         (find_pool_constant): Accept new arg F, search for constants in
22238         that function's pool rather than the current one.  All callers
22239         changed.
22240         (get_pool_constant_for_function, get_pool_mode_for_function): New
22241         functions.
22243         * i386.c (init_386_machine_status): New function, mostly from
22244         clear_386_stack_locals.
22245         (struct machine_functions): Rename element names to avoid name
22246         clashes.
22247         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
22248         macros, replacing global variables.
22249         (clear_386_stack_locals, save_386_machine_status,
22250         restore_386_machine_status): Delete functions.
22251         (override_options): Initialize init_machine_status.
22252         * i386.h (INIT_EXPANDERS): Delete macro.
22253         (save_386_machine_status, restore_386_machine_status,
22254         clear_386_stack_locals): Delete declarations.
22256 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22258         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
22259         (doloop_begin):  Simplify pattern and use emit_jump_insn.
22260         (doloop_end): Simplify pattern, switch operand order,
22261         and use emit_jump_insn.
22263 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
22265         * function.h (struct function): Add new element LANGUAGE.
22266         (save_lang_status): Declare new variable.
22267         (restore_lang_status): Likewise.
22268         * function.c (save_lang_status): Define.
22269         (restore_lang_status): Likewise.
22270         (push_function_context_to): Call language-specific save function.
22271         (pop_function_context_from): Call language-specific restore function.
22273 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
22275         * i386.md (movsf_1): Check REG_P before use of REGNO.
22276         (movdf_1): Likewise.
22277         (movxf_1): Likewise.
22278         (extendsfdf2): Likewise.
22279         (extendsfxf2): Likewise.
22280         (extenddfxf2): Likewise.
22282 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22284         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
22285         constants into memory.
22286         (c4x_shiftable_constant): New function.
22287         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
22288         (c4x_shiftable_constant): Declare.
22289         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
22290         ashlqi3_noclobber): Add new patterns and associated splitters.
22292 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
22294         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
22295         * dwarf2out.c (dwarf2out_frame_init): Likewise.
22296         * final.c (shorten_branches): Likewise.
22297         * global.c (global_alloc): Likewise.
22298         * haifa-sched.c (build_control_flow): Likewise.
22299         * stmt.c (check_for_full_enumeration_handling): Likewise.
22300         (estimate_case_costs): Likewise.
22302 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
22304         * rtl.h (RTL_CHECKC2): Fix typo in last change.
22306 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
22308         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
22309         (recompute_reg_usage): Likewise.
22310         * rtlanal.c (find_regno_fusage): Likewise.
22312         * rtl.c (rtl_check_failed_code1): New function.
22313         (rtl_check_failed_code2): New.
22314         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
22315         (RTL_CHECKC1, RTL_CHECKC2): New.
22316         (XC*): New accessor macros.
22317         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
22318         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
22319         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
22320         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
22321         (TRAP_*, RANGE_INFO_*): Likewise.
22323 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22325         * Makefile.in (tlink.o): Don't depend on toplev.h.
22327         * collect2.c (c_file, o_file, export_file, import_file, ldout,
22328         output_file, nm_file_name, ldd_file_name, strip_file_name,
22329         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
22330         add_prefix, prefix_from_env, prefix_from_string, do_wait,
22331         fork_execute, maybe_unlink, add_to_list,
22332         extract_init_priority, write_list, dump_list,
22333         dump_prefix_list, write_list_with_asm, write_c_file,
22334         write_c_file_stat, write_c_file_glob, scan_prog_file,
22335         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
22336         ignore_library, extract_string, notice, dump_file, target_machine,
22337         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
22338         read_file, print_load_command): Constify a char*.
22339         (fdopen, error, fatal, fatal_perror): Don't prototype.
22340         (my_strerror): Remove.  All callers use xstrerror instead.
22341         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
22342         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
22343         to xcalloc/strcpy/strcat/...  to one call to concat.
22344         (main, scan_prog_file, scan_libraries): Use an intermediate
22345         `const char **' to build an argv array.
22346         (mapfile, libselect, libcompare, locatelib): Add prototypes.
22348         * collect2.h (collect_execute, collect_wait, dump_file,
22349         file_exists): Constify a char*.
22350         (ldout, c_file_name, temporary_obstack, permanent_obstack,
22351         temporary_firstobj, vflag, debug): Add extern declarations.
22352         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
22354         * tlink.c: Don't include toplev.h.
22355         (vflag, debug, ldout, c_file_name, temporary_obstack,
22356         permanent_obstack, temporary_firstobj): Don't declare.
22357         (tlink_execute, frob_extension, symbol_hash_lookup,
22358         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
22359         recompile_files, read_repo_files, demangle_new_symbols,
22360         scan_linker_output): Constify a char*.
22361         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
22362         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
22364 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
22366         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
22367         (relative) rather than jsr (absolute) subroutine call insns.
22368         * config/m68k/m68k-coff.h: Ditto.
22370 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
22372         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
22373         now rework these too.
22374         (arm_reorg): If an insn can't reach the end of the current pool,
22375         ensure that we emit that pool before the insn.
22377 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
22379         * tlink.c (scan_linker_output): Skip the initial underscore in
22380         a mangled name if appropriate.
22382 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22384         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
22385         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
22386         error_with_ivar, gen_declarator, create_builtin_decl,
22387         my_build_string, generate_descriptor_table, generate_ivars_list,
22388         generate_dispatch_table, check_protocols, TAG_GETCLASS,
22389         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
22390         dump_base_name, lang_decode_option, build_encode_expr,
22391         start_class, finish_class, encode_pointer, really_start_method,
22392         gen_declaration, dump_interface, handle_class_ref, handle_impent):
22393         Constify.
22394         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
22395         Add static prototypes.
22396         (build_objc_string_decl, build_selector_reference_decl,
22397         encode_bitfield, build_class_reference_decl): Remove unused
22398         parameter, all callers changed.
22399         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
22400         (objc_printable_name): Likewise.  Change second parameter to type int.
22401         (init_objc): Use memcpy, not bcopy, to avoid casts.
22403 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
22405         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
22406         reg notes on a deleted insn.
22407         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
22409 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
22411         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
22413 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22415         * stmt.c (expand_asm_operands): Fix index into inout_mode when
22416         reading it.
22418 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
22420         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
22421         * tm.texi (MD_ASM_CLOBBERS): Document it.
22423 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
22425         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
22426         * except.c (expand_rethrow): Remove unused variable.
22427         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
22428         * flow.c (replace_insns): Likewise.
22429         (create_edge_list, verify_edge_list): Likewise.
22430         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
22432         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
22433         is special code to run.
22434         (main): Don't define operands to emit_operand.
22435         * genrecog.c (main): Don't emit an empty peephole2_insn function.
22437         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
22439         * alpha/alpha.h (normal_memory_operand): Declare.
22440         (reg_no_subreg_operand): Declare.
22441         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
22443 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
22445         * c-parse.in (compstmt_primary_start): New, broken out of first
22446         part of compstmt handling in primary.
22447         (primary): Use it.  Add an error clause.
22448         (compstmt_nostart): Renamed from compstmt; remove all
22449         initial invocations of compstmt_start.
22450         (compstmt): New.
22452 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
22454         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
22455         needed.
22457 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
22459         * combine.c (simplify_shift_const): Remove extra semicolon.
22460         * dwarf2out.c (remove_AT): Likewise.
22461         * expmed.c (expand_mult): Likewise.
22462         * gcov.c (create_program_flow_graph): Likewise.
22463         * reorg.c (mostly_true_jump): Likewise.
22465 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
22467         * fold-const.c (fold_range_test): Do not try to fold the range
22468         test if the rhs or lhs has side effects.
22470         * combine.c (simplify_rtx): Recognize another case of a synthesized
22471         sign extension.
22473         * varasm.c (mark_constant_pool): When marking indirect references,
22474         only look at SYMBOL_REFs.
22476         * except.c (expand_fixup_region_end): Do not peek at
22477         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
22479 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
22481         * flags.h: New variables align_loops, align_loops_log,
22482         align_jumps, align_jumps_log, align_labels, align_labels_log,
22483         align_functions, align_functions_log.
22484         * toplev.c: Define them.
22485         (f_options): Handle -falign-* when they have no argument.
22486         (main): Add logic to set variables for -falign-functions,
22487         -falign-jumps, -falign-labels, -falign-loops.
22488         Make it -fsched-verbose=<n> and -finline-limit=<n>.
22489         (display_help): Change help to match options.
22490         * final.c (LABEL_ALIGN): Default to align_labels_log.
22491         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
22492         (LOOP_ALIGN): Default to align_loops_log.
22493         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
22494         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
22495         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
22496         * varasm.c (assemble_start_function): Handle align_functions.
22498         * config/sparc/sparc.h: Don't declare sparc_align_*.
22499         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
22500         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
22501         sparc.c.
22502         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
22503         it's a promise.
22504         * config/sparc/sparc.c: Delete sparc_align_loops,
22505         sparc_align_jumps, sparc_align_funcs and the corresponding string
22506         variables.
22507         (sparc_override_options): Default align_functions on ultrasparc.
22508         Delete -malign-* handling.
22510         * config/mips/mips.c (override_options):  On 64-bit targets,
22511         try to align code to 64-bit boundaries.
22512         (print_operand): New substitution, %~,
22513         which aligns labels to align_labels_log.
22514         * config/mips/mips.md (div_trap_normal): Use %~.
22515         (div_trap_mips16): Likewise.
22516         (abssi): Likewise.
22517         (absdi2): Likewise.
22518         (ffssi2): Likewise.
22519         (ffsdi2): Likewise.
22520         (ashldi3_internal): Likewise.
22521         (ashrdi3_internal): Likewise.
22522         (lshrdi3_internal): Likewise.
22523         (casesi_internal): Likewise.
22525 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
22527         Merge new ia32 backend from the branch!
22529         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
22530         See ChangeLog.P2 on new_ia32_branch for details.
22532         * rtl.h (stack_regs_mentioned_p): Delete prototype.
22533         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
22534         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
22535         * i386/gas.h (ASM_FILE_START): Define.
22536         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
22537         for name change of ix86_valid_decl_attribute_p.
22538         (i386_pe_valid_type_attribute_p): Similarly.
22540 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
22542         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
22543         to step through CC modes.
22545 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22547         * regmove.c (fixup_match_1): Don't move INSN in front of P if
22548         it would end up in the shadow of a live flags regsiter.
22550 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22552         * reload1.c: Fix many indentation problems.
22553         * reload.c: Likewise.
22555 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
22557         * alias.c (non_local_reference_p): Constify fmt.
22559 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
22561         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
22563 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
22565         * cse.c (delete_trivially_dead_insns): Do not delete stores to
22566         the internal_arg_pointer.
22568 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
22570         Merge peephole2 from new_ia32_branch:
22571         * Makefile.in (STAGESTUFF): Add *.peephole2.
22572         (mostlyclean): Likewise.
22573         (recog.o): Depend on resource.h.
22575         * final.c (peephole): Conditionalize decl on HAVE_peephole.
22576         (final_scan_insn): Likewise for the invocation of peephole.
22577         * genconfig.c (main): Look for peephole and peephole2 patterns.
22578         Emit HAVE_peephole* accordingly.
22579         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
22580         * flags.h (flag_peephole2): Declare.
22581         * toplev.c: New pass peephole2.  New flag -fpeephole2.
22583         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
22584         * gencodes.c (main): Likewise.
22585         * genextract.c (main): Likewise.
22586         * genoutput.c (main): Likewise.
22587         * genemit.c (max_operand_1): Look for the max scratch operand.
22588         (gen_rtx_scratch): New.
22589         (gen_exp): Use it, and pass on new arg subroutine_type.
22590         (gen_expand): Take max scratch into account.
22591         (gen_split): Emit peephole2 functions.
22592         (output_peephole2_scratch): New.
22593         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
22594         * genrecog.c (routine_type): Add PEEPHOLE2.
22595         (IS_SPLIT): New.
22596         (make_insn_sequence): Match outer parallel for peep2.  Discard
22597         top level scratches and dups.
22598         (add_to_sequence): New args insn_type and top.  Update all callers.
22599         Handle toplevel peep2 matching insns.
22600         (write_subroutine): Handle peep2.
22601         (write_tree_1): Likewise.
22602         (write_tree): Likewise.
22603         (main): Likewise.
22604         (change_state): New arg afterward.  Update all callers.
22605         Handle matching separate insns.
22606         * recog.c (recog_next_insn): New.
22607         (peephole2_optimize): New.
22608         * rtl.def (DEFINE_PEEPHOLE2): New.
22609         * resource.c (find_free_register): New argument last_insn.  Use it
22610         to find a register available through the entire span.
22611         * resource.h (find_free_register): Update prototype.
22613 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
22615         * i386.c (output_strlen_unroll): Don't write xops[7]
22616         label if it wasn't set.
22618 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
22620         * cpplib.c (struct directive): Const-ify name pointer and
22621         function pointer prototype.
22622         (validate_else, do_define, do_line, do_include, do_undef,
22623         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
22624         do_elif, do_endif, do_sccs, do_assert, do_unassert,
22625         do_warning): Const-ify second arg.
22626         (directive_table): Mark const.  Reorder entries by frequency
22627         of usage, record statistics.
22629 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
22631         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
22632         bounds- check RTL accesses if --enable-checking.
22633         (RTVEC_ELT): Bounds check if --enable-checking.
22634         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
22635         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
22636         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
22637         GET_NUM_ELEM.
22638         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
22639         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
22641         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
22642         (NOTE_SOURCE_FILE): Use X0STR.
22643         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
22644         MEM_ALIAS_SET): Use X0INT.
22645         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
22646         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
22647         Use X0EXP.
22648         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
22649         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
22650         (rtl_check_failed_bounds, rtl_check_failed_type1,
22651         rtl_check_failed_type2, rtvec_check_failed_bounds): New
22652         functions.
22653         (fancy_abort): Fix comment.
22655         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
22656         (cse_insn): Decrement LABEL_NUSES for jump target before
22657         deleting jump insn.
22658         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
22659         * final.c (alter_subreg): Compute regno before changing x to
22660         REG; set REGNO(x) after changing it.
22661         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
22662         notes containing CONST_INTs.
22663         (delete_eh_regions): Use NOTE_EH_HANDLER.
22664         * function.c (put_reg_into_stack): Make reg a MEM before
22665         initializing it.
22666         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
22667         delete insn.
22668         (gen_mem_addressof): Make reg a MEM before initializing it.
22669         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
22670         X0WINT.
22671         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
22672         deleting an insn, not after.
22673         (block_alloc): Only look at PATTERN(insn) if we have to, and
22674         only if it's format class 'i'.
22675         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
22676         CONST_INT before using its INTVAL.
22677         * print-rtl.c (print_rtx): Use X0STR.
22678         * regmove.c (fixup_match_1): Don't look at PATTERN of
22679         non-class-'i' insn chain elements.
22680         * reload.c (loc_mentioned_in_p): Take address of
22681         in->fld[1].rtx directly.
22682         * reload1.c (reload): Change reg to a MEM before initializing
22683         it.
22684         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
22685         have no names.
22686         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
22688 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
22690         * config/mips/mips.c (machine_dependent_reorg): Force a
22691         barrier to output the local constant pool if a barrier hasn't
22692         been found at a natural point in the instruction stream.
22694 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22696         * c-parse.in (language_string): Constify.
22698         * dwarf2out.c (language_string): Remove declaration.
22700         * dwarfout.c (language_string): Likewise.
22702         * toplev.c (language_string, init_parse, finish_parse): Likewise.
22704         * tree.h (language_string, init_parse, finish_parse): Declare.
22706         * i386/sun386.h (language_string): Remove declaration.
22708         * mips.h (language_string): Likewise.
22710         * nextstep.h (language_string): Likewise.
22712         * nextstep21.h (language_string): Likewise.
22714         * rs6000.c (language_string): Likewise.
22716 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22718         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
22719         (getpwd.o): Remove target.
22721         * getpwd.c: Delete file.  Its in libiberty now.
22723         * dbxout.c (getpwd): Don't prototype.
22724         * dwarf2out.c (getpwd): Likewise
22725         * dwarfout.c (getpwd): Likewise
22726         * final.c (getpwd): Likewise.
22727         * protoize.c (getpwd): Likewise.
22729 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22731         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
22733 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
22735         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
22736         mark_set_resources.
22738 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
22740         * fixinc/Makefile.in (subdir): New.
22741         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
22742         (Makefile): New.
22744 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
22746         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
22747         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
22748         be shared.
22750         * invoke.texi: Fix typo.
22752         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
22753         changed.  Handle autoincrement addressing modes.
22755         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
22756         just like we would the virtual incoming args register when
22757         integrating.
22759 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
22761         * rs6000.h (ASM_FILE_START): Specify complete filename, including
22762         path, in .file directive.
22764 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
22766         * gcc.texi (External Bugs): Remove obsolete note about Perl on
22767         SunOS.
22769 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
22771         * stdbool.h: Make the typedef name _Bool, with bool a #defined
22772         alias.
22774 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22776         * tree.c (tree_code_name): Constify a char*.
22778         * tree.h (tree_code_name, decl_printable_name): Likewise.
22780         * function.h (struct function): Likewise.
22782         * toplev.c (decl_name, decl_printable_name): Likewise.
22784         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
22786         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
22787         (init_objc): Remove function pointer cast.
22789 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
22791         * pa.md (interspace_jump): New pattern.
22792         (builtin_longjmp): New expander.
22794 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
22796         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
22797         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
22798         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
22800 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
22802         * jump.c (delete_prior_computation): Also check calls
22803         to constant functions.  Don't bother checking for a
22804         REG_UNUSED note before adding it.
22805         (delete_computation): Handle multi-word hard registers
22806         when synthesizing missing REG_DEAD notes for a register
22807         which is both set and used by an insn.
22809 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22811         * loop.c (this_loop_info): New variable.
22812         (loop_has_call, loop_has_volatile, loop_has_tablejump,
22813         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
22814         All uses updated.
22815         (prescan_loop, strength_reduce): New argument loop_info.  All callers
22816         updated.
22817         (scan_loop): New variable loop_info, initialise to address of
22818         this_loop_info.
22819         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
22820         Delete variable loop_has_multiple_exit targets and replace with
22821         field in this_loop_info.
22822         (find_and_verify_loops): Rename this_loop to this_loop_num.
22823         (strength_reduce): Delete loop_iteration_info.  Replace variable
22824         loop_info with function argument of same name.
22825         (insert_bct): Rework test for loop being completely unrolled.
22827         * loop.h (struct loop_info): New fields num, loops_enclosed,
22828         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
22829         has_indirect_jump, and cont.  Redefine use of unroll_number.
22830         (loop_unroll_number): Delete.
22832         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
22833         field of loop_info.
22834         (loop_iterations): Delete variable vtop and instead use
22835         loop_info->vtop computed in prescan_loop.
22837 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
22839         * fix-header.c (main): Do not pass a null pointer to strcmp.
22841 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
22843         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
22844         filenames.
22845         * configure: Rebuilt.
22847 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
22849         * jump.c (jump_optimize_1): Do not delete assignments to
22850         internal_arg_pointer.
22851         * cse.c (delete_trivially_dead_insns): Always consider a set of
22852         the internal_arg_pointer live.
22854 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
22856         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
22857         (update_life_info) [REG_WAS_0]: Search the original insns rather
22858         than the new insns for the note.  Fix typos finding note_dest.
22859         If no dest found, discard the note rather than abort.
22860         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
22861         (replace_insns): Remove the old insn list after update_life_info
22862         not before.
22864 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
22866         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
22867         sched_analyze_insn.
22868         (sched_analyze_1): Let add_dependence care for not adding dups.
22869         (sched_analyze_2): Likewise.
22870         (add_branch_dependences): Likewise.
22872 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22874         * i386/winnt.c (export_list): New type.
22875         (exports_head): Rename to
22876         (export_head):  this.
22877         (i386_pe_record_exported_symbol): Add is_data flag.
22878         (i386_pe_asm_file_end): Emit directive for exported variables.
22879         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
22880         prototype.
22881         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
22882         (ASM_DECLARE_OBJECT_NAME): Likewise.
22883         (ASM_DECLARE_FUNCTION_NAME): Likewise.
22884         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
22886 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
22888         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
22890         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
22891         operand.
22893 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
22895         * config/openbsd.h: Define SET_ASM_OP.
22896         * tm.texi: cross-reference SET_ASM_OP in the index.
22898 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
22900         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
22901         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
22902         and class_narrowest_mode at compile time.  Kill init_rtl.
22903         Mark rtx_length, mode_class, mode_size, mode_unit_size,
22904         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
22905         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
22906         EXTRA_CC_NAMES.
22907         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
22908         format.
22909         * rtl.h: Declare rtx_length and rtx_format as const.
22910         * machmode.def: Define CC().  Use CC() to define CCmode.  If
22911         EXTRA_CC_MODES is defined, expand it here.
22912         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
22913         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
22914         const.  Kill all references to EXTRA_CC_MODES.
22916         * toplev.c: Don't prototype or call init_rtl.
22917         * optabs.c: Don't call init_mov_optab.
22918         * genemit.c: Don't generate init_mov_optab.  Don't call
22919         init_rtl.
22920         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
22921         here.
22922         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
22923         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
22924         genrecog.c: Don't call init_rtl.
22926         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
22927         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
22928         definition of EXTRA_CC_MODES.
22930         * md.texi: Kill ref to EXTRA_CC_NAMES.
22931         * tm.texi: Document new way to define EXTRA_CC_MODES.
22933         * genrecog.c: Do not look up the name of a define_split.
22934         (Unrelated bugfix.)
22936 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
22938         * config/v850/v850.md: Fix typo introduced by previous delta.
22940 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22942         * gcc.c (fatal): Make definition static to match prototype.
22944 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22946         * combine.c (get_last_value): Don't look for earlier sets if the last
22947         known set is somewhere in between the insns being combined.
22949 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
22951         * configure.in: Don't use shell ! to negate exit codes
22952         * configure: Regenerate
22954 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
22956         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
22957         the fact that ALIGN is measured in bits, not bytes.
22959 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
22961         * errors.c: New file; defines functions error, warning, and
22962         fatal, variables have_error and progname.
22963         * errors.h: New file; prototypes and decls for stuff in errors.c.
22965         * Makefile: Add rules to build errors.o and
22966         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
22967         genopinit, genrecog, genextract, genpeep, genattr, and
22968         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
22969         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
22970         genpeep.o, genattr.o, and genoutput.o.
22972         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
22973         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
22974         define or prototype fatal.  Set progname at beginning of main.
22975         * genoutput.c:  Likewise, and don't define or prototype error
22976         either.
22978         * c-typeck.c (c_expand_start_case): Return immediately if exp
22979         is an ERROR_MARK.
22980         * fold-const.c (operand_equal_p): Return immediately if arg1
22981         or arg0 are ERROR_MARKs.
22982         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
22983         fields of type ERROR_MARK when calculating if the record can
22984         go in a register.
22986 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
22987         with much help from Jeffrey A Law and Richard Henderson
22989         * i386.md: In the 6 insns which call output_fix_trunc,
22990         earlyclobber operands[0].
22992 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
22994         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
22995         creating new registers.
22997 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
22999         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
23000         i386_reg_alloc_order, i386_regparm_string,
23001         i386_align_loops_string, i386_align_jumps_string,
23002         i386_align_funcs_string, i386_preferred_stack_boundary_string,
23003         and i386_branch_cost_string as type "const char *".
23004         * i386.c: Define all above strings as type "const char *".
23006 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
23008         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
23009         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
23011 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
23013         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
23014         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
23016 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
23018         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
23019         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
23020         (dwarf2out_line, dwarf2out_finish): Likewise.
23021         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
23023 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23025         * tree.c (lang_unsave_expr_now) : Correct return type.
23026         * tree.h (lang_unsave_expr_now) : Same.
23028 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
23030         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
23031         instead of duplicating code.
23033 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23035         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
23037 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
23039         * tree.h: fancy_abort always takes three args.
23040         * resource.c: Move include of system.h before toplev.h.
23042 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
23044         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
23045         as SYMBOL_REFs.
23047 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
23049         * system.h: Don't redefine abort or trim_filename.
23050         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
23051         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
23052         whether or not __FUNCTION__ is available.
23053         * tree.h: Duplicate rtl.h's definition of abort, for files
23054         that don't include rtl.h.  Delete all code to perform type
23055         checking with a compiler other than GCC.
23056         * varray.h: Delete all code to perform type checking with a
23057         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
23058         its arguments exactly once, using a statement expression.
23059         Adjust the VARRAY_<type> accessor macros to match.
23060         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
23061         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
23062         caller's location.  Define fatal_insn and fatal_insn_not_found
23063         as macros that use _fatal_insn and _fatal_insn_not_found.
23064         (fancy_abort, trim_filename): Kill prototypes.
23066         * rtl.c (trim_filename): Move here from toplev.c.
23067         (fancy_abort): New function.
23068         (DIR_SEPARATOR): Provide default definition.
23069         * tree.c (tree_check_failed, tree_class_check_failed): Go
23070         through fancy_abort.
23071         (tree_check, tree_class_check, cst_or_constructor_check,
23072         expr_check): Delete.
23073         * varray.c (varray_check_failed): New function.
23074         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
23075         _fatal_insn and _fatal_insn_not_found.  Go through
23076         fancy_abort.
23077         (trim_filename, fancy_abort): Delete.
23079         * builtins.c (expand_builtin_args_info): Report ICE with abort.
23080         * except.c (start_catch_handler): Report ICE with error/abort
23081         combo.
23082         * final.c (output_operand_lossage): Likewise.
23083         * flow.c (verify_flow_info): Likewise.
23085         * gcc.c: Prototype fatal.
23086         * gengenrtl.c: Undef abort after including rtl.h not system.h.
23087         * genattr.c, genattrtab.c, genemit.c, genextract.c,
23088         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
23089         Don't define fancy_abort.
23091 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
23093         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
23094         canonization.
23096 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
23098         * m88k.h (VERSION_INFO2): Kill.
23099         (VERSION_STRING): Kill.
23100         (TM_RCS_ID): Kill.
23101         (VERSION_INFO1): Tidy.
23102         (TARGET_VERSION): Update.
23103         * m88k/dgux.h (VERSION_INFO2): Kill.
23104         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
23105         * m88k/luna.h (VERSION_INFO1): Tidy.
23106         * m88k/sysv4.h (VERSION_INFO1): Likewise.
23107         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
23108         (output_file_start): Adjust for death of VERSION_STRING.
23110 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
23112         * cpplib.c (detect_if_not_defined): New function.
23113         (do_if): Use it to detect potential once-only headers.
23115 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
23117         * c-common.c (combine_strings): Always set TREE_CONSTANT.
23119 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23121         * combine.c (nonzero_bits) : Allow single-ly set registers to be
23122         anywere in the function only if they are pseudos and set before
23123         being used (not live at the start of the function).
23124         (num_sign_bit_copies) : Same.
23125         (get_last_value_validate) : Same.
23126         (get_last_value) : Same.
23128 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
23130         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
23131         where N and M are constant and N is an integer multiple of M.
23133 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23135         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
23136         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
23137         sbitmap_union_of_preds): Add prototypes.
23138         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
23139         the intersection of successors with the new flow graph structures.
23140         (sbitmap_intersection_of_preds): New function to compute the
23141         intersection of predecessors with the new flow graph structures.
23142         (sbitmap_union_of_succs): New function to compute the union of
23143         successors with the new flow graph structures.
23144         (sbitmap_union_of_preds): New function to compute the union of
23145         predecessors with the new flow graph structures.
23146         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
23147         (expr_reaches_here_p): Use edge and basic_block structures instead
23148         of s_preds and s_succs.
23149         (compute_cprop_avinout): Use new sbitmap routines.
23150         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
23151         of s_preds and s_succs.
23152         * flow.c (compute_flow_dominators): Compute dominators using
23153         edges and basic blocks instead of s_preds and s_succs.
23155 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23157         * lists.c (unused_insn_list, unused_expr_list): New file for
23158         maintaining various types of lists. New statics for maintaining a
23159         cache of available INSN_LIST and EXPR_LIST nodes.
23160         (free_list): Static function for freeing a list of INSN/EXPR nodes.
23161         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
23162         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
23163         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
23164         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
23165         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
23166         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
23167         (free_INSN_LIST_node): Free an individual INSN_LIST node.
23168         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
23169         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
23170         (remove_dependence, free_pending_lists): Use new global routines.
23171         (flush_pending_lists, sched_analyze_insn): Use new global routines.
23172         (sched_analyze, compute_block_backward_dependences): Use new routines.
23173         (sched_analyze_1, sched_analyze_2): Use new routines.
23174         (schedule_insns): Use new global routines.
23175         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
23176         prototypes.
23177         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
23178         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
23179         prototypes.
23180         * toplev.c (rest_of_compilation): Initialize node cache.
23181         * Makefile.in (OBJS): Add lists.o to list of object files.
23182         (lists.o): Add dependancies.
23184 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
23186         * config/v850/v850.md: Fix compile time warning messages.
23187         * config/v850/v850.c: Fix compile time warning messages.
23188         * config/v850/v850.h: Fix compile time warning messages.
23190 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23192         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
23193         Remove unused prototype for `init_lengths'.
23195 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23197         * calls.c (emit_call_1): Mark parameter `stack_size' with
23198         ATTRIBUTE_UNUSED.
23199         (expand_call): Initialize variable `insn'.
23200         (emit_library_call): Likewise for variable `high_to_save'.
23201         (emit_library_call_value): Likewise.
23202         (store_one_arg): Likewise for variables `lower_bound' and
23203         `upper_bound'.
23205         * combine.c (try_combine): Likewise for variables `i2_code_number'
23206         and `other_code_number'.
23207         (find_split_point): Likewise for variables `pos', `unsignedp' and
23208         `inner'.
23209         (simplify_if_then_else): Likewise for variables `op' and `c1'.
23210         (simplify_and_const_int): Remove unused variable `width'.
23211         (merge_outer_ops): Likewise.
23213         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
23214         HOST_WIDE_INT' when comparing against one.
23215         (simplify_relational_operation): Likewise.
23216         (cse_insn): Initialize variables `src_eqv_volatile',
23217         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
23219         * final.c (init_final): Constify parameter `filename'.
23220         (final_start_function): Mark parameter `optimize' with
23221         ATTRIBUTE_UNUSED.
23222         (profile_function): Likewise for parameters `first' and `optimize'.
23223         (output_source_line): Likewise for parameter `file'.
23225         * integrate.c (subst_constants): Cast a value to `size_t' when
23226         comparing against one.
23227         (mark_stores): Initialize variable `mode'.  Cast a value to
23228         `size_t' when comparing against one.
23230         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
23232         * loop.c (move_movables): Initialize variable `first'.
23233         (strength_reduce): Likewise for variable `increment'.
23234         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
23235         value to `size_t' when comparing against one.
23236         (load_mems): Initialize variable `end_label'.
23238         * output.h (init_final): Constify parameter.
23240         * reload.c (decompose): Initialize variable `base'.
23242         * reload1.c (reload): Likewise for variable `is_scalar'.
23243         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
23244         (choose_reload_regs): Initialize variable `mode'.
23245         (emit_reload_insns): Likewise for variable `store_insn'.
23246         (reload_cse_noop_set_p): Mark parameter `insn' with
23247         ATTRIBUTE_UNUSED.
23248         (reload_combine): Initialize variable `set'.
23250         * unroll.c (unroll_loop): Likewise for variable `local_label'.
23251         (copy_loop_body): Cast a value to `size_t' when comparing against
23252         one.
23254         * varasm.c (assemble_variable): Initialize variable `size_tree'.
23255         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
23256         (remove_from_pending_weak_list): Mark parameter `name' with
23257         ATTRIBUTE_UNUSED.
23259 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23261         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
23262         gcse dump file.
23264 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
23266         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
23267         (ASM_DECLARE_FUNCTION_NAME): Define.
23268         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
23269         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
23270         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
23271         not already defined.
23273 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
23275         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
23276         of n_popped when call/call_value are not defined.
23278 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
23280         * tm.texi: GNU CC -> GCC conversion.
23281         (CC1_SPEC): Indicate it is used for all language front ends.
23283 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
23285         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
23286         NOTE_INSN_EH_REGION_END correctly.
23288 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
23289                           Jeff Law <law@cygnus.com>
23291         * loop.c (strength_reduce): Automatically unroll loops if the
23292         unrolled loop size is smaller than the rolled loop size.
23294         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
23295         and delete comment that code should be rewritten.
23297 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
23299         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
23300         as reachable.
23302         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
23304 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23306         * fixinc/mkfixinc.sh: Don't fix uwin headers.
23307         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
23308         (LINK_SPEC): Add -u _main when building executables.
23309         (ASM_DECLARE_FUNCTION): Update from Cygwin.
23310         (ASM_FILE_END): Use the default for ix86-pe.
23311         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
23313 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
23315         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
23316         and ASM_CLOSE_PAREN are empty strings.
23318 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
23319                           Geoffrey Keating <geoffk@cygnus.com>
23321         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
23322         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
23323         (unprotoize.o): Ditto.
23324         (test-protoize-simple): Don't define STD_PROTO_DIR.
23325         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
23326         changes to make 'test-protoize-simple' pass.
23327         (STD_PROTO_DIR): Remove define.
23328         (STANDARD_EXEC_PREFIX): Supply default define.
23329         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
23330         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
23331         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
23332         (GET_ENV_PATH_LIST): New macro.
23333         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
23334         (do_processing): Initialize default_syscalls_dir using new
23335         macros.  Use it to initialize syscalls_absolute_filename.
23337 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
23339         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
23340         B into a register before emit_conditional_move.
23342 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
23344         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
23345         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
23346         multiplicand out of (+ (* a b) (* c d)).
23348 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
23349                           Richard Henderson  <rth@cygnus.com>
23351         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
23352         (new_insn_dead_notes): Likewise.
23353         (update_n_sets): Likewise.
23354         (update_flow_info): Move to flow.c, renamed to update_life_info;
23355         extend to handle multiple source insns.
23356         * flow.c: Include resource.h
23357         (unlink_insn_chain): New.
23358         (split_hard_reg_notes): New.
23359         (maybe_add_dead_note): New.
23360         (maybe_add_dead_note_use): New.
23361         (find_insn_with_note): New.
23362         (new_insn_dead_notes): New.
23363         (update_n_sets): New.
23364         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
23365         (maybe_remove_dead_notes): New.
23366         (update_life_info): New.
23367         (prepend_reg_notes): New.
23368         (replace_insns): New.
23369         * output.h (update_life_info): Declare.
23370         * recog.c (split_block_insns): Use update_life_info.
23371         * resource.c (find_free_register): Use reg_alloc_order, don't use
23372         fixed regs, make sure the mode is supported, don't use new regs.
23373         (reg_dead_p): New.
23374         * rtl.h (replace_insns): Declare.
23376 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
23378         * expr.c (expand_expr): Cope with COND_EXPRs with one
23379         non-returning branch.
23381 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
23383         * expr.c (store_expr): Always pass down the target, even when not
23384         doing CSE.
23386 1999-08-24  Nick Clifton  <nickc@cygnus.com>
23388         * configure.in: Define target_cpu_default for v850 targets.
23389         * configure: Regenerate
23391         * config/v850/v850.h (TARGET_CPU_generic): Define.
23392         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
23393         addresses are 4 byte aligned.
23395         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
23396         addresses.
23398 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23400         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
23401         (main): Add prototypes.
23403         * genattrtab.c (substitute_address, write_const_num_delay_slots,
23404         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
23405         (write_attr_get): Emit prototypes along with function definition.
23406         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
23407         (write_complex_function): Emit static prototype along with
23408         function definition.
23410         * genemit.c (gen_split): Emit prototypes along with function
23411         definition.
23413         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
23414         Likewise for predicates and `insn_operand_predicate'.
23415         (process_template): Emit static prototype along with function
23416         definition.
23418         * genrecog.c (make_insn_sequence): Constify a char*.  Add
23419         prototypes for get_split_*().
23420         (write_subroutine): Emit prototypes along with function
23421         definition.
23423 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23425         * gcse.c (find_avail_set): Follow chains of register-register copies.
23426         Use oprs_not_set_p to guarantee that the returned value can be
23427         substituted.
23428         (cprop_insn): Don't verify the return value of find_avail_set with
23429         oprs_not_set_p.
23431         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
23432         (cprop_cc0_jump): New function.
23433         (cprop_insn): Break out new function cprop_jump and use it.
23434         Also use cprop_cc0_jump for machines with CC0.
23435         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
23437         * tree.h (current_function_calls_setjmp,
23438         current_function_calls_longjmp): Delete declarations.
23439         * dsp16xx.c: Include "function.h".
23440         * elxsi.c: Likewise.
23441         * gmicro.c: Likewise.
23442         * h8300.c: Likewise.
23443         * i370.c: Likewise.
23444         * m32r.c: Likewise.
23445         * mn10200.c: Likewise.
23446         * mn10300.c: Likewise.
23447         * ns32k.c: Likewise.
23448         * spur.c: Likewise.
23449         * v850.c: Likewise.
23451         * rtl.h (rtx_equal_function_value_matters): Declare.
23452         * toplev.c (rtx_equal_function_value_matters): Don't declare.
23453         * cse.c: Likewise.
23454         * function.c: Likewise.
23455         * emit-rtl.c: Likewise.
23457 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
23459         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
23460         call.
23462 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
23464         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
23465         exactly.
23467 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
23469         * cpp.texi: Add a node documenting macro varargs (copied
23470         from extend.texi).
23472 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
23474         * cppspec.c: Put a null pointer at the end of the new argv.
23476 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
23478         * configure.in: Remove code to select/de-select the haifa
23479         scheduler.  Every scheduled port gets haifa now.
23480         * configure: Rebuilt.
23481         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
23482         * sched.c Deleted.
23483         * Makefile.in: Corresponding changes.
23485 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23487         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
23488         All callers changed.
23489         (prepare_float_lib_cmp): Likewise.
23490         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
23491         * expr.h (emit_float_lib_cmp): Delete declaration.
23492         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
23493         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
23494         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
23495         specially.
23496         (cmptf): Now conditional on TARGET_HARD_QUAD.
23498 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
23500         * resource.c (mark_target_live_regs): Use
23501         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
23503 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23505         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
23507         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
23509         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
23511 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23513         * rtl.h (rtx_format): Constify a char*.
23515         * rtl.c (rtx_format): Likewise.
23516         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
23517         (init_rtl): Use accessor macro, not `rtx_format'.
23519         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
23520         char*.
23522         * caller-save.c (mark_referenced_regs): Likewise.
23524         * combine.c (subst, make_compound_operation, known_cond,
23525         gen_rtx_combine, update_table_tick, get_last_value_validate,
23526         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
23528         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
23529         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
23530         count_reg_usage): Likewise.
23532         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
23533         Likewise.
23535         * final.c (leaf_renumber_regs_insn): Likewise.
23537         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
23538         dump_edge_info, count_reg_references): Likewise.
23540         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
23541         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
23542         Likewise.
23544         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
23545         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
23546         add_label_notes): Likewise.
23548         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
23549         clear_struct_flag, count_sub_rtxs, count_alternatives,
23550         compares_alternatives_p, contained_in_p, walk_attr_value,
23551         write_expr_attr_cache): Likewise.
23553         * genconfig.c (walk_insn_part): Likewise.
23555         * genemit.c (max_operand_1, gen_exp): Likewise.
23557         * genextract.c (walk_rtx): Likewise.
23559         * genflags.c (num_operands): Likewise.
23561         * genoutput.c (scan_operands): Likewise.
23563         * genpeep.c (match_rtx): Likewise.
23565         * genrecog.c (add_to_sequence): Likewise.
23567         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
23568         Likewise.
23570         * integrate.c (save_constants, copy_for_inline,
23571         copy_rtx_and_substitute, subst_constants, restore_constants):
23572         Likewise.
23574         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
23575         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
23577         * local-alloc.c (contains_replace_regs, memref_referenced_p):
23578         Likewise.
23580         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
23581         add_label_notes, replace_call_address, count_nonfixed_reads,
23582         invariant_p, find_single_use_in_loop, find_mem_givs,
23583         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
23584         Likewise.
23586         * print-rtl.c (reg_names, print_rtx): Likewise.
23588         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
23590         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
23591         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
23592         print_blocks): Likewise.
23594         * regclass.c (fix_register, record_address_regs,
23595         reg_scan_mark_refs): Likewise.
23597         * regmove.c (stable_but_for_p): Likewise.
23599         * reload.c (loc_mentioned_in_p, operands_match_p,
23600         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
23601         copy_replacements, refers_to_regno_for_reload_p,
23602         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
23603         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
23604         Likewise.
23606         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
23607         delete_address_reloads_1, count_occurrences,
23608         reload_cse_mem_conflict_p, reload_combine_note_use,
23609         add_auto_inc_notes): Likewise.
23611         * resource.c (mark_referenced_resources, mark_set_resources):
23612         Likewise.
23614         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
23615         reg_mentioned_p, regs_set_between_p, modified_between_p,
23616         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
23617         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
23618         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
23619         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
23621         * sched.c (sched_analyze_2, attach_deaths): Likewise.
23623         * stupid.c (stupid_mark_refs): Likewise.
23625         * unroll.c (remap_split_bivs): Likewise.
23627         * varasm.c (mark_constants): Likewise.
23629         * a29k/a29k.c (uses_local_reg_p): Likewise.
23631         * alpha/alpha.c (summarize_insn): Likewise.
23633         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
23634         eliminate_lr2ip): Likewise.
23636         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
23638         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
23639         reg_mentioned_in_mem): Likewise.
23641         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
23642         symbolic_reference_mentioned_p): Likewise.
23644         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
23646         * sh/sh.c (regs_used, mark_use): Likewise.
23648         * vax/vax.c (vax_rtx_cost): Likewise.
23650 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23652         * machmode.h (mode_name): Constify a char*.
23654         * rtl.c (mode_name): Likewise.
23656         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
23658         * optabs.c (init_libfuncs): Constify a char*.
23660         * print-tree.c (mode_name): Remove redundant declaration.
23661         (print_node): Use accessor macro, not `mode_name'.
23663         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
23664         not `mode_name'.
23665         (new_spill_reg): Constify a char*.
23667         * tree.c (mode_name): Remove redundant declaration.
23669 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23671         * rtl.c (rtx_name): Constify a char*.
23673         * rtl.h (rtx_name, fix_sched_param): Likewise.
23675         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
23676         (mypr): Use accessor macro, not `rtx_name'.
23678         * genemit.c (print_code): Constify a char*.
23680         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
23682         * genpeep.c (print_code): Constify a char*.
23684         * genrecog.c (print_code): Likewise.
23686         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
23687         end_bb): Add static prototype.
23688         (draw_edge): Constify a char*.
23689         (end_bb): Remove unused parameter.
23691         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
23692         print_block_visualization): Constify a char*.
23694 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
23696         * c-common.c (c_get_alias_set): Update comment.
23698 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
23700         * linux.h (LIB_SPEC): Added.
23702 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23704         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
23706 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
23708         * tree.c (expr_check): Fix typo in last change.
23710 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
23712         * rtl.def (NOTE): Change format to "iuu0n".
23713         (ADDR_DIFF_VEC): Change format to "eEee0".
23714         (ADDRESSOF): Change format to "eit".
23716         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
23717         (RTVEC_ELT): Change to match.
23718         (XVECEXP): Use XVEC and RTVEC_ELT.
23719         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
23720         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
23721         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
23722         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
23723         TRAP_CONDITION, TRAP_CODE): Use XEXP.
23724         (INTVAL): Use XWINT.
23725         (ADDRESSOF_DECL): Use XTREE.
23726         (SET_ADDRESSOF_DECL): Delete.
23727         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
23728         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
23729         ifdefed out since 2.6 at least.
23730         (gen_rtvec_vv): Delete prototype.
23732         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
23733         not rtunion.
23734         (copy_most_rtx): Handle 't' format letter.
23735         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
23736         (gen_rtvec_vv): Delete function.  All callers changed to use
23737         gen_rtvec_v instead.
23738         * print-rtl.c (print_rtx): Move special casing of NOTEs to
23739         the '0' format letter.
23741         * function.c (gen_mem_addressof): Don't use
23742         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
23743         instead.
23744         * integrate.c (copy_rtx_and_substitute): Likewise.
23745         Copy 't' slots with XTREE.
23746         (subst_constants): Treat 't' slots like '[swi]' slots.
23747         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
23748         * jump.c (rtx_equal_for_thread_p): Likewise.
23749         * rtlanal.c (rtx_equal_p): Likewise.
23750         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
23751         only four arguments.
23752         * gengenrtl.c (type_from_format): Provide correct types for
23753         'b' and 't' slots.
23756         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
23757         If a recent gcc is in use (always in stage2 and beyond), use
23758         statement expressions, so we don't make a function call unless
23759         the check fails.  Evaluate arguments exactly once.
23760         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
23761         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
23762         Delete.
23763         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
23764         they evaluate their arguments exactly once, irrespective of
23765         the compiler in use.
23767         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
23768         is used by the currently-enabled check macros.  This is:
23769         (tree_check_failed, tree_class_check_failed): For gcc.
23770         (tree_check, tree_class_check, cst_or_constructor_check,
23771         expr_check): For other compilers.
23773         * gencheck.c: Do not define any *_CHECK1 macros.
23775 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
23776                           Mark Mitchell <mark@codesourcery.com>
23778         * c-common.c (c_get_alias_set): Fix support for poitners and
23779         references.
23781 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
23783         * alias.c: Include tree.h.
23784         (nonlocal_reference_p, mark_constant_function): New functions.
23785         * flow.c (life_analysis): Call mark_constant_function.
23786         * rtl.h (mark_constant_function): Declare it.
23788 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
23790         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
23791         unrecognisable switches.
23793 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23795         * loop.c (recombine_givs): Set ix field after sorting.
23796         (recombine_givs): Remove bogus index / giv lockstep looping.
23798 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23800         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
23801         on CODE.
23802         (emit_store_flag_force): Use do_compare_rtx_and_jump.
23803         (do_cmp_and_jump): Formatting fixes.
23804         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
23805         do_compare_rtx_and_jump instead of compare_from_rtx.
23806         (do_compare_rtx_and_jump): New function; mostly copied from
23807         compare_from_rtx.
23808         (do_jump_for_compare): Delete.
23809         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
23810         MIN_EXPR.
23811         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
23812         of compare/do_jump_for_compare pairs.
23813         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
23814         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
23815         compare_from_rtx/do_jump_for_compare pairs.
23816         (do_jump_by_parts_equality): Likewise.
23817         (do_jump_by_parts_equality_rtx): Likewise.
23818         * expr.h (do_compare_rtx_and_jump): Declare.
23819         * optabs.c (prepare_cmp_insn): New function, contains most of the code
23820         that used to be in emit_cmp_insn.
23821         (cmp_available_p): New function.
23822         (prepare_operand): New function.
23823         (emit_cmp_and_jump_insn_1): New function, contains some code that used
23824         to be in emit_cmp_insn.
23825         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
23826         parameters to be pointers; don't emit final compare but modify some of
23827         the values pointed to by the args so the caller can perform the
23828         correct comparison.
23829         (expand_binop): Call emit_store_flag_force with signed forms of
23830         comparison code.
23831         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
23832         emit_jump_insn pair.
23833         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
23834         emit_cmp_and_jump_insn_1.  Call emit_queue.
23835         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
23836         arg.
23837         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
23838         jump sets cc0 before deleting it.
23839         * integrate.c (expand_inline_function): Likewise.
23840         * unroll.c (unroll_loop): Similar changes in several places.
23841         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
23842         before deleting it.
23844 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23846         * Makefile.in (insn-recog.o): Update dependencies.
23847         * genrecog.c (main): Make generated file include "function.h".
23849 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
23851         * cse.c (cse_insn): Call never_reached_warning when a jump is
23852         changed to be unconditional.
23853         * flags.h: Declare warn_notreached.
23854         * flow.c (delete_block): Call never_reached_warning when
23855         a block is deleted.
23856         * jump.c (delete_barrier_successors): Call never_reached_warning
23857         when we delete everything after a BARRIER.
23858         (never_reached_warning): New function.
23859         * rtl.h: Declare never_reached_warning.
23860         * toplev.c (warn_notreached): New variable.
23861         (lang_independent_options): Set warn_notreached
23862         when -Wunreachable-code.
23863         (compile_file): We need line numbers for -Wunreachable-code.
23865 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
23867         * haifa-sched.c (insn_unit): Fix typo on out of range test.
23868         * sched.c (insn_unit): Likewise.
23870 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
23872         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
23874 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23876         * flow.c (create_edge_list): Use xmalloc, not malloc.
23878 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
23880         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
23881         C-style comments.  Do not lose the character before double slash.
23883 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23885         * basic-block.h (struct edge_list): Stucture to maintain a vector
23886         of edges.
23887         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
23888          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
23889         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
23890         New function prototypes.
23891         * flow.c (create_edge_list): Function to create an edge list.
23892         (free_edge_list): Discards memory used by an edge list.
23893         (print_edge_list): Debug output showing an edge list.
23894         (verify_edge_list): Internal consistency check for an edge list.
23895         (find_edge_index): Function to find an edge index for a pred and succ.
23897 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
23899         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
23900         hashtable.
23902 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
23904         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
23906 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
23908         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
23910 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
23912         * toplev.c (rest_of_compilation): Allow machine dependent
23913         reorganisation pass to place information into the RTL dump
23914         file if it so wishes.
23916 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
23918         * explow.c (hard_function_value): Use VOIDmode instead of
23919         MAX_MACHINE_MODE.
23920         * stmt.c (expand_return): Likewise.
23921         * stor-layout.c (get_best_mode): Likewise.
23923         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
23924         emit call instead of emit_insn call.
23926 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23928         * configure.in: Handle --disable/enable-win32-registry.
23929         * install.texi: Document --disable/enable-win32-registry.
23930         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
23931         (WIN32_REGISTRY_KEY): New macro.
23932         * prefix.c: Use to enable/disable win32-specific code.
23933         (lookup_key): Use versioned key.
23934         * configure: Regenerate.
23935         * config.in: Likewise.
23937 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
23939         * cpplib.c (read_line_number): New fn, split out of...
23940         (do_line): Here.
23942 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23944         tree.c (lang_unsave_expr_now) : New.
23945         (unsave_expr_now): Call lang_unsave_expr_now.
23946         tree.h (lang_unsave_expr_now) : New.
23948 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
23950         * toplev.c (flag_new_exceptions): On by default.
23952 1999-08-13  Michael Meissner  <meissner@cygnus.com>
23954         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
23956 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
23958         * dwarfout.c (fundamental_type_code): Return FT_boolean for
23959         INTEGER_TYPE with precision==1, it's __java_boolean.
23961 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23963         * global.c (prune_preferences): Move some invariants out of the
23964         inner loop.
23966 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
23968         * configure.in (alpha*-dec-osf*): Add osf5.
23970 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
23972         * configure.in: Rework handling of ARM GNU/Linux slightly.
23973         (arm*-*-linux-gnuoldld): New target.
23974         * configure: Regenerate.
23975         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
23976         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
23977         * config/arm/linux-oldld.h: New file.
23978         * config/arm/linux-elf26.h: Don't include linux-elf.h.
23979         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
23980         Don't define.
23981         * config/arm/linux-elf.h (ASM_SPEC): Define.
23982         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
23983         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
23984         for 26-bit APCS and old linker.
23985         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
23986         `arm_elf'.
23987         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
23988         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
23989         don't define `arm' or `arm_elf'.
23990         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
23991         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
23993 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
23995         * rtl.texi: Fix typo.
23997 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
23999         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
24001 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
24003         * extend.texi (C++ Signatures): Remove node.
24004         * invoke.texi: Remove discussion of -fhandle-signatures,
24005         signature, sigof, __signature__, and __sigof__.
24007 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
24009         * Makefile.in (JAVAGC): Removed.
24011 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24013         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
24015 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
24017         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
24019 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
24021         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
24022         a register that is already known to be a pointer.
24024 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
24026         * fixinc/inclhack.tpl: Only install assert.h conditionally.
24027         * fixinc/inclhack.sh: Regenerated.
24028         * fixinc/fixincl.sh: Regenerated.
24030 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
24032         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
24033         Fix documentation of -ansi flag to describe its C++ behavior.
24034         Remove bogus reference to GCC 2.9.
24036 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
24038         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
24039         note if it is non-NULL.
24041 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24043         * except.h (eh_nesting_info): Add new structure defintion.
24044         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
24045         (reachable_handlers, update_rethrow_references): Add function
24046         prototypes.
24047         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
24048         a rethrow symbol instead of an integer exception region number.
24049         * flow.c (Make_edges): Use new exception nesting routines to determine
24050         which handlers are reachable from a CALL or asynchronous insn.
24051         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
24052         goto receivers.
24053         (delete_eh_regions): Update rethrow labels, and don't delete
24054         regions which are the target of a rethrow.
24055         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
24056         avoid overloading the SYMBOL_REF_USED flag.
24057         (rethrow_symbol_map): Use new rethrow_ref field.
24058         (rethrow_used): Use new rethrow_ref field.
24059         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
24060         of an integer.  Fix formatting.
24061         (output_exception_table_entry): Use new rethrow_ref field.
24062         (can_throw): Check for EH_REGION_NOTE before deciding
24063         whether a CALL can throw or not.
24064         (scan_region): Call rethrow_used() instead of accessing data structure.
24065         (update_rethrow_references): New function to make sure only regions
24066         which are still targets of a rethrow are flagged as such.
24067         (process_nestinfo): New static function to initialize a handler
24068         list for a specific region.
24069         (init_eh_nesting_info): New function to allocate and initialize
24070         the list of all EH handlers reachable from all regions.
24071         (reachable_handlers): New function to retrieve the list of handlers
24072         reachable from a specific region and insn.
24073         (free_eh_nesting_info): New function to dispose of a list of
24074         reachable handlers.
24076 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24078         * flow.c (split_edge): Set JUMP_LABEL field.
24079         (commit_one_edge_insertion): Set head correctly for insert_before.
24080         When inserting insns, update insn block numbers if allocated.
24082 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24084         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
24085         retry_incomplete_types): Add static prototype.
24086         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
24087         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
24088         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
24089         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
24090         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
24091         Constify a char*.
24093         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
24094         dwarf2out_start_source_file, dwarf2out_line): Likewise.
24096 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24098         * output.h (assemble_name): Constify a char*.
24100         * varasm.c (UNIQUE_SECTION, assemble_start_function,
24101         assemble_variable, assemble_name): Likewise.
24103         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
24105         * arm/pe.c (arm_pe_unique_section): Likewise.
24107         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
24109         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
24111         * i386/interix.c (i386_pe_unique_section): Likewise.
24113         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
24115         * i386/winnt.c (i386_pe_unique_section): Likewise.
24117         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
24119         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
24121         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
24123         * pa/pa.c (output_call): Likewise.
24125         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
24127         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
24129         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
24130         Likewise.
24132         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
24133         Likewise.
24135         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
24137         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
24138         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
24140         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
24142 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24144         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
24146 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24148         * tree.h (lang_identify): Constify a char*.
24149         (print_error_function): Add extern prototype.  Constify a char*.
24151         * c-lang.c (lang_identify): Constify a char*.
24153         * objc/objc-act.c (lang_identify): Constify a char*.
24155 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24157         * genpeep.c (main): Make generated file include "function.h".
24158         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
24160 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24162         * Makefile.in: Update dependencies.
24163         * alias.c: Include "function.h"
24164         * c-decl.c: Likewise.
24165         * caller-save.c: Likewise.
24166         * calls.c: Likewise.
24167         * combine.c: Likewise.
24168         * cse.c: Likewise.
24169         * explow.c: Likewise.
24170         * final.c: Likewise.
24171         * global.c: Likewise.
24172         * graph.c: Likewise.
24173         * local-alloc.c: Likewise.
24174         * loop.c: Likewise.
24175         * optabs.c: Likewise.
24176         * profile.c: Likewise.
24177         * recog.c: Likewise.
24178         * regclass.c: Likewise.
24179         * regmove.c: Likewise.
24180         * reload.c: Likewise.
24181         * reorg.c: Likewise.
24182         * resource.c: Likewise.
24183         * sched.c: Likewise.
24184         * stupid.c: Likewise.
24185         * config/1750a/1750a.c: Likewise.
24186         * config/a29k/a29k.c: Likewise.
24187         * config/arc/arc.c: Likewise.
24188         * config/arm/arm.c: Likewise.
24189         * config/arm/thumb.c: Likewise.
24190         * config/c4x/c4x.c: Likewise.
24191         * config/clipper/clipper.c: Likewise.
24192         * config/convex/convex.c: Likewise.
24193         * config/fx80/fx80.c: Likewise.
24194         * config/i860/i860.c: Likewise.
24195         * config/m68k/m68k.c: Likewise.
24196         * config/m88k/m88k.c: Likewise.
24197         * config/mips/mips.c: Likewise.
24198         * config/pdp11/pdp11.c: Likewise.
24199         * config/pyr/pyr.c: Likewise.
24200         * config/romp/romp.c: Likewise.
24201         * config/sh/sh.c: Likewise.
24202         * config/tahoe/tahoe.c: Likewise.
24203         * config/vax/vax.c: Likewise.
24204         * config/we32k/we32k.c: Likewise.
24205         * config/sparc/sparc.c: Include "function.h".
24206         (mem_min_alignment): Test current_function rather than
24207         regno_pointer_align.
24208         * config/pa/pa.c: Likewise.
24209         (compute_frame_size): Delete declaration of
24210         current_function_outgoing_args_size.
24211         * config/arc/arc.h (current_function_varargs): Delete declaration.
24212         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
24213         declaration.
24214         * config/i370/i370.h (current_function_outgoing_args_size): Delete
24215         declaration.
24216         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
24217         current_function_uses_pic_offset_table.
24218         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
24219         of current_function_returns_pointer.
24220         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24221         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24222         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24223         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24224         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24225         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24226         * config/m88k/m88k.c: Include "function.h"
24227         (call_used_regs, current_function_pretend_args_size,
24228         current_function_outgoing_args_size, frame_pointer_needed): Delete
24229         declarations.
24230         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
24231         declaration.
24232         * config/mips/mips.h (current_function_calls_alloca): Delete
24233         declaration.
24234         * config/mn10200/mn10200.h (current_function_needs_context,
24235         rtx_equal_function_value_matters): Delete declarations.
24236         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
24237         flag_pic): Delete declarations.
24238         * config/pa/pa.h (current_function_pretend_args_size,
24239         current_function_decl): Delete declarations.
24240         * config/pa/som.h (current_function_varargs): Delete declaration.
24241         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
24242         declaration.
24243         * config/pyr/pyr.h (current_function_pretend_args_size,
24244         current_function_args_size, current_function_calls_alloca): Delete
24245         declarations.
24246         * config/sh/sh.h (current_function_varargs): Delete declaration.
24247         * config/sparc/sparc.h (current_function_outgoing_args_size,
24248         current_function_calls_alloca, current_function_decl): Delete
24249         declarations.
24250         * config/spur/spur.h (current_function_pretend_args_size,
24251         current_function_calls_alloca): Delete declarations.
24252         * config/v850/v850.c (current_function_outgoing_args_size): Delete
24253         declaration.
24254         * config/vax/vms.h (current_function_name): Delete declaration.
24255         * gcse.c: Include "function.h".
24256         (current_function_name, current_function_calls_setjmp): Delete
24257         declarations.
24258         * haifa-sched.c: Include "function.h".
24259         (forced_labels): Delete declaration.
24260         * jump.c: Likewise.
24261         * reg-stack.c: Likewise.
24262         * reload1.c: Likewise.
24263         * genemit.c (main): Make generated file include function.h.
24264         * genoutput.c (output_prologue): Likewise.
24266         * builtins.c (saveregs_value, apply_args_value): Delete variables.
24267         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
24268         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
24269         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
24270         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
24271         macros for some of them.
24272         (emit_filename, emit_lineno): Delete declarations.
24273         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
24274         regno_pointer_* variables through current_function.
24275         (gen_inline_header_rtx): Delete function.
24276         (save_emit_status): Delete function.
24277         (set_new_last_label_num): New function.
24278         (clear_emit_caches): New function.
24279         (restore_emit_status): Just clear last_labelnum and call
24280         clear_emit_caches.
24281         (get_last_insn_anywhere): Variable sequence_stack is now accessed
24282         through macro seq_stack.
24283         (add_insn_after): Likewise.
24284         (add_insn_before): Likewise.
24285         (remove_insn): Likewise.
24286         (pop_topmost_sequence): Likewise.
24287         (in_sequence_p): Likewise.
24288         (start_sequence_for_rtl_expr): Likewise.
24289         (start_sequence): Likewise, and likewise for
24290         sequence_rtl_expr/seq_rtl_expr.
24291         (push_topmost_sequence): Likewise.
24292         (end_sequence): Likewise.
24293         (init_virtual_regs): Now takes a "struct emit_status *" argument.
24294         All callers changed.  Store into that pointer instead of globals.
24295         (init_emit): Allocate emit elt of current_function.
24296         Changes for sequence_rtl_expr/sequence_stack renaming.
24297         Call clear_emit_caches instead of doing it in-line.
24298         Access regno_pointer_* variables through current_function.
24299         (init_emit_once) Don't clear sequence_stack.
24301         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
24302         Delete variables.
24303         (arg_pointer_save_area): Delete declaration.
24304         (finish_expr_for_function): Renamed from init_queue; no longer static.
24305         (init_expr): Don't call init_queue.
24306         (save_expr_status, restore_expr_status): Delete functions.
24307         (expand_expr): Changes to reflect new layout of struct function.
24308         Don't access current_function_check_memory_usage when current_function
24309         is 0.
24310         * expr.h (forced_labels, save_expr_regs, saveregs_value,
24311         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
24312         current_function_outgoing_args_size, current_function_arg_offset_rtx,
24313         current_function_uses_const_pool, function_call_count,
24314         current_function_uses_pic_offset_table, nonlocal_labels,
24315         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
24316         current_function_check_memory_usage, nonlocal_goto_handler_slots,
24317         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
24318         declarations.
24319         (finish_expr_for_function): Declare.
24320         * flags.h (current_function_has_nonlocal_label,
24321         current_function_has_nonlocal_goto, current_function_is_thunk,
24322         current_function_has_computed_jump): Delete declarations.
24323         * flow.c (forced_labels): Delete declaration.
24324         * function.c (current_function_pops_args,
24325         current_function_returns_struct, current_function_returns_pcc_struct,
24326         current_function_needs_context, current_function_calls_setjmp,
24327         current_function_calls_longjmp, current_function_has_nonlocal_label,
24328         current_function_has_nonlocal_goto, current_function_is_thunk,
24329         current_function_has_computed_jump, current_function_calls_alloca,
24330         current_function_contains_functions, current_function_returns_pointer,
24331         current_function_epilogue_delay_list, current_function_args_size,
24332         current_function_pretend_args_size, current_function_arg_offset_rtx,
24333         current_function_outgoing_args_size, current_function_varargs,
24334         current_function_stdarg, current_function_args_info, cleanup_label,
24335         current_function_name, current_function_uses_const_pool,
24336         current_function_instrument_entry_exit, current_function_return_rtx,
24337         current_function_uses_pic_offset_table, nonlocal_labels,
24338         current_function_internal_arg_pointer, current_function_cannot_inline,
24339         current_function_check_memory_usage, function_call_count,
24340         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
24341         nonlocal_goto_stack_level, return_label, save_expr_regs,
24342         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
24343         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
24344         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
24345         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
24346         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
24347         Delete variables.
24348         (push_function_context_to): Don't save them.  Don't call
24349         save_storage_status, save_emit_status or save_expr_status.
24350         (pop_function_context_from): Don't restore them.  Don't call
24351         restore_storage_status or restore_expr_status.
24352         (get_func_frame_size): New function.
24353         (get_frame_size): Use it.
24354         (assign_outer_stack_local): Reflect some member name changes in struct
24355         function.
24356         (put_reg_into_stack): Likewise.
24357         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
24358         seq_rtl_expr.
24359         (fixup_var_refs): Likewise.
24360         (fix_lexical_addr): Likewise.
24361         (trampoline_address): Likewise.
24362         (prepare_function_start): Clear field inlinable of current_function.
24363         (init_function_for_compilation): New function.
24364         (expand_dummy_function_end): New function.
24365         (expand_function_end): Call finish_expr_for_function.
24366         * function.h (struct emit_status): New; fields moved here from struct
24367         function and from global variables.  Add accessor macros for some of
24368         the fields.
24369         (struct expr_status): Likewise.
24370         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
24371         (struct function): Add fields expr and emit, inlinable, inl_emit,
24372         original_arg_vector, original_decl_initial, inl_last_parm_insn,
24373         inl_max_label_num.  Add many comments.
24374         Add accessor macros for all elts of struct function that no longer
24375         have a global variable.
24376         (cleanup_label, return_label, frame_offset, tail_recursion_label,
24377         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
24378         stack_slot_list): Delete declarations.
24379         (get_func_frame_size): Declare.
24380         (save_expr_status, restore_expr_status, save_emit_status,
24381         save_storage_status, restore_storage_status): Delete declarations.
24382         (init_virtual_regs): Declare.
24383         * output.h (current_function_pops_args,
24384         current_function_returns_struct, current_function_returns_pcc_struct,
24385         current_function_needs_context, current_function_calls_setjmp,
24386         current_function_calls_longjmp, current_function_calls_alloca,
24387         current_function_has_nonlocal_label, current_function_varargs,
24388         current_function_has_computed_jump, current_function_returns_pointer,
24389         current_function_contains_functions, current_function_args_size,
24390         current_function_pretend_args_size, current_function_stdarg,
24391         current_function_outgoing_args_size, current_function_args_info,
24392         current_function_name, current_function_return_rtx,
24393         current_function_epilogue_delay_list,
24394         current_function_uses_const_pool, current_function_cannot_inline):
24395         Delete declarations.
24396         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
24397         regno_reg_rtx): Delete declaration.
24398         (REGNO_POINTER_FLAG): Delete macro.
24399         * stmt.c (expand_goto): Changes to reflect that some fields in struct
24400         function were renamed.
24401         * stor-layout.c (save_storage_status, restore_storage_status): Delete
24402         functions.
24403         * toplev.c: Include "function.h".
24404         (current_function_decl): Delete declaration.
24405         (compile_file): Call init_dummy_function_start and
24406         expand_dummy_function_end around some initializations that need to
24407         emit rtl.
24408         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
24409         Call init_function_for_compilation.
24410         * unroll.c: Include "function.h"
24411         (unroll_loop): Access regno_pointer_* variables through
24412         current_function.
24414         * tree.h (struct tree_decl): Add elt f to saved_insns member.
24415         (DECL_SAVED_INSNS): use it.
24416         (expand_dummy_function_end): Declare.
24417         (init_function_for_compilation): Declare.
24418         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
24419         that it's no longer an INLINE_HEADER.
24420         (expand_call): Likewise.
24421         * integrate.c (finish_inline): Delete function.
24422         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
24423         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
24424         args.  Don't generate an INLINE_HEADER rtx, just return the arg
24425         vector.  All callers changed.
24426         (save_for_inline_copying):  Create a duplicate struct emit_status to
24427         hold the emit state for compiling the current function.  Use this and
24428         the other new fields in struct function that are for integration
24429         instead of an INLINE_HEADER.
24430         Use memcpy instead of bcopy.
24431         Store the current struct function in DECL_SAVED_INSNS of fndecl.
24432         (save_for_inline_nocopy): Similar changes, except no new emit_status
24433         is needed here.
24434         (expand_inline_function): Get information from function structure,
24435         not from an inline header rtx.
24436         (output_inline_function): Lose code to extract the necessary
24437         information from an inline header; simply put back the function
24438         structure into current_function.  Clear its inlinable elt.
24439         * rtl.def (INLINE_HEADER): Delete.
24440         * rtl.h: Delete all accessors for an INLINE_HEADER.
24441         (gen_inline_header_rtx): Delete declaration.
24442         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
24443         Delete declarations.
24444         (REGNO_POINTER_ALIGN): Delete.
24445         (clear_emit_caches): Declare.
24446         (set_new_last_label_num): Declare.
24448 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
24450         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
24452         * except.c (expand_eh_region_start_for_decl): Always start a new block.
24453         * stmt.c (is_eh_region): Make sure current_function is present, too.
24455 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
24457         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
24458         for 64bit PA targets.
24460         * pa.h (SELECT_SECTION): Define.
24461         * som.h (SELECT_SECTION): Delete.
24463 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24465         * alias.c (init_alias_analysis): Wrap call to
24466         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
24468 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
24470         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
24471         <sys/asm.h> contains an asm comment with an apostrophe
24472         * fixinc/inclhack.sh:  regen
24473         * fixinc/fixincl.x:  regen
24475 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
24477         * function.c (init_function_start): Clear prologue & epilogue.
24478         (prologue_epilogue_contains): New function.
24479         * alias.c (init_alias_analysis): Use it.
24480         * rtl.h (prologue_epilogue_contains): Declare it.
24482 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
24484         * jump.c (onlyjump_p): New function.
24485         * rtl.h: Declare it.
24486         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
24487         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
24489 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
24491         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
24492         to invert loops.  Simplify block scanning.
24494 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
24496         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
24497         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
24499 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
24501         * config/sparc/liteelf.h: New file to support sparclite-elf target
24502         * config/sparc/t-sp86x: New file to support sparc86x targets
24503         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
24504         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
24505         * configure.in: Support above target triplets
24506         * configure: Regenerated
24508 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
24510         * fixinc/server.c (server_setup): Do not prefix function used as
24511         parameter with `&'.
24513 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
24515         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
24516         Remove fp reg alternatives.
24518 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
24520         * Makefiin (TAROUTOPTS): Kill.
24521         (install-headers-tar): Use "xpf" for tar headerfile extraction
24522         * i370/x-oe (TAROUTOPTS): Delete.
24523         * m68k/x-apollo68 (TAROUTOPTS): Delete.
24524         * m68k/x-hp320 (TAROUTOPTS): Delete.
24525         * m68k/x-hp320g (TAROUTOPTS): Delete.
24526         * gcc.texi: Update bug reporting text.
24528 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
24530         * reg-stack.c (change_stack) Fixed problem with negative array index.
24532 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
24534         * extend.texi, install.texi: Fix spelling mistakes.
24536         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
24537         (s-attrtab); No longer try to use pre-made insn-attrtab file.
24538         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
24539         PREMADE_ATTRTAB_MD.
24540         * mips/t-ecoff: Likewise.
24541         * mips/t-elf: Likewise.
24542         * mips/t-mips: Likewise.
24543         * mips/t-osfrose: Likewise.
24544         * mips/t-r3900: Likewise.
24545         * mips/t-svr3: Likewise.
24546         * mips/t-svr4: Likewise.
24547         * mips/t-ultrix: Likewise.
24549         * gcc.texi: Document recommend means to provide software floating
24550         point libraries in libgcc.a
24552 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
24554         * c-lex.c (yylex): We can have a number with no digits.
24556 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
24558         * jump.c (delete_prior_computation): New function, broken
24559         out of delete_computation.  Check for side effects with
24560         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
24561         multi-word hard registers.
24562         (delete_computation): Use it.  Check for side effects with
24563         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
24564         missing REG_DEAD note for a register which is both set and
24565         used by an insn.
24567 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
24569         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
24570         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
24571         (ASM_FILE_START): Import _mcount with the right type.
24572         (ASM_DECLARE_FUNCTION_NAME): Define.
24573         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
24574         * pa.c (output_function_prologue): Always emit the function's label
24575         here.
24576         * pa.h (TEXT_SPACE_P): Define.
24577         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
24578         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
24579         * som.h (TEXT_SPACE_P): Delete.
24580         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
24581         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
24583 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
24585         * expr.c (emit_group_load): Allow src to be a CONCAT.
24587 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24589         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
24590         (___mulsi3): Use '!' comment character.
24592 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24594         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
24596 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
24598         * gcc.c: Update URLs and mail addresses.
24599         * gcc.texi: Likewise.
24601 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
24603         * rs6000.c (current_file_function_operand): Return zero for
24604         weak functions.
24605         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
24606         weak symbols.
24607         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
24608         for weak symbols.
24610 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
24612         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
24613         allocate space in the stack frame for the PIC register.
24615 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
24617         * m68k.md (xordi3, anddi3): These patterns are not available on
24618         the coldfire.
24620 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
24622         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
24623         (PUT_REAL): Likewise.
24625 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24627         * final.c (shorten_branches): Don't add an alignment for loops
24628         that have no label inside.
24630 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24632         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
24633         prototypes in macro HAVE_cmpstrsi.
24635         * cpplib.c (cpp_get_token): Remove unused label `op3'.
24637         * emit-rtl.c (operand_subword): Remove unused variable
24638         `bits_per_word'.
24640         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
24642         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
24644 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
24646         * cpphash.c (macroexpand): Delete leading whitespace when arg
24647         is concatenated before.
24648         (unsafe_chars): Correct test for whether + and - can extend a
24649         token.
24651         * cppinit.c (cpp_start_read): Do dependencies for
24652         -include/-imacros files also.
24654         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
24655         tokenizing non-directive lines.
24656         (cpp_expand_to_buffer): Temporarily disable no-output mode.
24657         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
24658         the input file.
24660 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
24662         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
24664         * c-lex.c: Sync with C++ frontend.
24665         (linemode): New variable.
24666         (parse_float): imag, conversion_errno, and type are output only.
24667         (yylex): Adjust.  Move initial '.' case into main switch.
24668         Use linemode.
24669         (handle_generic_pragma): Just deal with tokens.
24670         (readescape): Use ISXDIGIT and ISGRAPH.
24671         * c-parse.in: Add END_OF_LINE token.
24673         * c-lex.c (lang_init): Generalize.
24674         (nextchar): Remove.  Replace uses with UNGETC.
24675         (skip_white_space): Handle linemode here.  Optimize for cpplib.
24676         (skip_white_space_on_line): Remove.
24677         (extend_token_buffer_to): New fn.
24678         (extend_token_buffer): Use it.
24679         (read_line_number, check_newline): Just deal with tokens.
24680         (token_getch, token_put_back): New fns.
24681         (yylex): Use them.  More cpplib optimizations.  Simplify.
24683 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
24684                           Jason Merrill  <jason@yorick.cygnus.com>
24686         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
24687         (consume_string): Make this smart about USE_CPPLIB.
24688         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
24689         (yylex): Rewrite to be intelligent about USE_CPPLIB.
24690         Also, clean up cases where we redundantly set token_buffer[0].
24691         (read_line_number): New fn.
24692         (ignore_escape_flag): New variable.
24694 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
24696         * a29k/t-a29kbare: Fix some comments.
24697         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
24698         (FPBIT, DPBIT): Define.
24699         * a29k/t-vx29k: Likewise.
24700         * arc/t-arc: Likewise.
24701         * arm/t-arm-elf: Likewise.
24702         * arm/t-bare: Likewise.
24703         * arm/t-pe: Likewise.
24704         * arm/t-pe-thumb: Likewise.
24705         * arm/t-semi: Likewise.
24706         * arm/t-thumb: Likewise.
24707         * arm/t-thumb-elf: Likewise.
24708         * arm/t-thumb-linux: Likewise.
24709         * h8300/t-h8300: Likewise.
24710         * i960/t-i960: Likewise.
24711         * i960/t-vxworks960: Likewise.
24712         * m32r/t-m32r: Likewise.
24713         * mips/t-ecoff: Likewise.
24714         * mips/t-elf: Likewise.
24715         * mips/t-r3900: Likewise.
24716         * pa/t-pro: Likewise.
24717         * rs6000/t-aix43: Likewise.
24718         * rs6000/t-beos: Likewise.
24719         * rs6000/t-newas: Likewise.
24720         * rs6000/t-ppccomm: Likewise.
24721         * rs6000/t-rs6000: Likewise.
24722         * rs6000/t-winnt: Likewise.
24723         * rs6000/t-xnewas: Likewise.
24724         * rs6000/t-xrs6000: Likewise.
24725         * sh/t-sh: Likewise.
24726         * sparc/t-elf: Likewise.
24727         * sparc/t-sparcbare: Likewise.
24728         * sparc/t-sparclite: Likewise.
24729         * sparc/t-splet: Likewise.
24730         * v850/t-v850: Likewise.
24731         * mn10200/t-mn10200: Fix comments.
24732         * mn10300/t-mn10300: Likewise.
24734         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
24735         dummy operand.  Allocate a new pseudo for the dummy operand.
24736         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
24738         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
24740 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
24742         * configure: Rebuilt.
24743         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
24745 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
24747         * recog.c (preproces_constraints): Zero recog_op_alt before
24748         processing the constraints.
24750         * arm.c (typedef minipool_node): Renamed from pool_node.
24751         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
24752         (add_minipool_constant): New function.
24753         (dump_minipool): New function.
24754         (find_barrier): Remove special case for getting the insn size of
24755         an insn that references the constant pool.
24756         (minipool_fixup): New structure.
24757         (push_minipool_barrier): New function.
24758         (push_minipool_fix): New function.
24759         (note_invalid_constants): New function.
24760         (add_pool_constant, dump_table, fixit, broken_move): Delete.
24761         (arm_reorg): Rewrite code to fix up the constant pool into a
24762         series of mini-pools embedded in the insn stream.
24763         (arm_output_epilogue): New function, made mainly from the body
24764         of output_func_epilogue.
24765         (output_func_epilogue): Move insn generation part of epilogue code
24766         to arm_output_epilogue.
24767         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
24768         * arm.md (pool_range): New attribute.
24769         (zero_extendqidi2): Add attribute pool_range.
24770         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
24771         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
24772         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
24773         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
24774         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
24775         (epilogue): New expand.
24776         (epilogue_insn): New insn.  Call arm_output_epilogue.
24778         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
24779         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
24781 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
24783         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
24785 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
24787         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
24789 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
24791         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
24793 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
24795         * global.c: Fix comment.
24797 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
24799         * gcc.c (access_check): New static function.
24800         (find_a_file): Use it when searching a directory list.
24801         * collect2.c (find_a_file): Don't accept directories found when
24802         searching a directory list.
24804 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
24806         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
24807         function parameters with `&'.
24808         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
24810 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
24812         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
24813         or tidy_fallthru_edge if the last insn in the block is not
24814         an unconditional jump or a simple conditional jump.
24816 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24818         * Makefile.in (c-decl.o): Depends on defaults.h.
24820 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
24822         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
24823         PA1.1 and above.
24824         (CLASS_MAX_NREGS): Likewise.
24826 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
24828         * cse.c (cse_insn): Fix dumb thinko in last change.
24830 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24832         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
24833         "const char *".
24835 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
24837         * dwarf2out.c (add_location_or_const_value_attribute): Correct
24838         test for sizes of passed and declared parameter types.
24840 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24842         * fixincludes: Fix the return type of bsearch, char* -> void*.
24844         * fixinc/inclhack.def: Likewise.
24846 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
24848         * invoke.texi (-fdump-translation-unit): New option.
24850 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
24852         * expr.h (PROMOTE_PROTOTYPES): Move ...
24853         * defaults.h: ... to here.
24854         * c-decl.c: Include defaults.h instead of expr.h.
24855         * c-typeck.c: Include defaults.h.
24857 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
24859         * toplev.h (errorcount): Declare.
24860         (warningcount): Likewise.
24861         (sorrycount): Likewise.
24862         * c-lex.c (errorcount): Don't declare.
24863         * dwarf2out.c (errorcount): Don't declare.
24865 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
24867         * config/libgloss.h: Add a note discouraging use with ELF.
24868         * configure.in: Don't use libgloss.h for ELF targets.
24869         Always use_collect2 on a.out targets.
24871 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
24873         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
24874         (force_to_mode, case ASHIFTRT): Add shiftrt label.
24876 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24878         * loop.c (strength_reduce): When doing biv->giv conversion, update
24879         reg note of NEXT->insn.
24881 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
24883         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
24885 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
24887         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
24888         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
24889         Ensure expr.h is included.
24890         * c-typecheck.c (convert_arguments): Ditto.
24892         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
24894         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
24895         * config/convex/convex.h: Ditto.
24896         * config/dsp16xx/dsp16xx.h: Ditto.
24897         * config/fx80/fx80.h: Ditto.
24898         * config/gmicro/gmicro.h: Ditto.
24899         * config/i370/i370.h: Ditto.
24900         * config/i386/i386.h: Ditto.
24901         * config/m32r/m32r.h: Ditto.
24902         * config/m68k/m68k.h: Ditto.
24903         * config/m88k/m88k.h: Ditto.
24904         * config/mips/mips.h: Ditto.
24905         * config/pa/pa.h: Ditto.
24906         * config/pyr/pyr.h: Ditto.
24907         * config/tahoe/tahoe.h: Ditto.
24908         * config/we32k/we32k.h: Ditto.
24910         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
24911         based on arch size.
24913         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
24915         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
24916         from comment.
24918         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
24920 1999-08-02  Richard Henderson  <rth@cygnus.com>
24922         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
24923         for the register spill block.
24924         (m32r_va_arg): New.
24925         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
24926         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
24928         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
24929         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
24930         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
24932 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
24934         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
24935         MAX_WCHAR_TYPE defined in sparc.h.
24936         * config/sparc/linuxaout.h: Likewise.
24937         * config/sparc/linux64.h: Likewise.
24938         Also default to -mvis if CPU is UltraSPARC.
24940 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
24942         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
24943         (RTX_OK_FOR_OLO10): Likewise.
24944         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
24945         %lo(), allow it in addresses...
24946         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
24947         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
24948         does not make sense.
24949         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
24950         (sparc_output_scratch_registers): New function.
24951         (output_function_prologue, sparc_flat_output_function_prologue): Use
24952         it.
24953         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
24954         defined.
24955         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
24956         * configure.in: Add check for .register pseudo-op support in as and
24957         check for offsetable %lo().
24958         * acconfig.h: Add templates for the above checks.
24959         * configure: Regenerate.
24961 1999-08-02  Richard Henderson  <rth@cygnus.com>
24963         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
24964         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
24965         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
24967 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24969         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
24970         reg_biv_class.
24972 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
24974         * config/float-sparc.h: New file.
24975         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
24976         sparc-*-linux-gnu and sparc64-*-linux*.
24978 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24980         * rs6000.c (rs6000_va_list): Type is an array.
24981         (rs6000_va_start): Don't doubly adjust for varargs.
24982         (rs6000_va_arg): Evaluate long long GPR adjustment.
24984 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
24986         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
24987         -maix64 and -maix32.
24988         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
24989         LINK_SPEC): Change appropriately.
24990         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
24991         (u_short_cint_operand): Likewise.
24992         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
24993         for 64-bit hosts.
24994         * rs6000/t-aix43 (MULTILIB): Change to -m64.
24996         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
24998 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
25000         * rs6000/rs6000.c (num_insns_constant_wide): Correct
25001         for type promotion.
25002         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
25003         (non_add_cint_operand): Likewise.
25004         (logical_operand): Likewise.
25005         (non_logical_cint_operand): Likewise.
25006         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
25007         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
25008         (rs6000_select_rtx_section): Suppress warning.
25009         (small_data_operand): Suppress warning.
25010         (rs6000_got_register): Suppress warning.
25011         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
25012         type, so `J' is generally the wrong constraint for a SImode value;
25013         use `L' instead.
25014         (andsi3_internal2): Likewise.
25015         (andsi3_internal3): Likewise.
25016         (iorsi3_internal1): Likewise.
25017         (xorsi3_internal1): Likewise.
25018         (movsi): Likewise.
25019         (movsf_softfloat): Likewise.
25020         (scc insns): Likewise.
25021         (movsi+2): Preserve sign bits of SImode constant.
25022         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
25023         (movdf+1): Sign-extend properly.
25024         (movdi_32+1): Sign-extend properly.
25025         (scc insns): Sign-extend properly.
25027         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
25028         K, L, and T.
25030 1999-08-02  Richard Henderson  <rth@cygnus.com>
25032         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
25033         -mcpu parsing code.
25034         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
25035         * alpha.md (all fp insns): Likewise.
25037 1999-08-02  Nick Clifton  <nickc@cygnus.com>
25039         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
25040         already defined.
25042 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
25044         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
25045         pic_load_label generator directly.
25046         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
25047         No longer a named pattern.
25049 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
25051         * explow.c (force_reg): Call force_operand if X does not
25052         satisfy general_operand.
25054 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
25056         * fix-header.c (main): When testing for CONTINUED, use string
25057         equality, not pointer equality.
25059 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
25061         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
25063 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
25065         * cse.c (cse_insn): Fix loop which deletes insns after a jump
25066         that has become an unconditional jump.
25068         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
25069         (output_function_epilogue): Similarly.
25071 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25073         * tree.h (init_dummy_function_start): Declare.
25075 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25077         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
25078         last_expr_type, last_expr_value, block_start_count, block_stack,
25079         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
25080         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
25081         dynamically in stmt elt of struct function for each function.
25082         (struct nesting): Rename function_call_count elt to n_function_calls,
25083         target_temp_slot_level to block_target_temp_slot_level.  All users
25084         changed.
25085         (struct stmt_status): New structure definition.
25086         Add many accessor macros for stmt_status elements which previously
25087         were global variables.
25088         (init_stmt_for_function): Allocate stmt elt for current_function.
25089         Reflect that block_start_count was renamed to
25090         current_block_start_count.
25091         (save_stmt_status, restore_stmt_status): Delete functions.
25092         (preserve_subexpressions_p): Don't access loop_stack when outside
25093         a function.
25094         (expand_start_bindings): Reflect that block_start_count was renamed to
25095         current_block_start_count.
25096         (expand_fixup): Likewise.
25097         (expand_decl): Don't access block_stack when outside a function.
25098         (expand_decl_cleanup): Likewise.
25099         (expand_dcc_cleanup): Likewise.
25100         (expand_dhc_cleanup): Likewise.
25101         (expand_anon_union_decl): Likewise.
25102         (set_file_and_line_for_stmt): New function.
25103         (in_control_zone_p): New function.
25105         * function.h (struct function): Add new elt stmt.
25106         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
25107         case_stack, nesting_stack, nesting_depth, block_start_count,
25108         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
25109         emit_lineno, goto_fixup_chain.
25110         (save_eh_status, restore_eh_status, save_stmt_status,
25111         restore_stmt_status): Delete declarations.
25112         * function.c (push_function_context_to): Don't call save_stmt_status.
25113         (pop_function_context_to): Don't call restore_stmt_status.
25114         * tree.h (in_control_zone_p): Declare.
25115         * rtl.h (set_file_and_line_for_stmt): Declare.
25117         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
25118         call set_file_and_line_for_stmt.
25120 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
25122         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
25123         Also update copyright.
25125 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25127         * c-pragma.c: Don't include "except.h".
25128         * emit-rtl.c: Likewise.
25129         * stor-layout.c: Likewise.
25130         * tree.c: Likewise.
25131         * varasm.c: Likewise.
25133         * flow.c: Include "function.h".
25134         * tree.h (init_dummy_function_start): Declare new function.
25136         * except.h (struct eh_status): New structure.
25137         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
25138         been included.
25139         (eh_return_stub_label, ehstack, catchstack, ehqueue,
25140         catch_clauses, false_label_stack, caught_return_label_stack,
25141         protect_list, current_function_ehc): Add accessor macros for the
25142         corresponding fields in current_function->eh; delete declarations
25143         for all items that used to be declared here.
25144         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
25145         catch_clauses, false_label_stack, caught_return_label_stack,
25146         protect_list, current_function_ehc): Delete variables.
25147         (init_eh_for_function): Allocate current_function->eh.
25148         (save_eh_status, restore_eh_status): Delete functions.
25150         * function.h (struct function): Add fields next_global and eh.
25151         Delete all exception handling related fields.
25152         * function.c (current_function): New variable.
25153         (all_functions): New variable.
25154         (push_function_context_to): Don't allocate a struct function,
25155         use current_function instead.  Call init_dummy_function_start when
25156         outside a function.  Clear current_function before returning.
25157         (pop_function_context_from): Restore current_function.
25158         Don't free the restored struct function.
25159         (prepare_function_start): New function.
25160         (init_dummy_function_start): New function.
25161         (init_function_start): Break out some code into prepare_function_start
25162         and call it here.
25164         * stmt.c (save_stmt_status): Don't call save_eh_status.
25165         (restore_stmt_status): Don't call restore_eh_status.
25167         * Makefile.in: Update dependencies.
25169 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
25171         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
25172         of depending on a magic constant value.  Update comments.
25173         (hppa_expand_prologue): Similarly.
25175         * pa.md (reload_indi, reload_outdi): Allow any register for the
25176         original reload register.
25178 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
25180         * cccp.c (print_help): Change marcos to macros.
25182 1999-07-30  Richard Henderson  <rth@cygnus.com>
25184         * c-typeck.c (initializer_constant_valid_p): Move ...
25185         * c-common.c (initializer_constant_valid_p): ... here.  Use
25186         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
25187         of label addresses.
25188         * c-common.h (initializer_constant_valid_p): Declare.
25189         * c-tree.h (initializer_constant_valid_p): Remove.
25191 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
25193         * config/i386/sol2-c1.asm: Align the stack.
25194         * config/i386/sol2-gc1.asm: Likewise.
25196 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
25198         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
25199         -Asparclite for sparc86x.
25200         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
25201         sparc86x.
25202         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
25204 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
25206         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
25207         the user if using the non-default arch size in BI_ARCH configuration.
25208         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
25210         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
25211         Fix patterns so that they actually match.
25212         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
25213         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
25214         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
25215         TARGET_HARD_MUL32.
25216         (mulsidi3): Reflect this in the expand.
25217         (smulsi3_highpart): Only on TARGET_ARCH32.
25218         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
25219         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
25220         (umulsidi3): Reflect this in the expand.
25221         (umulsi3_highpart): Only on TARGET_ARCH32.
25222         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
25223         don't require g0 to be zero.
25224         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
25225         ({,u}divsi3): New expands.
25226         ({,u}divsi3_sp64): New patterns.
25227         (after lshrdi3_v8plus): Four new patterns to help combiner
25228         optimizing nested mixed mode shifts.
25230         * config/sparc/sparc.c (sparc_override_options): Use deprecated
25231         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
25232         speed things up. Don't use them by default on plain v9 in 64bit
25233         mode, according to what SPAMv9 sais.
25235         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
25236         top 32 bits of %[og][0-7] in signal handlers.
25237         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
25239 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
25241         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
25242         (ashlsi3): Corresponding changes.
25244         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
25246 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
25248         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
25250 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25252         * arm.h (Hint): Delete macro.
25253         Substitute HOST_WIDE_INT for Hint in some prototypes.
25254         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
25256 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
25258         * builtins.c (expand_builtin_setjmp): Use force_operand to
25259         make sure that the buffer address is in a suitable form to be
25260         passed to force_reg.
25262 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
25264         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
25265         them here.
25267 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
25269         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
25270         proper mode in the condition string.
25271         (icacheflush, dcacheflush): Remove modes from match_operands.
25273         * pa.c (emit_move_sequence): Always convert scratch_reg to the
25274         proper mode before using it.
25276         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
25277         pair.
25279         * pa.c (store_reg): Do not call add_high_const generator directly.
25280         (load_reg, set_reg_plus_d): Likewise.
25281         * pa.md (add_high_const): No longer a named pattern.
25283         * pa.c (legitimize_address): Consistently use Pmode rather than
25284         SImode.  Do not call gen_pic2_highpart directly anymore.
25285         * pa.md (pic2_highpart): No longer a named pattern.
25286         (pic2_lo_sum): Similarly.  Reformat to make more readable.
25288         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
25289         needed.
25291         * README: Update.
25293 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25295         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
25297 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
25299         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
25300         and tag the spill mems.
25301         (hppa_va_start): New.
25302         (hppa_va_arg): New.
25303         * pa.h (EXPAND_BUILTIN_VA_START): New.
25304         (EXPAND_BUILTIN_VA_ARG): New.
25306 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
25308         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
25309         and tag the spill mems.
25310         (mn10300_va_start): New.
25311         (mn10300_va_arg): New.
25312         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
25313         (EXPAND_BUILTIN_VA_ARG): New.
25315 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
25317         * mn10200.c (mn10200_va_arg): New.
25318         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
25320 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
25322         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
25323         rather than play with TREE_INT_CST_LOW.
25325 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
25327         * config/arm/telf.h: Include dbxelf.h.
25328         (CPP_PREDEFINES): Only define if not already defined.
25329         (ASM_IDENTIFY_GCC): Likewise.
25330         (SUBTARGET_EXTRA_SECTIONS): Likewise.
25331         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
25332         * config/arm/thumb.h (LINK_SPEC): Only define if not already
25333         defined.
25334         (DBX_DEBUGGING_INFO): Don't define.
25335         * config/arm/linux-telf.h: New file.
25336         * config/arm/linux-tgas.h: New file.
25337         * config/arm/t-thumb-linux: New file.
25338         * config/arm/uclinux-elf.h: New file.
25339         * config/arm/uclinux-telf.h: New file.
25340         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
25341         thumb-*-uclinux): New targets.
25342         * configure: Regenerate.
25344 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
25346         * pa.md (post_store, pre_load): New expanders.
25347         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
25348         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
25349         need to directly generate RTL for them.
25350         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
25351         changes.
25353 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
25355         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
25356         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
25357         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
25358         (secndary_reload_class): Make TARGET_ELF conditional compile.
25359         (print_operand_address): Similar.
25360         (output_toc): Print all values as hex.
25361         (get_issue_rate): Rearrange and add RS64A and PPC630.
25362         * rs6000.h (processor_type): Add RS64A and PPC630.
25363         (PROCESSOR_POWERPC64): New.
25364         (PROMOTE_MODE): Use word_mode.
25365         (RTX_COSTS): Add RS64A and PPC630.
25366         * rs6000.md (scheduling information): Add lmul and ldiv
25367         representing 64-bit integer multiply and divide.  Add rs64a and
25368         PPC630 information.
25369         (ashldi3): Add support for "rldic" instruction.
25370         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
25372 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
25374         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
25375         instead of V8 for sparclite86x in cpu_table.
25377 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25379         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
25380         output_file_directive.
25382 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
25384         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
25385         tree for op1, not the rtl.
25387 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
25389         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
25390         to m88k_va_start, leaving only the register spill.
25391         (m88k_build_va_list): New.
25392         (m88k_va_start): New.
25393         (m88k_va_arg): New.
25394         * m88k.h (BUILD_VA_LIST_TYPE): New.
25395         (EXPAND_BUILTIN_VA_START): New.
25396         (EXPAND_BUILTIN_VA_ARG): New.
25398 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
25400         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
25401         Rename from expand_builtin_saveregs.
25402         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
25404 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
25406         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
25407         for the register spill block.
25408         (i960_build_va_list): New.
25409         (i960_va_start): New.
25410         (i960_va_arg): New.
25411         * i960.h (BUILD_VA_LIST_TYPE): New.
25412         (EXPAND_BUILTIN_VA_START): New.
25413         (EXPAND_BUILTIN_VA_ARG): New.
25414         * i960.md (store_multiple): Use change_address on individul mems.
25416 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
25418         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
25419         an ARRAY_TYPE.
25420         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
25421         (expand_builtin_va_end): Evaluate arg for side effects.
25422         * c-common.c (c_common_nodes_and_builtins): Construct a
25423         va_list_arg_type_node to handle array decomposition to pointer.
25425 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
25427         * except.c (st_dynamic_cleanup): Use force_operand on the
25428         buffer's address.
25430 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
25432         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
25433         * c4x.c (c4x_va_arg): New.
25435 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
25437         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
25438         has manual_pop set.
25440 1999-07-26  Nathan Sidwell  <nathan@acm.org>
25442         * eh-common.h (__eh_matcher): Prototype correctly.
25444 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
25446         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
25447         (TARGET_SINGLE_PIC_BASE): Likewise.
25448         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
25449         definitions.
25450         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
25451         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
25452         (TARGET_OPTIONS): Add -mpic-register=N.
25453         (OUTPUT_INT_ADDR_CONST): New macro.
25454         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
25455         LEGITIMATE_PIC_OPERAND_P): Likewise.
25456         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
25457         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
25458         output_addr_const directly.
25459         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
25460         ARM port.
25461         (thumb_pic_register, thumb_pic_register_string): Declare.
25463         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
25464         from arm.c.
25465         (label_mentioned_p): New function: Imported from arm.c.
25466         (legitimize_pic_address): New function: Imported from arm.c.
25467         (is_pic):New function: Imported from arm.c.
25468         (thumb_finalize_pic):New function: Imported from arm.c.
25469         (add_constant): Cope with PIC constants.
25470         (fixit): Cope with PIC constants.
25471         (output_return): Do not treat the PIC register as live if
25472         TARGET_SINGLE_PIC_BASE is true.
25473         (thumb_function_prologue): Do not treat the PIC register as live if
25474         TARGET_SINGLE_PIC_BASE is true.
25475         (thumb_expand_prologue): Do not treat the PIC register as live if
25476         TARGET_SINGLE_PIC_BASE is true.
25477         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
25478         TARGET_SINGLE_PIC_BASE is true.
25479         (thumb_print_operand): Accept '|'.
25480         (thumb_override_options): Process PIC options.
25482         * config/arm/thumb.md (movsi): Support PIC.
25483         (call_insn): Change "i" constraint to "X".
25484         (call_value_insn): Likewise.
25485         (consttable_4, consttable_8, consttable_end): Set and clear
25486         "making_const_table" as appropriate.
25487         (pic_load_addr, pic_add_dot_plus_four): New insns.
25489         * invoke.texi (Thumb Options): Fix spelling.  Document new
25490         options -msingle-pic-base and -mpic-register=.
25492 1999-07-26  Andrew Haley  <aph@cygnus.com>
25494         * config/m32r/initfini.c (__init): Use a full word immediate for
25495         __fini: this allows it to be placed in any memory region.
25497         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
25498         -mmodel=medium.  This is OK for all memory models.
25500 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
25502         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
25503         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
25505 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
25507         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
25508         defined.
25510         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
25512 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
25514         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
25515         (BUILD_VA_LIST_TYPE): New.
25516         (EXPAND_BUILTIN_VA_START): New.
25517         (EXPAND_BUILTIN_VA_ARG): New.
25518         * i860.c (output_delayed_branch): Disable.
25519         (output_delay_insn): Likewise.
25520         (i860_saveregs): New.
25521         (i860_build_va_list): New.
25522         (i860_va_start): New.
25523         (i860_va_arg): New.
25524         * i860.md: Disable all peepholes using output_delayed_branch.
25525         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
25527 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
25529         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
25530         (BUILD_VA_LIST_TYPE): New.
25531         (EXPAND_BUILTIN_VA_START): New.
25532         (EXPAND_BUILTIN_VA_ARG): New.
25533         * clipper.c (clipper_builtin_saveregs): Only dump registers.
25534         Return the address of the save area.
25535         (clipper_build_va_list): New.
25536         (clipper_va_start): New.
25537         (clipper_va_arg): New.
25539 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
25541         * arc.h (EXPAND_BUILTIN_VA_START): New.
25542         (EXPAND_BUILTIN_VA_ARG): New.
25543         * arc.c (arc_setup_incoming_varargs): Set alias set of
25544         varargs save area.
25545         (arc_va_start): New.
25546         (arc_va_arg): New.
25548 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
25550         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
25551         (BUILD_VA_LIST_TYPE): New.
25552         (EXPAND_BUILTIN_VA_START): New.
25553         (EXPAND_BUILTIN_VA_ARG): New.
25554         * alpha.c (alpha_builtin_saveregs): Delete.
25555         (alpha_build_va_list): New.
25556         (alpha_va_start): New.
25557         (alpha_va_arg): New.
25559 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
25561         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
25562         column zero.
25563         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
25564         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
25566         * gcc.texi: More changes related to list conversion.
25567         * invoke.texi: Likewise.
25569 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
25571         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
25572         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
25573         (expand_builtin_next_arg): Accept ARGLIST not EXP.
25574         (stabilize_va_list): New function.
25575         (std_expand_builtin_va_start): New function.
25576         (expand_builtin_va_start): New function.
25577         (get_varargs_alias_set): New function.
25578         (std_expand_builtin_va_arg): New function.
25579         (expand_builtin_va_arg): New function.
25580         (expand_builtin_va_end): New function.
25581         (expand_builtin_va_copy): New function.
25582         (expand_builtin): Call them.
25583         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
25584         __builtin_{varargs_start,stdarg_start,end,copy}.
25585         (build_va_arg): New function.
25586         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
25587         (build_va_arg): Declare.
25588         * c-decl.c (ptr_type_node, va_list_type_node): New.
25589         * c-parse.gperf (__builtin_va_arg): New.
25590         * c-parse.in (VA_ARG): New token.
25591         (unary_expr): Recognize it.
25592         * expr.c (expand_expr): Expand VA_ARG_EXPR.
25593         * expr.h (std_expand_builtin_va_start): Declare.
25594         (std_expand_builtin_va_arg): Declare.
25595         (expand_builtin_va_arg): Declare.
25596         (get_varargs_alias_set): Declare.
25597         * tree.def (VA_ARG_EXPR): New.
25598         * tree.h (BUILT_IN_VARARGS_START): New.
25599         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
25600         (ptr_type_node, va_list_type_node): Declare.
25601         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
25602         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
25603         * m88k.h, m88k.c: Likewise.
25604         * mn10300.h, mn10300.c: Likewise.
25605         * pa.h, pa.c: Likewise.
25606         * rs6000.h, rs6000.c: Likewise.
25607         * sh.h, sh.c: Likewise.
25608         * sparc.h, sparc.c: Likewise.
25610         * emit-rtl.c (operand_subword): Copy alias set.
25611         (change_address): Likewise.
25613 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
25615         * pa.c (compute_frame_size): Scan all the used callee saved registers,
25616         not just the first one.
25618 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
25620         * config/arm/arm.h (TARGET_SWITCHES): Add
25621         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
25622         (TARGET_OPTIONS): Add -mpic-register=.
25623         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
25624         (arm_pic_register_string): Declare.
25625         (NEED_PLT_GOT): Delete, replace with ...
25626         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
25627         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
25628         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
25629         * config/arm/arm.c (arm_override_options): Add new option
25630         -mpic-register=N.
25631         (arm_pic_register_string): New variable.
25632         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
25633         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
25634         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
25635         (output_return_instruction): Likewise.
25636         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
25637         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
25638         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
25640         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
25641         mention of -msched-prolog.  Document new options -msingle-pic-base
25642         and -mpic-register=.
25644 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
25646         * haifa-sched.c (reemit_notes): Tidy.
25647         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
25648         haifa's routine.
25650 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
25652         * explow.c (trunc_int_for_mode): New function.
25653         (plus_constant_wide): Use it.
25654         * combine.c (simplify_and_const_int): Likewise.
25655         (merge_outer_ops): Likewise.
25656         (simplify_shift_const): Likewise.
25657         * cse.c (simplify_unary_operation): Likewise.
25658         (simplify_binary_operation): Likewise.
25659         * emit-rtl.c (operand_subword): Likewise.
25660         * rtl.h: Declare it.
25662 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25664         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
25665         (use NUM_REGS instead of NUM_INTS).
25667 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25669         * builtins.c: New file.
25670         * expr.c (saveregs_value, apply_args_value):  Delete definition,
25671         moved into builtins.c.
25672         (string_constant): No longer static.
25673         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
25674         apply_args_size, apply_result_size, result_vector,
25675         expand_builtin_apply_args, expand_builtin_apply,
25676         expand_builtin_return): Delete functions, moved into builtins.c.
25677         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
25678         * expr.h (saveregs_value, apply_args_value): Declare variables.
25679         (expand_builtin, string_constant): Declare functions.
25680         * Makefile.in: Update to build builtin.o.
25682 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
25684         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
25685         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
25686         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
25687         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
25688         false.
25689         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
25690         Define to zero.
25692 1999-07-21  Michael Meissner  <meissner@cygnus.com>
25694         * print-rtl.c (print_rtx): Print the names of the virtual
25695         registers.
25697 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
25699         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
25700         introduced in previous delta.
25702 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25704         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
25705         to avoid name clash.
25707 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25709         * c-lex.c (yylex) : Correct the test for overflow when lexing
25710         integer literals.
25712 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
25714         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
25715         (adjust_priority): Always call ADJUST_PRIORITY.
25716         (schedule_insn): Only put insns into the ready at cost 0.
25717         (schedule_block): Remove redundant initial sort.  Give clock_var
25718         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
25719         is not 0.
25720         * tm.texi (MD_SCHED_REORDER): Update docs.
25722         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
25723         * sparc.c (ultra_reorder_called_this_block): Delete.
25724         (ultrasparc_sched_init): Don't set it.
25725         (ultrasparc_sched_reorder): Don't check it.
25727 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
25729         * rs6000.h (struct rs6000_args): Add sysv_gregno.
25730         * rs6000.c (init_cumulative_args): Init sysv_gregno.
25731         (function_arg_boundary): Align DFmode.
25732         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
25733         to get fp reg and stack overflow correct.
25734         (function_arg): Likewise.
25735         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
25736         (setup_incoming_varargs): Restructure for ABI_V4; use
25737         function_arg_advance to skip final named argument.
25738         (expand_builtin_saveregs): Properly unskip the last integer arg
25739         when doing varargs.  Adjust overflow location calculation.
25741         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
25742         explicitly unsigned.
25743         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
25744         (__VA_GP_REGSAVE): Similarly.
25745         (__va_longlong_p): Delete.
25746         (__va_arg_type_violation): New declaration.
25747         (va_arg): Restructure.  Flag promotion errors.  Align double.
25748         TFmode passed by reference.
25750         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
25751         in the HOST_BITS_PER_WIDE_INT > 32 case.
25753 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
25755         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
25757 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
25759         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
25760         * toplev.c (documented_lang_options): Add -fpreprocessed.
25761         * cpplib.h (struct cpp_buffer): Add preprocessed.
25762         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
25763         (cpp_start_read): Don't expand macros or emit an initial #line
25764         directive if -fpreprocessed.
25766 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
25768         * cpplib.h (struct cpp_buffer): Added manual_pop for
25769         better C++ tokenization.
25770         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
25771         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
25772         * c-common.c (cpp_token): Make non-static.
25774 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25776         * c-common.h: New file.
25777         * c-common.c (permanent_obstack): Delete unused declaration.
25778         (c_global_trees): New array.
25779         (c_common_nodes_and_builtins): New function; split off common code
25780         from init_decl_processing in both c-decl.c and cp/decl.c.
25781         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
25782         c_global_trees and accessor macros defined in c-common.h.
25783         Include c-common.h.
25784         * c-decl.c: Delete definitions for tree nodes that were replaced by
25785         c_global_trees.
25786         (init_decl_processing): Build void_list_node.
25787         Call c_common_nodes_and_builtins; delete code to generate the common
25788         builtins here.
25789         * objc/objc-act.c (build_module_descriptor): Rename variable
25790         void_list_node to avoid clash with c-common.h.
25792         * Makefile.in: Update dependencies.
25793         * objc/Make-lang.in: Likewise.
25795 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
25797         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
25798         (UNIQUE_SECTION_P): Likewise.
25799         (UNIQUE_SECTION): Likewise.
25801 1999-07-19  Linas Vepstas  <linas@linas.org>
25803         * config/i370/README: New file.
25804         * config/i370/linux.h: New file.
25805         * config/i370/mvs.h: New file.
25806         * config/i370/oe.h: New file.
25807         * config/i370/t-linux: New file.
25808         * config/i370/t-mvs: New file.
25809         * config/i370/t-oe: New file.
25810         * config/i370/x-oe: New file.
25811         * config/i370/xm-linux.h: New file.
25812         * config/i370/xm-mvs.h: New file.
25813         * config/i370/xm-oe.h: New file.
25815         * i370.c (label_node_t): Add first_ref_page, label_addr,
25816         label_first_ref, label_last_ref members.
25817         (mvs_need_base_reload): Renamed from mvs_label_emitted.
25818         (MAX_MVS_LABEL_SIZE): Define.
25819         (MAX_LONG_LABEL_SIZE): Define.
25820         (alias_node_t, alias_anchor, alias_number): New.
25821         (mvs_function_table): Reorder for EBCDIC.
25822         (ascebc, ebcasc): Unconditionally define.
25823         (i370_branch_dest, i370_branch_length): New functions.
25824         (i370_short_branch, i370_label_scan): New functions.
25825         (mvs_get_label): Renamed from mvs_add_label.  Search for
25826         an existing label before creating a new one.
25827         (mvs_add_label): New function.
25828         (mvs_get_label_page): New function.
25829         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
25830         over the entire list.
25831         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
25832         (mvs_check_page) [TARGET_ELF_ABI]: New function.
25833         (mvs_add_alias, mvs_need_alias): New functions.
25834         (mvs_get_alias, mvs_check_alias): New functions.
25835         (handle_pragma): New function.
25836         (mvs_function_check): New function.
25837         (unsigned_jump_follows_p): Search harder.
25838         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
25839         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
25840         * i370.h (TARGET_VERSION): Delete.
25841         (CPP_SPEC, CPP_PREDEFINES): Delete.
25842         (mvs_label_emitted): Delete.
25843         (TARGET_EBCDIC): Delete.
25844         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
25845         (HANDLE_PRAGMA): Define.
25846         (HARD_REGNO_NREGS): Handle complex modes.
25847         (HARD_REGNO_MODE_OK): Likewise.
25848         (CLASS_MAX_NREGS): Likewise.
25849         (RET_REG): Likewise.
25850         (EXTRA_CONSTRAINT): Define.
25851         (RETURN_IN_MEMORY): True for DImode.
25852         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
25853         (FUNCTION_PROFILER): Delete.
25854         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
25855         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
25856         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
25857         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
25858         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
25859         (ASM_FILE_START): Add "RMODE ANY".
25860         (ASM_OUTPUT_EXTERNAL): Check for aliases.
25861         (ASM_GLOBALIZE_LABEL): Likewise.
25862         (ASM_OUTPUT_LABELREF): Likewise.
25863         (ASM_OUTPUT_COMMON): Likewise.
25864         (PRINT_OPERAND): Handle 'K', 'W', default.
25865         (PRINT_OPERAND_ADDRESS): New.
25866         (Lots of defines): Add support for TARGET_ELF_ABI.
25867         * i370.md (attr length): New.  Define for all patterns.
25868         (*): Lots of tweeks to assembly output and constraints.
25870 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
25872         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
25873         Disable patterns performing SImode comparisons with SImode values
25874         if TARGET_POWERPC64 and instruction does not sign-extend or does
25875         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
25876         differ for signed quantities.
25877         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
25878         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
25879         (decrement_and_branch_on_count): Add 64-bit variant.
25881 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25883         * final.c (output_asm_insn): When searching for the matching string
25884         for a given dialect, don't run past the end of the list of
25885         alternatives if there are fewer alternatives in the template than
25886         dialects.
25888 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
25890         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
25891         Removed paragraph about compression of files and size limitation,
25892         duplicated in the FAQ.  Use gcc-patches for posting patches.
25893         * gcc.c (main): Updated URL with bug reporting instructions to
25894         gcc.gnu.org.  Removed e-mail address.
25895         * system.h (abort): Likewise.
25897 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25899         * Makefile.in (stmp-multilib-sub): Make the files extracted
25900         from $(LIBGCC1) writable.
25902 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
25904         * config/arm/aout.h: Reformat for improved readability.
25906         * config/arm/arm.h: Reformat for improved readability.
25907         Replace uses of fprintf with asm_fprintf where appropriate.
25908         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
25909         function declaration assembler actions.
25910         (NUM_INTS): New macro: Convert from bytes to words.
25911         (NUM_REGS): New macro: Compute number of registers required to
25912         hold a quanitity of tyep MODE.
25913         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
25914         types.
25915         (NUM_ARG_REGS): New macro: The number of argument registers
25916         available.
25917         (ARG_REGISTER): New macro: Compute the register number of the Nth
25918         argument register.
25919         (LAST_ARG_REGNUM): New macro: The number of the last argument
25920         register.
25921         (SP_REGNUM): New macro: Register number of the stack pointer.
25922         (FP_REGNUM): New macro: Register number of the frame pointer.
25923         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
25924         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
25925         CUMULATIVE_ARGS so that it counts registers not bytes.
25927         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
25928         TARGET_INTERWORK.
25929         Replace uses of fprintf with asm_fprintf where appropriate.
25930         (output_ascii_pseudo_op): Replace with version from thumb.c
25932         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
25934         * config/arm/elf.h (CPP_PREDEFINES): Replace with
25935         SUBTARGET_CPP_SPEC.
25936         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
25937         (ASM_FILE_START): Emit ASM_APP_OFF.
25939 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
25941         * pa.c (compute_frame_size): Round frame according to
25942         STACK_BOUNDARY rather than a hardwired value.
25944         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
25946         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
25947         of "1".
25948         * configure: Rebuilt.
25950         * configure.in (hppa*-*-linux*): New configuration.
25951         * configure: Rebuilt.
25952         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
25953         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
25954         * pa/pa-linux.h: New file.
25955         * pa/t-linux: New file.
25956         * pa/xm-linux.h: New file.
25958         * pa.c (hppa_legitimize_address): Change references from SImode to
25959         either Pmode or word_mode as appropriate.
25960         (emit_move_sequence, store_reg, load_reg): Likewise.
25961         (set_reg_plus_d, hppa_expand_prologue): Likewise.
25962         (output_mul_insn): Likewise.
25963         * pa.h (PROMOTE_MODE): Likewise.
25964         (INITIALZE_TRAMPOLINE): Likewise.
25965         (Pmode): Define to word_mode.
25967         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
25968         value of 4.  Allocate 8 bytes for each FP register save.
25969         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
25970         value of 4.
25971         (hppa_expand_prologue): Likewise.
25972         * pa.h (PROMOTE_MODE): Likewise.
25973         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
25974         (FUNCTION_ARG_BOUNDARY): Likewise.
25976         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
25978         * pa.c (out_of_line_prologue_epilogue): Delete.
25979         (override_options): Remove -mspace related code.
25980         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
25981         (compute_frame_size): Only allocate space for register that
25982         actually need to be saved.
25983         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
25984         (TARGET_SWITCHES): Remove -mspace, -mno-space
25985         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
25986         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
25987         * pa/ee.asm, pa/ee_fp.asm: Delete.
25989         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
25991         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
25992         directive in column zero.
25994 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
25996         * m68k.c (output_function_prologue): Fix computation of save mask
25997         when generating PIC code.
25999 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
26001         * tree.c (build_type_attribute_variant): Move current_obstack restore
26002         after build_qualified_type call.
26004 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
26006         * configure.in: Use t-iris6, even with GNU LD.
26007         * config/mips/iris6gld.h: Fix typo in linker spec.
26008         * config/mips/t-iris6gld: Remove.
26010 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
26012         * rs6000.md (insv, extzv): Remove SImode dependence in named
26013         patterns.  Explicitly generate DImode RTL if PowerPC64 and
26014         operand is DImode.
26015         (insvdi): Reverse start and size in instruction template.
26017 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
26019         * invoke.texi: Typo fixes.
26021 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
26023         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
26024         handle at this time instead of silently generating incorrect code.
26025         (gen_imagpart): Likewise.
26027         * reload.c (find_reloads): Emit a USE for a pseudo register without
26028         a hard register if we could not create an optional reload for the
26029         pseudo.
26031 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26033         * c-typeck.c (output_init_element, process_init_element):
26034         When advancing constructor_unfilled_fields for a RECORD_TYPE,
26035         check for nameless bit fields.
26037 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
26039         * regclass.c (scan_one_insn): Notice subregs that change the
26040         size of their operand.
26041         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
26043 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
26045         * configure.in (alpha*-*-*): Include alpha/t-ieee.
26046         * configure: Rebuilt.
26047         * alpha/t-ieee: New file.
26049 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
26051         * rs6000.c (find_addr_reg): Do not select r0 as an address
26052         register.
26054 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
26056         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
26058 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
26060         * rs6000.md (movsf): Do not force easy FP constants into memory.
26062         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
26063         immed_double_const to ensure they are properly truncated then
26064         sign extended.
26066 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
26068         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
26069         always unless NO_DEBUG is used.  Compile this code
26070         unconditionally.
26071         (replace_symbols_in_block): Compile it unconditionally.
26073 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
26075         * configure.in (i?86-*-elf*): New target.
26076         * configure: Rebuilt.
26077         * i386/i386elf.h, i386/t-i386elf: New files.
26079 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
26081         * toplev.c (main): Don't complain about saying -gdwarf.
26082         (rest_of_compilation): Remove redundant code.
26084 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
26086         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
26088 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
26090         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
26091         "Li960R:", to avoid name clash.
26093 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26095         * loop.c (check_dbra_loop): When reversing a loop, delete all
26096         REG_EQUAL notes referencing the reversed biv except those which are
26097         for a giv based on it.
26099 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
26101         * version.c: Drop "gcc-" prefix from version #.
26103 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
26105         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
26106         the label if we're being verbose.
26108 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
26110         * m68k.c (output_function_prologue): Add pic register to mask
26111         if live and flag_pic.
26112         (output_function_epilogue): Likewise.
26114 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
26116         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
26117         directives in column zero.
26119         * pa/elf.h (ASM_FILE_START): Define.
26120         * pa/som.h (ASM_FILE_START): Include .level directives.
26121         * pa/hpux10.h (ASM_FILE_START): Delete.
26122         * pa/hpux11.h (ASM_FILE_START): Delete.
26124         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
26126 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26128         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
26129         when reload_out equals reload_in.
26131 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
26133         * invoke.texi (Spec Files): New node: Describe the contents of
26134         spec files.
26136 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
26138         * invoke.texi (DEC Alpha Options): Put @end table at
26139         beginning of line, to avoid confusing texi2html.
26141 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
26143         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
26144         introduced in previous delta.
26146 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
26148         * reload1.c (gen_reload): When synthesizing a 3 operand add
26149         sequence, improve test for when to reload OP1 into the reload
26150         register instead of OP0.
26152 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
26154         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
26156 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
26158         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
26159         string literal.
26161 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
26163         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
26164         (va_dcl): Use __builtin_va_alist_t.
26166 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
26168         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
26169         on the permanent_obstack.
26170         * dwarfout.c (output_type): Likewise.
26172 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26174         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26175         Merged from c-typeck.c and cp/typeck.c.
26176         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26177         Merged into c-common.
26179 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
26181         * c-lex.c (errorcount): Declare it.
26182         (finish_parse): Update errorcount when using CPPLIB.
26184 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
26186         * fixinc/inclhack.def(end_else_label): Double the backslash so
26187         sed gets a chance to see it.
26188         * fixinc/inclhack.sh: regen
26189         * fixinc/fixincl.x: regen
26191 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
26193         Add framework to support armv5 architecture when it becomes
26194         available:
26196         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
26197         (arm_arch5): New variable.
26198         (all_architectures): Add armv5 line.
26199         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
26200         -march=armv5 is specified on the command line.
26201         (arm_arch5): Export this variable.
26202         * invoke.texi: Document new string accepted by -march= switch for
26203         ARM ports.
26205         * config/arm/arm.h: Replace use of constant 12 as a register
26206         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
26207         * config/arm/arm.c: Replace use of constant 12 as a register
26208         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
26210         * config/arm/elf.h: Tidy up.
26211         * config/arm/coff.h: Tidy up.
26213 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
26215         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
26216         * gcc/config/mips/t-iris6gld: New file.
26217         * gcc/config/mips/iris6gld.h: Likewise.
26219 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26221         * c-decl.c (widest_integer_literal_type_node,
26222         widest_unsigned_literal_type) : New.
26223         (init_decl_processing): Handle/use the two new types.
26224         * c-common.c (type_for_size,type_for_mode) : Same.
26225         * c-lex.c (yylex) : Same.
26226         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26227         Same.
26228         * c-tree.h (widest_integer_literal_type_node,
26229         widest_unsigned_literal_type) : New.
26231 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
26233         * dwarfout.c (field_byte_offset): Correctly compute the object's
26234         byte offset for the first bit of a field which crosses an alignment
26235         boundary on a !BYTES_BIG_ENDIAN target.
26237 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
26239         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
26240         ntohs.
26242 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
26243                           Jeff Law <law@cygnus.com>
26245         * ginclude/varargs.h (va_dcl): Use word_mode for type of
26246         __builtin_va_list.
26248         * except.c: Include intl.h.
26249         (expand_eh_return): Set current_function_cannot_inline.
26250         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
26251         * function.h (struct function): Add eh_return_stub_label.
26252         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
26253         * Makefile.in (except.o): Depend on intl.h.
26255 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
26257         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
26258         same as offsettable in cases 1 and 2.
26260 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
26262         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
26263         (extlh, extwh): Likewise.
26265 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26267         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
26269 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
26271         * configure.in: Add arm-pe and thumb-pe targets.
26272         * configure: Regenerate.
26274         * thumb.c (arm_naked_function_p): New function: Determines if
26275         a function is naked (has no gcc generated prologue/epilogue).
26276         (is_called_in_ARM_mode): Return true if the func has the
26277         interfacearm attribute.
26278         (output_return): Do not generate a return for naked functions.
26279         (thumb_function_prologue): Do not generate a prologue for
26280         naked functions.
26281         (thumb_expand_prologue): Do not generate a prologue for naked
26282         functions.
26283         (thumb_expand_epilogue): Do not generate an epilogue for naked
26284         functions.
26285         (arm_valid_machine_decl_attribute): New function, copied from
26286         arm.c:  Permit naked and interfacearm attributes.
26288         * config/arm/pe.c: New file: Support code for arm-pe target.
26289         * config/arm/pe.h: New file: Header file for arm-pe target.
26290         * config/arm/tpe.h: New file: Header file for thumb-pe target.
26291         * config/arm/t-thumb-pe: New file: Makefile fragment for
26292         thumb-pe target.
26294 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
26296         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
26297         -fPIC or -fpic is specified.
26299 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
26301         * expr.c (emit_block_move): Use copy_to_mode_reg for
26302         !TARGET_MEM_FUNCTIONS case too.
26304         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
26305         appropriate.
26306         * configure: Rebuilt.
26307         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
26308         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
26309         definitions made redundant by dbxelf.h inclusion.  Delete
26310         lots of definitions related to assembly output that are
26311         specific to the SOM object format.
26312         * pa.c (output_function_prologue): Do not emit the function's
26313         name for OBJ_ELF.
26314         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
26315         * pa-pro.h: Deleted.
26316         * som.h: New file with SOM specific definitions.
26317         * elf.h: New file with ELF specific definitions.
26319         * elfos.h (const_section): Output a tab before assembler directives.
26320         (ctors_section, dtors_section): Likewise.
26321         (ASM_OUTPUT_SECTION_NAME): Likewise.
26323         * pa/pa1.h: Delete unused file.
26325 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
26327         * configure.in (hppa*-hp-hpux11*): New configuration.
26328         * configure: Rebuilt.
26329         * pa/pa-hpux11.h: New file.
26330         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
26331         command line.
26333         * mips.md (leasi, leadi): New patterns.
26335         * expr.c (emit_block_move): Properly handle case where one of the
26336         block move arguments has a queued increment or decrement.
26337         (clear_storage): Similarly.  Fix formatting goof.
26339 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
26341         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
26342         semicolon from the BSD VA_LIST replacement expression.
26344         * fixinc/inclhack.sh: regen
26345         * fixinc/fixincl.x: regen
26347         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
26348         now use the fixincl program.
26350 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
26352         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
26353         case.  Also make the PIC register call_used.
26355         * m68k.h (FINALIZE_PIC): Delete.
26356         * m68k.c (finalize_pic): Delete.
26358 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
26360         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
26361         to memory.
26363 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
26365         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
26367 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
26369         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
26371 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
26373         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
26375 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
26377         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
26379 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
26381         * rs6000.c (output_toc): Always use hex values for floating-point
26382         constants.  Store single-precision values in upper-half of TOC
26383         entry in 64-bit mode.
26384         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
26385         to final constraints.
26386         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
26387         (fctiwz): Improve accuracy of RTL for pattern.
26389 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26391         * expr.c (expand_expr): Allow RTL_EXPR's through the
26392         MAX_INTEGER_COMPUTATION_MODE checks.
26394 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
26396         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
26397         such that MASK_SUPPORT_ARCH is not negative.
26399 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
26401         * loop.c (verify_dominator): Properly handle ADDR_VEC and
26402         ADDR_DIFF_VEC insns that appear inside loops.
26404 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
26405                           Jeff Law <law@cygnus.com>
26407         * rs6000.md (movdf_hardfloat32): Revert previous patch.
26408         Handle LO_SUM the same as offsettable in cases 1 and 2.
26409         * rs6000.c (find_addr_reg): Revert previous patch.
26411 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
26413         * system.h (strstr): New external function declaration.
26414         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
26415         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
26416         * config.in, configure: Rebuilt.
26418 1999-06-24  Tom Tromey  <tromey@cygnus.com>
26420         * gcc.c (main): Read user-specified specs files after computing
26421         additional startfile_prefixes.
26423 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
26425         Revert these two patches:
26427         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26428         * loop.c (strength_reduce): When doing biv->giv conversion, update
26429         reg note of NEXT->insn.
26431         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26432         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26433         reg_biv_class.
26434         (recombine_givs): Set ix field after sorting.
26436 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26438         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
26439         for the parts of an UNSPEC / UNSPEC_VOLATILE.
26441 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
26443         *fixinc/inclhack.def:  Add fix development commentary
26444         (read_ret_type): reactivate and add selection clause
26445         (zzz_*): tweak output file name to match what is used in hackshell.tpl
26446         *fixinc/{fixincl.x|inclhack.sh}: regen
26448 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
26450         * expr.c (expand_expr): STRIP_NOPS before checking against
26451         MAX_INTEGER_COMPUTATION_MODE
26452         (check_max_integer_computation_mode): Likewise.
26454 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
26456         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
26458 1999-06-22  Jim Wilson  <wilson@cygnus.com>
26460         * expr.c (store_expr): When target is a promoted subreg, return a
26461         promoted subreg as a result.
26463 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
26465         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
26466         coding standards.
26467         (dwarf2out_define): Mark unused parameters appropriately.
26468         (gen_unspecified_parameters_die): Ditto.
26469         (gen_subprogram_die): Fix signed/unsigned warnings.
26470         (gen_variable_die): Ditto.
26472 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
26474         * fixinc/inclhack.def(end_else_label): combined else_label
26475         and endif_label and fixed the sed expression.
26476         *fixinc/{fixincl.x|inclhack.sh}: regen
26478 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
26480         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
26481         'x' when handling non-offsettable addresses
26483 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
26485         * final.c (shorten_branches): Don't try to split an insn that has
26486         been deleted.
26488 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
26490         * config/mips/mips.c (symbolic_expression_p): New function.
26491         (mips_select_rtx_section): Put symbolic expressions in the
26492         data section, not the read-only data section.
26494 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
26496         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
26498 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
26500         * collect2.c (main): Log frame table count.
26501         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
26502         (scan_prog_file) [COFF]: Handle frame tables.
26504         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
26505         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
26506         * alpha/elf.h: Undef them again.
26507         * alpha/vms.h: Remove their definitions.
26509 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26511         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
26512         remove the clobber of r0 and change the REG_UNUSED note to
26513         REG_INC.
26515 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
26517         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
26518         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
26519         fits in HOST_WIDE_INT and one uses union to access a long constant
26520         as double.
26522 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
26524         * sparc.c (sparc_override_options): Don't allow profiling for
26525         code models other than medlow.
26526         (sparc_function_profiler): New function from old FUNCTION_PROFILER
26527         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
26528         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
26529         (sparc_block_profiler): Likewise.
26530         (sparc_function_block_profiler_exit): Likewise.
26531         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
26532         (FUNCTION_BLOCK_PROFILER): Likewise.
26533         (BLOCK_PROFILER): Likewise.
26534         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
26535         (MCOUNT_FUNCTION): New.
26536         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
26537         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
26538         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
26539         (MCOUNT_FUNCTION): New.
26540         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
26541         (BLOCK_PROFILER): Delete.
26542         (MCOUNT_FUNCTION): New.
26544 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
26546         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
26548 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
26550         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26551         Add the macros.
26553         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26554         Ditto.
26556         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26557         Ditto.
26559         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26560         Ditto.
26562 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
26564         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
26565         types.
26567 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
26569         * i386/djgpp.h (LIB_SPEC): New.
26570         (STARTFILE_SPEC): New.
26572         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
26574 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
26576         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
26577         compiler flags.
26579         * system.h (WSTOPSIG): New macro.
26581 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
26583         * c-pragma.c (push_alignment): Don't ignore alignments greater than
26584         4 bytes.
26585         (insert_pack_attributes): Take into account member natural
26586         alignment.
26588         * i386/winnt.c (exports_head): New static variable.
26589         (i386_pe_record_exported_symbol): New function.
26590         (i386_pe_asm_file_end): Use.
26591         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
26592         symbols to be emitted at end of assembly.
26593         (ASM_DECLARE_OBJECT_NAME): Likewise.
26594         (ASM_DECLARE_FUNCTION_NAME): Likewise.
26596         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
26597         -iwithprefix.
26599 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
26601         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
26602         in last change.
26604 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
26606         * haifa-sched.c (sched_analyze_1): Use free_list instead of
26607         zapping reg_last_uses directly.
26608         (sched_analyze_2, sched_analyze_insn): Likewise.
26609         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
26611 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
26613         * rs6000.md (movdf_hardfloat32): Use worst case insn length
26614         attributes for cases 1 and 2.
26616 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
26618         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
26619         instead of set.
26621 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
26623         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
26625 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
26627         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
26628         PIC_OFFSET_TABLE_REGNUM for general alloaction.
26629         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
26630         must be stacked if it is used for PIC accesses.
26631         * arm.c (use_return_insn): Handle PIC register specially.
26632         (output_return_instruction): Likewise.
26633         (output_func_{prologue,epilogue}): Likewise.
26634         (output_expand_prologue): Likewise.
26636         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
26637         (*strsi_predec): Renamed from *strqi_predec.
26638         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
26639         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
26641         * arm.c (arm_override_options): Remove warning about PIC code
26642         not being supported.
26644 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
26646         * rs6000.c (find_addr_reg): New function.
26647         * rs6000.h (find_addr_reg): Declare.
26648         (offsettable_addr_operand): Delete.
26649         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
26650         from and stores to GPRs.
26652 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
26654         * alpha.c (alpha_expand_block_move): Use get_insns rather than
26655         gen_sequence as argument to emit_no_conflict_block.
26657 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26659         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
26660         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
26661         *fixinc/fixincl.x: regen
26662         *fixinc/inclhack.sh: regen
26664 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
26666         * added support for -mpcrel (PC relative addressing for m68k)
26667         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
26668         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
26669         * m68k.c (print_operand_address): Handle 32-bit PIC case.
26670         (comments for general_src_operand): Add some explanation
26671         about EXTRA_CONSTRAINTS.
26672         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
26673         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
26674         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
26675         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
26676         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
26677         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
26678         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
26679         if not already set.
26680         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
26681         * m68k.h (TARGET_PCREL): New target flag.
26682         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
26683         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
26684         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
26685         contains a SYMBOL_REF.  Relax this constraint during reload, since
26686         we want to use the predicates, not reload's built-in concept of a
26687         valid memory address, to control what insns need reloading.
26688         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
26689         operands (essentially 'g', 'm', and 's' under normal circumstances).
26690         * m68k.c (print_operand): Cause printing of pc-relative addresses
26691         to include pc register.
26692         (print_operand_address): Ditto.
26693         (general_src_operand): Accept operands that are not only
26694         general_operands, but are also valid when used as a pc-relative
26695         source.
26696         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
26697         (memory_src_operand): Similar, for memory_operands.
26698         (pcrel_address): New predicate to accept the special case of a
26699         pc-relative address.
26700         * m68k.md (many patterns): Rewrite common SImode, HImode, and
26701         QImode insns to accept *_src_operand instead of *_operand where
26702         pc-relative operands can fit.  For example, a pc-relative operand
26703         can be used as a memory source operand for addsi3, but not as a
26704         memory destination.
26705         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
26707 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
26709         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
26710         .thumb_set pseudo op to mark aliases of thumb functions.
26712 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
26714         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
26715         preference to ASM_OUTPUT_DEF, if it is defined.
26717         * tm.texi: Document new, optional target macro
26718         ASM_OUTPUT_DEF_FROM_DECLS.
26720 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26722         * fixincludes: ISCNTL patch
26723         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
26724         (dgux_int_varargs): new for DG/UX
26725         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
26727 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
26729         * invoke.texi (ia32 options): Fix typo.
26731 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26733         * loop.c (strength_reduce): When doing biv->giv conversion, update
26734         reg note of NEXT->insn.
26736 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
26738         * loop.c (move_movables): Note issues with replacing REGs with
26739         SUBREGs.
26740         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
26742 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
26744         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
26746         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
26747         the reference to `mcount' was not correct for the ELF on FreeBSD.
26749 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26751         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26752         reg_biv_class.
26754         (recombine_givs): Set ix field after sorting.
26756 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
26758         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
26759         to safe to extract a subword out of a REG.
26761 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26763         * sh.md (mulsi3): Don't add a no-op move at the end.
26765 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26767         * cse.c (cse_insn): Don't put hard register source into tables for
26768         the last insn of a libcall.
26770 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26772         * loop.c (strength_reduce): Insert sets of derived givs at every
26773         biv increment, even if it's the only one.
26775 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
26777         * dwarfout.c (add_incomplete_type): New fn.
26778         (output_type): Call it.
26779         (retry_incomplete_types): New fn.
26780         (dwarfout_finish): Call it.
26782         From Eric Raskin <ehr@listworks.com>:
26783         (output_type): Output types for bases.
26785 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
26787         * mips.c (mips_output_conditional_branch): Add `break'
26788         between `default' label and `close braces'.
26790 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
26792         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
26793         specifications and make it realistic.
26794         (LIB_SPEC): Likewise.
26796 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
26798         * config/mips/mips.c (mips_secondary_reload_class): Check for
26799         (PLUS (SP) (REG)) and return appropriate register class.
26800         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
26801         Handle (PLUS (SP) (REG)).
26802         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
26803         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
26804         of emit_insn for tablejump.
26806 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
26808         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
26809         asm_fprintf format string by itself.
26810         (output_function_profiler): Likewise.
26812 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
26814         * combine.c (simplify_logical, case AND): Only call
26815         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
26816         or the constant is positive.
26818 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
26820         * configure.in: Fix typo in rs6000-ibm-aix4 case.
26821         * configure: Regenerate.
26823 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
26825         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
26826         require a sub-version #.
26827         * configure: Rebuilt.
26829 1999-06-14  Robert Lipe  (robertlipe@usa.net)
26831         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
26833 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
26835         * c-typeck.c (process_init_element): Detect excess elements in
26836         char array initializer.
26838 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
26840         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
26842 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
26844         * invoke.texi (Option Summary): Add -fpermissive flag.
26846 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
26848         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
26849         that require PIC code sequences.
26851 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
26853         * configure.in: Add new target: thumb-elf.
26854         * configure: Regenerate.
26855         * config/arm/t-thumb-elf: New file: Makefile fragment for
26856         thumb-elf build.
26857         * config/arm/telf.h: New file: Header file for thumb-elf
26858         build.
26860 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
26862         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
26863         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
26864         initializers is some circumstances.
26866         * fixinc/inclhack.def (endif_label): Add additional selector for
26867         more bogus stuff after #endif statements.
26868         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
26870 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
26872         * i386/cygwin.h (SET_ASM_OP): Define.
26874 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
26876         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
26878 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26880         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
26881         latter.
26883         * sh.md (ic_invalidate_line_i): Remove second alternative.
26885 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26887         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
26888         test for the presence of valid prototypes.  Delete bypass expr.
26889         (ioctl_fix_ctrl): Correct the selection expression.
26890         (no_double_slash): Correct quoting rules
26891         *fixinc/fixincl.x: regen
26892         *fixinc/inclhack.sh: regen
26894 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
26896         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
26898 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
26900         * rs6000.md (movsi_got_internal_mem): Delete.
26901         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
26902         (GOT_TOC_REGNUM): Delete.
26903         (PIC_OFFSET_TABLE_REGNUM): Define.
26904         (FINALIZE_PIC): Disable.
26905         * rs6000.c (rs6000_got_register): New code for fixed pic register.
26906         (rs6000_replace_regno): Delete.
26907         (rs6000_finalize_pic): Likewise.
26908         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
26910 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26912         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
26913         is a note; use <= for the compare; advance P while it is
26914         a NOTE.
26916 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
26918         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
26919         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
26921         * varasm.c (remove_from_pending_weak_list): Verify t->name
26922         is non-NULL before passing it to strcmp.
26924 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26926         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
26927         the typed arguments are not part of a comment
26928         (ioctl_fix_ctrl): Added a purpose comment
26929         *fixinc/fixincl.x: regenerate
26930         *fixinc/inclhack.sh: regenerate
26932 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
26934         * invoke.texi: Add C4x invocation docs.
26936 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
26938         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
26939         Define new macros.
26940         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
26941         TARGET_EXPOSE_LDP.
26942         (c4x_legitimize_reload_address): New function.
26943         * config/c4x/c4x.md: Update docs.
26945 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
26947         * fixincludes: Avoid removing '.'.
26948         * fixinc/fixinc.svr4: Likewise.
26949         * fixinc/fixinc.winnt: Likewise.
26950         * fixinc/inclhack.tpl: Likewise.
26951         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
26953 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
26955         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
26956         pattern.
26957         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
26959 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
26961         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
26962         correctly.
26964 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
26966         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
26967         * configure: Regenerate.
26969 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
26971         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
26972         values.
26974 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
26976         * fixinc/inclhack.def (avoid_bool): Also catch
26977         "typedef [unsigned] int bool".
26978         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
26980         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
26981         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
26982         * configure: Rebuilt.
26984 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
26986         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
26987         such that we can override its definitions if necessary.
26988         (CPP_SPEC): New define.  Support processor specific predefines via
26989         %(cpp_cpu).
26990         (CC1_SPEC): New define.  Support processor specific compiler
26991         options via %(cc1_cpu).
26992         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
26993         -static.
26995 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
26997         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
26998         between sed's -e flag, and the open-quote following it.
26999         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
27001 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
27002                           Jeffrey A Law  (law@cygnus.com)
27004         * varasm.c (assemble_start_function): Remove the function
27005         from the pending weak decls list when we define a function.
27006         (assemble_variable): Similarly for variables.
27007         (weak_finish): Ignore items on the list with a NULL name.
27008         (remove_from_ending_weak_list); New function to "remove" an item
27009         from the pending weak declarations list.
27011 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
27013         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
27015 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
27017         * c-lex.c (GETC): Redefine to call getch.
27018         (UNGETC): Redefine to call put_back.
27019         (putback_buffer): New structure type.
27020         (putback): New static structure.
27021         (getch): New function.
27022         (put_back): New function.
27023         (yylex): Replace unused bytes from bad multibyte character.
27025 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
27027         * cpplib.c (do_define): Cast `alloca' return value.
27028         (do_include, do_undef, do_pragma): Likewise.
27029         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
27030         values.
27031         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
27032         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
27034 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
27036         * sparc.md (abstf2): This should be an expand.
27037         (split after abstf2_notv9): Fix mode.
27038         (abstf2_hq_v9): New pattern.
27039         (abstf2_v9): Only use when no hard quad.
27040         (absdf2_v9): Fix if target is not the same as source.
27041         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
27042         Add correct output constraints.
27044 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
27046         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
27047         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
27049 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
27051         * mips.h (mips_output_conditional_branch): New function.
27052         (mips_adjust_insn_length): Likewise.
27053         (ASSEMBLER_SCRATCH_REGNUM): New macro.
27054         (ADJUST_INSN_LENGTH): Likewise.
27055         * mips.c (print_operand): Add `F' and `W' for floating-point
27056         comparison opcodes.
27057         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
27058         are now in bytes.
27059         (mips_adjust_insn_length): New function.
27060         (mips_output_conditional_branch): New function.
27061         * mips.md (length): Adjust attribute definition to handle
27062         conditional branches.  Change lengths to bytes, rather than
27063         instructions throughout.  Remove length attribute from
27064         instructions whose length is four bytes, and rely on the default
27065         instead.
27066         (dslot): Fix typo in comment.
27067         Reword conditional branch patterns to use
27068         mips_output_conditional_branch.
27070 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
27072         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
27073         (LIB_SPEC): Likewise.
27074         Link with -lprof1_r for -g/-pg.
27076 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27078         * loop.c (check_dbra_loop): Fix change of Jan 19.
27080 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
27082         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
27083         (STARTFILE_SPEC):  Define, override the svr4.h version.
27084         (ENDFILE_SPEC):  Likewise.
27086 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
27088         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
27089         * fixinc/fixincl.x: Regenerated.
27090         * fixinc/inclhack.sh: Regenerated.
27092 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27094         * sh.c (barrier_align): Don't return early for normal branch/barrier
27095         when optimizing for SH2.
27097 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
27099         * i386/udk.h (LINK_SPEC): Correct linker search path for
27100         system libraries.
27102 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27104         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
27105         (braf_label_ref_operand): Delete.
27106         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
27107         * sh.md (casesi_jump_2): Operand1 is now the inside of a
27108         label_ref, and has no predicate.
27109         The patten has a predicate to guard against invalid substitutions.
27110         (dummy_jump): Delete.
27111         (casesi): Update use of casesi_jump_2.
27113 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27115         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
27116         *fixinc/fixincl.x: regenerate
27117         *fixinc/inclhack.sh: regenerate
27119 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
27121         * dwarf2out.c (add_incomplete_type): New fn.
27122         (gen_struct_or_union_type_die): Call it.
27123         (retry_incomplete_types): New fn.
27124         (dwarf2out_finish): Call it.
27126 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
27128         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
27129         current block starts with a CODE_LABEL and ends with a CALL and
27130         we can not find all the argument setup instructions for the CALL.
27132 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
27134         Revert this change:
27135         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
27136         something is a candidate for optimize_bit_field_compare.
27138 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27140         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
27142 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
27144         * alpha.c (override_options): Thinko in last patch.
27146         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
27147         (LIB_SPEC): Recognize -pthread.
27149 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
27151         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
27152         definition in config/arm/coff.h
27153         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
27155 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27157         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
27158         fixes that need "file=xxx\n" prepended before invocation
27159         (start_fixer - new): starting the fixer process is complex enough
27160         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
27161         (process): uses the new routine; omit usage of putenv()
27162         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
27163         * fixinc/fixincl.x: regenerate
27165 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
27167         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
27168         and version #s (1.1 -> 2.96) as needed.
27169         * README.g77: Kill way out of date file in the toplevel directory.
27171 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
27173         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
27174         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
27175         * configure: Rebuilt.
27176         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
27177         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
27178         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
27179         (SWITCH_TAKES_ARG): Likewise.
27180         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
27181         * config/t-freebsd: Moved from config/i386/ so it can used for all
27182         FreeBSD targets.
27184 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
27186         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
27188 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
27190         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
27191         * configure: Rebuilt.
27193 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
27195         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
27196         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
27197         * rs6000/rs6000.c (rs6000_file_start): Use putc.
27198         (rs6000_output_load_toc_table): Same.
27199         (output_prolog, output_mi_thunk): Same.
27200         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
27201         (ASM_GLOBALIZE_LABEL): Use putc.
27203 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
27205         * alpha.md (reload_*_help): New patterns and splitters.
27206         (reload_*): Use them.
27207         (mov[qh]i): Likewise.
27209 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
27211         * cccp.c (handle_directive): Handle backslash-newlines in quoted
27212         strings correctly.
27214 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
27216         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
27218 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
27220         * flow.c (mark_regs_live_at_end, insn_dead_p,
27221         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
27222         and HARD_FRAME_POINTER_REGNUM special treatment if reload
27223         hasn't run or the frame pointer is needed.
27224         * haifa-sched.c (attach_deaths): Likewise.
27225         * sched.c (attach_deaths): Likewise.
27227 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
27229         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
27230         calculate_can_reach_end returns nonzero.
27232         * configure.in (native gas tests): Search for an assembler in the
27233         same manner that the installed compiler will.
27234         * configure: Rebuilt.
27235         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
27237         * alias.c (find_base_term): Improve handling of addresses
27238         constructed from binary operations.
27240 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
27242         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
27244 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
27246         * function.h (cleanup_label, frame_offset): Declare.
27247         (tail_recursion_label, tail_recursion_reentry): Likewise.
27248         (arg_pointer_save_area, rtl_expr_chain): Likewise.
27249         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
27250         (tail_recursion_label, tail_recursion_reentry): Likewise.
27251         (arg_pointer_save_area, rtl_expr_chain): Likewise.
27253 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
27255         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
27256         defined.
27257         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
27258         (MAX_OFILE_ALIGNMENT): Define.
27260 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
27262         * fixincl.c: Replace local include scheme with #includes of
27263         gansidecl.h and system.h.
27264         * procopen.c:  Likewise.
27265         * server.c:  Likewise.
27267 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
27269         * i386/t-dgux (EXTRA_PARTS): Add crti.o
27270         (crti.o): Add build rule and dependencies.
27271         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
27273 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
27275         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
27276         (LIB_LINUX_SPEC): Likewise.
27277         (LIB_LINUX_SPEC): Add support for -pthread
27278         (CPP_OS_LINUX_SPEC): Likewise.
27279         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
27280         specified.
27282 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
27284         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
27285         conditional move.
27286         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
27287         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
27288         for IEEE math and CC_FCOMI.
27289         (put_jump_code): No IEEE if CC_FCOMI is set.
27291 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27293         * fold-const.c (fold_truthop): Make the field reference unsigned
27294         when converting a single bit compare.
27296 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27298         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
27300 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
27302         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
27303         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
27304         version did.
27306         * reload.c (push_reload): Do not call remove_address_replacements
27307         when presented with identical optional reloads.
27309 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
27311         * alpha.h (MASK_FIX, TARGET_FIX): New.
27312         (MASK_*): Reorganize constants.
27313         (CPP_AM_FIX_SPEC): New.
27314         (TARGET_SWITCHES): Add FIX.
27315         (EXTRA_SPECS): Likewise.
27316         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
27317         (SECONDARY_MEMORY_NEEDED): Likewise.
27318         (REGISTER_MOVE_COST): Likewise.
27319         * alpha.c (override_options): Add FIX support.  Always use
27320         ALPHA_TP_PROG for ev6.
27321         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
27322         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
27323         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
27325 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
27327         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
27328         something is a candidate for optimize_bit_field_compare.
27330 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
27332         * gcc.texi (Passes): Document branch-shortening.
27333         * invoke.texi (Debugging Options): Document the fact that `-dp'
27334         outputs length information for instructions.
27336 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
27338         * flow.c: Revert previous delta.
27340 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
27342         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
27343         FRAME_POINTER_REGNUM.
27344         (mark_set_1): Ditto.
27345         (mark_used_regs): Ditto.
27347 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
27349         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
27350         (GOT_PCREL): New macro.  Define to 1 if not already defined.
27351         * arm/elf.h (GOT_PCREL): Define to 0.
27352         * arm.c (arm_finalize_pic): Take into account the setting of
27353         GOT_PCREL.
27355 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
27357         * output.h (STRIP_NAME_ENCODING): Provide default definition.
27358         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
27360         * flow.c (mark_set_1): Do not record BLKmode stores as dead
27361         store elimination candidates.
27363 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
27365         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
27366         TARGET_GAS.
27368 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
27370         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
27371         Add use of x-aix41-gld.
27373 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
27375         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
27376         (ASM_OUTPUT_DESTRUCTOR): Define.
27378 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
27380         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
27381         last CODE_LABEL in a loop if we have previously passed a jump
27382         to the top of the loop.
27384 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
27386         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
27387         applying Philip's patch.
27389 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
27391         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
27392         are not VAR_DECLs.
27394 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
27396         * loop.c (strength_reduce): Grow reg_single_usage as needed.
27398 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
27400         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
27401         Also remove a useless comment.
27403 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
27405         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
27407 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
27409         * collect2.c (main): Only generate import or export file and add
27410         to link arguments if non-empty.  Use xmalloc not alloca.
27411         (write_{export,import}_file): Delete.
27412         (write_aix_file): New function.
27413         (locatelib): Use xmalloc not malloc.
27414         (GCC_OK_SYMBOL): Do not check type if aix64.
27416 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
27418         Based on patch by Scott Bambrough and Pat Beirne:
27419         * config/arm/arm.c (making_const_table): New variable.
27420         * config/arm/arm.h (making_const_table): Declare.
27421         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
27422         appropriate.
27423         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
27424         Keep track of when we are building the constant table.
27426 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
27428         * config/arm/arm.c (arm_override_options): Fix erroneous warning
27429         message.
27431 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
27433         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
27434         defined.
27436 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
27438         * tm.texi (FUNCTION_ARG): Correct description of a stack element
27439         in a PARALLEL.
27441 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
27443         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
27445 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
27447         * rs6000.c (output_mi_thunk): Enable full support again.
27449 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27451         * sh.h (BRANCH_COST): Define.
27453 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
27455         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
27457 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
27459         * function.c (assign_stack_local): Align stack slot propertly.
27460         (assign_outer_stack_local): Likewise.
27462 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
27464         * expr.h (lang_expand_constant): Declare.
27465         * toplev.c (lang_expand_constant): Define it.
27466         * varasm.c (output_constant): Use it.
27468 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
27470         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
27471         Change function definitions to K&R style.
27473 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27475         * fixinc/fixincl.c: We must not ignore SIGCLD now.
27477 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
27479         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
27480         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
27481         (several places): omit static initialization
27482         (process): use single fd, since only the read fd is used
27483         * fixinc/gnu-regex.c: define 'const' away, if not supported
27484         * fixinc/procopen.c(several places): omit static initialization
27485         * fixinc/server.c: define 'volitile' away, if not supported
27487 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27489         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
27490         asm_fprintf and %L to generate the label name.
27491         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
27492         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
27494 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
27496         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
27497         insn for a conditional jump can not be found.
27499 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
27501         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
27502         on variables in specific sections other than .sbss and .sdata.
27504 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
27506         * stmt.c (expand_return): Call start_cleanup_deferral and
27507         end_cleanup_deferral around conditional code.
27509 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27511         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
27512         filename lists.  Utilizes new "krstr" AutoGen function.
27513         * fixinc/fixincl.x: Rebuilt.
27515 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
27517         * i386.c (output_float_compare): Avoid GNU-C extensions.
27519 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
27521         * version.c: Bump to distinguish mainline tree from the
27522         gcc-2.95 branch.
27524 See ChangeLog.1 for earlier changes.