OSDN Git Service

* config/avr/t-avr: Added definition of FLOAT while generates
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 Sat May 13 00:09:59 2000  Denis Chertykov  <denisc@overta.ru>
2
3         * config/avr/t-avr: Added definition of FLOAT while generates
4         fp-bit.c
5
6         * config/avr/avr.md: `NEXT_INSN (insn)' substituted to `insn' in
7         peepholes for tst+jump = sbrs/sbrc optimization.
8
9 Fry May 12 20:03:00 CEST 2000  Jan Hubicka  <jh@suse.cz>
10
11         * expr.c (emit_push_insn): Do not adjust stack pointer when
12         preallocating.
13
14 Fri May 12 19:03:58 2000  Philippe De Muyter  <phdm@macqel.be>
15
16         * ggc-simple.c (offsetof): Macro fallback definition moved from here ..
17         * system.h (offsetof): ... to here.
18
19 2000-05-12  Richard Henderson  <rth@cygnus.com>
20
21         * Makefile.in (final.o): Depend on BASIC_BLOCK_H.
22         * final.c (final_end_function): Use app_disable.  Rearrange note
23         handling into a switch.  Emit deleted labels.
24         (output_asm_label): Generate label strings for deleted labels.
25         * flow.c (tail_recursion_label_list): New.
26         (find_basic_blocks_1): Set label_value_list directly.  Collect list
27         of tail recursion labels from call_placeholders.  Don't add deleted
28         labels to the label value list.
29         (cleanup_cfg): Use free_EXPR_LIST_list.
30         (flow_delete_insn_chain): Turn non-removable labels into notes.
31         (flow_delete_block): Don't disable deleting the block because of
32         a non-removable label.
33         (tail_recursion_label_p): New.
34         (merge_blocks_move_predecessor_nojumps): Don't disable the merge
35         because of a label.
36         (merge_blocks_move_successor_nojumps): Likewise.  Also move a
37         jump table.
38         (merge_blocks): Disable a merge because of tail recursion labels.
39         * ifcvt.c (merge_if_block): Don't disable a merge because of a label.
40         Use a more accurate measure of not merging the join block.
41         (find_if_block): Don't disable conversion because of a label.
42         (find_if_case_1, find_if_case_2): Likewise.
43         * jump.c (duplicate_loop_exit_test): Preserve the kind of list
44         element when copying.
45         (squeeze_notes): Also leave EH notes.
46         (mark_jump_label): Ignore deleted labels.  Use an INSN_LIST for
47         REG_LABEL notes.
48         (delete_insn): Preserve LABEL_NAME in NOTE_SOURCE_FILE when
49         deleting a label.
50         * print-rtl.c (print_rtx): Print NOTE_SOURCE_FILE for
51         NOTE_INSN_DELETED_LABEL.  Print `[# deleted]' for a label_ref
52         referring to a deleted label.  Convert tail handling to a switch.
53         * rtl.def (CODE_LABEL): Rearrange elements to be compatible with NOTE
54         for NOTE_INSN_DELETED_LABEL.
55         (NOTE): Fix commentary.
56         * rtl.h (REG_LABEL): Update commentary wrt INSN_LIST.
57         (REG_CC_SETTER, REG_CC_USER, REG_LIBCALL): Likewise.
58         (CODE_LABEL_NUMBER, LABEL_NAME): Update index.
59         (LABEL_NUSES, LABEL_REFS): Likewise.
60         * unroll.c (copy_loop_body): Don't copy NOTE_INSN_DELETED_LABEL.
61
62 2000-05-12  Bruce Korb  <bkorb@gnu.org>
63
64         * fixinc/fixfixes.c(format_write): buglet & relaxed rules
65
66 2000-05-12  Zack Weinberg <zack@wolery.cumb.org>
67
68         * fixinc/fixfixes.c (IO_use_fix, IO_defn_fix, CTRL_use_fix,
69         CTRL_defn_fix): Delete.
70         (fix_char_macro_defines, fix_char_macro_uses): Rename to
71         char_macro_def_fix and char_macro_use_fix, respectively.  Put
72         them into the FIXUP_TABLE.  Get the string to search for from
73         a c_fix_arg.
74
75         (format_write): New function.
76         (format_fix): Use it.
77
78         (FIX_PROC_HEAD): Constify text parameter.
79         (machine_name_fix): Constify all char *s.
80         * fixtests.c (skip_quote): Remove double static.
81
82         * inclhack.def (io_def_quotes, io_use_quotes, ctrl_def_quotes,
83         ctrl_use_quotes): Update for new scheme.
84         * fixincl.x: Regenerate.
85
86 2000-05-12  Alexandre Oliva  <aoliva@cygnus.com>
87
88         * config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
89         DWARF2_DEBUG.
90         (DWARF2_ASM_LINE_DEBUG_INFO): Define.
91         (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
92
93 2000-05-11  Richard Henderson  <rth@cygnus.com>
94
95         * calls.c: Revert both 05-09 patches.
96
97 2000-05-11  Alexandre Oliva  <aoliva@cygnus.com>
98
99         * config/mn10300/mn10300.c (print_operand): Print FP constants in
100         hexadecimal.
101         * config/mn10300/mn10300.md (movsf, movdf): Use the `F' constraint
102         for FP values.
103
104         * mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
105         and replace any occurrences of `=' in multilib dirs with `$(EQ)'.
106
107 2000-05-11  Jason Merrill  <jason@casey.cygnus.com>
108
109         * fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.
110
111 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
112
113         * fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.
114
115 Thu May 11 22:28:05 2000  Denis Chertykov  <denisc@overta.ru>
116
117         * config/avr/avr-protos.c (jump_over_one_insn_p): New declaration.
118         * config/avr/avr.c (jump_over_one_insn_p): New function.
119         * config/avr/avr.md: New peepholes added. Output test and
120         conditional jump to "sbrc" or "sbrs" command.
121
122 2000-05-11  Mark Elbrecht  <snowball3@bigfoot.com>
123
124         * cppmain.c (main): Use IS_DIR_SEPARATOR.
125
126 2000-05-11  Jakub Jelinek  <jakub@redhat.com>
127
128         * except.c (find_exception_handler_labels_1): New function.
129         (find_exception_handler_labels): Split into two functions, dive
130         into CALL_PLACEHOLDERs when looking for exception handler labels.
131
132 2000-05-11 Stan Cox <scox@cygnus.com>
133
134         * regrename.c (replace_reg_in_block): Improve REG_DEAD handling.
135         * timevar.def (TV_RENAME_REGISTERS): Move before TV_SCHED2.
136         * toplev.c (rest_of_compilation): Call regrename_optimize before sched2.
137
138 2000-05-11  Bruce Korb  <bkorb@gnu.org>
139
140         * fixinc/fixfixes.c (double_slash_fix):  obsolete
141         (else_endif_label_fix): obsolete
142         (format_fix):  new, unused as yet
143         (main): obsolete
144         * fixinc/fixlib.h: added fix description struct for use by format_fix
145         * fixinc/fixincl.c: removed the struct & test for SIGIOT befure using
146         * fixinc/Makefile.in:  compile fixfixes.c and fixtests.c as separate
147         modules.  Removed the vestiges of the script version.
148         Added support for "make check".
149         * fixinc/check.diff: base diff file (needs work!!)
150         * fixinc/check.tpl: quiet the fixup output
151         * fixinc/fixtests.c (main): obsolete
152         * fixinc/fixincl.sh:  don't bother copying fixincl to ..
153         * fixinc/fixincl.tpl:  provide for arguments to c_fix routines
154
155 Thu May 11 11:57:02 MET DST 2000  Jan Hubicka <jh@suse.cz>
156
157         * toplev.c (rest_of_compilation): Remove dead code after
158         combine.
159
160 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
161
162         * cpphash.c (collect_funlike_expansion): Make "# is not
163         followed by a macro argument name" a pedwarn, not an error.
164         Preserve the # in the output.  Suppress the warning if lang_asm.
165
166 Thu May 11 01:19:31 2000  Jeffrey A Law  (law@cygnus.com)
167
168         * configure.in (hppa*64*-*-hpux11*): New target for PA64 support.
169         * configure: Rebuilt.
170
171 2000-05-10 Laurynas Biveinis <lauras@softhome.net>
172
173         * i386/xm-djgpp.h (XREF_FILE_NAME): Add mising brace.
174
175 2000-05-10  Kazu Hirata  <kazu@hxi.com>
176
177         * combine.c (try_combine): Fix a typo.
178
179 Wed May 10 21:31:44 2000  Jim Wilson  <wilson@cygnus.com>
180
181         * config/ia64/ia64.md (insv): Add comment.
182
183 2000-05-10  Richard Henderson  <rth@cygnus.com>
184
185         * Makefile.in (libgcc.a, stmp-multilib): Depend on FPBIT and DPBIT.
186         * mklibgcc.in: Rewrite to not use functions.  Don't shortcut
187         dependancies on FPBIT and DPBIT.
188
189 2000-05-10  Nick Clifton  <nickc@redhat.com>
190
191         * flow.c (find_auto_inc): Do not bias REG_N_REFS by loop_depth
192         when optimising for size.
193         (mark_used_regs:) Ditto.
194         (try_pre_increment_1): Ditto.
195
196 2000-05-10  Zack Weinberg  <zack@wolery.cumb.org>
197
198         * cppexp.c (lex): Use %.*s to print non-NUL-terminated string.
199         Make error message friendlier.
200
201         * cpphash.h (struct hashnode): Use struct hack for name
202         member.
203         * cpphash.c (struct hashdummy): New.
204         (eq_HASHNODE): Second argument is a hashdummy, not a HASHNODE.
205         (make_HASHNODE): No need to set ->name pointer.  Correct
206         setting of p.
207         (cpp_lookup): Make 'dummy' a struct hashdummy.  Tidy up a bit.
208
209 2000-05-10  Richard Henderson  <rth@cygnus.com>
210
211         * flow.c (find_basic_blocks_1): Remove any spare bb_note
212         after completion.
213
214 2000-05-10  Bruce Korb  <bkorb@gnu.org>
215
216         * fixinc/gnu-regex.c:  reg_syntax_t re_syntax_options must be static
217
218 2000-05-10  Eric Schweitz  <schweitz@nortelnetworks.com>
219
220         * dwarfout.c (dwarfout_finish): Call retry_incomplete_types
221         after we enter .debug.
222
223 2000-05-10  Jason Merrill  <jason@casey.cygnus.com>
224
225         * dwarf2out.c (gen_subprogram_die): Fixup die_parent for the
226         abstract instance of a nested inline function.
227
228         * stor-layout.c (finish_record_layout): finalize_type_size
229         before laying out the pending_statics.
230
231 Wed 10 May 09:36:47 2000  Neil Booth  <NeilB@earthling.net>
232
233         * cpplex.c (spell_token): New function.
234         (spell_string, spell_comment, spell_name): fold into
235         spell_token.    
236         (I, S): Add macros.
237         (E, H): Remove macros.
238         (save_comment): Save comment opening characters too.
239         (_cpp_lex_file): Update to use spell_token.  Tidy up comment
240         handling.
241         * cpplib.h (I, S): Add macros.
242         (E, H): Remove macros.
243         (TTYPE_TABLE): Update entries for new speller.
244         (SYNTAX_ASSERT): Remove.
245
246 Wed 10 May 09:08:30 2000  Neil Booth  <NeilB@earthling.net>
247
248         * cpplex.c (_cpp_lex_line): Maintain PREV_WHITESPACE flag
249         when removing escaped newlines.  Reverse sense of test for
250         escaped newline.
251
252 2000-05-09  Richard Henderson  <rth@cygnus.com>
253
254         * flow.c (find_basic_blocks_1): Do not delete the first
255         bb_note we run across.
256         (create_basic_block): Use reorder_insns to move an existing
257         bb_note to the correct place.
258
259 2000-05-09  Richard Henderson  <rth@cygnus.com>
260
261         * calls.c (expand_call): Increment currently_expanding_call
262         before calling optimize_tail_recursion.
263
264 Tue May  9 18:54:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
265
266         * reload1.c (reload_combine): Fix errors in last change.
267
268 2000-05-09  Zack Weinberg  <zack@wolery.cumb.org>
269
270         * gcc.c (used_arg): Skip over a semicolon at the end of the
271         split-up loop; don't break out of it.
272
273         * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
274         (tree.o): Depend on output.h.
275
276         * c-decl.c (pending_invalid_xref_file,
277         current_function_prototype_file): Constify.
278         (pushdecl): Constify a local char *.
279         (define_label): Constify filename parameter.
280         * c-lex.c (init_parse): Constify parameter and return value.
281         * c-typeck.c (c_expand_asm_operands): Constify filename parameter.
282         * c-tree.h: Update prototypes.
283         * c-parse.in: Constify filename member of %union, and if_stmt_file.
284         * c-parse.y, c-parse.c, c-parse.h, objc/objc-parse.y,
285         objc/objc-parse.c: Regenerate.
286
287         * dwarfout.c (dwarfout_init): Constify main_input_filename parameter.
288         * dwarfout.h: Update prototypes.
289         * expr.c (expand_expr): Constify a local char *.
290         * flags.h: Constify main_input_filename.
291         * function.c (expand_function_end): Constify filename parameter.
292         * genrecog.c (make_insn_sequence): Use a character array for
293         c_test_pos.
294         (main): Remove unused variables.
295         * input.h: Constify input_filename, main_input_filename, and
296         file_stack.name.  Update prototypes.
297         * output.h: Declare first_global_object_name and
298         weak_global_object_name here, as const char *.
299         * stmt.c (expand_asm_operands): Constify filename parameter.
300         * toplev.c (compile_file, push_srcloc, debug_start_source_file):
301         Constify filename parameter.
302         (input_filename, main_input_filename): Constify.
303         * toplev.h: Update prototypes.
304         * tree.c: Include output.h.  Don't declare
305         first_global_object_name or weak_global_object_name.  Clean up string
306         bashing in get_file_function_name_long.
307         * tree.h (struct tree_decl): Constify filename member.
308         (input_filename): Constify.
309         Update prototypes.
310         * varasm.c (first_global_object_name, weak_global_object_name):
311         Constify.
312         (assemble_start_function, assemble_variable): Clean up string bashing.
313
314         * gcc.c: Constify all spec-related strings initialized,
315         transitively, from string constants.  Constify all strings
316         and string variables related to multilibs.
317         (set_spec, read_specs): Cast argument to free to PTR.
318         (used_arg): Do not modify multilib_matches.  Use strncmp plus
319         length comparison to compare multilib switches.
320         * genmultilib: Constify everything declared in multilib.h.
321
322 Tue May  9 22:28:03 2000  Denis Chertykov  <denisc@overta.ru>
323
324         * flow.c (flow_delete_insn): Use INSN_DELETED_P for marking insn
325         as deleted.
326
327 Tue May  9 20:52:43 2000  Denis Chertykov  <denisc@overta.ru>
328
329         * config/avr/avr-protos.h (extra_constraint): change a type of
330         second argument from char to int to avoid warnings.
331         (asm_output_byte): Likewise.
332         
333         * config/avr/avr.c (MAX_LD_OFFSET) New macro.
334         (initial_elimination_offset): Handle elimination from
335         FRAME_POINTER_REGNUM to STACK_POINTER_REGNUM.
336         (legitimate_address_p): Use MAX_LD_OFFSET.
337         (legitimize_address): Likewise.
338         (out_movqi_r_mr): Likewise.
339         (out_movhi_r_mr): Likewise, use `fatal_insn' instead of `fatal'.
340         (out_movsi_r_mr): Use MAX_LD_OFFSET.
341         (out_movsi_mr_r): Likewise.
342         (out_movqi_mr_r): Likewise.
343         (out_movhi_mr_r): Likewise.
344         (notice_update_cc): Correct CC for the ashrqi3 with the shift
345         count as CONST_INT != 6.
346         (ashlqi3_out): Coding style modifications. Run `fatal_insn' if
347         shift count is a CONSTANT_P, but not a CONST_INT.
348         (ashlhi3_out): Coding style modifications.
349         (ashlsi3_out): Likewise.
350         (ashrhi3_out): Likewise.
351         (ashrsi3_out): Likewise.
352         (lshrhi3_out): Likewise.
353         (lshrsi3_out): Likewise.
354         (ashrqi3_out): Generate shift for any known constant count without
355         scratch register. Run `fatal_insn' if shift count is a CONSTANT_P,
356         but not a CONST_INT.
357         (lshrqi3_out): Coding style modifications. Run `fatal_insn' if
358         shift count is a CONSTANT_P, but not a CONST_INT. 
359         (extra_constraint): change a type of
360         second argument from char to int to avoid warnings.
361         (asm_output_byte): Likewise.
362         (asm_file_end): Output size generated commands count as a hex
363         number too.
364
365         * config/avr/avr.h (RETURN_ADDR_RTX): New macro.
366
367         * config/avr/avr.md (addhi3): Fragment commented by &&0 is
368         removed.
369         (ashlqi3): Values of "length" attribute changed. Shift count
370         uses constraints 'n' instead of 'i'.
371         (ashrqi3): Likewise. Values of "cc" attribute changed. Generate
372         shifts without clobber register.
373         (lshrqi3): Shift count uses constraints 'n' instead of 'i'.
374         (call_insn): Correct test for which_alternative == 1 (was 0).
375         (call_value_insn): Likewise.
376         
377         * config/avr/t-avr: Remove definition of FLOAT while generates
378         fp-bit.c
379
380 2000-05-09  Bruce Korb  <bkorb@gnu.org>
381
382         * fixinc/check.tpl:  Template for checking fixes
383         * fixinc/inclhack.def:  Added 'test_text' for many fixes
384         disable hpux8_bogus_inlines on SCO
385         * fixinc/fixinc.sco:  Oh, yes, we don't need this any more.
386
387 Tue May  9 16:30:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
388
389         * calls.c (expand_call): Reorganize somewhat in order
390         to avoid unnecesary recalculation inside loop and make
391         tail call failure code cleaner.
392         
393 Tue May  9 06:30:20 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
394
395         * alias.c (nonlocal_reference_p): Minor reformatting.
396         * reload.c (find_equiv_reg): Simplify logic for
397         CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and
398         some some reformatting.
399         * reload1.c (reload_combine): Don't assume everything in
400         CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit.
401
402 2000-05-08  Richard Henderson  <rth@cygnus.com>
403
404         * final.c (current_insn_predicate): New.
405         (final_scan_insn): Set it.
406         * output.h (current_insn_predicate): Declare.
407
408         * ifcvt.c (cond_exec_process_insns): New argument prob_val.
409         Attach it to call insns.
410         (cond_exec_process_if_block): Track probability for true and
411         false branches.
412         (dead_or_predicable): Likewise.
413
414         * predict.c (PROB_NEVER, PROB_VERY_UNLIKELY): New.
415         (PROB_UNLIKELY, PROB_EVEN, PROB_LIKELY): New.
416         (PROB_VERY_LIKELY, PROB_ALWAYS): New.
417         (estimate_probability, expected_value_to_br_prob): Use them.
418
419         * config/ia64/ia64-protos.h (ia64_expand_prediction): Declare.
420         * config/ia64/ia64.c (ia64_print_operand_address): Handle 'j'.
421         (ia64_expand_prediction): New.
422         (emit_insn_group_barriers): Don't look at notes.  Emit barriers
423         as needed after calls.
424         (ia64_epilogue_uses): Mark b0 used.
425         * config/ia64/ia64.md (beq_true, beq_false): Remove.
426         (bne_true, bne_false): Remove.
427         (eq_return, eq_not_return, ne_return, ne_not_return): Remove.
428         (br_true, br_false): New.  Use predicate_operator and
429         ia64_expand_prediction.
430         (return_true, return_false): Likewise.
431         (call_internal): Use ia64_expand_prediction.  Don't emit stop bit.
432         (call_internal1, call_value_internal): Likewise.
433         (call_value_internal1, call_multiple_values_internal1): Likewise.
434
435         * config/ia64/ia64.c (ia64_direct_return): Require frame size zero.
436
437         * config/ia64/ia64.md (extendsfdf2): Split only after reload.
438
439 2000-05-08  Richard Henderson  <rth@cygnus.com>
440
441         * rtlanal.c (may_trap_p): Consider old-style and volatile
442         asms to trap.
443
444 Mon May  8 17:16:48 2000  Jim Wilson  <wilson@cygnus.com>
445
446         * config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.
447
448 2000-05-08  Richard Henderson  <rth@cygnus.com>
449
450         * config/ia64/ia64.h (predicate_operator): Declare.
451
452         * config/ia64/ia64.md (extendsfdf2): Split the nop case out
453         of existance.
454
455         * gensupport.c (process_rtx): Copy and post-process each member
456         of the define_insn rtvec individually.
457
458 Mon  8 May 22:17:35 2000  Neil Booth  <NeilB@earthling.net>
459
460         * cpplex.c (spell_token): New function.
461         (TOKEN_LEN): Add 1 for whitespace.
462         (_cpp_lex_file): Update to use spell_token.
463         * cpplib.h (E): Remove.
464         (TTYPE_TABLE): Update CPP_VSPACE entry.
465
466 2000-05-08  Richard Henderson  <rth@cygnus.com>
467
468         * flow.c (init_propagate_block_info): Watch out for conditional
469         branch to next instruction, and thus one outgoing edge.
470
471         * config/ia64/ia64.c (ia64_encode_section_info): Exit early
472         for global register variables; don't special case __[CD]TOR_LIST__;
473         mind ggc_p for string allocation.
474
475 2000-05-08  Nick Clifton  <nickc@cygnus.com>
476
477         * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
478
479 2000-05-08  Bruce Korb  <bkorb@gnu.org>
480
481         * fixinc/mkfixinc.sh:  fixinc.sco is no longer used
482         i?86-*-msdosdjgpp* no longer uses fixincludes
483         * fixinc/genfixes:  inclhack.sh and fixincl.sh are no longer generated
484         * fixinc/inclhack.sh:  deleted
485         * fixinc/hackshell.tpl:  deleted
486         * fixinc/inclhack.tpl:  deleted
487         * fixinc/Makefile.in:  Remove dependencies on above
488         * fixinc/fixincl.sh:  "DO NOT EDIT" text modified
489
490 2000-05-08  Andreas Jaeger  <aj@suse.de>
491
492         * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
493         support.
494
495 2000-05-07  Zack Weinberg  <zack@wolery.cumb.org>
496
497         * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
498         substitutions.
499
500 Sun  7 May 08:43:53 2000  Neil Booth  <NeilB@earthling.net>
501
502         * cpplex.c: Move new lexer definitions and prototypes
503         to top.  Conditional include these and the code if
504         NEW_LEXER is defined.  Rename functions whose names
505         clash if this code included.
506
507 Sun May  7 00:54:57 EDT 2000  John Wehle  (john@feith.com)
508
509         * rtl.def (COND_EXEC): Clarify.
510
511         * i386.md (extendsidi2): Clobber (reg:CC 17) in the
512         same fashion as zero_extendsidi2.
513
514 2000-05-06  Richard Henderson  <rth@cygnus.com>
515
516         * config/ia64/ia64.c (predicate_operator): New.
517         (ia64_print_operand): Handle 'J'.
518         (rtx_needs_barrier): Handle COND_EXEC.
519         * config/ia64/ia64.h (BRANCH_COST): Define.
520         (PREDICATE_CODES): Update.
521         * config/ia64/ia64.md: Docuement used unspec values.
522         (attr predicable): New.
523         (movxf, movxf_internal): New.
524         (extendsfdf2): Don't comment out nop.
525         (floatdidf2): Remove.
526         (truncxfsf2, truncxfdf2, floatdixf2): New.
527         (abssi2, absdi2): Put the neg in the "true" slot.
528         (conditional branch instructions): Mark not predicable.
529         (cmov*_internal): Use predicate_operator.  Split to cond_exec.
530         (abs*_internal): Likewise.
531         (alloc, set_bsp): Mark not predicable.
532         (barrier, insn_group_barrier, flush_cache): Likewise.
533         (define_cond_exec): New.
534
535 2000-05-06  Richard Henderson  <rth@cygnus.com>
536
537         * c-decl.c: Include "tm_p.h".
538
539         * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
540         (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
541         (ia64_expand_op_and_fetch): Declare.
542         * config/ia64/ia64.c: Include "toplev.h".  Kill trailing whitespace.
543         (setjmp_operand): Constify variables for XSTR.
544         (ia64_encode_section_info): Likewise.
545         (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
546         values to int.
547         (ia64_asm_output_external): Constify name.
548         (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
549         (process_for_unwind_directive): Provide switch default.
550         (ia64_expand_compare_and_swap): Remove unused variables.
551         (ia64_expand_builtin): Likewise.
552         * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
553         for printing.
554
555         * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
556         (symbolic_operand, function_operand, setjmp_operand): Likewise.
557         (shift_count_operand, shift_32bit_count_operand): Likewise.
558         (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
559         (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
560         (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
561         (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
562         (ia64_expand_builtin): Likewise.
563         (call_multiple_values_operation): Make dest_regno unsigned.
564
565 2000-05-06  Richard Henderson  <rth@cygnus.com>
566
567         * rtl.def (DEFINE_COND_EXEC): New.
568         * md.texi: Document it.
569
570         * gensupport.c (input_file): Remove.
571         (struct queue_elem): Add lineno.
572         (rtx_ready_queue): Remove.
573         (errors): New.
574         (predicable_default): New.
575         (predicable_true, predicable_false): New.
576         (define_attr_queue, define_attr_tail): New.
577         (define_insn_queue, define_insn_tail): New.
578         (define_cond_exec_queue, define_cond_exec_tail): New.
579         (other_queue, other_tail): New.
580         (queue_pattern): New.
581         (process_rtx): Add patterns to the appropriate queues.
582         (is_predicable, identify_predicable_attribute): New.
583         (n_alternatives, collect_insn_data): New.
584         (alter_predicate_for_insn, alter_test_for_insn): New.
585         (shift_output_template, alter_output_for_insn): New.
586         (process_one_cond_exec, process_define_cond_exec): New.
587         (init_md_reader): Read the entire file.  Process define_cond_exec.
588         (read_md_rtx): Return elements from the queues.
589
590 2000-05-06  Richard Henderson  <rth@cygnus.com>
591
592         * flow.c (mark_set_1): Don't update conditional life info
593         if the register is not_dead.
594
595 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
596
597         * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
598         (mostlyclean): Also delete fixincl, fixinc.sh, and
599         specs.ready, and make clean in the fixinc subdir.
600
601 2000-05-06  Richard Henderson  <rth@cygnus.com>
602
603         * Makefile.in (gensupport.o): Compile for the host.
604         (host-prefix gensuuprt.o): Remove.
605         (genflags.o): Depend on gensupport.h and OBSTACK_H.
606         (genattrtab.o): Likewise.
607         (gencodes.o): Depend on gensupport.h.
608         (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
609         (genpeep.o, genattr.o, genoutput.o): Likewise.
610
611         * gensupport.c (obstack, rtl_obstack): New.
612         (init_md_reader): Initialize rtl_obstack.
613         * gensupport.h (rtl_obstack): Declare.
614         (message_with_line): Declare.
615
616         * genattr.c: Remove all traces of obstack manipulation.
617         * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
618         * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
619
620         * genattrtab.c (obstack, rtl_obstack): Remove.
621         (main): Don't init rtl_obstack.
622         * genflags.c: Likewise.
623
624         * genrecog.c (message_with_line): Move ...
625         * gensupport.c: ... here.
626
627 2000-05-06  Richard Henderson  <rth@cygnus.com>
628
629         * c-typeck.c (build_c_cast): Remove dead code.
630
631 2000-05-06  Richard Henderson  <rth@cygnus.com>
632
633         * flow.c (split_edge): Don't allocate global_live_at_start for
634         the new block unless the old blocks had them as well.
635
636         * flow.c (mark_set_1): Respect not_dead when updating reg_live.
637
638         * ifcvt.c (noce_process_if_block): Don't use an insn_b from
639         test_bb if a or b uses x.
640
641 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
642
643         * cpphash.h: Remove conditional #define of __extension__.
644         * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
645         RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
646         (ENABLE_RTL_CHECKING only).
647         * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
648         CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
649         (ENABLE_TREE_CHECKING only).
650         * varray.h: Add __extension__ to VARRAY_CHECK macro
651         (ENABLE_CHECKING only).
652
653 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
654
655         Use new tail-calling mechanism on ARM.
656         * arm.md (sibcall, sibcall_value): New expands.
657         (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
658         (tailcalling peepholes): Delete.
659         (push_multi): Simplify.
660         * arm.c (lr_save_eliminated): Delete definition.
661         (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
662         (output_return_instruction): Remove checks on lr_save_eliminated.
663         (output_arm_prologue): Remove old tail-calling code.
664         (arm_output_epilogue): New parameter, really_return.  All callers
665         changed.  Handle tail-calling epilogues.
666         * arm.h (lr_save_eliminated): Delete declaration.
667         (frame_pointer_needed): Delete declaration.
668         * arm-protos.h (arm_output_epilogue): Adjust prototype.
669
670         * arm.md (is_thumb): Examine symbol thumb_code, not expression
671         TARGET_ARM.
672         * arm.c (thumb_code): Define it.
673         (arm_override_options): Set it.
674         * arm.h (thumb_code): Declare it.
675         
676 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
677
678         * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
679
680 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
681
682         * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
683         bogus clobber to insns.
684         (load_multiple_operation, store_mulitple_operation): Don't check 
685         for it.
686         * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
687
688         * arm.md (and_scc, ior_scc): Add missing mode.
689
690         * arm.md (call_value_symbol): Remove predicate from op2.
691
692         * arm.h (SPECIAL_MODE_PREDICATES): Define.
693         
694 Sat May  6 06:25:56 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
695
696         * expr.c (get_subtarget): New function.
697         (force_operand, expand_expr, do_store_flag): Use it.
698
699         * toplev.c (compile_file): Don't take strlen of NAME if null.
700
701 2000-05-06  David Edelsohn  <edelsohn@gnu.org>
702
703         * xcoffout.c (xcoff_current_include_file,
704         xcoff_current_function_file, xcoff_lastfile): Constify char *.
705         (xcoffout_source_file, xcoffout_source_line): Make filename 'const
706         char *'.
707         (xcoffout_declare_function): Make name 'const char *'.
708         (xcoffout_end_epilogue): Make fname 'const char *'
709         * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
710         xcoffout_declare_function, xcoffout_source_line): Match above.
711
712         * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
713         -maix64 is error.
714         * rs6000.c (print_operand): Fix lossage typo.
715         (output_cbranch): Remove "cr" decoration for now.
716         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'. 
717
718 Sat May  6 06:55:32 2000  Denis Chertykov  <denisc@overta.ru>
719
720         * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
721         constant count.
722
723 2000-05-05  Bruce Korb  <bkorb@gnu.org>
724
725         * fixinc/genfixes: Improve the matching for make target names
726
727 2000-05-05  Catherine Moore  <clm@cygnus.com>
728
729         * c-common.c (decl_attributes):  For TYPE_DECLs attach the
730         attribute to the decl.
731         * c-decl.c (pushdecl): Propagate the USED attribute to the 
732         type copy.
733
734 2000-05-05  Richard Henderson  <rth@cygnus.com>
735
736         * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
737         same way emit_group_load does.
738
739 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
740
741         * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
742
743         * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
744         (main): Likewise.
745
746 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
747
748         * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
749
750 Fri May  5 10:29:21 2000  Marc Espie <espie@cvs.openbsd.org>
751
752         * config/openbsd.h (LINK_SPEC): pass correct flags to ld 
753         to support -shared, on platforms with dynamic libraries.
754
755 Fri May  5 10:27:06 2000  Philippe De Muyter  <phdm@macqel.be>
756
757         * system.h (S_ISBLK): Provide fallback definition.
758
759 2000-05-05  Geoff Berry  <geoffb@bops.com>
760
761         * extend.texi (Extended Asm): Document inability to give asm
762         statements access to condition codes.
763
764 2000-05-05  Marek Michalkiewicz  <marekm@linux.org.pl>
765
766         * varasm.c (asm_emit_uninitialised): Use 0, not NULL
767         as arg 2 of UNIQUE_SECTION.
768
769 Fri May  5 10:11:41 2000  Jeffrey A Law  (law@cygnus.com)
770
771         * predict.c: Remove May 4 change.
772         * bb-reorder.c (make_reorder_chain): Do not perform block movement
773         if we have predicted the branch at 50-50 probability.
774
775 2000-05-05  Richard Henderson  <rth@cygnus.com>
776
777         * flow.c (init_propagate_block_info): Fix merge error
778         in HAVE_conditional_execution code.
779
780 Fri May  5 07:43:50 2000  Denis Chertykov  <denisc@overta.ru>
781
782         * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
783         shift cycle for unknown shift count. Also generates dec + brpl.
784         (ashlqi3_out): Don't generate dec + brpl which now generates by
785         `out_shift_with_cnt'.
786         (ashlhi3_out): Likewise.
787         (ashlsi3_out): Likewise.
788         (ashrqi3_out): Likewise.
789         (ashrhi3_out): Likewise.
790         (ashrsi3_out): Likewise.
791         (lshrqi3_out): Likewise.
792         (lshrhi3_out): Likewise.
793         (lshrsi3_out): Likewise.
794
795 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
796
797         * gcc.c (free_split_directories): Correct typo in explanation
798         of make_relative_prefix.
799
800 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
801
802         * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
803         comparison codes to branch_comparison_operator.
804
805 2000-05-04  Richard Henderson  <rth@cygnus.com>
806
807         * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
808
809 2000-05-04  Richard Henderson  <rth@cygnus.com>
810
811         * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
812         (DPBIT_FUNCS): Remove _sf_to_usi.
813         (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
814
815         * ifcvt.c (noce_process_if_block): Fail if A or B modified
816         between condition and jump.
817
818         * libgcc2.c (near eh_context_specific): Comment #endif string.
819         * longlong.h: Don't use strings with embedded newlines.
820
821 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
822
823         * config/rs6000/rs6000-protos.h: Add output_cbranch.
824         * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
825         (print_operand): Delete %t and %T codes.
826         (output_cbranch): New function.  Support branch prediction.
827         * config/rs6000/rs6000.md: Use output_cbranch for
828         conditional branches and returns.
829
830 2000-05-04  Jason Merrill  <jason@casey.cygnus.com>
831
832         * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
833         * stor-layout.c (place_field): Likewise.
834         * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
835         * expr.c (store_expr): Make align unsigned.
836         * explow.c (plus_constant_wide): Make low words unsigned.
837         * expmed.c (choose_multiplier): Likewise.
838         * fold-const.c (fold):  Likewise.
839         * tree.h (build_int_2): Likewise.
840         * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
841         * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
842         (init_emit): Change cast to unsigned char*.
843         * varasm.c (compare_constant_1): Add cast to char*.
844         * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
845         * reload1.c (reload): Likewise.
846
847         * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
848
849 Thu May  4 14:37:23 2000  Jeffrey A Law  (law@cygnus.com)
850
851         * predict.c (estimate_probability): If no prediction was found, then
852         predict the successor that is the next physical block (if such a
853         successor exists).
854
855 2000-05-04  Richard Henderson  <rth@cygnus.com>
856
857         * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
858
859 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
860
861         * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
862
863 2000-05-04  Mumit Khan  <khan@xraylith.wisc.edu>
864
865         * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move 
866         attribute macros from here ...
867         (CPP_SPEC): to here.
868         * i386/mingw32.h (CPP_PREDEFINES): Likewise.
869         (CPP_SPEC): Likewise.
870         * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros. 
871
872         * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
873         (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
874
875 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
876
877         * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
878         
879         * diagnostic (vbuild_message_string, build_message_string,
880         build_location_prefix, output_get_prefix, init_output_buffer,
881         output_notice, vline_wrapper_message_with_location,
882         v_message_with_decl, default_print_error_function): De-constify.
883         (set_real_maximum_length): Prototype.
884
885         * diagnostic.h (struct output_buffer, init_output_buffer,
886         output_get_prefix, output_set_prefix): De-constify.
887
888         * function.c (init_function_start): Constify.
889
890         * gensupport.c (remove_constraints, process_rtx): Prototype.
891
892         * gthr-posix.h: Indent uses of #pragma.
893
894         * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
895         Prototype.
896
897         * predict.c (find_expected_value): Delete prototype.
898         (expected_value_to_br_prob): Initialize variable `ev_reg'.
899
900         * sbitmap.h (debug_sbitmap): Prototype.
901
902         * ssa.c (compute_coalesced_reg_partition): Prototype.
903
904         * stor-layout.c (debug_rli): Prototype.
905
906         * tree.h (round_down): Prototype.
907         (init_function_start): Constify.
908
909 2000-05-04  Zack Weinberg  <zack@wolery.cumb.org>
910
911         * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
912         (overly conservative).  Change extern inline wrappers to
913         static inline, define them always, use PARAMS properly.
914         * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
915         whitespace warnings for \f and \v at the beginning of a line.
916
917 Thu May  4 10:03:50 2000  Jeffrey A Law  (law@cygnus.com)
918
919         * haifa-sched.c (schedule_insns): Free the flow edge list when it
920         is no longer needed
921
922 2000-05-04  Bruce Korb  <bkorb@gnu.org>
923
924         * fixincl/inclhack.def: added broken_cabs -
925         Remove `extern double cabs' declarations from math.h
926         * fixincl/inclhack.sh: regen
927         * fixincl/fixincl.x: regen
928         * fixincl/fixincl.c: Remove BOGOSITY code
929         * fixincl/mkfixinc.sh: Remove code for installing "shell" version
930
931 Thu May  4 09:45:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
932
933         * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
934         MEM_ALIAS_SET.
935         * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
936         when calling MEM_COPY_ATTRIBUTES.
937         * emit-rtl.c (operand_subword, change_address): Likewise.
938         * explow.c (stabilize): Likewise.
939         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
940         * integrate.c (copy_rtx_and_substitute): Likewise.
941         * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
942         when calling MEM_COPY_ATTRIBUTES.
943         (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
944         Likewise.
945         * cse.c (gen_lowpart_if_possible): Likewise.
946         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
947         * optabs.c (gen_move_insn): Likewise.
948         * recog.c (validate_replace_rtx_1): Likewise.
949         * simplify-rtx.c (add_mem_for_addr): Likewise.
950         * stmt.c (expand_anon_union_decl): Likewise.
951         * config/arm/arm.md: Likewise.
952         * config/h8300/h7300.c (fix_bit_operand): Likewise.
953         * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
954         (block_move_no_loop, block_move_sequence): Likewise.
955         * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
956         * config/alpha/alpha.c (get_aligned_mem): Likewise.
957         Clear MEM_ALIAS_SET.
958         * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
959         MEM_COPY_ATTRIBUTES.
960
961 2000-05-03  Robert Lipe <robertlipe@usa.net>
962         
963         * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
964         to suppress libgcc1.
965         (i[34567]86-*-sco3.2v5*) Likewise.
966         (i[34567]86-*-sco3.2v4*) Likewise.
967         (i[34567]86-*-sco) Likewise.
968         (i[34567]86-*-solaris2) Likewise.
969         (i[34567]86-*-sysv5*) Likewise.
970         (i[34567]86-*-sysv4*) Likewise.
971         (i[34567]86-*-udk*) Likewise.
972         (i[34567]86-*-sysv*) Likewise.
973
974 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
975
976         * cpphash.h (U): New define, to correct type of string constants.
977         (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
978         routines, to do casts when passing unsigned strings to libc.
979         * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
980
981         * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
982         * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
983         * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
984         * cpplex.c (parse_ifdef, parse_include, validate_else): Make
985         second argument an U_CHAR *.
986
987         * cppinit.c (builtin_array): Make name and value U_CHAR *, add
988         length field, clean up initializer.
989         (ISTABLE): Add __extension__ to designated-
990         initializers version.
991         * cpplex.c (CHARTAB): Likewise.
992
993         * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
994         case so the file won't be empty.
995
996 Wed May  3 21:01:46 2000  Jason Eckhardt  <jle@cygnus.com>
997
998         * bb-reorder.c (struct reorder_block_def): Member succ removed.
999         (REORDER_BLOCK_SUCC): Removed.
1000         (enum reorder_skip_type): Removed.
1001         (skip_insns_between_block): Renamed to skip_insns_after_block.
1002         Removed second argument. Removed dead code and cleaned up.
1003         (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
1004         (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
1005         second parameter to skip_insns_after_block.
1006
1007 Wed May  3 13:29:54 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1008
1009         * tree.c (staticp, case LABEL_DECL): New case.
1010
1011 2000-05-03  Richard Henderson  <rth@cygnus.com>
1012
1013         * Makefile.in (start.encap): Do not depend on LIBGCC1.
1014
1015         * mklibgcc1.in: Fix typo last change.
1016
1017 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
1018
1019         * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
1020         (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
1021         (GCC_CFLAGS): Use it.
1022         (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
1023         * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
1024         objc/Make-lang.in: Use it.
1025
1026 2000-05-03  Jason R Thorpe  <thorpej@zembu.com>
1027
1028         * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
1029
1030 2000-05-03  Richard Henderson  <rth@cygnus.com>
1031
1032         * mklibgcc.in: Restrict OLDCC=GCC test to native.  Equate
1033         LIBGCC1 empty with libgcc1.null.
1034
1035 Wed May  3 12:55:46 2000  Jim Wilson  <wilson@cygnus.com>
1036
1037         * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
1038         change.
1039
1040 2000-05-03  Greg McGary  <gkm@gnu.org>
1041
1042         * tree.h (tree_common): Add bounded_flag member.  Remove
1043         inaccurate comment about number of remaining bits.
1044         (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
1045         BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
1046         MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
1047         TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
1048         TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
1049         (TYPE_QUAL_BOUNDED): New constant.
1050         (TYPE_QUALS): Handle bounded qualifier.
1051         (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
1052         (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
1053         TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
1054         TYPE_AMBIENT_BOUNDEDNESS): New macros.
1055         (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
1056         (tree_type): Add pointer_depth member.  Remove
1057         inaccurate comment about number of remaining bits.
1058         (DECL_POINTER_DEPTH): Add macro.
1059         (tree_decl): Add pointer_depth member.
1060
1061 Wed May  3 22:52:53 2000  Denis Chertykov  <denisc@overta.ru>
1062
1063         * config/avr/avr-protos.h (test_hard_reg_class): Declared.
1064         * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
1065         (lshrhi3_out): Likewise.
1066         (ashrsi3_out): bugfix in shift by 8.
1067         (test_hard_reg_class): New function.
1068         * config/avr/avr.md: Bugfix inside conditions in peepholes.
1069         (ashlhi3): removed define_expand of this pattern.
1070         (*ashlhi3_insn): renamed to ashlhi3.
1071         (ashlsi3): removed define_expand of this pattern.
1072         (*ashlsi3_insn): renamed to ashlsi3.
1073         (ashrqi3): removed define_expand of this pattern.
1074         (*ashrqi3_insn): renamed to ashrqi3.
1075         (ashrhi3): removed define_expand of this pattern.
1076         (*ashrhi3_insn): renamed to ashrhi3.
1077         (ashrsi3): removed define_expand of this pattern.
1078         (*ashrsi3_insn): renamed to ashrsi3.
1079         (lshrhi3): removed define_expand of this pattern.
1080         (*lshrhi3_insn): renamed to lshrhi3.
1081         (lshrsi3): removed define_expand of this pattern.
1082         (*lshrsi3_insn): renamed to lshrsi3.
1083
1084 2000-05-03  Rodney Brown  <RodneyBrown@pmsc.com>
1085
1086         * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
1087         inclusion of "system.h".
1088
1089 Wed May  3 11:43:53 2000  Jim Wilson  <wilson@cygnus.com>
1090
1091         * config/ia64/ia64.c (ia64_encode_section_info): Add check for
1092         TREE_ASM_WRITTEN.
1093
1094 2000-05-03  David Mosberger  <davidm@hpl.hp.com>
1095
1096         * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
1097         if -mauto-pic is on.
1098         (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
1099         -mconstant-gp is in effect and function-descriptors are being used
1100         to make indirect calls.
1101         * config/ia64/ia64.h (MASK_CONST_GP): New macro.
1102         (MASK_AUTO_PIC): Ditto.
1103         (TARGET_CONST_GP): Ditto.
1104         (TARGET_AUTO_PIC): Ditto.
1105         (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
1106         (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
1107         -mno-pic is in effect.
1108         (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
1109         * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
1110         -mauto-pic is in effect.
1111         (gprel64_offset): New pattern.
1112         (load_gprel64): Ditto.
1113         (call): Handle -mauto-pic like -mno-pic (don't use fptr).  If
1114         -mconstant-gp is in effect, no need to preserve gp around direct
1115         calls.
1116         (call_value): Ditto.
1117         * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
1118         (FUNCTION_PROFILER): Define.
1119         * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
1120         @fptr() directive when -mno-pic or -mauto-pic is in effect.
1121         (ASM_OUTPUT_DESTRUCTOR): Ditto.
1122
1123 2000-05-03  Richard Henderson  <rth@cygnus.com>
1124
1125         * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
1126         (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
1127         (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
1128         (mklibgcc, libgcc.mk): New targets.
1129         (libgcc.a): Use libgcc.mk.
1130         (stmp-multilib): Likewise.
1131         (stmp-multilib-sub): Remove.
1132         (mostlyclean): Don't delete libgcc2 temp files.
1133         * configure.in (AC_PROG_CC_C_O): Add.
1134         (NO_MINUS_C_MINUS_O): Substitute it.
1135         (all_outputs): Add mklibgcc.
1136         * mklibgcc.in: New file.
1137
1138 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
1139
1140         * cppexp.c (op_t): Make an int.
1141
1142         * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
1143
1144         * varasm.c (initializer_constant_valid_p): Fix parenthesis.
1145
1146         * gensupport.c (process_rtx): Fix macros used.
1147
1148 2000-05-03  Richard Henderson  <rth@cygnus.com>
1149
1150         * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
1151         call-clobbered registers of a call.
1152
1153 Wed May  3 12:40:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
1154
1155         * gensupport.c: New file.
1156         * gensupport.h: New file.
1157         * Makefile.in (HOST_RTL): Depend on gensupport.
1158         (gensupport.o) New rule.
1159         * genattr.c: Use gensupport for reading .md files.
1160         * genattrtab.c: Ditto. 
1161         * gencodes.c: Ditto. 
1162         * genconfig.c: Ditto. 
1163         * genemit.c: Ditto. 
1164         * genextract.c: Ditto. 
1165         * genflags.c: Ditto. 
1166         * genopinit.c: Ditto. 
1167         * genoutput.c: Ditto. 
1168         * genpeep.c: Ditto. 
1169         * genrecog.c: Ditto.
1170         * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
1171         * md.texi (Insn Splitting): Document define_insn_and_split.
1172
1173 Tue May  2 00:20:30 2000  Jason Eckhardt  <jle@cygnus.com>
1174
1175         * flow.c (verify_flow_info): Added two more sanity checks. The
1176         first checks that the blocks are numbered consecutively. The second
1177         checks that n_basic_blocks is actually equal to the number of
1178         basic blocks in the insn chain.
1179
1180 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
1181
1182         * cpplib.h: Add accessor macros for token lists.
1183         * cpplib.c, cpphash.c, cpplex.c: Use them.
1184
1185 Wed May  3 09:29:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1186
1187         * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
1188         memory usage if not in a function.
1189         * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
1190         return address if static.
1191
1192 Wed May  3 13:14:49 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1193
1194         * ifcvt.c (noce_try_cmove_arith):  Use may_trap_p to thest
1195         whether address may trap.
1196
1197 Tue May  2 23:38:37 2000  Jason Eckhardt  <jle@cygnus.com>
1198
1199         * bb-reorder (chain_reorder_blocks): Changed code to test for
1200         EDGE_FALLTHRU rather than making erroneous assumption that the
1201         first outgoing edge is the fall-through edge.
1202
1203 Tue May  2 18:20:31 2000  Donald Lindsay  <dlindsay@hound.cygnus.com>
1204
1205         * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new 
1206         ABI for varargs, across all MIPS. This is incompatible because the
1207         va_list (__builtin_va_list) structure is different, so a compilation
1208         unit passing a va_list and a compilation unit being passed one, should
1209         both be compiled with the same ABI. (The old structure had two 
1210         pointers, now it has three.)
1211
1212 Tue May  2 19:18:43 2000  Jason Eckhardt  <jle@cygnus.com>
1213
1214         * bb-reorder.c (struct reorder_block_def): Remove members end,
1215         block_begin, and block_end.
1216         (REORDER_BLOCK_OLD_END): Delete.
1217         (REORDER_BLOCK_BEGIN): Delete.
1218         (REORDER_BLOCK_END): Delete.
1219         (chain_reorder_blocks): Remove dead code.
1220
1221 Tue May  2 17:06:53 2000  Jason Eckhardt  <jle@cygnus.com>
1222
1223         * bb-reorder.c (remove_scope_notes): Check for both types of scope
1224         notes as the end of a basic block before deleting.
1225
1226 2000-05-02  Mumit Khan  <khan@xraylith.wisc.edu>
1227
1228         * final.c (final_start_function): Fix spelling of "necessary".
1229
1230 2000-05-02  Jason Merrill  <jason@casey.cygnus.com>
1231
1232         * toplev.c (debug_ignore_block): Return int.
1233         * dwarf2out.c (dwarf2out_ignore_block): Likewise.
1234         * toplev.h, dwarf2out.h: Adjust.
1235         * emit-rtl.c (remove_unnecessary_notes): Test return value.
1236
1237         * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
1238         * toplev.c, final.c, rtl.h: Adjust.
1239
1240 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1241
1242         * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
1243         * configure.in: Look for makeinfo in the unified tree, then
1244         for a system makeinfo which is sufficiently new.
1245         * Makefile.in: If configure says makeinfo is too old, don't
1246         build or install Info documentation.
1247
1248 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1249
1250         * cpphash.c (collect_params): Fix off-by-one error.
1251         (dump_hash_helper): Dump all four macro nodetypes.
1252
1253 2000-05-02  Jakub Jelinek  <jakub@redhat.com>
1254
1255         * cpphash.c (trad_stringify): Adjust p after stringification as
1256         well.
1257
1258 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1259
1260         * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
1261         (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
1262
1263         * cppfiles.c (file_cleanup): Delete.
1264         * cpphash.c (macro_cleanup): Delete.
1265         (collect_objlike_expansion, collect_funlike_expansion,
1266         macarg, scan_arguments): Remove CPP_POP case.
1267
1268         * cpplex.c (null_cleanup): Delete.
1269         (cpp_pop_buffer): Do the work that was done in the cleanups
1270         here.  Call _cpp_unwind_if_stack from here.
1271         (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
1272         cpp_scan_buffer): Run until we see CPP_EOF and the top of
1273         stack is the buffer _below_ the one we stacked.
1274         (cpp_get_token): Always pop an exhausted buffer.  Return
1275         CPP_EOF unless it's a macro buffer.  Don't call _cpp_handle_eof.
1276         * cpplib.c (skip_if_group): Don't call cpp_get_token to
1277         increment the line number.
1278         (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
1279
1280         * fix-header.c (read_scan_file) [parsing getchar()]: Run until
1281         we see CPP_EOF and the top of stack is the buffer _below_ the
1282         one we stacked.
1283         * scan-decls.c: Likewise.
1284
1285 2000-05-02  Andrew Haley  <aph@cygnus.com>
1286
1287         * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
1288         where this function is called for the second time on a decl that
1289         has had its section info changed in such a way as to move it out
1290         of small data/bss.  
1291         * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
1292
1293 2000-05-01  Richard Henderson  <rth@cygnus.com>
1294
1295         * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
1296         the sequence we're moving, not to merge_bb->head.
1297
1298 2000-05-01  Richard Henderson  <rth@cygnus.com>
1299
1300         * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
1301         reference to alpha/t-linux.
1302         (alpha*-*-linux-gnu*): Likewise.
1303         * configure: Rebuild.
1304
1305         * calls.c (expand_call): Don't emit reg notes for a sibcall.
1306
1307         * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
1308         if not in SSA form.
1309
1310         * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
1311
1312 2000-05-01  Jason Merrill  <jason@casey.cygnus.com>
1313
1314         * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
1315         TREE_THIS_VOLATILE.
1316
1317 2000-05-01  Richard Henderson  <rth@cygnus.com>
1318
1319         * ifcvt.c (noce_emit_cmove): Conditionally compile call to
1320         emit_conditional_move.
1321
1322 2000-05-01  Jakub Jelinek  <jakub@redhat.com>
1323
1324         * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
1325         as the dynamic linker.
1326
1327 2000-05-01  Zack Weinberg  <zack@wolery.cumb.org>
1328
1329         * cppfiles.c (open_include_file): Open file in blocking mode.
1330         (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
1331         Only exclude block devices and directories.
1332
1333         * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
1334         static.  Allocate the hashnode and its string in the same
1335         block of memory.
1336         (del_HASHNODE): Don't free h->name.
1337         (_cpp_lookup): If there is no entry for this string, create
1338         one, of type T_VOID.
1339         (_cpp_lookup_slot): Delete.
1340         * cpphash.h: Update prototypes.
1341
1342         * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
1343         not hp == NULL.
1344         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
1345         do_unassert, cpp_defined): Use _cpp_lookup.  Don't create a
1346         node here, just fill in the value field properly.  "Delete"
1347         entries by setting the value field to T_VOID.  Check for
1348         hp->type == T_VOID, not hp == NULL.
1349
1350         * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
1351         * cpperror.c, cppexp.c, cpplex.c, cpplib.c:  Don't include
1352         hashtab.h.
1353
1354 2000-05-01  Alexandre Oliva  <aoliva@cygnus.com>
1355
1356         * config/mn10300/mn10300.c (print_operand_address): Do not add
1357         zero to SP.
1358
1359         * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
1360         adjusted by less than 256 bytes, use ret regardless of having any
1361         callee-saved register to restore.
1362
1363 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
1364
1365         * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
1366
1367 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
1368
1369         * config/i386/djgpp.h (INT_ASM_OP): Define.
1370         (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
1371         (ASM_WEAKEN_LABEL): Define.
1372         (MASK_BNU210): Define.
1373         (SUBTARGET_SWITCHES): Define.
1374         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
1375         (MAKE_DECL_ONE_ONLY): Define.
1376         (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
1377
1378 2000-05-01  Mumit Khan  <khan@xraylith.wisc.edu>
1379
1380         * i386/cygwin.h (INT_ASM_OP): Define.
1381
1382 Mon May  1 18:20:06 2000  Denis Chertykov  <denisc@overta.ru>
1383
1384         * config/avr/avr.c (address_cost): renamed to avr_address_cost.
1385         * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
1386
1387 Mon May  1 17:50:44 2000  Denis Chertykov  <denisc@overta.ru>
1388
1389         * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
1390         __tmp_reg__ and __zero_reg__ initialization.
1391
1392 2000-04-30  Richard Henderson  <rth@cygnus.com>
1393
1394         * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
1395
1396         * ifcvt.c (noce_process_if_block): Fail the conversion if X is
1397         referenced bewteen the condition and the jump.  Don't delete
1398         anything but the jump.
1399
1400 Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>
1401
1402         * bb-reorder.c (scope_def): New struct.
1403         (scope_forest_info): New struct.
1404         (struct reorder_block_def): New member "scope".
1405         (REORDER_BLOCK_SCOPE): New macro.
1406         (relate_bbs_with_scopes): New function and prototype.
1407         (make_new_scope): Likewise.
1408         (build_scope_forest): Likewise.
1409         (remove_scope_notes): Likewise.
1410         (insert_intra_1): Likewise.
1411         (insert_intra_bb_scope_notes): Likewise.
1412         (insert_inter_bb_scope_notes): Likewise.
1413         (rebuild_scope_notes): Likewise.
1414         (free_scope_forest_1): Likewise.
1415         (free_scope_forest): Likewise.
1416         (dump_scope_forest): Likewise.
1417         (dump_scope_forest_1): Likewise.
1418         (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
1419         Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
1420         block.
1421         (reorder_basic_blocks): Added calls to build_scope_scope_forest
1422         and remove_scope_notes before reordering is done. Added calls to
1423         rebuild_scope_notes, free_scope_forest, and reorder_blocks after
1424         after reordering is done.
1425
1426 2000-40-30  Bruce Korb  <bkorb@gnu.org>
1427
1428         * fixinc/inclhack.def:  Added definitions needed by OSR5,
1429         removed two stale entries (defined away with OLD_CPP).
1430         * fixinc/inclhack.sh: regen
1431         * fixinc/fixincl.x: regen
1432
1433 2000-04-30  Richard Henderson  <rth@cygnus.com>
1434
1435         * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
1436         from the last insn in the sequence.
1437
1438 2000-04-30  Zack Weinberg  <zack@wolery.cumb.org>
1439
1440         * cpplex.c (cpp_idcmp): New function.
1441         * cpplib.h: Prototype it.
1442         * scan_decls.c (scan_decls): Use it to inspect token names.
1443         * fix-header.c (read_scan_file): Likewise.  Set system_header_p on
1444         the file being run through the preprocessor.
1445         (check_macro_names): Provide length of token to cpp_defined.
1446
1447         * Makefile.in: Remove stale warning message.
1448
1449         * cppfiles.c (redundant_include_p): Provide length of token to
1450         cpp_defined.
1451         * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
1452         values are unsigned int.
1453         (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
1454         (_cpp_lookup_slot): Do not calculate the hash, either.
1455         * cpphash.h: Update prototypes.
1456         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
1457         Hashes are unsigned int.  Calculate hash here, pass by value
1458         to _cpp_lookup_slot.
1459
1460 2000-04-30  Bernd Schmidt  <bernds@cygnus.co.uk>
1461
1462         * simplify-rtx.c (check_value_useless): Delete function.
1463         (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
1464         by hand.
1465         (cselib_invalidate_regno): Likewise.
1466         (cselib_invalidate_mem_1): Likewise.
1467         (references_value_p): Recognize useless values by the fact that they
1468         have no locations.
1469         (discard_useless_values): Likewise.
1470         (cselib_record_set): This may turn a useless value
1471         into a useful one.
1472
1473 2000-04-30  Richard Henderson  <rth@cygnus.com>
1474
1475         * config/d30v: New port.
1476
1477         * configure.in (d30v-*): Set fp format.
1478         * configure: Rebuild.
1479
1480 2000-04-30  Richard Henderson  <rth@cygnus.com>
1481
1482         * ifcvt.c: New file.
1483         * Makefile.in (OBJS): Add it.
1484         (ifcvt.o): New target.
1485         * jump.c (jump_optimize_1): Remove all code related to if-conversion,
1486         and conditional arithmetic.
1487         (find_insert_position): Remove.
1488         * timevar.def (TV_IFCVT, TV_IFCVT2): New.
1489         * toplev.c (DFI_ce, DFI_ce2): New.
1490         (dump_file): Add ce and ce2 dumps.
1491         (rest_of_compilation): Run if_convert a couple o times.  Set
1492         cse_not_expected after cse2.  Don't set no_new_pseudos until
1493         after sched1 or recompute_reg_usage.
1494
1495 2000-04-30  Richard Henderson  <rth@cygnus.com>
1496
1497         * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
1498         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
1499
1500 2000-04-30  Richard Henderson  <rth@cygnus.com>
1501
1502         * flow.c (struct reg_cond_life_info): New.
1503         (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
1504         (init_propagate_block_info): Initialize them.
1505         (free_propagate_block_info): Destruct them.
1506         (mark_set_1): Consider conditional life before killing a register.
1507         (mark_regno_cond_dead): New.
1508         (free_reg_cond_life_info): New.
1509         (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
1510         (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
1511         (mark_used_reg): Record conditional life.
1512
1513         * haifa-sched.c (schedule_insns): Disable death counting
1514         sanity check for HAVE_conditional_execution.
1515
1516 2000-04-30  Richard Henderson  <rth@cygnus.com>
1517
1518         * Makefile.in (TIMEVAR_H): New.
1519         (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
1520         (timevar.h): Remove rule.
1521
1522 2000-04-29  Richard Henderson  <rth@cygnus.com>
1523
1524         * config/alpha/crtend.asm: Use C comments instead of #.
1525         * config/alpha/crtbegin.asm: Likewise.  Mark __dso_handle hidden.
1526
1527         * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
1528
1529 2000-04-29  Zack Weinberg  <zack@wolery.cumb.org>
1530
1531         * cpphash.h (enum node_type: Take out T_MCONST.
1532         (union hashval): Move into struct hashnode.
1533         (struct hashnode): Pack tighter.  Remove file, line, col
1534         members.
1535         * cpphash.c: Constify most of the macro-definition structures.
1536         (struct definition): Replace by struct object_defn
1537         and struct funct_defn.  Put file, line, column information
1538         here.  All users updated to match.
1539         (_cpp_create_definition, _cpp_macroexpand): Remove special
1540         case for #define WORD OTHERWORD.
1541         * cpplib.c (do_undef): Remove T_MCONST case.
1542
1543         * cpphash.h: Move struct reflist, struct definition, and the
1544         DEFINITION typedef to cpphash.c.  Use 'struct definition *' in
1545         union hashval.  _cpp_free_definition takes a HASHNODE pointer.
1546         * cpphash.c (_cpp_free_definition): Free data pointed to by
1547         MCONST, XCONST, MACRO, and FMACRO nodes properly.
1548         (_cpp_create_definition, del_HASHNODE): Just call
1549         _cpp_free_definition to clear out a hashnode.
1550         * cpplib.c (do_pragma_poison): Likewise.
1551
1552 Sat Apr 29 12:25:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
1553
1554         * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
1555         LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
1556         FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
1557         (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
1558         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
1559         REGNO_AM33_P): Redefine in terms of the new macros.
1560         (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
1561         (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
1562         STRUCT_VALUE): Likewise.
1563         (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
1564         ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise.  Moved.
1565
1566 Sat Apr 29 01:18:45 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1567
1568         * regmove.c (struct record_stack_memrefs_data): New.
1569         (record_stack_memrefs): New function.
1570         (combine_stack_adjustments_for_block): Use it.
1571
1572 Sat Apr 29 01:15:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1573
1574         * calls.c (calls_function_1):  Propertly handle TREE_LIST expressions;
1575         use special_function_p to detect alloca.
1576
1577 Fri Apr 28 16:30:33 2000  Marc Espie <espie@cvs.openbsd.org>
1578
1579         * gcc.texi: Fixes for makeinfo 4.0 --html.
1580
1581 2000-04-28  Zack Weinberg  <zack@wolery.cumb.org>
1582
1583         * pcp.h: Delete file.
1584
1585 2000-04-28  Kazu Hirata  <kazu@hxi.com>
1586
1587         * h8300.c (function_epilogue): Clean up flags when the last insn
1588         in a function is a barrier.
1589
1590 2000-04-28  Chris Demetriou  <cgd@sibyte.com>
1591
1592         * configure.in (sparc-hal-solaris2*): protect [] glob from
1593         my expansion.
1594         (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
1595         rather than hard-coded constants in target_cpu_default2.
1596         * configure: Regenerate.
1597
1598 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
1599
1600         * tree.c (get_callee_fndecl): Extract the initial value from
1601         a readonly decl.
1602
1603 2000-04-28  Richard Henderson  <rth@cygnus.com>
1604
1605         * varasm.c (record_constant_1): Record the CODE_LABEL when
1606         taking the address of a LABEL_REF.
1607
1608 2000-04-28  Richard Henderson  <rth@cygnus.com>
1609             Jan Hubicka  <jh@suse.cz>
1610
1611         * calls.c (combine_pending_stack_adjustment_and_call): Return the
1612         adjustment; don't do the stack adjust.
1613         (expand_call): Call compute_argument_block_size right before
1614         allocating the block; update comment; don't do alignment sanity
1615         checking for sibling call; use args_size instead of
1616         unadjusted_args_size before args_size is adjusted.  Use
1617         combine_pending_stack_adjustment_and_call to compute stack adjust
1618         for must_preallocate case.
1619
1620         * expr.c (push_block): Remove shadow `temp' in inner scope.
1621
1622 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
1623
1624         * toplev.c (rest_of_compilation): Call
1625         note_deferral_of_defined_inline_function even if the function
1626         can't be inlined.
1627
1628 2000-04-28  Scott Bambrough  <scottb@netwinder.org>
1629
1630         * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
1631
1632 2000-04-28  Richard Henderson  <rth@cygnus.com>
1633
1634         * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
1635
1636 2000-04-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1637
1638         * timevar.c (init_timevar): DeANSIfy function definition.
1639
1640 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
1641
1642         * Makefile.in (timevar.o): Depend on flags.h.
1643         * timevar.c (unused_stack_instances): New variable.
1644         (timevar_push): Take a timevar_stack_def from
1645         unused_stack_instances if available.
1646         (timevar_pop): Push the popped timevar_stack_def onto
1647         unused_stack_instances.
1648         (TIMEVAR_ENABLE): New macro.
1649         (timevar_def): Make standalone a 1-bit field.  Add field used.
1650         (get_time): Rename parameter to now.  Return after clearing it if
1651         not TIMEVAR_ENABLE.
1652         (init_timevar): Do nothing if not TIMEVAR_ENABLE.
1653         (timevar_pop): Likewise.
1654         (timevar_stop): Likewise.
1655         (timevar_push): Likewise.  Mark the timing variable as used.
1656         (timevar_start): Likewise.
1657         (timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
1658         timevars that were never used.
1659
1660 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
1661
1662         * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
1663         always TREE_READONLY.
1664
1665 2000-04-27  Ulrich Drepper  <drepper@cygnus.com>
1666
1667         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
1668         for call instruction with mode QImode.
1669
1670 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
1671
1672         * Makefile.in (OBJS): Add timevar.o.
1673         (toplev.o): Depend on timevar.h.
1674         (ggc-simple.o): Likewise.
1675         (ggc-page.o): Likewise.
1676         (timevar.o): New rule.
1677         (timevar.h): New rule.
1678
1679         * timevar.h: New file.
1680         * timevar.c: Likewise.
1681         * timevar.def: Likewise.
1682
1683         * toplev.h (gc_time, parse_time, varconst_time): Remove.
1684         * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
1685         throughout.
1686         (TIMEVAR): Remove macro.
1687         (gc_time, parse_time, varconst_time, integration_time, jump_time,
1688         cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
1689         flow_time, combine_time, regmove_time, sched_time,
1690         local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
1691         sched2_time, dbr_sched_time, reorder_blocks_time,
1692         rename_registers_time, shorten_branch_time, stack_reg_time,
1693         to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
1694         all_time): Remove.
1695         (compile_file): Don't initialize time variables.  Call
1696         init_timevar and start TV_TOTAL timer.  Call timevar_print instead
1697         of many calls to print_time.
1698         (rest_of_compilation): Add timing for reload_cse_regs.
1699         (get_run_time): Removed to timevar.c.
1700         (print_time): Likewise.
1701         (get_run_time): Implement using TV_TOTAL time variable.
1702         (print_time): Get total run time from get_run_time.
1703         * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
1704         computing elapsed time explicitly.
1705         * ggc-simple.c (ggc_collect): Likewise.
1706         (gc_time): Remove declaration.
1707
1708 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
1709
1710         * calls.c (combine_pending_stack_adjustment_and_call): New function.
1711         (expand_call): Use it.
1712
1713 2000-04-27  Jan Hubicka  <jh@suse.cz>
1714
1715         * flow.c (mark_set_1):  Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
1716         fields.
1717
1718 Thu Apr 27 12:47:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
1719
1720         * config/mn10300/mn10300.md (movhi): Simplify.  Prefer data
1721         registers.
1722
1723 Thu Apr 27 17:33:05 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1724
1725         * function.c (epilogue_done): Pass whole insn to record_insns.
1726
1727 Thu Apr 27 16:55:28 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1728
1729         * cse.c (CSE_ADDRESS_COST): Remove.
1730         (find_best_addr): Add new parameter "MODE", use address_cost instead
1731         of CSE_ADDRESS_COST
1732         (address_cost): New.
1733         (fold_rtx): Update call of find_best_addr.
1734         * rtl.h (address_cost): Declare.
1735         * loop.c (general_induction_var): Add new parameter "MODE", use
1736         address_cost instead of ADDRESS_COST
1737         (init_loop): Use address_cost instead of ADDRESS_COST.
1738         (check_insn_for_givs): Update call of general_induction_var.
1739         (find_mem_givs): Likewise.
1740         (consec_sets_giv): Likewise.
1741         * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
1742         * i386.c (ix86_address_cost): New.
1743         * i386-protos.h (ix86_address_cost): Declare.
1744
1745 Thu Apr 27 11:45:16 2000  Alexandre Oliva  <aoliva@cygnus.com>
1746
1747         * config/mn10300/mn10300.md (movqi): Simplify.  Prefer data
1748         registers.
1749
1750 Thu Apr 27 16:11:00 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1751
1752         * expr.c (store_expr): Use clear_storage instead of direct memset
1753         libcall.
1754
1755 Thu Apr 27 10:36:51 2000  Alexandre Oliva  <aoliva@cygnus.com>
1756
1757         * config/mn10300/mn10300.c (mn10300_address_cost): Test
1758         ASHIFT, AND and LABEL_REF.
1759
1760 Thu Apr 27 15:08:46 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1761
1762         * invoke.texi (-foptimize-sibling-calls): Fix.
1763
1764 Thu Apr 27 14:54:22 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1765
1766         * loop.c (load_mems)  Don't use hard registers for the hoisting.
1767
1768         * unroll.c (unroll_loop): Avoid overflow in the n_iterations
1769         calculation; rename const_equiv array in the preconditioning code
1770         from loop_unroll to loop_unroll_precondition
1771
1772 2000-04-27  Richard Henderson  <rth@cygnus.com>
1773
1774         * flow.c (struct propagate_block_info): Remove new_dead, new_live;
1775         add new_set.
1776         (propagate_one_insn): Clear it.  Don't update reg_live here.
1777         (init_propagate_block_info): Update for pbi member changes.
1778         (free_propagate_block_info): Likewise.
1779         (mark_set_1): Know that zero_extract, sign_extract, and
1780         strict_low_part don't kill their argument.  Alter hard subregs.
1781         Update new_set for non-CLOBBER sets.  Update reg_live.
1782         (find_auto_inc): Update reg_live, not new_dead.
1783         (mark_used_reg): Update reg_live, not new_live.  Examine new_set
1784         to determine if the reg in question was set this insn.  Only update
1785         reg info with PROP_REG_INFO.
1786
1787 2000-04-26  Richard Henderson  <rth@cygnus.com>
1788
1789         * flow.c (allocate_reg_life_data): Set max_regno here ...
1790         (life_analysis): ... not here.
1791
1792         * flow.c (calculate_global_regs_live): Force stack pointer
1793         live at end.
1794
1795 2000-04-26  Richard Henderson  <rth@cygnus.com>
1796
1797         * jump.c (redirect_exp_1): Rework from old redirect_exp.  Never
1798         commit change group changes.
1799         (invert_exp_1): Similarly.
1800         (redirect_exp, invert_exp): Use them.
1801         (redirect_jump_1): New.
1802         (invert_jump_1): New.
1803         (jump_optimize_1): Remove code subsumed by condexec.c.
1804         * rtl.h (invert_jump_1, redirect_jump_1): Declare.
1805
1806 2000-04-26  Richard Henderson  <rth@cygnus.com>
1807
1808         * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
1809
1810         * genconfig.c (main): Set all HAVE_foo to 1.
1811
1812         * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
1813
1814 2000-04-26  Alex Samuel  <samuel@codesourcery.com>
1815
1816         * invoke.texi: Document -fssa flag.
1817
1818 2000-04-26  Richard Henderson  <rth@cygnus.com>
1819
1820         * flow.c (count_reg_sets_1): Remove.
1821         (count_reg_sets, count_reg_references): Remove.
1822         (recompute_reg_usage): Implement with update_life_info.
1823         Reallocate life data.
1824
1825 2000-04-26  Richard Henderson  <rth@cygnus.com>
1826
1827         * flow.c (update_life_info): Consider blocks null to mean the
1828         universal set.
1829         (calculate_global_regs_live): Likewise.
1830         (life_analysis): Do that instead of collecting all_blocks.
1831
1832 2000-04-26  Richard Henderson  <rth@cygnus.com>
1833
1834         * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
1835         a still-valid conditional jump.
1836
1837 2000-04-26  Richard Henderson  <rth@cygnus.com>
1838
1839         * jump.c (invert_jump): Always invert REG_BR_PROB.  Do it correctly.
1840
1841         * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
1842         * flow.c (calculate_loop_depth): Remove.
1843         * output.h (calculate_loop_depth): Don't declare.
1844         * toplev.c (rest_of_compilation): Expand calculate_loop_depth
1845         inline; run estimate_probability at the same time.
1846
1847 2000-04-26  Neil Booth  <NeilB@earthling.net>
1848
1849         * cpplib.h: "~=" is not a single pp-token.
1850         * cpplex.c: Correct commentary.
1851
1852 2000-04-26  Richard Henderson  <rth@cygnus.com>
1853
1854         * flow.c (mark_set_1): New arguments code and flags; update all
1855         callers.  Track regno_first and regno_last; do HARD_REGNO_NREGS
1856         test in one place.  Tidy flags tests.  Don't bias REG_N_REFS by
1857         loop_depth when optimizing for size.  Do new_dead update after
1858         emitting REG_UNUSED notes.  Merge mark_set_reg code.
1859         (mark_set_reg): Remove.
1860         (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
1861         arrange to not emit REG_UNUSED notes.
1862
1863 2000-04-26  Richard Henderson  <rth@cygnus.com>
1864
1865         * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
1866         * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
1867
1868 2000-04-26  Richard Henderson  <rth@cygnus.com>
1869
1870         * flow.c (propagate_one_insn): Break out from propagate_block.
1871         (init_propagate_block_info): Likewise.
1872         (free_propagate_block_info): Likewise.
1873         (propagate_block): Use them.  Export.
1874         * basic-block.h: Declare them all.
1875
1876 2000-04-26  Richard Henderson  <rth@cygnus.com>
1877
1878         * basic-block.h (life_analysis): Declare here ...
1879         * output.h: ... not here.
1880         * flow.c (life_analysis): Remove nregs parameter; replace
1881         remove_dead_code with flags.  Remove ssa dead code check.
1882         Only init alias analysis if we'll use it.
1883         * reg-stack.c (reg_to_stack): Update life_analysis arguments.
1884         * ssa.c (convert_to_ssa): Likewise.
1885         (convert_from_ssa): Likewise.
1886         * toplev.c (rest_of_compilation): Likewise.
1887
1888 2000-04-26  Richard Henderson  <rth@cygnus.com>
1889
1890         * flow.c (flow_delete_block): Rename from delete_block.  Export.
1891         * basic-block.h (flow_delete_block): Declare.
1892
1893 2000-04-26  David S. Miller  <davem@redhat.com>
1894
1895         * optabs.c (emit_libcall_block): Verify insns with INSN_P before
1896         taking a PATTERN of it.
1897
1898 2000-04-26  <NeilB@earthling.net>
1899
1900         * cpplex.c (spell_other, spell_char): Remove.
1901         (SPELL_CHAR): New.
1902         (token_spelling, trigraph_map): Use unsigned chars.
1903         (_cpp_lex_line): Tidy up the switch statement.
1904         * cpplib.h: Implement spell_char with spell_string.
1905         (C): New.
1906
1907 2000-04-26  <RodneyBrown@pmsc.com>
1908
1909         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
1910         * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
1911
1912 2000-04-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1913
1914         * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
1915         reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
1916         dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
1917         dwarf2out_return_save, dwarf2out_return_reg,
1918         dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
1919         add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
1920         gen_compile_unit_die, dwarf2out_init): Constify a char*.
1921
1922         * dwarf2out.h (dwarf2out_init): Likewise.
1923
1924         * dwarfout.c (filename_entry, primary_filename, last_filename,
1925         type_tag, output_compile_unit_die, dwarfout_init): Likewise.
1926
1927         * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
1928         dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
1929         dwarf2out_return_reg): Likewise.
1930
1931 2000-04-26  Andreas Jaeger  <aj@suse.de>
1932
1933         * extend.texi (Function Attributes): Fix description of pure
1934         attribute.
1935
1936 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
1937
1938         * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
1939         before calling rest_of_compilation.
1940
1941 2000-04-26  Andreas Jaeger  <aj@suse.de>
1942
1943         * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
1944         last patch.
1945
1946 2000-04-25  Richard Henderson  <rth@cygnus.com>
1947
1948         * cse.c (cse_insn): Emit barrier after unconditional jump.
1949
1950         * calls.c (expand_call): Disable tail call generation once
1951         rtx_equal_function_value_matters is false.
1952
1953         * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
1954         like EDGE_EH edges.
1955
1956 2000-04-25  Jason Merrill  <jason@casey.cygnus.com>
1957
1958         * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
1959
1960         * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
1961
1962         * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
1963         is the primary DIE for a member function.
1964         (gen_decl_die): Call set_decl_origin_self here.
1965         * dwarfout.c (output_decl): And here.
1966         * integrate.c (output_inline_function): Not here.
1967         Don't clear DECL_INLINE until after calling rest_of_compilation.
1968         (set_decl_origin_self): No longer static.
1969         * tree.h: Add prototype.
1970         * toplev.c (note_deferral_of_defined_inline_function): Only write
1971         out abstract instance for actual inlines.
1972
1973 2000-04-25  Alexandre Oliva  <aoliva@cygnus.com>
1974
1975         * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
1976         EXTENDED_REGS only if TARGET_AM33.
1977         * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
1978         SP_REGS to register allocation and reloading unless absolutely
1979         necessary.
1980         (movsi3): Remove special-case of adding non-constants to SP.
1981
1982 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1983
1984         * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
1985         INCLUDES to search and does not provide any of its own.  Also it
1986         now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
1987         parameters.  Also it does not call AC_DEFINE.
1988         (gcc_AC_NEED_DECLARATIONS): Likewise.  Also this macro now calls
1989         AC_DEFINE and provides for automatic entries for autoheader.
1990         (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
1991
1992         * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
1993         so we can pass -I flags and include gansidecl.h/system.h in this
1994         test.
1995
1996         * acconfig.h: Delete all NEED_DECLARATION_* entries.
1997
1998 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1999
2000         * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
2001         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
2002         ENABLE_GC_ALWAYS_COLLECT): Delete entries.
2003
2004         * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
2005         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
2006         ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
2007         for these macros.  Clean up spacing and linewraps.
2008
2009 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
2010
2011         * calls.c (expand_call): Use get_callee_fndecl.
2012
2013         * print-tree.c (print_node): Print the chain of an _EXPR.
2014
2015 Tue Apr 25 16:16:04 2000  Andrew MacLeod  <amacleod@cygnus.com>
2016                           Jim Wilson  <wilson@cygnus.com>
2017                           Andrew Haley  <aph@cygnus.com>
2018
2019         * config/ia64/crtbegin.asm: Add IA-64 unwind support.  Correct alloc
2020         and gp save/restore problems.
2021         * config/ia64/crtend.asm: Add IA-64 unwind support.
2022         * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
2023         in fr_pad_size calculation.
2024         (save_restore_insns): Move PR save area.  Correct uses of
2025         RTX_FRAME_RELATED_P.
2026         (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
2027         (ia64_expand_epilogue): Add eh_epilogue support.
2028         (ia64_function_prologue): Emit .prologue directive.
2029         (ia64_init_machine_status, ia64_mark_machine_status): New functions.
2030         (ia64_override_options): Set init_machine_status and
2031         mark_machine_status.
2032         (rtx_needs_barrier): Handle bsp reads and writes.
2033         (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
2034         New static variables.
2035         (process_set, process_for_unwind_directive): New functions.
2036         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
2037         ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
2038         ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
2039         macros.
2040         (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
2041         (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
2042         (struct machine_function): Define.
2043         * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
2044
2045 2000-04-25  Bruce Korb  <bkorb@gnu.org>
2046
2047         * fixinc/Makefile.in: make the removal of old programs more
2048         robust
2049         * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
2050         install-bin and install-sh
2051
2052 2000-04-25  Nick Clifton  <nickc@cygnus.com>
2053
2054         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
2055         defined, define to return zero.
2056         (function_cannot_inline_p): If a function has any target
2057         specific attributes, then use the macro
2058         FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
2059         whether it can be inlined.  If it cannot, issue a suitable
2060         explanation.
2061
2062         * tm.texi: Add a new node 'Inlining' to document the new macro
2063         FUNCTION_ATTRIBUTE_INLINABLE_P.
2064
2065 2000-04-25  Zack Weinberg  <zack@wolery.cumb.org>
2066
2067         * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
2068         commentary.
2069
2070 2000-04-25  Neil Booth  <NeilB@earthling.net>
2071
2072         Restore previous patch, plus the following fixes:
2073
2074         * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
2075         flags, not CPP_OPEN_PAREN.
2076         * cpplex.c (expand_token_space, init_token_list,
2077         cpp_free_token_list): Put the dummy token at list->tokens[-1].
2078         (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
2079
2080 Tue Apr 25 14:06:40 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2081
2082         * config/i386/freebsd.h (INT_ASM_OP): Define.
2083
2084 Tue Apr 25 14:51:07 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2085
2086         * loop.c (strength_reduce): Fix typo in the last checkin.
2087
2088 Tue Apr 25 07:33:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2089
2090         * stor-layout.c (finalize_record_size): Simplify to use existing
2091         functions.
2092         (compute_record_mode): No longer static.
2093         * tree.h (compute_record_mode): New declaration.
2094
2095 2000-04-25  Neil Booth  <NeilB@earthling.net>
2096
2097         * Revert my patch below until cause of build failures
2098         determined.
2099
2100 2000-04-25  Richard Henderson  <rth@cygnus.com>
2101
2102         * combine.c (combine_instructions): Add missing argument
2103         to try_combine.
2104
2105         * toplev.c (rest_of_compilation): Delay sibcall optimization
2106         until after emit_eh_context.
2107
2108 2000-04-24  Nick Clifton  <nickc@redhat.com>
2109
2110         * combine.c (combine_instructions): Do not try to combine a
2111         sequence of insns when the second insn has been replaced by a
2112         note.
2113
2114 Mon Apr 24 17:34:18 2000  Mumit Khan  <khan@xraylith.wisc.edu>
2115
2116         * gcc.c (load_specs): New static function.
2117         (read_specs): Use it.
2118
2119         * gcc.c (lookup_compiler): Make multiple passes for case
2120         insensitive filesystems.
2121
2122 2000-04-24  Neil Booth  <NeilB@earthling.net>
2123
2124         * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
2125         * cpphash.h (_cpp_check_directive): new.
2126         * cpplex.c (handle_newline, cpp_free_token_list,
2127         init_trigraph_map, trigraph_ok, trigraph_replace,
2128         backslash_start, skip_block_comment, skip_line_comment,
2129         skip_whitespace, parse_name, parse_number, parse_string,
2130         copy_comment, _cpp_lex_line, spell_char, spell_string,
2131         spell_comment, spell_name, spell_other, _cpp_lex_file,
2132         _cpp_output_list): new.
2133         (expand_name_space): take length argument.
2134         (init_token_list): add comment list initialisation.
2135         (cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
2136         instead of HSPACE_BEFORE.
2137
2138         * cpplib.c (_cpp_check_directive): new
2139         * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
2140         DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
2141         (HSPACE_BEFORE): delete.
2142         (TTYPE_TABLE): rearrange.
2143         (struct cpp_toklist): update.
2144
2145 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2146
2147         * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
2148         gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
2149         argument form of AC_DEFINE.
2150
2151         * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
2152         HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
2153         WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
2154         HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
2155         HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
2156
2157         * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
2158
2159 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2160
2161         * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
2162         deduced.h): Use -isystem, not -I, for including system headers.
2163
2164 2000-04-24  Nick Clifton  <nickc@cygnus.com>
2165
2166         * config/fr30/fr30.md (addsi3): Do not use small add instruction if
2167         the source register is the frame pointer or arg pointer.
2168         (addsi3_small_int): Disallow if source register is the frame
2169         pointer or arg pointer.
2170
2171 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2172
2173         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
2174         call to AC_MSG_RESULT.
2175
2176 2000-04-24  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2177
2178         * invoke.texi: Correct grammatical errors, document
2179         -fno-gnu-keywords as identical to -fno-asm for C++.
2180
2181 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2182
2183         * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
2184         GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
2185         GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
2186         AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
2187         EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
2188
2189         * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
2190         GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
2191         GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
2192         GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
2193         new macros names.
2194
2195 2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>
2196
2197         * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
2198         (pop_alignment): Likewise.
2199         (handle_pragma_token): Likewise.
2200
2201 2000-04-24  Robert Lipe <robertlipe@usa.net>
2202
2203         * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
2204
2205 2000-04-24  Hiroyuki Machida <machida@sm.sony.co.jp>
2206
2207         * combine.c (try_combine): Update reg_nonzero_bits of
2208         newi2pat before newpat.
2209
2210 Mon Apr 24 10:19:48 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2211
2212         * loop.c (strength_reduce): Simplify test to INSN_P.
2213         (record_giv): Attempt to simplify the add value, use CONSTANT_P
2214         expressions instead of CONST_INT.
2215         (express_from_1): Likewise.
2216
2217 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
2218
2219         * regs.h (reg_n_max): Don't declare.
2220         * flow.c (reg_n_max): Don't define.
2221         * regclass.c (renumber): Don't initialize to zero.
2222         (regno_allocated): Likewise.
2223         (reg_n_max): Define.
2224         (allocate_reg_info): Don't initialize unnecessarily.
2225
2226 Mon Apr 24 00:21:36 2000  Jeffrey A Law  (law@cygnus.com)
2227
2228         * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
2229         and blockage_p in the newly allocated attribute.
2230
2231 Sun Apr 23 20:16:49 2000  Alexandre Oliva  <aoliva@cygnus.com>
2232
2233         * config/mn10300/mn10300.md (addsi): `inc4' on address
2234         registers does not modify cc, but `inc' on an extended
2235         register does.
2236
2237 Sun Apr 23 16:24:35 2000  Denis Chertykov  <denisc@overta.ru>
2238
2239         * reload.c (find_equiv_reg): Checks all valueno regs
2240         as a reload_reg_p regs.
2241
2242 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
2243
2244         * cpphash.c (collect_objlike_expansion): Add sanity check.
2245         (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
2246         the buffer is the empty string, return.  Mark __DATE__ and
2247         __TIME__ as XCONST nodes, not MCONST.
2248         (_cpp_macroexpand): Avoid pushing an empty buffer.
2249         (funlike_macroexpand): Don't pop token_buffer here.
2250
2251 Sun Apr 23 18:37:53 2000  Alexandre Oliva  <aoliva@cygnus.com>
2252
2253         * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
2254         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
2255         (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
2256         (REGNO_OK_FOR_BASE_P): Define in terms of them.
2257         (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
2258         (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
2259         (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
2260
2261 Sun Apr 23 22:23:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2262
2263         * loop.c (simplify_giv_expr):  Be more agressive on simplifying
2264         constant MULT givs.
2265
2266 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
2267
2268         * cpphash.h (struct definition): Move file, line, col members...
2269         (struct hashnode): ... here.  Also add 'disabled' flag.
2270         (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
2271         T_IDENTITY.  Remove T_DISABLED.
2272         Update prototypes.
2273
2274         * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
2275         (collect_expansion): Split into collect_objlike_expansion and
2276         collect_funlike_expansion.
2277         (_cpp_macroexpand): Split out scan_arguments, stringify, and
2278         funlike_macroexpand.
2279         (_cpp_compare_defs): Rename compare_defs, make static.
2280         (_cpp_make_hashnode): Initialize hp->disabled.
2281         (macro_cleanup): Adjust for new token types.  Clear
2282         m->disabled.
2283         (_cpp_create_definition): Move code here to determine what
2284         sort of macro it is, and code to check for redefinitions, from
2285         do_define.  Implement a few simple cases without creating a
2286         full DEFINITION.
2287         (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
2288         Handle the simple cases.
2289         (push_macro_expansion): Set buf->has_escapes and hp->disabled
2290         here.
2291
2292         * cppinit.c (builtin_array): Change MCONST to XCONST
2293         everywhere.
2294         * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
2295         fix check for disabled and function-like macros.
2296         * cpplib.c (do_define): Move most logic to
2297         _cpp_create_definition.
2298         (do_undef): Handle new special token types.
2299
2300 Sun Apr 23 14:27:44 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2301
2302         * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
2303         of CONSTANT_P for mult_val; always use validate_change to update insn.
2304
2305 2000-04-22  Zack Weinberg  <zack@wolery.cumb.org>
2306
2307         * cpphash.c (trad_stringify, add_pat): New functions.
2308         (collect_expansion): Restore support for -traditional syntax.
2309         Use trad_stringify and add_pat.
2310         (_cpp_macroexpand): Restore support for -traditional semantics.
2311         * cpplex.c (_cpp_scan_line): Don't change space_before if we
2312         get a COMMENT token.
2313         (_cpp_lex_token): Provide COMMENT tokens to caller if
2314         traditional and parsing_define_directive.
2315         (skip_comment): Warn about // comments if -Wtraditional.
2316         * cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
2317         proper node type.
2318         (do_undef): Don't warn about undefining EMPTY nodes.
2319
2320 Sat Apr 22 22:35:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2321
2322         * loop.c (strength_reduce): Fix biv removal code.
2323
2324 2000-04-22  Richard Henderson  <rth@cygnus.com>
2325
2326         * predict.c (estimate_probability): Examine both sides of
2327         a branch for no exits.  Use 90% not 50% for predict taken.
2328         Reorg for one copy of note generation code.
2329
2330 2000-04-22  Richard Henderson  <rth@cygnus.com>
2331
2332         * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
2333
2334 2000-04-22  Richard Henderson  <rth@cygnus.com>
2335
2336         * diagnostic.c (init_output_buffer): Don't initialize format_args.
2337         (output_clear): Likewise.
2338         (output_printf): Use va_copy.
2339         (vline_wrapper_message_with_location): Likewise.
2340         (v_message_with_decl): Likewise.
2341         (line_wrapper_printf): VA_START infor buffer.format_args directly.
2342         * system.h (va_copy): Provide default implementation.
2343
2344 2000-04-22  Richard Henderson  <rth@cygnus.com>
2345
2346         * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
2347         the collected condition is not a constant.
2348
2349 2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>
2350
2351         * diagnostic.h: New file.
2352
2353         * Makefile.in (diagnostic.o): Depends on diagnostic.h
2354
2355         * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
2356         various function prototypes.
2357         (diagnostic.h): #include.
2358         (struct output_buffer): Move into diagnostic.h.
2359         (get_output_prefix): Rename to output_get_prefix.  Export.
2360         (init_output_buffer): Export. Break out.  Ajust intialization.
2361         (output_space_left, output_append): Export.
2362         (output_newline): Rename to output_add_newline.  Export.
2363         (output_clear): Nullify additional output_buffer fields.
2364         (output_puts): Rename to output_add_string.  Export.
2365         (dump_output): Rename to output_flush_on.  Export.
2366         (build_location_prefix): Constify return-type.
2367         (emit_output_prefix): Rename to output_emit_prefix. Export.
2368         (set_real_maximum_length): New function.
2369         (output_set_maximum_length): Ditto
2370         (output_clear): Ditto.
2371         (output_add_character): Ditto.
2372         (output_add_integer): Ditto.
2373         (output_add_space): Ditto.
2374         (output_format): Ditto.
2375         (output_printf): Adjust buffer initialization.
2376         (vline_wrapper_message_with_location): Ditto.
2377         (v_message_with_decl): Ditto.  Adjust call to output_puts
2378         and get_output_prefix.
2379         (default_print_error_function): Adjust buffer intialization.
2380
2381 Sat Apr 22 06:45:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2382
2383         * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
2384         of VOID_TYPE.
2385
2386 Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
2387
2388         * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
2389         of explicit 0.
2390
2391 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
2392
2393         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
2394         accurate data about SP moves.
2395
2396 Fri Apr 21 18:28:28 2000  Alexandre Oliva  <aoliva@cygnus.com>
2397
2398         * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
2399         aliases to AM33 registers.
2400
2401 Fri Apr 21 18:26:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
2402
2403         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
2404         to all EXTENDED bitmaps.
2405
2406 Fri Apr 21 18:17:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
2407
2408         * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
2409         * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
2410         * config/mn10300/mn10300.c (mn10300_address_cost): New function.
2411
2412 Fri Apr 21 18:11:56 2000  Alexandre Oliva  <aoliva@cygnus.com>
2413
2414         * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
2415         the operand is not constant.
2416
2417 Fri Apr 21 14:58:29 2000  Denis Chertykov  <denisc@overta.ru>
2418
2419         * reload.c (find_equiv_reg): Checks all valueno and regno regs
2420         as a call-clobbered regs.
2421
2422 Fri Apr 21 13:30:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2423
2424         * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
2425         * rtl.h: Likewise.
2426         * rtl.def: Update comment.
2427         * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
2428         * integrate.c (expand_inline_function): Likewise.
2429         * profile.c (branch_prob): Likewise.
2430         * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
2431         * print-rtl.c (print_rtx): Likewise.
2432         * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
2433         (reemit_notes): Likewise; also use enum insn_note.
2434
2435         * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
2436         (place_field): Properly compute know and actual alignment.
2437
2438         * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
2439         in proper format.
2440
2441         * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
2442         note for REG1.
2443
2444 2000-04-21  Zack Weinberg  <zack@wolery.cumb.org>
2445
2446         * cpphash.c (struct arg, struct arglist): Const-ify strings.
2447         (warn_trad_stringify, duplicate_arg_p): New helper functions.
2448         (collect_expansion): Rewrite to scan over a token list.
2449         Remove -traditional support.
2450         (collect_formal_parameters): Rename to collect_params; rewrite
2451         to scan over a token list.
2452         (_cpp_create_definition): Adjust to scan a token list.
2453         (_cpp_macroexpand): Remove -traditional support.
2454         (_cpp_compare_defs): Whitespace is now canonicalized.
2455         (comp_def_part): Delete function.
2456
2457         * cpphash.h: Update prototypes.
2458         * cpplex.c (init_token_list): Don't set lineno if there is no
2459         buffer.
2460         (pedantic_whitespace): New function.
2461         (_cpp_scan_line): Mark tokens that had hspace before.  Don't
2462         consume a newline.  Use pedantic_whitespace.
2463         (_cpp_lex_token): Remove support for -traditional macros.
2464         (_cpp_get_define_token): Delete.
2465         (_cpp_get_directive_token): Do the real work here.  Use
2466         pedantic_whitespace.
2467         (_cpp_init_input_buffer): Initialize pfile->directbuf.
2468
2469         * cpplib.c (get_macro_name): Delete.
2470         (do_define): Read the entire line into pfile->directbuf, then
2471         feed the token list to _cpp_create_definition.
2472         * cpplib.h (HSPACE_BEFORE): new define.
2473         (struct cpp_reader): Add a toklist member, "directbuf".
2474
2475         * predict.c (estimate_probability): New heuristic: if a jump
2476         branches around a block with no successors, predict it taken.
2477         Disentangle control flow.
2478
2479 2000-04-20  Richard Henderson  <rth@cygnus.com>
2480
2481         * loop.c (emit_iv_add_mult): Revert last change.
2482
2483 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
2484
2485         * cpplib.h (enum cpp_ttype): Add token types for all
2486         punctuators.  Distinguish pp-numbers from valid C numbers.
2487         Give some tokens better names.  Initialize from macro.
2488         (struct cpp_name, cpp_token, cpp_toklist): New data
2489         structures.
2490         Update prototypes.
2491         * cpplex.c (bump_column, expand_name_space,
2492         expand_token_space, init_token_list, cpp_output_list,
2493         _cpp_scan_line):  New functions.
2494         (output_line_command): Add third argument, new line number.
2495         * cpphash.h: Update prototypes.
2496         * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
2497         token names.
2498
2499 2000-04-20  Richard Henderson  <rth@cygnus.com>
2500
2501         * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
2502
2503 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
2504
2505         * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
2506         object pointed to.
2507
2508 Thu Apr 20 14:19:18 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2509
2510         * loop.c (emit_iv_add_mult):  Simplify it's input and emit
2511         REG_EQUAL note explaining the calculated value.
2512
2513         * calls.c (expand_call): Avoid unnecesary precalculation
2514         and outgoing parameters space guarding for sibling calls.
2515         (store_one_arg): Likewise.
2516
2517 Thu Apr 20 08:01:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2518
2519         * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
2520         (rest_of_compilation): Write sibling dump file and account
2521         for time as jump time.
2522         * invoke.texi: Update documentation on dump flags.
2523
2524 2000-04-19  Marek Michalkiewicz  <marekm@linux.org.pl>
2525
2526         * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
2527
2528 2000-04-19  Zack Weinberg  <zack@wolery.cumb.org>
2529
2530         * cpphash.c (special_symbol): Represent an empty macro with
2531         "\r \r " not just "\r ".
2532         (_cpp_macroexpand): Correct condition for the foo ( ) special
2533         case.
2534         (unsafe_chars): Handle EOF as second argument.
2535         (push_macro_expansion): Simplify test for removing escape at
2536         end.  Do not trim both escapes if there is no text in between.
2537
2538 2000-04-19  Jim Blandy  <jimb@redhat.com>
2539
2540         * dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
2541         of PTR_SIZE, when appropriate.
2542
2543 2000-04-19  Mark Mitchell  <mark@codesourcery.com>
2544
2545         * system.h (ONLY_INT_FIELDS): Make sure it is defined.
2546         (USE_ENUM_BITFIELDS): Fix typo.
2547
2548 Wed Apr 19 12:14:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2549
2550         * stor-layout.c (place_field): Set rli->offset_align properly.
2551
2552 2000-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2553
2554         * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
2555         INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
2556         PARM_BOUNDARY): Remove unnecessary casts.
2557
2558 Wed Apr 19 12:02:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2559
2560         * calls.c (precompute_arguments): Remove must_preallocate and
2561         args_size calls.
2562         (expand_call): Update call of precompute_arguments.
2563
2564         * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
2565         check_insn_for_givs): Break out from ...
2566         (strength_reduce) ... here; use for_every_insn_in_loop to call
2567         check_insn_for_givs.
2568         * loop.h (for_every_insn_in_loop): Declare.
2569         (loop_insn_callback): New type.
2570
2571 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
2572
2573         * cpplib.c (do_pragma_poison):  Strings in the token buffer are
2574         not nul-terminated.
2575
2576 Tue Apr 18 16:04:12 2000  Jim Wilson  <wilson@cygnus.com>
2577
2578         * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
2579         flag_pic and RELOC.
2580
2581 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
2582
2583         * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
2584
2585         * configure.in: Delete --disable-cpplib option and all
2586         references to cpp_main.
2587         * configure: Regenerate.
2588         * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
2589         @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
2590         cccp.o, cccp, or cppmain.  Link cppmain.o straight to
2591         cpp$(exeext).  Add --no-headers to makeinfo command line when
2592         generating INSTALL.  Install and uninstall cpp.1 manpage, not
2593         cccp.1.
2594         * install.texi: Delete all references to cexp.y/cexp.c.
2595         Delete ancient instructions for compiling GCC on 3b1.
2596         * INSTALL: Regenerate.
2597
2598         * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
2599         mips/t-elf, mips/t-r3900: Remove references to cccp.c.
2600         * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
2601         cexp.c/cexp.y.
2602         * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
2603         which is no longer tested anywhere.
2604
2605         * cppinit.c (handle_option): Don't run error message through
2606         gettext twice.
2607
2608 Tue Apr 18 14:16:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2609
2610         * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
2611         * cpperror.c (hashtab.h): Now include.
2612         * cppexp.c (hashtab.h): Likewise.
2613         * cpplex.c (hashtab.h): Likewise.
2614         * cppfiles.c (hashtab.h): Likewise.
2615         (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
2616         to htab_find_slot_with_hash.
2617         * cpphash.c (hashtab.h): Now include.
2618         (_cpp_lookup_slot): INSERT is now enum insert_option.
2619         * cpphash.h (_cpp_lookup_slot): Likewise.
2620         * cppinit.c (hashtab.h): Include earlier.
2621         (initialize_builtins): Pass enum to htab_find_slot.
2622         * cpplib.c (hashtab.h): Now include.
2623         (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
2624         (do_pragma_poison, do_assert): Likewise.
2625         * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
2626         htab_find_slot_with_hash.
2627         * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
2628         * tree.c (type_hash_add): Likewise.
2629         (build1): Minor cleanup.
2630
2631         * ggc-common.c: Add missing blanks.
2632         * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
2633         * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
2634
2635         * stmt.c (mark_case_node): New function.
2636         (mark_case_nesting): Call it.
2637
2638         * expmed.c (emit_store_flag): If comparing two-word integer
2639         with zero, can optimize NE, EQ, GE, and LT.
2640
2641         * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
2642         * conflict.c: Minor cleanups.
2643         * optabs.c: Add blank line
2644         * simplify-rtx.c: Minor cleanups.
2645
2646 2000-04-18  Stan Cox  <scox@cygnus.com>
2647
2648         * gengenrtl.c (genlegend): Fix misspelling.
2649
2650 2000-04-18  Robert Lipe  <robertlipe@usa.net>
2651
2652         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
2653         bitfields of the host compiler are not signed quantities.
2654         * config.in: Regenerate.
2655         * configure: Regenerate.
2656         * system.h (USE_ENUM_BITFIELDS): Added.
2657         (ENUM_BITFIELDS): Added.
2658         * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
2659         (SHORT_ENUM_BUG): Deleted.
2660         * tree.h (tree_common): Members `code', `mode', `built_in_class',
2661         now ENUM_BITFIELD.
2662         * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
2663         (CODE_FIELD_BUG): Likewise.
2664         * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
2665         (OLD_CC): Likewise.
2666         * config/m68k/x-ccur (X_CFLAGS): Likewise.
2667
2668 2000-04-18  Mark Mitchell  <mark@codesourcery.com>
2669
2670         * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
2671         mark is active.
2672
2673 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
2674
2675         * cppexp.c (lex): Don't assume tokens are NUL terminated.
2676         * cpplib.c (do_include, do_import, do_include_next,
2677         read_line_number, detect_if_not_defined): Likewise.
2678         * cpphash.c (collect_expansion): Likewise.
2679         (special_symbol, _cpp_macroexpand): Check return from
2680         cpp_file_buffer.
2681         * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
2682         macros.  Delete all uses.
2683
2684         * gcc.dg/cpp-mi.c: Add two more test cases.
2685         * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
2686
2687 2000-04-17  Richard Henderson  <rth@cygnus.com>
2688
2689         * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
2690         (reorder_basic_blocks): If no epilogue in rtl, force last block last.
2691
2692 2000-04-17  Mark Mitchell  <mark@codesourcery.com>
2693
2694         * function.c (expand_function_start): Use hard_function_value to
2695         compute the RTL to use for DECL_RESULT.
2696
2697 Mon Apr 17 23:35:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2698
2699         * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
2700         (x86_integer_DFmode_moves, x86_partial_reg_dependency,
2701          x86_memory_mismatch_stall): New global variables.
2702         (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
2703         alloved; fix load penalties for Athlon.
2704         * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
2705         x86_memory_mismatch_stall): Declare.
2706         (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
2707          TARGET_MEMORY_MISMATCH_STALL): New.
2708         * i386.md (athlon scheduling parameters): Fix latencies according to
2709         Athlon Optimization Manual.
2710         (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
2711         vector.
2712         (fsqrt instruction patterns): Set athlon_decode to direct.
2713         (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
2714         PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
2715         (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
2716         and TARGET_PARTIAL_REGISTER_STALL machines.
2717         (pushdf_nointeger): New pattern.
2718         (pushdf_integer): Rename from pushdf.
2719         (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
2720         (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
2721
2722 2000-04-17  Richard Henderson  <rth@cygnus.com>
2723
2724         * loop.c (canonicalize_condition): Add WANT_REG argument.
2725         Stop the search if we match it.
2726         * expr.h (canonicalize_condition): Update decl.
2727         * predict.c (expected_value_to_br_prob): Use it.  Track last
2728         expected value note.
2729         (find_expected_value): Remove.
2730
2731         * reorg.c (mostly_true_jump): Always use BR_PROB if present.
2732
2733 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
2734
2735         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
2736         (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
2737         a plain file.
2738         * configure.in: Call AC_FUNC_MMAP_FILE.
2739         * configure: Regenerate.
2740         * config.in: Regenerate.
2741
2742         * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
2743         * fixinc/fixincl.c: Likewise.
2744
2745 2000-04-17  Richard Henderson  <rth@cygnus.com>
2746
2747         * builtins.c (expand_builtin_expect): New.
2748         (expand_builtin): Call it.
2749         * builtins.def (BUILT_IN_EXPECT): New.
2750         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
2751         * extend.texi: Document it.
2752
2753         * predict.c (expected_value_to_br_prob): New.
2754         (find_expected_value): New.
2755         * basic-block.h (expected_value_to_br_prob): Declare.
2756         * toplev.c (rest_of_compilation): Invoke it.
2757
2758         * rtl.h (NOTE_EXPECTED_VALUE): New.
2759         (NOTE_INSN_EXPECTED_VALUE): New.
2760         * rtl.c (note_insn_name): Update.
2761         * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
2762         cases; handle NOTE_INSN_EXPECTED_VALUE.
2763
2764 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
2765
2766         * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
2767         leaf sibcall delay slot if flag_pic.
2768         (output_sibcall): Always emit call for leaf sibcall if flag_pic.
2769
2770 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2771
2772         * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
2773
2774         * fixproto: If fix-header fails, exit with an error.
2775
2776 Mon Apr 17 14:59:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2777
2778         * cse.c (struct check_depdendence_data): New.
2779         (check_dependence): New function.
2780         (invalidate): Use check_depdenence.
2781
2782 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
2783
2784         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
2785         UNITS_PER_WORD is unsigned.
2786
2787         * tree.h (struct tree_common): Remove misleading comment.
2788
2789 2000-04-16  Dave Pitts  <dpitts@cozx.com>
2790
2791         * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
2792         message in quotes. Otherwise, IBM's make program treats the '#' as the
2793         start of a comment and ignores the remainder of the line.
2794
2795         * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
2796         upper case.
2797         * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
2798         * cexp.y (initialize_random_junk): Likewise.
2799         * cppfiles.c (find_include_file): Cast alloca return value.
2800         * cppinit.c (initialize_standard_includes): Likewise.
2801         * cpplib.c (cpp_define, cpp_undef): Likewise.
2802         * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
2803         * final.c (output_asm_insn): Allow for holes in EBCDIC.
2804         * fold-const.c (CHARMASK): New.
2805         (real_hex_to_f): Use it.
2806         * real.c (CHARMASK): New.
2807         (etoasc, asctoeg): Use it.
2808         (asctoeg): EBCDIC lower case characters preceed upper case.
2809
2810         * i370.c (mvs_add_label): Change spacing for coding conventions.
2811         * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
2812         outputing case vectors.
2813         (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
2814         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
2815         since vector in in the data CSECT.
2816         (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
2817         * i370.md (Many patterns): Put the length in the XL directives.
2818         (movdi): Put back STM and MVC in definition.
2819         (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
2820         pattern using the TCA.
2821         * oe.h (CPP_SPEC): Added to allow trigraphs.
2822         * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
2823         not support the "long long" type.
2824
2825 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
2826
2827         * config/mips/mips-protos.h (mips_legitimate_address_p): New
2828         function.
2829         (mips_reg_mode_ok_for_base_p): Likewise.
2830         * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
2831         (REG_OK_FOR_INDEX_P): Define unconditionally.
2832         (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
2833         (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
2834         * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
2835         that GET_MODE_SIZE is unsigned.
2836         (mips_reg_mode_ok_for_base_p): Define.
2837         (mips_legitimate_address_p): Likewise.  Adjust now
2838         that GET_MODE_SIZE is unsigned.
2839         (block_move_loop): Make the number of bytes unsigned.
2840         (expand_block_move): Likewise.
2841         (function_arg): Make the loop counter unsigned to match the
2842         boundary condition.
2843
2844 2000-04-16  Richard Henderson  <rth@cygnus.com>
2845
2846         * rtl.h (enum insn_note): New enumeration.  Subsume
2847         NOTE_INSN_DELETED and friends.
2848         (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
2849         * rtl.c (note_insn_name): Tweak string order.
2850
2851 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
2852
2853         * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
2854         to offset * 2.
2855
2856         * cpplex.c (output_line_command): Remove debugging prints.
2857         (cpp_output_tokens): Don't write out a zero-length buffer or
2858         try to see if it has a newline in it.
2859         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
2860         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
2861         the end of the loop.  Use memmove.  Don't read past the end of
2862         the buffer.  Remove trailing newlines from error messages.
2863
2864 2004-04-16  Neil Booth  <NeilB@earthling.net>
2865
2866         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
2867         * cpplib.c: Add new syntax flags to directive table, and
2868         supporting macros.
2869
2870 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
2871
2872         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
2873         using ret $N.
2874
2875 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
2876
2877         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
2878         * haifa-sched.c: Update -fsched-verbose comments to use "=".
2879
2880 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2881
2882         * Makefile.in (ggc-page.o): Now includes toplev.h.
2883         * ggc-page.c (toplev.h): Now included.
2884         (gc_time): Remove declaration.
2885         (ggc_collect): TIME now long.
2886         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
2887         others static.
2888         * toplev.h (gc_time, parse_time, gc_time): New declarations.
2889
2890         * toplev.c: Make *_time variable long to reduce chance of overflow.
2891         (TIMEVAR): Likewise for `otime'.
2892         (print_time): Arg is now long; compute percentage in FP and round.
2893         * toplev.h (print_time): Arg is long.
2894
2895         * tree.c: Minor whitespace changes.
2896
2897         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
2898         * configure: Rebuilt.
2899         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
2900         (__fixunsxfDI): Renamed from __fixunsxfdi.
2901         (__fixunsdfDI): Renamed from __fixunsdfdi.
2902         (__fixunssfDI): Renamed from __fixunssfdi.
2903         (__floatdisf): Use proper type in REP_BIT macro.
2904         (__fixunsxfSI): Renamed from __fixunsxfsi.
2905         (__fixunsdfSI): Renamed from __fixunsdfsi.
2906         (__fixunssfSI): Renamed from __fixunssfsi.
2907         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
2908         Change location of macros and upper-case some names as above.
2909         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
2910         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
2911
2912         * varasm.c (assemble_variable): Add cast to remove warning.
2913         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
2914
2915         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
2916         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
2917         region number to -1.
2918
2919 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
2920
2921         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
2922         call unshare_all_rtl.
2923
2924         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
2925
2926 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
2927
2928         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
2929         Use .s1 not .s0 for all FP instructions.
2930
2931 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
2932
2933         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
2934         interfaces.
2935         (safe_fwrite, output_line_command): New static functions.
2936         (cpp_expand_to_buffer): Now private to cpplib.
2937         (cpp_scan_buffer): Take a printer.
2938
2939         * cpphash.h: Update prototypes.
2940         * cpplib.h: Update prototypes.
2941         (cpp_printer): New.
2942         (cpp_buffer): Remove last_nominal_fname.
2943         (cpp_reader): Remove lineno.
2944
2945         * cppmain.c: Use a cpp_printer.
2946         * fix-header.c: No need to inhibit line commands.  Call
2947         cpp_start_read with no printer.
2948
2949         * cpperror.c (cpp_notice_from_errno): Provide default name.
2950         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
2951         (find_include_file, cpp_read_file): Use make_IHASH.
2952         (file_cleanup): Set control_macro and clear
2953         input_stack_listing_current here.
2954         (_cpp_execute_include): Don't output entering-file marker.
2955         * cpphash.c (special_symbol): Look for the line number in the
2956         buffer, not the reader.
2957         (_cpp_macroexpand): No need to disable line commands.
2958         (_cpp_dump_definition): No need to generate line commands.
2959         (dump_hash_helper): Remove excess newline from output.
2960         * cppinit.c (dump_special_to_buffer): No need to generate line
2961         commands.
2962         (cpp_printer_init): New.
2963         (cpp_start_read): Take a printer, and start it up if it's not
2964         NULL.  No need to generate line commands.
2965         (cpp_finish): Expect no buffers stacked at all.  Take a
2966         printer argument, and flush the output buffer if it's not
2967         NULL.
2968         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
2969         Don't put two hashes at the beginning of an assertion.
2970         (cpp_get_token): Don't increment pfile->lineno or emit line
2971         commands here.  Return EOF if there's no buffer when we get
2972         EOF.
2973         * cpplib.c (do_define, skip_if_group):
2974         No need to disable line commands.
2975         (_cpp_output_line_command): Delete function.
2976         (do_line): Don't emit line commands here, but set things up so
2977         they will be emitted if necessary.  Use _cpp_fake_ihash to
2978         make unique nominal_fnames if necessary.
2979         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
2980         with 0 for column, not -1.
2981         (_cpp_handle_eof): Don't set the control macro here.  Don't
2982         clear input_stack_listing_current here.  Don't emit line
2983         commands.
2984
2985 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
2986
2987         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
2988         always, use the default SVR4 start address.
2989
2990         * config/rs6000/linux.h (LINK_SPEC): Don't define.
2991         (LINK_SHLIB_SPEC): Define.
2992         (LINK_START_DEFAULT_SPEC): Define.
2993         (LINK_OS_DEFAULT_SPEC): Define.
2994
2995         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
2996
2997         * config/rs6000/eabi.asm (__eabi): Call __init rather than
2998         __do_global_ctors to handle constructors.
2999         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
3000         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
3001         (STARTFILE_MVME_SPEC): Likewise.
3002         (STARTFILE_SIM_SPEC): Likewise.
3003         (ENDFILE_ADS_SPEC): Use crtend.
3004         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
3005         (ENDFILE_MVME_SPEC): Likewise.
3006         (ENDFILE_SIM_SPEC): Likewise.
3007         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
3008         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
3009         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
3010         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
3011         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
3012         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
3013         (CRTSTUFF_T_CFLAGS_S): Define.
3014         * config/rs6000/eabi-ctors.c: Delete.
3015
3016         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
3017         boundary.
3018         (__fini): Likewise.
3019         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
3020         boundary.
3021         (__fini): Likewise.
3022
3023 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
3024
3025         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
3026         plus mask size is smaller or equal to the mode size.
3027
3028 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3029
3030         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
3031         not yet set.
3032
3033         * expr.c (reload.h): Now included.
3034         (emit_block_move): Set volatile_ok when checking for movstr.
3035         (emit_move_1): Check for replacements in addresses in multi-word case.
3036         * Makefile.in (expr.o): Now includes reload.h.
3037
3038         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
3039         Never have a LIBCALL end a basic block.
3040         (find_basic_blocks_1): Likewise.
3041         Reorganize CALL_INSN cases.
3042
3043         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
3044
3045 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
3046
3047         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
3048         completers from mov.ret instruction.
3049
3050 2000-04-14  Richard Henderson  <rth@cygnus.com>
3051
3052         * fold-const.c (extract_muldiv): Don't distribute and widen
3053         multiply across plus for non-sizetype unsigned types.
3054
3055 2000-04-14  Richard Henderson  <rth@cygnus.com>
3056
3057         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
3058         If the original source is dead in the incr insn, it's dead now.
3059
3060 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3061
3062         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
3063         see if DECL_BIT_FIELD needs to still be set.
3064
3065         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
3066
3067         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
3068         print_int_cst_octal with something that's not an INTEGER_CST.
3069
3070         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
3071         and not a SUBREG to a FLOAT rtl.
3072
3073 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
3074
3075         * emit-rtl.c (try_split): Avoid infinite loop if the split
3076         results in a sequence that contains the original insn.
3077
3078 2000-04-13  Andreas Jaeger  <aj@suse.de>
3079
3080         * config/mips/mips.c (expand_block_move): Pass alignment
3081         argument to move_by_pieces in bits, not bytes.
3082
3083         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
3084         __pic__ for little endian.
3085
3086 2000-04-13  Andreas Jaeger  <aj@suse.de>
3087
3088         * config/i386/i386-protos.h: Add prototype for
3089         uno_comparison_operator.
3090
3091 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3092
3093         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
3094         * calls.c (ECF_PURE): New flag.
3095         (emit_call_1): Handle ECF_PURE calls.
3096         (initialize_argument_information): Unset ECF_PURE flag too.
3097         (precompute_arguments): Precompute for ECF_PURE too.
3098         (expand_call): Handle ECF_PURE calls too.
3099         (emit_library_call_value_1): Rename no_queue argument to fn_type,
3100         accept value of 2 as pure function.
3101         (emit_library_call_value, emit_library_call): Rename no_queue argument
3102         to fn_type.
3103         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
3104
3105         * tree.h (DECL_IS_PURE): New macro.
3106         (struct tree_decl): Add pure_flag.
3107         * c-common.c (enum attrs): Add attribute "pure".
3108         (init_attributes): Initialize attribute "pure"
3109         (decl_attributes): Handle attribute "pure".
3110         * extend.texi (Attribute "pure"): Document.
3111         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
3112         in pure function.
3113         (flags_from_decl_or_type): Support attribute "pure".
3114
3115 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
3116
3117         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
3118         the token except for numbers and identifiers.
3119
3120 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
3121
3122         * i386.c (ix86_expand_binary_operator,
3123         ix86_expand_unary_operator): Check no_new_pseudos
3124         instead of reload_in_progress and reload_completed.
3125         (ix86_split_ashldi, ix86_split_ashrdi,
3126         ix86_split_lshrdi): Check no_new_pseudos instead
3127         of reload_completed.
3128
3129 2000-04-12  Jeffrey A Law  (law@cygnus.com)
3130
3131         * function.c (purge_addressof): Unshare any shared rtl created by
3132         purge_addressof and its children.
3133
3134 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
3135
3136         * function.c (aggregate_value_p): VOID_TYPE nodes are never
3137         aggregates.
3138
3139 2000-04-05  Andreas Jaeger  <aj@suse.de>
3140
3141         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
3142         not compiling PIC code, add flags for mabi=64.
3143         (SUBTARGET_CPP_SIZE_SPEC): New.
3144         (SUBTARGET_CPP_SPEC): New.
3145         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
3146         for MIPS/Linux and lots of code needs these defines.
3147
3148 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
3149
3150         * reorg.c (fill_slots_from_thread): Check side_effects_p when
3151         trying the "opposite arithmetic" approach.
3152
3153 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3154
3155         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
3156         (struct sh_args): Add new field force_mem.
3157         (INIT_CUMULATIVE_ARGS): Initialize it.
3158         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
3159
3160 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3161
3162         * calls.c (expand_call): Do not reverse args in "equal from" field.
3163         (emit_library_call_value_1): Emit_libcall_block for const and pure
3164         function.
3165
3166 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3167
3168         * reload1.c (reload_combine): Don't enable optimization for fixed
3169         registers when encountering a BARRIER.
3170
3171 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3172
3173         * builtins.c (expand_builtin_memcmp): Do expansion even with
3174         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
3175
3176         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
3177         stack is propertly aligned; add sanity checking for aligned
3178         stack pointer.
3179         (expand_library_call_value_1): Add sanity checking for aligned
3180         stack pointer.
3181
3182 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
3183
3184         * calls.c (emit_library_call_value_1): Change 3rd arg to
3185         locate_and_pad_parm to disregard the setting of partial.
3186
3187 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3188
3189         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
3190
3191         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
3192         CALL_INSN from the normal case.
3193
3194 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3195
3196         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
3197         New global variables.
3198         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
3199         adjustment.
3200         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
3201         Declare,
3202         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
3203          TARGET_ADD_ESP_8): New macros.
3204         * i386.md: Add peep2s to convert esp adjustments to push and pop
3205         instructions.
3206         (pushsi_prologue, popsi_epilogue): New patterns.
3207
3208 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3209
3210         * real.c (toe64): Remove stale #endif from the last change.
3211
3212 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
3213
3214         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
3215         * real.c (toe64): Revert previous change.
3216
3217 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3218
3219         * objc/objc-act.c: Include ggc.h.
3220         (objc_tree_index, objc_global_trees): Convert most of the
3221         static tree variables into a static array with previous names
3222         as defines.
3223         (objc_ellipsis_node): New variable.
3224         (lang_init): Call objc_act_parse_init and c_parse_init.
3225         Create objc_ellipsis_node.
3226         (build_selector_translation_table): Use objc_ellipsis_node instead
3227         of (tree)1.
3228         (hack_method_prototype): Likewise.
3229         (get_arg_type_list): Likewise.
3230         (start_method_def): Likewise.
3231         (continue_method_def): Likewise.
3232         (gen_method_decl): Likewise.
3233         (ggc_mark_imp_list): New function.
3234         (ggc_mark_hash_table): New function.
3235         (objc_act_parse_init): New function.
3236         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
3237         * c-parse.in (c_parse_init): For objc add roots of objc specific
3238         local tree variables.
3239         * objc/objc-parse.y: Rebuilt.
3240         * objc/objc-parse.c: Rebuilt.
3241         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
3242
3243 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
3244
3245         * cse.c (delete_trivially_dead_insns): Also delete insns
3246         that copy a register to itself where the destination is
3247         a strict_low_part.
3248
3249 2000-04-11  Richard Henderson  <rth@cygnus.com>
3250
3251         * flow.c (struct propagate_block_info): Add new_dead, new_live.
3252         (propagate_block): Initialize them.  Use them in parallel instead
3253         of one tmp variable, ie revert much of the 0408 and 0407 functional
3254         changes, but keep the structural changes.
3255         (mark_set_regs): Take new_dead from propagate_block_info instead.
3256         (mark_set_1, mark_set_reg): Likewise.
3257         (mark_used_regs): Likewise with new_live.
3258         (mark_used_reg): Likewise.  Revert 0408 change.
3259
3260 2000-04-11  Nick Clifton  <nickc@cygnus.com>
3261
3262         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
3263         restriction.
3264         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
3265
3266 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3267
3268         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
3269         const section to output a CONSTRUCTOR based on the same conditions
3270         used for VAR_DECLs.
3271
3272 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
3273
3274         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
3275         * pa/pa-protos.h (output_call): Add additional argument indicating
3276         if the call is a sibling/tail call.
3277         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
3278         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
3279         (function_arg, function_arg_partial_nregs): Likewise
3280         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
3281         (emit_move_sequence): Zero extend certain constants as needed
3282         for TARGET_64BIT.
3283         (compute_zdepdi_operands, output_64bit_and): New functions.
3284         (output_64bit_ior, function_arg): Likewise.
3285         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
3286         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
3287         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
3288         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
3289         (output_bvb): Likewise.
3290         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
3291         (output_call): New argument 'sibcall'.  Generate sibcall sequences
3292         as needed.
3293         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
3294         (ouput_arg_descriptor): Do not emit argument descriptors for
3295         TARGET_64BIT.
3296         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
3297         defined.
3298         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
3299         (FUNCTION_OK_FOR_SIBALL): Define.
3300         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
3301         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
3302         (CPP_SPEC): Use new spec infrastructure.
3303         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
3304         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
3305         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
3306         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
3307         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
3308         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
3309         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
3310         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
3311         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
3312         (FUNCTION_ARG); Call out to C code.
3313         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
3314         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
3315         (MIN_UNITS_PER_WORD): Likewise.
3316         * pa/pa.md (cmpdi): New expander.
3317         (scc patterns, movstrsi): Not available for TARGET_64BIT.
3318         (64bit conditional arithmetic): New patterns.
3319         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
3320         (movsicc): Not available if modes on all the operands to not match.
3321         (movdicc): New expander and associated patterns.
3322         (64bit branches): New patterns.
3323         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
3324         (pre_ldd, post_std): New patterns.
3325         (64bit addil, load low part): New patterns.
3326         (special movsf constant): Not available for TARGET_64BIT.
3327         (movsf, movdf expanders): Force constants into memory.
3328         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
3329         (64bit movdf/movdi patterns): New patterns.
3330         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
3331         for TARGET_64BIT.
3332         (extendqidi2, extendhidi2, extendsidi2): Similarly.
3333         (adddi3 expander): Allow "arith_operand" for second input.
3334         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
3335         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
3336         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
3337         (muldi3): New expander for TARGET_64BIT.
3338         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
3339         for TARGET_64BIT.
3340         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
3341         patterns for TARGET_64BIT.
3342         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
3343         patterns for TARGET_64BIT.
3344         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
3345         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
3346         (sibcall_epilogue): New expander.
3347         (casesi): Tweak for TARGET_64BIT.
3348         (call expanders): Set & use the outgoing argument pointer.  Use the
3349         64bit call patterns as needed. Add additional arg to output_call.
3350         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
3351         (sibcall, sibcall_internal_symref): New expanders.
3352         (sibcall_value, sibcall_value_internal_symref
3353         (interspace_jump): Turn into an expander + matching patterns.
3354         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
3355         * pa/pa64-regs.h: Eliminate trigraph sequences.
3356         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
3357
3358 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
3359
3360         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
3361         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
3362         cpp_token with cpp_ttype everywhere.
3363         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
3364         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
3365         CPP_BUF_COL.  Line and column numbers are unsigned int, not
3366         long.
3367         * cpplex.c (cpp_buf_line_and_col): Delete.
3368         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
3369         'long lineno' to 'unsigned int lineno'.
3370         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
3371
3372 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3373
3374         * extend.texi: ISO C99 is not a draft anymore.
3375         * invoke.texi: ISO C++ is not a draft anymore.
3376         * cpp.texi: __cplusplus is required by the ISO standard.
3377
3378         * extend.texi (-fthis-is-variable): Undocument.
3379         * flags.h (warn_template_debugging): Remove declaration.
3380         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
3381         -Wenum-clash, -Wtemplate-debugging): Undocument.
3382
3383 2000-04-10  Nick Clifton  <nickc@cygnus.com>
3384
3385         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
3386         integer.
3387         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
3388         integer.
3389         (ARM_SIGN_EXTEND): Use HOST_UINT.
3390         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
3391         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
3392         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
3393         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
3394
3395         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
3396         (arm_gen_constant): Use HOST_UINT.
3397         (arm_canonicalize_constant): Use HOST_UINT.
3398         (arm_reload_in_hi): Use HOST_UINT.
3399         (arm_reload_out_hi): Use HOST_UINT.
3400         (output_multi_immediate): Use HOST_UINT.
3401         (int_log2): Use HOST_UINT.
3402         (arm_poke_function_name): Use HOST_UINT.
3403         (arm_output_epilogue): Use arm_volatile_func().
3404         (output_thumb_prologue): Use arm_strip_name_encoding().
3405
3406 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3407
3408         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
3409         of sequence point problems.
3410
3411 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
3412
3413         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
3414         Recomment.
3415         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
3416
3417 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3418
3419         * sbitmap.h: Whitespace changes and use upper-case macro args.
3420         (struct simple_bitmap_def): All sizes now unsigned.
3421         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
3422         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
3423         (sbitmap_vector_alloc): Parms and local vars now unsigned.
3424         (sbitmap_zero): Cast bzero arg to PTR.
3425         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
3426         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
3427         loop to make structure clearer.
3428         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
3429         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
3430         (sbitmap_a_and_b_or_c): Likewise.
3431         (sbitmap_intersection_of_succs): Minor cleanups.
3432         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
3433         (sbitmap_union_of_preds): Likewise.
3434         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
3435         (debug_sbitmap): New function.
3436
3437         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
3438         * c-typeck.c (convert_for_assignment): Likewise.
3439
3440         * expmed.c (init_expmed): Don't free objects we make.
3441         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
3442
3443         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
3444         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
3445
3446         * gcse.c (expr_hash_table_size): Now unsigned.
3447         (compute_ae_gen): Local variable `i' now unsigned.
3448         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
3449         (compute_transout, hoist_code): Likewise.
3450         (compute_local_properties): Likewise, also hash_table_size.
3451         (alloc_expr_hash_table): N_INSNS now unsigned.
3452         (delete_null_pointer_checks): Mark arg F as unused.
3453
3454         * regrename.c: Minor cleanups, including chang some variables
3455         to unsigned int.
3456
3457 2000-04-10  Neil Booth  <NeilB@earthling.net>
3458
3459         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
3460         than GETC ().
3461         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
3462
3463 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3464
3465         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
3466         __classof__, and __headof__ from the list of gnu keywords.
3467         (-ansi): Remove -foperator-names from list of implied options.
3468         Do not call it ANSI C++.
3469         (-foperator-names): Document as -fno-operator-names.
3470
3471 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
3472
3473         * cpphash.c (timestamp): Delete.
3474         (del_HASHNODE): If type is T_MCONST, free value.cpval.
3475         (special_symbol): Remove unnecessary braces.  Remove
3476         T_VERSION.  Treat T_STDC like T_CONST unless
3477         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
3478         when one is encountered, then convert them into T_MCONST
3479         nodes.
3480         * cppinit.c (builtin_array): version_string is T_MCONST.
3481         __STDC__ has a "1" in its cpval.  Don't have a terminator
3482         entry.  Clean up which entries are dumped.
3483         (initialize_builtins): Only __STDC__ gets the special
3484         -traditional treatment.  Count the length of builtin_array.
3485         Render version_string here.
3486         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
3487         * cpplib.h (struct cpp_reader): Remove timebuf.
3488
3489 2000-04-09  Richard Henderson  <rth@cygnus.com>
3490
3491         * genrecog.c (pred): Update comparison_operator for the unordered
3492         operators.
3493
3494         * config/i386/i386.c (no_comparison_operator): Disallow unordered
3495         operators.
3496         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
3497         (uno_comparison_operator): New.
3498         (put_condition_code): Handle UNORDERED/ORDERED.
3499         (unsigned_comparison): Likewise.
3500         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
3501         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
3502         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
3503         update all callers.  Handle all 8 unordered operators.
3504         (ix86_expand_setcc): Lose the unordered argument, update all callers.
3505         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
3506         * config/i386/i386.h (PREDICATE_CODES): Update.
3507         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
3508         (ix86_expand_branch, ix86_expand_setcc): Update.
3509         * config/i386/i386.md (sunordered, sordered): New.
3510         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
3511         (bunordered, bordered): New.
3512         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
3513         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
3514         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
3515
3516 2000-04-09  Philip Blundell  <philb@gnu.org>
3517
3518         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
3519
3520 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
3521
3522         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
3523         fix_truncxfhi2): New patterns.
3524         * i386.c (output_fix_trunc): Handle converting to HImode.
3525
3526 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
3527
3528         * ssa.c (convert_to_ssa): Eliminate dead code when calling
3529         life_analysis.
3530         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
3531         (for_each_successor_phi): Change parameter to basic_block.
3532         (coalesce_regs_in_successor_phi_nodes): Likewise.
3533         (coalesce_regs_in_copies): Likewise.
3534         (compute_coalesced_reg_partition): Use basic_block instead of index.
3535         * rtl.h (convert_to_ssa): Delete.
3536         (convert_from_ssa): Likewise.
3537         (successor_phi_fn): Likewise.
3538         (for_each_successor_phi): Likewise.
3539         (in_ssa_form): Likewise.
3540         * basic-block.h (convert_to_ssa): Moved from rtl.h.
3541         (convert_from_ssa): Likewise.
3542         (successor_phi_fn): Likewise.
3543         (in_ssa_form): Likewise.
3544         (for_each_successor_phi): Likewise.  Change parameter to basic_block.
3545         * flow.c (calculate_global_regs_live): Pass a basic_block to
3546         for_each_successor_phi.
3547
3548 2000-04-08  Richard Henderson  <rth@cygnus.com>
3549
3550         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
3551         was modified in the current insn.
3552
3553 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
3554
3555         * arm/thumb.md: Delete.
3556         * arm/thumb-protos.h: Delete.
3557
3558 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
3559
3560         Merge changes from merged-arm-thumb-backend-branch onto trunk.
3561
3562         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
3563
3564         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
3565         into branch.
3566
3567         * arm.md (nop): Use the standard RTL expression.  Don't code as a
3568         define_expand.
3569         (*arm_nop, *thumb_nop): Delete.
3570
3571         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
3572         constants.  Use casts instead.
3573         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
3574         output_multi_immediate, arm_poke_function_name): Likewise.
3575         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
3576         MASK_RETURN_ADDDR): Likewise.
3577
3578         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
3579
3580         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
3581         into branch.
3582
3583         * arm.md (eh_epilogue): New function.
3584         * arm.h (struct machine_function): Move to here ...
3585         * arm.c: ... from here.
3586         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
3587         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
3588         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
3589
3590         2000-03-30  Nick Clifton  <nickc@cygnus.com>
3591
3592         * config/arm/semi.h (ASM_SPEC): Restore definition.
3593         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
3594
3595         * config/arm/elf.h (ASM_SPEC): Restore definition.
3596         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
3597
3598         * config/arm/arm.h (ASM_SPEC): Remove definition.
3599         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
3600
3601         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
3602
3603         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
3604
3605         2000-03-24  Nick Clifton  <nickc@cygnus.com>
3606
3607         Various formating tidyups, elimination of compile time
3608         warnings and synchronisation with internal sources:
3609
3610         * config/arm/arm-protos.h (assemble_align): Add prototype.
3611         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
3612         (gen_comapre_reg): Rename to arm_gen_compare_reg.
3613         (arm_return_addr_rtx): Rename to arm_return_addr.
3614
3615         * config/arm/arm.c: Include except.h.
3616         Define shorter typenames for strict minipool_node and struct
3617         minipool_fix.
3618         (arm_return_in_memory): For WinCE return all structures <= 32 bits
3619         in memory.
3620         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
3621         (gen_comapre_reg): Rename to arm_gen_compare_reg.
3622
3623         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
3624         already defined.
3625         (ASM_SPEC): Define if not already defined.
3626         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
3627
3628         * config/arm/arm.md: Rename references to gen_rotated_half_load to
3629         arm_gen_rotated_half_load, and references to gen_comapre_reg to
3630         arm_gen_compare_reg.
3631         (indirect_jump):  Only accept register operands.
3632         (load_indirect_jump): Keep this pattern since combine can generate
3633         it.
3634
3635         * config/arm/coff.h: Include aout.h.
3636         (MULTILIB_DEFAULTS): Only define if not already defined.
3637
3638         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
3639         into arm.h (so that COFF ports can support thumb based aliases).
3640         (ASM_SPEC): Move definition into arm.h
3641
3642         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
3643         redundant apcs spec.
3644         (ASM_SPEC): Move definition to arm.h
3645
3646         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
3647
3648         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
3649         for entries in the .bss section
3650
3651         2000-03-23  Nick Clifton  <nickc@cygnus.com>
3652
3653         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
3654         to thumb_far_jump_used_p.
3655
3656         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
3657         single integer parameter.
3658
3659         * config/arm/arm.c (struct machine_function): Add two new
3660         fields, 'far_jump_used' and 'arg_pointer_live'.
3661         (thumb_far_jump_used_p): Once the decision has been made that
3662         far jumps might be used, always return true.
3663         If being called from the initial elimination offset macro then
3664         do not bother to perform the test if the arg pointer is not
3665         being used.
3666         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
3667         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
3668
3669         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
3670
3671         * arm.c (output_return_instruction): Handle more cases where we can
3672         return from a function with an ldr instruction.
3673         (arm_output_epilogue): Likewise.
3674
3675         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
3676         if we need to push a large stack frame and there are no callee-saved
3677         registers.
3678
3679         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
3680         in ARM code if the frame pointer has been eliminated.
3681
3682         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
3683         unspec_volatile arguments to avoid duplicates.
3684         (consttable_1, consttable_2): Fixes for big-endian mode.
3685
3686         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
3687         as appropriate.
3688
3689         Re-write constant pool code.
3690         * arm.c (minipool_node, minipool_fix): New types.
3691         (minifix): Delete type.
3692         (arm_add_minipool_constant): Delete.
3693         (arm_compute_minipool_offsets, arm_find_barrier,
3694         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
3695         (get_jump_table_size): Now returns HOST_WIDE_INT.
3696         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
3697         functions.
3698         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
3699         (assign_minipool_offsets, arm_print_value): Likewise.
3700         (dump_minipool): Rewrite.
3701         (arm_barrier_cost): New function.
3702         (create_fix_barrier): New function.
3703         (push_minipool_barrier): New function.
3704         (push_minipool_fix): Record additional information about the fixup
3705         required.
3706         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
3707         check the mode of what needs fixing.
3708         (arm_reorg): Rewrite.
3709
3710         2000-03-08  Nick Clifton  <nickc@cygnus.com>
3711
3712         * config/arm/arm.md (indirect_jump): Force constant addresses into
3713         a register.
3714
3715         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
3716
3717         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
3718
3719         2000-02-24  Nick Clifton  <nickc@cygnus.com>
3720
3721         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
3722         adjust is word aligned.
3723         (thumb_expand_epilogue): Make sure that stack adjust is word
3724         aligned.
3725
3726         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
3727
3728         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
3729
3730         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
3731         pointer relative addresses.
3732
3733         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
3734
3735         * arm.c (find_barrier): Find the last barrier within the allowed
3736         range.
3737
3738         2000-02-09  Nick Clifton  <nickc@cygnus.com>
3739
3740         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
3741
3742         2000-02-09  Nick Clifton  <nickc@cygnus.com>
3743
3744         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
3745         ARM_FUNCTION_PROFILER.
3746
3747         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
3748         ARM_FUNCTION_PROFILER.
3749
3750         * config/arm/linux-oldld.h: Imported from mainline sources.
3751
3752         2000-02-07  Nick Clifton  <nickc@cygnus.com>
3753
3754         * config/arm/lib1funcs.asm: Merge in thumb functions from
3755         lib1thumb.asm.
3756
3757         * config/arm/lib1thumb.asm: Delete.
3758
3759         2000-02-04  Nick Clifton  <nickc@cygnus.com>
3760
3761         * config/arm/arm.c: Sychronised with current Red hat local
3762         sources.
3763         * config/arm/arm.h: Ditto.
3764         * config/arm/arm-protos.h: Ditto.
3765
3766         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
3767
3768         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
3769
3770         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
3771         byte stores.
3772
3773         2000-02-02  Nick Clifton  <nickc@cygnus.com>
3774
3775         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
3776
3777         * config/arm/arm.md (epilogue): Fix rtl checking abort because
3778         (return) was emited using an emit_insn() call.
3779
3780         2000-01-31  Nick Clifton  <nickc@cygnus.com>
3781
3782         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
3783         thumb stack frame.
3784         (thumb_exit): Move frame pointer back into hard frame pointer
3785         register if backtracing is being used.
3786
3787         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
3788
3789         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
3790         into branch.
3791
3792         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
3793
3794         * config/arm/arm.md (neg_pool_offset): Provide default for new
3795         attribute.
3796         (arm_movsi_insn): Add neg_pool_offset attribute.
3797         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
3798         rtx for the insn that starts the scan and an unsigned long for its
3799         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
3800         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
3801         instructions in *PINSERTED.
3802         (struct minipool_fixup): Add MIN_ADDRESS elt.
3803         (sort_fixups): Compute it.
3804         (arm_reorg): Changes to support inserting pools before the insn to be
3805         fixed up.
3806
3807         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
3808
3809         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
3810         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
3811         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
3812
3813         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
3814
3815         * config/arm/semi.h (TARGET_VERSION): Do not define if already
3816         defined.
3817         (TARGET_DEFAULT): Do not define if already defined.
3818
3819         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
3820
3821         * config/arm/arm.md (anddi3): Allow disjoint source operands.
3822         (iordi3): Allow disjoint source operands.
3823         (xordi3): Allow disjoint source operands.
3824         (negdi2): Permit construction for ARM and Thumb.
3825         (arm_negdi2): Renamed version of old negdi2 pattern.
3826         (thumb_negdi2): New pattern: Only permit non-overlapping
3827         source and destination.
3828
3829         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
3830
3831         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
3832         scratch low register so that it will not be deleted.
3833
3834         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
3835
3836         * config/arm/pe.h (ARM_PE): Define.
3837
3838         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
3839         interfacearm attribute if this is a PE toolchain.
3840         (output_return_instruction): Do not emit anything if the function
3841         has the naked attribute set.
3842         (is_called_in_ARM_mode): If the function has the interfacearm
3843         attribute then return true.
3844         (thumb_expand_prologue): Do not generate a prologue for naked
3845         functions.
3846         (thumb_expand_epilogue): Do not generate an epilogie for a naked
3847         function.
3848         (output_thumb_prologue): Do not bother if the function is naked.
3849         Strip PE encoding from function name before emitting.
3850
3851         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
3852
3853         * arm.md (pic_load_addr): Fix constraints.
3854
3855         * arm.md (casesi_insn): Fix mis-applied patch.
3856
3857         * arm.md ("core" function unit): Add rules for single- and
3858         multi-cycle insns.
3859         (All TARGET_THUMB patterns): Add "type" attribute information
3860         where needed.
3861         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
3862         the following insn is a CALL.
3863
3864         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
3865         pointer.
3866         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
3867         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
3868         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
3869
3870         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
3871
3872         * config/arm/linux-gas.h: oops - this file was missed out when the
3873         branch was created...
3874
3875         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
3876
3877         * thumb.c: Deleted.  Move contents to ...
3878         * arm.c: ... here.
3879         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
3880         rule for thumb.o
3881         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
3882         * configure: Regen.
3883
3884         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
3885         declare a prototype for asm_output_align();
3886
3887         * arm.c (thumb_condition_code): Delete.
3888         (arm_print_operand): Always use arm_condition_code array.
3889
3890         * arm.c (thumb_return_addr_rtx): Delete.
3891         (arm_save_machine_status, arm_restore_machine_status): Delete.
3892         (arm_init_machine_status, arm_mark_machine_status): New functions.
3893         (arm_init_expanders): Update accordingly.
3894         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
3895         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
3896         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
3897
3898         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
3899
3900         * configure.in : Fix arm-*-aout target to use new t-arm-aout
3901         script.
3902         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
3903         targets.
3904
3905         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
3906
3907         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
3908         stack backtrace structure.
3909
3910         * config/arm/arm-protos.h: Add prototypes for functions defined in
3911         arm/pe.h.
3912
3913         * config/arm/arm.c (arm_override_options): Fix selection of
3914         attributes of default processor.
3915
3916         * config/arm/coff.h: Delete needless #include.
3917
3918         * config/arm/pe.c: Delete unused code.
3919
3920         * config/arm/pe.h (CPP_DEFINES): Delete
3921         (SUBTARGET_CPP_SPEC): Define.
3922         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
3923
3924         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
3925
3926         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
3927
3928         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
3929         updated.
3930         (CAN_DEBUG_WITHOUT_FP): Define.
3931         (FIXED_REGISTERS): Make r11 call-saved.
3932         (CALL_USED_REGISTERS): Likewise.
3933         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
3934         (FRAME_POINTER_REQUIRED): Correct logic for determining when a
3935         frame-pointer is required.
3936         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
3937         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
3938         if the target normally needs a stack frame in non-leaf functions.
3939         (use_return_insn): Correct logic for determining when a return
3940         instruction can be used.
3941         (output_return_instruction): Handle the frame-pointer register as
3942         a normal register when not TARGET_APCS_FRAME.
3943         (arm_output_prologue): Likewise.
3944         (arm_output_epilogue): Likewise.
3945         (output_func_epilogue): Likewise.
3946         (arm_expand_prologue): Likewise.
3947         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
3948
3949         * arm.c (use_return_insn): No need to check floating point regs if
3950         TARGET_SOFT_FLOAT.
3951         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
3952         the code of value stored in the minipool array.
3953         (arm_add_minipool_constant): Likewise.
3954
3955 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3956
3957         * basic-block.h (conflict_graph_enum_fn): K&R fix.
3958
3959 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3960
3961         * tree.c (tree_expr_nonnegative_p): New function.
3962
3963         * tree.h (tree_expr_nonnegative_p): Declare.
3964
3965         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
3966         elide some sign_compare warnings.
3967         (build_conditional_expr): Likewise.
3968
3969 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
3970
3971         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
3972
3973         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
3974         * i386.c (print_operand): Use the proper suffix for a 387 HImode
3975         operand.  Abort if a 387 operand has an unsupported size.
3976
3977 2000-04-08  Neil Booth  <NeilB@earthling.net>
3978
3979         * cppexp.c (parse_charconst): Null does not end character
3980         constants.
3981         * cppinit.c (ISTABLE): Null character handled as whitespace.
3982         * cpplex.c (null_warning):  new function.
3983         (skip_string): Emit warning if nulls encountered.
3984         (_cpp_skip_hspace): Emit warning if nulls encountered.
3985         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
3986         them.
3987         * cpp.texi: Update.
3988
3989 2000-04-07  Richard Henderson  <rth@cygnus.com>
3990
3991         * flow.c (loop_depth): Remove.
3992         (reg_next_use, cc0_live, mem_set_list): Replace with ...
3993         (struct propagate_block_info): New.
3994         (life_analysis): Don't allocate reg_next_use.
3995         (propagate_block_delete_insn): Break out of propagate_block.
3996         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
3997         (propagate_block_delete_libcall): Likewise.
3998         (propagate_block): Create a propagate_block_info struct to pass
3999         to subroutines.  Allocate one not two temporary regsets.  Don't
4000         clobber memory for const calls.  Look for clobbers in
4001         CALL_INSN_FUNCTION_USAGE.
4002         (mark_set_regs): Recognize COND_EXEC.
4003         (mark_set_reg): Break out of mark_set_1.
4004         (mark_used_reg): Break out of mark_used_regs.
4005         (mark_used_regs): Recognize COND_EXEC.
4006         (insn_dead_p): Use propagate_block_info struct.
4007         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
4008         (find_auto_inc, try_pre_increment_1): Likewise.
4009         (print_rtl_with_bb): Dump regs live at end too.
4010         (count_reg_sets_1): Pass in loop_depth.
4011         (count_reg_sets, count_reg_references): Likewise.
4012         (recompute_reg_usage): Provide it.
4013
4014 2000-04-07  Richard Henderson  <rth@cygnus.com>
4015
4016         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
4017         not the raw files.
4018
4019 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
4020
4021         * cpplib.c (do_elif): Skip the rest of the line if we're
4022         not going to bother evaluating it.
4023         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
4024         to avoid pointless calls to the lexer.
4025
4026 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
4027
4028         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
4029
4030 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
4031
4032         * calls.c (expand_call): emit_queue if we're trying a sibcall.
4033
4034 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
4035
4036         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
4037
4038 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
4039
4040         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
4041         crtend so they can be multilibbed.
4042         (STAGESTUFF): Remove s-crt and s-crtS.
4043
4044 2000-04-07  Richard Henderson  <rth@cygnus.com>
4045
4046         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
4047         if we discover we need a pseudo and no_new_pseudos is true.
4048         * config/alpha/alpha.md (ne:DI insn): New.
4049         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
4050
4051 2000-04-07  Richard Henderson  <rth@cygnus.com>
4052
4053         * rtl.def (COND_EXEC): New.
4054         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
4055         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
4056
4057         * genconfig.c (have_cond_arith_flag): Remove.
4058         (have_cond_exec_flag): New.
4059         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
4060         (main): Print HAVE_conditional_execution.
4061
4062         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
4063         (sched_analyze_insn, print_pattern): Likewise.
4064         * reload.c (find_equiv_reg): Likewise.
4065         * rtlanal.c (reg_referenced_p): Likewise.
4066         (note_stores, dead_or_set_regno_p): Likewise.
4067         (reg_overlap_mentioned_p): Rewrite to use a switch.
4068
4069         * ggc.h (struct rtx_def): Forward declare.
4070
4071         * print-rtl.c (debug_rtx_range): New.
4072         * rtl.h (debug_rtx_range): Declare.
4073
4074         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
4075
4076         * gcse.c (gcse_main): Don't rebuild the CFG here.
4077         (delete_null_pointer_checks): Likewise.
4078         * ssa.c (convert_to_ssa): Likewise.
4079         * toplev.c (rest_of_compilation): Do it here instead.  Combine
4080         sequential calls to TIMEVAR.  Consistently use `insns' instead of
4081         `get_insns()'.  Always split insns after reload when optimizing.
4082
4083         * basic-block.h (merge_blocks_nomove): Declare.
4084         (tidy_fallthru_edge): Declare.
4085         * flow.c (merge_blocks_nomove): Document as merging into previous
4086         blocks.  Remove cruft from between blocks; remove all edges out of A.
4087         (tidy_fallthru_edge): Export.
4088
4089 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
4090
4091         * ssa.c (compute_conservative_reg_partition): Declare with
4092         void arguments.
4093         * toplev.c (clean_dump_file): Remove previously-deleted function
4094         inadvertantly merged back in.
4095         * conflict.c (conflict_graph_add): Use a single call to
4096         htab_find_slot to look up and insert.
4097
4098 2000-04-06  Richard Henderson  <rth@cygnus.com>
4099
4100         * genrecog.c (*): Rename _last_insn to last_insn.
4101         (make_insn_sequence): Set the position of the peephole2 C test
4102         to be at the last insn.
4103
4104 2000-04-06  Richard Henderson  <rth@cygnus.com>
4105
4106         * flow.c (compute_flow_dominators): Free worklist.
4107
4108 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
4109
4110         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
4111
4112 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
4113
4114         * rtl.h (INSN_P): New macro.
4115         (successor_phi_fn): New typedef.
4116         (for_each_successor_phi): New prototype.
4117         (in_ssa_form): New variable.
4118         (PHI_NODE_P): Likewise.
4119         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
4120         phi nodes in successors.
4121         (mark_used_regs): Add PHI case.
4122         (set_phi_alternative_reg): New function.
4123         (life_analysis): Assert that dead code elimination is not selected
4124         when in SSA form.
4125         * toplev.c (to_ssa_time): New variable.
4126         (from_ssa_time): Likewise.
4127         (compile_file): Zero to_ssa_time and from_ssa_time.
4128         Print time to convert to and from SSA.
4129         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
4130         (print_time): Compute percent fraction as integer.
4131         * ssa.c (PHI_NODE_P): Moved to rtl.h.
4132         (convert_to_ssa): Check if we're already in SSA.
4133         Don't eliminate dead code in life_analysis.
4134         Rerun flow and life analysis at bottom.
4135         (eliminate_phi): Use canonical regnos when adding nodes.
4136         (mark_reg_in_phi): New function.
4137         (mark_phi_and_copy_regs): Likewise.
4138         (convert_from_ssa): Rerun life analysis at top.
4139         Use coalesced partition.
4140         Check for removing a phi node at the end of the block.
4141         (compute_coalesced_reg_partition): New function.
4142         (coalesce_regs_in_copies): Likewise.
4143         (coalesce_reg_in_phi): Likewise.
4144         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
4145         (for_each_successor_phi): Likewise.
4146         (rename_context): New struct.
4147         (rename_block): Use a rename_context with rename_insn_1.  When
4148         renaming sets of a subreg, emit a copy of the entire reg first.
4149         (rename_insn_1): Treat data as a rename_context *.  Save current
4150         insn in set_data.
4151         (rename_set_data): Add field set_insn.
4152         * Makefile.in (HASHTAB_H): Move up in file.
4153         (OBSTACK_H): New macro.
4154         (collect2.o): Use OBSTACK_H in dependencies.
4155         (sdbout.o): Likewise.
4156         (emit-rtl.o): Likewise.
4157         (simplify-rtx.o): Likewise.
4158         (fix-header.o): Likewise.
4159         (OBJS): Add conflict.o.
4160         (conflict.o): New rule.
4161         * basic-block.h: Include partition.h.
4162         (conflict_graph): New typedef.
4163         (conflict_graph_enum_fn): Likewise.
4164         (conflict_graph_new): New prototype.
4165         (conflict_graph_delete): Likewise.
4166         (conflict_graph_add): Likewise.
4167         (conflict_graph_conflict_p): Likewise.
4168         (conflict_graph_enum): Likewise.
4169         (conflict_graph_merge_regs): Likewise.
4170         (conflict_graph_print): Likewise.
4171         (conflict_graph_compute): Likewise.
4172         * conflict.c: New file.
4173
4174 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
4175
4176         * tlink.c (read_repo_files): Don't look for .rpo info for
4177         linker flags.
4178
4179 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4180
4181         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
4182
4183 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4184
4185         * config/sh/lib1funcs.asm (___udivsi3_i4):
4186         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
4187         only depends on FMOVD_WORKS.
4188
4189 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4190
4191         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
4192         make double constant 8-byte aligned.
4193
4194 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
4195
4196         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
4197         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
4198         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
4199         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
4200         Accept storing GENERAL_REGS into offsetable memory.
4201         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
4202         building a TFmode constant other than 0.0L into GENERAL_REGS.
4203
4204 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
4205
4206         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
4207
4208 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
4209
4210         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
4211         (macro_cleanup): No need to cast pbuf->macro.
4212         (collect_expansion): Use _cpp_get_define_token.  Goto done if
4213         it returns VSPACE.  Remove check for trailing space after
4214         CPP_COMMENT.
4215         (_cpp_create_definition): Don't diddle flags here.  Return
4216         directly on error.
4217         (unsafe_chars): Handle c1 being EOF.
4218         (push_macro_expansion): Use unsafe_chars for both accidental-paste
4219         checks.  Don't push the buffer till after we're done with
4220         them.
4221         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
4222         (PEEKN, FORWARD, GETC, PEEKC): Use them.
4223         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
4224         appropriately.
4225         (_cpp_parse_assertion): Don't NUL terminate.
4226         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
4227         hspace before calling _cpp_parse_assertion.  Remove all sets
4228         of only_seen_white. Treat '\f' as hspace.  Don't do anything
4229         special with '\n' here.
4230         (maybe_macroexpand): Handle T_EMPTY hash entries without
4231         pushing a buffer at all.
4232         (cpp_get_token): Handle clearing only_seen_white here.  Handle
4233         incrementing the line number here.  Clear
4234         potential_control_macro as well as only_seen_white, if
4235         appropriate.
4236         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
4237         (_cpp_get_define_token): New function, basically like
4238         _cpp_get_directive_token was but doesn't eat horizontal space.
4239         Don't do anything with only_seen_white here.
4240         (_cpp_get_directive_token): Just call _cpp_get_define_token
4241         repeatedly till it returns non-hspace.
4242
4243         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
4244         (conditional_skip, skip_if_group): Return int.
4245         (DIRECTIVE_TABLE): Change origin of all conditional directives
4246         to "COND".
4247         (TRAD_DIRECT_P): New macro.
4248         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
4249         an error for a bogus directive, unless -lang-asm.  Use
4250         TRAD_DIRECT_P. Loop calling handler functions till one returns
4251         zero.
4252         (get_macro_name): Don't diddle flags here.
4253         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
4254         Create T_EMPTY nodes for #define macro /* nothing */.
4255         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
4256         Use hp->name when calling pass_thru_directive.
4257         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
4258         Return the result of conditional_skip and/or skip_if_group.
4259         Don't call _cpp_output_line_command.
4260         (consider_directive_while_skipping): Use _cpp_get_directive_token.
4261         Issue -Wtraditional warnings as appropriate.  Don't complain
4262         about unrecognized directives.  If we are to stop skipping,
4263         return the number of the directive that ended the skip.
4264         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
4265         expansion and line commands while skipping.  Return the result
4266         of consider_directive_while_skipping, if nonzero.
4267         (do_endif): Just set potential_control_macro here.
4268         (validate_else): Use _cpp_get_directive_token.
4269         (do_assert, do_unassert): Don't save pointers into the
4270         token_buffer across calls to the lexer.  Use
4271         _cpp_get_directive_token.
4272
4273         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a
4274         pointer, not an offset.  Replace 'data', which was a generic
4275         pointer, with 'macro', which points to a struct hashnode.
4276         (cpp_reader): Add 'potential_control_macro' pointer.
4277         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
4278         (CPP_BUF_GET, CPP_FORWARD): Delete.
4279         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
4280         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
4281         ACTIVE_MARK_P): Update.
4282         (_cpp_get_define_token): New internal function.
4283         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
4284
4285 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
4286
4287         * configure.in: And here.
4288         * configure: Regenerate.
4289         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
4290         --enable-libstdcxx-v3 is passed at configure time.
4291         * config.h.in: Regenerate.
4292
4293 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
4294
4295         * final.c (final): Use xcalloc to allocate line_note_exists.
4296         * function.c (free_after_compilation): Free the temp_slots.
4297         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
4298         (combine_temp_slot): Free temp_slots when they get combined.
4299         (purge_addressof): Fix typo in comment.
4300         * stmt.c (mark_goto_fixup): Mark the fixup itself.
4301         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
4302
4303         * ggc.h: Include varray.h.
4304         (ggc_pending_trees): Declare.
4305         (ggc_mark_tree_children): Remove declaration.
4306         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
4307         * ggc-common.c (ggc_pending_trees): New variable.
4308         (ggc_mark_roots): Call ggc_mark_trees.
4309         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
4310         the ggc_pending_trees.
4311         * Makefile.in (GGC_H): New variable.  Use it throughout in place
4312         of ggc.h.
4313
4314 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4315
4316         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
4317         GET_MODE_SIZE.
4318
4319 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4320
4321         * sh.c (sh_insn_length_adjustment): New function.
4322         * sh-protos.h (sh_insn_length_adjustment): Declare.
4323         * sh.h (ADJUST_INSN_LENGTH): Use it.
4324
4325 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
4326
4327         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
4328         from the insn where REG_RETVAL is added.
4329         (emit_no_conflict_block): Ditto.
4330
4331         * md.texi (Standard Names): Clarify when movX is needed.
4332
4333         * combine.c (simplify_comparison) [MINUS]: Do not replace
4334         all (op (minus A B) 0) with (op A B).
4335
4336 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
4337                           J"orn Rennecke <amylaar@cygnus.co.uk>
4338
4339         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
4340         (block_lump_real): Likewise.
4341
4342 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
4343
4344         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
4345         remaining non-zero debugging masks.
4346
4347 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
4348
4349         * basic-block.h (verify_flow_info): Declare.
4350         (flow_loop_outside_edge_p): Declare.
4351         * flow.c (verify_flow_info): Remove declaration.
4352         (clear_log_links, flow_loop_outside_edge_p): Likewise.
4353
4354 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
4355
4356         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
4357         not C++ comments.
4358
4359 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
4360
4361         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
4362         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
4363         seqdi_zero_trunc+1): Allow splits only if registers are
4364         different.
4365
4366 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
4367
4368         * acconfig.h: Add HAVE_GAS_HIDDEN.
4369         * config.in: Regenerated.
4370         * configure.in: Add test for .hidden pseudo-op in gas.
4371         * configure: Regenerated.
4372         * crtstuff.c: Include auto-host.h.
4373         Emit additional .hidden pseudo-op for __dso_handle if the
4374         assembler knows about it.
4375
4376 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
4377
4378         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
4379         before freeing argnames.
4380         * cpplib.c (do_ifndef): Cast return value of xstrdup.
4381
4382 2000-04-05  Michael Meissner  <meissner@redhat.com>
4383
4384         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
4385         Walton <jonboy@gordian.com> to make memory references with update
4386         work wtih -mregnames.
4387
4388 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4389
4390         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
4391         (regrename_optimize): Rename variables `def_uses' and
4392         `ext_basic_blocks' to avoid conflicts with similarly named
4393         typedefs in traditional C.
4394
4395         * calls.c (initialize_argument_information): Fix typo in previous
4396         change.
4397
4398 2000-04-04  Richard Henderson  <rth@cygnus.com>
4399
4400         * regrename.c (consider_available): Test fixed_regs not
4401         PIC_OFFSET_TABLE_REGNUM.
4402
4403 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
4404
4405         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
4406         crtend.
4407         (CRTSTUFF_T_CFLAGS_S): Delete definition.
4408         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
4409         (ENDFILE_LINUX_SPEC): Always use crtend.
4410         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
4411         (powerpc-*-linux-gnu): Likewise.
4412         * configure: Regenerate.
4413
4414         * config/rs6000/eabi.h: Don't include sysv4.h.
4415         (MULTILIB_DEFAULTS): Don't define.
4416         * config/rs6000/eabiaix.h: Don't include eabi.h.
4417         * config/rs6000/eabile.h: Delete.
4418         * config/rs6000/eabilesim.h: Delete.
4419         * config/rs6000/eabisim.h: Don't include eabi.h.
4420         * config/rs6000/linux.h: Don't include sysv4.h.
4421         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
4422         (MULTILIB_DEFAULTS): Don't redefine.
4423         * config/rs6000/rtems.h: Don't include eabi.h.
4424         * config/rs6000/sol2.h: Don't include sysv4le.h.
4425         * config/rs6000/sysv4le.h: Don't include sysv4.h.
4426         * config/rs6000/t-ppc: Delete.
4427         * config/rs6000/t-ppcgas: Correct comment.
4428         * config/rs6000/t-ppcos: Correct comment.  Don't build
4429         multilibs for -fPIC, rather use -fPIC -mstrict-align
4430         as default.
4431         * config/rs6000/t-ppc: Delete.
4432         * config/rs6000/vxppc.h: Don't include sysv4.h.
4433         * config/rs6000/vxppcle.h: Delete.
4434         * configure.in: Use multiple header files for p2pc ELF targets
4435         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
4436         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
4437         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
4438         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
4439         always available for these platforms.
4440
4441 2000-04-04  Richard Henderson  <rth@cygnus.com>
4442
4443         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
4444
4445 2000-04-04  Stan Cox  <scox@cygnus.com>
4446
4447         * Makefile.in: Add rules for regrename.o
4448         * regrename.c: New file.
4449         * rtl.h (regrename_optimize): Add prototype.
4450         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
4451         (compile_file, decode_d_option): Add support for -frename-registers.
4452         (rest_of_compilation): Call regrename_optimize.
4453         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
4454         New macros.
4455
4456 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4457
4458         * Makefile (gccbug): New target.
4459         (doc): Depend on it.
4460         * gcc.texi (Bugs): Link subnodes.
4461         (gccbug): New node.
4462         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
4463         Document severities, priorities, and classes in bug form.
4464
4465 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
4466
4467         * cpplex.c (trigraph_map, speccase): Combine into single
4468         table, chartab.
4469         (NORMAL, NONTRI): New macros.
4470         (_cpp_read_and_prescan): Change to use unified table.  Use
4471         is_hspace to test for whitespace.
4472
4473         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
4474         definition that doesn't provoke the "empty body in an
4475         if-statement" warning.
4476
4477 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
4478
4479         * builtins.c (expand_builtin_strlen): Force the source to
4480         be a memory address.
4481
4482 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4483
4484         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
4485
4486 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4487
4488         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
4489          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
4490         (ECF_IS_CONST): Rename to ECF_CONST.
4491         (special_function_p): Make static, change interface.
4492         (flags_from_decl_or_type, try_to_integrate): Break out from ...
4493         (expand_call) ... here; convert number of variables to flags.
4494         (emit_library_call_vlue_1): Likewise.
4495         (setjmp_call_p): New function.
4496         (initialize_argument_information): Accepts flags as argument;
4497         return flags.
4498         (precompute_arguments): Likewise.
4499         * tree.h (special_function_p): Remove.
4500         (setjmp_call_p): Add prototype.
4501
4502 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
4503
4504         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
4505         so that addresses are offsetable by up to 16 bytes.
4506         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
4507         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
4508         offsetable.
4509
4510         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
4511         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
4512         (movsf): Don't force any constant to memory if target is integer
4513         hard register.
4514         Move fp_zero_operand check below the const0_rtx check.
4515         (movtf): Likewise. Also allow fp_zero_operand for stores into
4516         memory.
4517         (movdf): Likewise. Also allow fp_zero_operand for stores into
4518         memory and into integer hard registers.
4519         (clear_df, clear_dfp, movdf_const_intreg_sp32,
4520         movdf_const_intreg_sp64): Remove.
4521         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
4522         conditions.
4523         (movdf_no_e_insn_v9_sp32): New pattern.
4524         (movdf_insn_v9only): Remove.
4525         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
4526         (movdf_insn_sp64): Remove.
4527         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
4528         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
4529         (following splits): Rewrite conditions. Add two new splits
4530         for storing 0.0 into memory and registers.
4531         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
4532         (movtf_insn_sp32): Redo constraints and conditions.
4533         (movtf_insn_vis_sp32): New pattern.
4534         (movtf_no_e_insn_sp32): Redo constraints and conditions.
4535         (movtf_insn_hq_sp64): Likewise.
4536         (movtf_insn_hq_vis_sp64): New pattern.
4537         (movtf_insn_sp64): Redo constraints and conditions.
4538         (movtf_insn_vis_sp64): New pattern.
4539         (movtf_no_e_insn_sp64): Redo constraints and conditions.
4540         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
4541         or memory.
4542         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
4543         -mvis or -m64 to take down the number of various reload patterns.
4544
4545 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
4546
4547         * pa/pa-64.h: New file.
4548         * pa/pa64-regs.h: New file.
4549         * pa/pa64-start.h: New file.
4550         * pa/t-pa64: New file.
4551         * pa/xm-pa64hpux.h: New file.
4552
4553 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4554
4555         * sparc.c (output_restore_regs): Prototype.
4556         (sparc_emit_float_lib_cmp): Constification.
4557
4558         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
4559
4560         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
4561         Prototype.
4562
4563         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
4564         (get_value_hash, hash_rtx): Likewise.
4565
4566         * ssa.c (compute_conservative_reg_partition): Prototype.
4567
4568         * tree.c (mark_hash_entry): Prototype.
4569
4570 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
4571
4572         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
4573         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
4574         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
4575
4576         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
4577         * objc/lang-specs.h: Likewise.
4578
4579 2000-04-03  Neil Booth  <NeilB@earthling.net>
4580
4581         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
4582         and SYNTAX_ERROR2. Replace `' in messages with ''.
4583         (op_to_str): Make re-entrant.
4584         (_cpp_parse_expr): Implement new error macros. Use | rather
4585         than || to logically or 2 boolean integers.  Simply expression
4586         checking we have a left operand iff needed.
4587
4588 2000-04-03  Nick Clifton  <nickc@cygnus.com>
4589
4590         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
4591
4592 2000-04-03  Philip Blundell  <philb@gnu.org>
4593
4594         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
4595
4596 2000-04-03  Felix Lee  <flee@cygnus.com>
4597
4598         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
4599         (run_shell): Use it.
4600
4601 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
4602
4603         * Makefile.in (stmp-int-hdrs): Make include subdir here...
4604         (stmp-fixproto): ...rather than here.
4605
4606 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
4607
4608         * pa.c (print_operand): Compute 'base' only inside the code paths
4609         that use it.
4610
4611 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
4612
4613         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
4614         CEIL_DIV_EXPR.
4615
4616 2000-04-03  Philipp Thomas  <pthomas@suse.de>
4617
4618         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
4619
4620 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
4621
4622         * Makefile.in (alias.o): Depend on $(TREE_H).
4623
4624 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
4625
4626         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
4627         processing C++.
4628         * cpplib.c (_cpp_handle_directive): Improve warnings for
4629         traditional C and indented directives.
4630
4631         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
4632         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
4633         fixinc/inclhack.def: Indent the # of #include_next one space.
4634         * cp/rtti.c: Un-indent #if and #endif.
4635
4636         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
4637         syntax error, but an error has already been printed.
4638         * cpplex.c (_cpp_parse_assertion): Give a more specific error
4639         message when called with nothing remaining on the line.
4640         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
4641         OTHER token, not an ASSERTION.
4642         * cpplib.c (do_assert): When we create a 'base' node, clear
4643         its aschain pointer.
4644
4645 2000-04-02  Neil Booth <NeilB@earthling.net>
4646
4647         * cppexp.c:  New typedef op_t.  struct operation and struct
4648         token updated to use it.
4649         (op_to_str): New function.
4650         (_cpp_parse_expr): Error messages modified to use op_to_str.
4651
4652 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4653
4654         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
4655         before checking MUST_PASS_IN_STACK.
4656
4657 2000-04-02  Neil Booth <NeilB@earthling.net>
4658
4659         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
4660         flags and initial priority into a single constant.  New
4661         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
4662         (_parse_cpp_expr): Implement new constants.  Take left operand
4663         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
4664         parse indicated by reducing FINISHED token.  Remove new lines
4665         from cpp_error messages.
4666
4667 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
4668
4669         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
4670         permanent obstack.
4671
4672 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
4673
4674         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
4675         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
4676         the strings and function names on the fly.  Take the #sccs
4677         entry out of the table if SCCS_DIRECTIVE is not defined.
4678         (_cpp_handle_directive): Decide if the # was at the beginning
4679         of the line here.  Issue -pedantic warnings for extended
4680         directives here.  Warn about K+R directives with the #
4681         indented, and C89/extended directives with the # not indented,
4682         here.
4683         (do_import, do_include_next, do_warning, do_ident, do_sccs,
4684         do_assert, do_unassert): Don't issue pedantic warning here.
4685
4686         * cpphash.h: Add CPP_WTRADITIONAL macro.
4687         * cpplib.h (struct cpp_options): Rename warn_stringify to
4688         warn_traditional; update comments.
4689         * cppinit.c (handle_option): Set warn_traditional not
4690         warn_stringify.
4691         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
4692         CPP_WTRADITIONAL (pfile).
4693         * cpplex.c (_cpp_lex_token): Don't decide if directives should
4694         be ignored in -traditional mode here.
4695
4696         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
4697         to initialize speccase[] and trigraph_map[].  Delete all
4698         references to pfile->input_speccase.  Always treat '?' as a
4699         special character.  Remove table-initialization code from
4700         _cpp_init_input_buffer.
4701
4702         * cpplib.h (struct cpp_reader): Remove input_speccase field.
4703         * cppinit.c (cpp_cleanup): Don't free input_speccase.
4704
4705 2000-04-01  Richard Henderson  <rth@cygnus.com>
4706
4707         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
4708         (mostlyclean): Likewise.
4709
4710         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
4711         (struct dump_file_info, enum dump_file_index, dump_file): New.
4712         (open_dump_file): Take a dump_file_index not a suffix, and a decl
4713         not a string.  Clean out file if we havn't yet done so.  Do nothing
4714         if the dump isn't enabled.
4715         (close_dump_file): Do nothing if the dump isn't open.  Dump
4716         graph data if requested.
4717         (dump_rtl, clean_dump_file): Remove.
4718         (compile_file): Don't clean the dump files.  Only finalize .bp dump
4719         if flag_test_coverage or flag_branch_probabilities.  Only finalize
4720         .combine dump if optimizing.  Iterate over dump_file to finalize the
4721         graph dumps.
4722         (rest_of_compilation): Update for open_dump_file/close_dump_file.
4723         Convert all uses of dump_rtl.
4724         (decode_d_option): Iterate over dump_file to implement 'a' and to
4725         locate pass-specific dumps.
4726
4727 2000-04-01  Neil Booth <NeilB@earthling.net>
4728
4729         * cppexp.c: Redefine priority constants.
4730         (_cpp_parse_expr): Replace left and right priority scheme with
4731         single priority logic.  Move LOGICAL to same place as COMPARE.
4732         Remove bogus check for multiple unary +/- operators.
4733
4734 2000-04-01  Neil Booth <NeilB@earthling.net>
4735
4736         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
4737         within the switch statement.  Binary operations break out of
4738         the switch naturally.  '(' tokens handled by forcing
4739         immediate shift.  ')' handled by forcing immediate reduce to
4740         the previous '('.  New error messages.
4741
4742 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
4743
4744         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
4745         part', it's already in use.  Use %K instead.  Add a return at the
4746         end of what is now %K.
4747         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
4748
4749 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4750
4751         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
4752         allocate_dynamic_stack_space.
4753         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
4754         update stack_pointer_delta; do not update arg_size_so_far.
4755         (compute_argument_block_size): Use stack_delta instead of
4756         stack_pointer_pending and arg_size_so_far.
4757         (expand_call): Add sanity checking for stack_pointer_delta;
4758         save and restore stack_pointer_delta for SIB, use
4759         stack_pointer_delta for alignment; do not update arg_space_so_far.
4760         (emit_library_call_value): Use stack_pointer_delta for alignment.
4761         (store_one_arg): Do not update arg_space_so_far.
4762         * explow.c (adjust_stack, anti_adjust_stack): Update
4763         stack_pointer_delta.
4764         (allocate_dynamic_stack_space): Add sanity checking for
4765         stack_pointer_delta.
4766         * expr.c (init_expr, clear_pending_stack_adjust): Clear
4767         stack_pointer_delta.
4768         (emit_push_insn): Update stack_pointer_delta.
4769         * function.h (struct expr_status): Add x_stack_pointer_delta;
4770         remove x_arg_space_so_far.
4771         (arg_space_so_far): Remove.
4772         (stack_pointer_delta): New macro.
4773
4774 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
4775
4776         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
4777         Reorder struct cpp_options and struct cpp_reader for better
4778         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
4779         takes two args.  Change all 'char' flags to 'unsigned char'.
4780         Move show_column flag into struct cpp_options.  Don't
4781         prototype cpp_options_init.
4782         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
4783         cppinit.c, cpplex.c, cpplib.c:
4784         Replace CPP_OPTIONS (pfile)->whatever with
4785         CPP_OPTION (pfile, whatever), and likewise for
4786         opts = CPP_OPTIONS (pfile); ... opts->whatever;
4787
4788         * cppinit.c (merge_include_chains): Take a cpp_reader *.
4789         Extract CPP_OPTION (pfile, pending) and work with that
4790         directly.
4791         (cpp_options_init): Delete.
4792         (cpp_reader_init): Turn on on-by-default options here.
4793         Allocate the pending structure here.
4794         (cl_options, enum opt_code): Define these from the same table,
4795         kept in a large macro.  Add -fshow-column and -fno-show-column
4796         options.
4797
4798         * cpperror.c (v_message): If show_column is off, don't print
4799         the column number.
4800
4801         * cppmain.c: Update for new interface.
4802         * fix-header.c: Likewise.
4803
4804 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
4805
4806         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
4807         definition.
4808         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
4809         are passed to any invocation of AR_FOR_TARGET.
4810         (AR_CREATE_FOR_TARGET): New macro.
4811         (AR_EXTRACT_FOR_TARGET): New macro.
4812         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
4813         AR_EXTRACT_FOR_TARGET.
4814         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
4815         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
4816         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
4817         AR_EXTRACT_FOR_TARGET to sub-makes.
4818
4819 2000-03-31  Neil Booth <NeilB@earthling.net>
4820
4821         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
4822         PAREN_INNER_PRIO.
4823         (_cpp_parse_expr): Check for multiple unary +/- operators.
4824         Correct priorities of ':' and '?'.  Treat ')' as having a
4825         value.  Ensure conditional expression is not void.
4826
4827 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
4828
4829         * alias.c (canon_rtx): Make it global.
4830         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
4831         equality.
4832         * cse.c (struct table_elt): Add canon_exp.
4833         (insert): Clear it.
4834         (invalidate): Canonicalize expressions only once.
4835         * rtl.h (canon_rtx): Declare.
4836
4837 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
4838
4839         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
4840         * alias.c (reg_known_value): Add comments.
4841         (init_alias_analysis): Likewise.
4842         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
4843         address.
4844         (cse_basic_block): Fix typo in comment.
4845         * emit-rtl.c: Include hashtab.h.
4846         (const_int_htab): New variable.
4847         (const_int_htab_hash): New function.
4848         (const_int_htab_eq): Likewise.
4849         (rtx_htab_mark_1): Likewise.
4850         (rtx_htab_mark): Likewise.
4851         (gen_rtx_CONST_INT): Cache all CONST_INTs.
4852         (unshare_all_rtx): Fix formatting.
4853         (init_emit_once): Initialize const_int_htab.
4854         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
4855         address.
4856         * rtl.texi: Document the fact that all CONST_INTs with the same
4857         value are shared.
4858
4859 2000-03-30  Richard Henderson  <rth@cygnus.com>
4860
4861         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
4862
4863 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
4864
4865         * configure.in: Comment out --enable-c-cpplib stanza.
4866         * configure: Regenerate.
4867
4868 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4869
4870         * expr.c (store_constructor): Properly compute displacement and
4871         alignment when offset is variable.
4872
4873         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
4874         cases of alignment in bytes.
4875
4876 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
4877
4878         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
4879         since it is used to generate c-parse.y.
4880         * objc-parse.c, objc-parse.y: Regenerated.
4881
4882         * function.c (expand_function_end): Pass alignment argument to
4883         emit_block_move in bits, not bytes.
4884
4885 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4886
4887         * expr.c (move_by_pieces_ninsns): Fix one more missing align
4888         correction.
4889
4890         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
4891
4892         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
4893         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
4894         * function.c (assign_parms): Likewise.
4895         * integrate.c (expand_inline_function): Likewise.
4896         * stmt.c (expand_decl): Likewise.
4897         (copy_rtx_and_substitute): Likewise.
4898         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
4899         (clear_by_pieces): Fix error in last change.
4900         * emit-rtl.c (init_emit): Set known registers alignment in bits.
4901         * function.h (regno_pointer_align): Now unsigned.
4902         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
4903         is in bits.
4904         * config/i386/i386.c (aligned_operand): Likewise.
4905         * config/sparc/sparc.c (mem_min_alignment): Likewise.
4906         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
4907         (unaligned_memory_operand): Likewise.
4908         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
4909         Also make alignments and sizes unsigned and some whitespace cleanup.
4910         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
4911
4912         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
4913         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
4914         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
4915         (expand_builtin_memset): Likewise, but to clear_storage.
4916         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
4917         (restore_fixed_argument_area): Likewise.
4918         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
4919         (load_register_parameters): Likewise, to emit_group_load.
4920         (expand_call): Likewise, to emit_group_store and emit_block_move.
4921         (emit_library_call_value_1): Likewise, to emit_block_move.
4922         (store_one_arg): Likewise, and to emit_push_insn.
4923         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
4924         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
4925         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
4926         (emit_block_move, emit_group_load, emit_group_store): Likewise.
4927         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
4928         (expand_assigment, store_expr, store_constructor_field): Likewise.
4929         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
4930         (store_constructor, store_field, get_inner_reference): Likewise.
4931         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
4932         (expand_expr, case COMPONENT_REF): Likewise.
4933         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
4934         and positions; reindent code.
4935         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
4936         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
4937         (assign_parms): Likewise to emit_group_store.
4938         * optabs.c (prepare_cmp_insn): Alignment is in bits.
4939         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
4940         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
4941         (expand_return): Likewise to {extract,store}_bit_field.
4942         * stor-layout.c (get_mode_alignment): Minor cleanup.
4943         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
4944         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
4945
4946 2000-03-29  Nick Clifton  <nickc@cygnus.com>
4947
4948         * config/arm/arm.h: Undo effects of previous delta:
4949         (ASM_SPEC): Do not define.
4950         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
4951
4952         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
4953         typo.
4954
4955 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
4956
4957         * cppinit.c (cpp_start_read): Call initialize_dependency_output
4958         only after reading in the primary source file.
4959
4960 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
4961
4962         * c-common.c (c_common_nodes_and_builtins): The first parameter to
4963         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
4964         or a reference to a va_list.
4965         * builtins.c (stabilize_va_list): Simplify now we don't have to
4966         work around C array address decay.
4967         * c-typeck.c (convert_for_assignment): Handle assignment to
4968         a reference parameter by taking the address of the RHS.
4969         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
4970         (va_copy): Likewise.
4971         (__va_copy): Likewise.
4972         * ginclude/varargs.h (va_start): Likewise.
4973         (__va_copy): Likewise.
4974
4975 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
4976
4977         * i386/djgpp.h: Remove extraneous "+".
4978
4979         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
4980
4981         * calls.c (expand_call): Fix typo in last change.
4982
4983 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
4984
4985         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
4986         been expanded.
4987
4988 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4989
4990         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
4991         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
4992         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
4993         * tree.c (bit_position, byte_position): Likewise.
4994         * tree.h: Declare new functions.
4995
4996 2000-03-29  Nick Clifton  <nickc@cygnus.com>
4997
4998         * config/arm/arm.c: Minor formatting changes/
4999         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
5000         already defined.
5001         (ASM_SPEC): Define if not already defined.
5002
5003 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
5004
5005         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
5006         _cpp_calc_hash.
5007
5008 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
5009
5010         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
5011         value, don't output it as unsigned.
5012
5013 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
5014
5015         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
5016
5017 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5018
5019         * c-common.c (c_common_nodes_and_builtins): Don't special case
5020         cplus_mode when declaring builtin bzero/bcmp, always avoid
5021         prototype arguments.
5022
5023 2000-03-29  Bruce Korb  <bkorb@gnu.org>
5024
5025         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
5026         to a non-file
5027
5028 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5029
5030         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
5031         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
5032         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
5033         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
5034         (save_fixed_argument_area, restore_fixed_argument_area):
5035         conditionize by #ifdef REG_PARM_STACK_SPACE only.
5036         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
5037         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
5038         (precompute_register_parameters): Avoid #ifdefs on
5039         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
5040         (stire_one_args): Likewise.
5041         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
5042         (emit_library_call_value_1): Likewise.
5043         (compute_argument_block_size): Align to STACK_BOUNDARY only for
5044         ACCUMULATE_OUTGOING_ARGS.
5045         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
5046         value.
5047         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
5048         (use_crosses_set_p): Likewise.
5049         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
5050         #define ACCUMULATE_OUTGOING_ARGS 1.
5051         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
5052         frames.
5053         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
5054         constants.
5055         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
5056         (TARGET_SWITCHES): Add push-args, no-push-args,
5057         accumulate-outgoing-args and no-accumulate-outgoing-args.
5058         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
5059         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
5060         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
5061         and PUSH_ROUNDING.
5062         (emit_push_insn): Likewise.
5063         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
5064         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
5065         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
5066         (STACK_DYNAMIC_OFFSET): Define correctly for both
5067         ACCUMULATE_OUTGOING_ARGS and normal mode.
5068         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
5069         * tm.texi (PUSH_ARGS): Document.
5070         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
5071
5072 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5073
5074         * flags.h (flag_optimize_sibling_calls): Declare.
5075         * calls.c (expand_call): Fail sibcall when
5076         !flag_optimize_sibling_calls
5077         * invoke.texi (flag_optimize_sibling_calls): Document.
5078         * toplev.c (flag_optimize_sibling_calls): New global variable.
5079         (f_options): Add flag_optimize_sibling_calls.
5080         (rest_of_compilation): Conditionize
5081         optimize_sibling_and_tail_recursive_calls by
5082         flag_optimize_sibling_calls.
5083         (main): Set flag_optimize_sibling_calls for -O2.
5084         * stmt.c (expand_return): Conditionize tail recursion by
5085         flag_optimize_sibling_calls.
5086
5087 2000-03-29  Richard Henderson  <rth@cygnus.com>
5088
5089         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
5090         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
5091
5092 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
5093
5094         * except.c (add_eh_table_entry): Mark type_info's as referenced.
5095
5096 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5097
5098         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
5099         is given.
5100         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
5101         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
5102         * config/rs6000/aix.h: then modified likewise.
5103
5104 2000-03-28  Richard Henderson  <rth@cygnus.com>
5105
5106         * rtl.h: Redistribute enum reg_note documentation.
5107         Kill trailing whitespace.
5108         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
5109         Kill trailing whitespace.
5110
5111 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
5112
5113         * cppfiles.c (hash_IHASH): Just return i->hash.
5114         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
5115         htab_find_with_hash.
5116         (cpp_read_file): Likewise.
5117         (find_include_file): Likewise.  Properly initialize
5118         ih->nshort.  Share ih->name and ih->nshort if possible.
5119         * cpphash.c (_cpp_calc_hash): New function.
5120         (hash_HASHNODE): Just return h->hash.
5121         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
5122         htab_find_with_hash.
5123         * cpphash.h: Prototype _cpp_calc_hash.
5124         * cppinit.c (initialize_builtins): Provide a valid hash
5125         to _cpp_make_hashnode, using _cpp_calc_hash.
5126
5127         * cpphash.c (collect_expansion): # is not a special character
5128         in object-like macros.  In -traditional mode, /**/ is not
5129         token paste at the beginning or end of the line.
5130         * cpplib.c (do_include, do_import, do_include_next): If
5131         parse_include fails, return immediately.
5132
5133 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
5134
5135         * config/arm/arm.md (return peepholes): Update to reflect the new
5136         call insn patterns.
5137         * config/arm/arm.c (arm_volatile_func): Also check
5138         current_function_nothrow.
5139         (output_return_instruction, output_func_prologue): Use it.
5140         (arm_output_epilogue, arm_expand_prologue): Likewise.
5141
5142 2000-03-27  Tom Tromey  <tromey@cygnus.com>
5143
5144         * gcc.c (handle_braces): In {x*...} case, break out of loop if
5145         switch is found.
5146
5147 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5148
5149         * expr.c (store_constructor): SIZE now signed.
5150         For EXPR_SIZE, don't evaluate size; just needed if constant.
5151         * fold-const.c (fold): Fix a number of cases when folded tree is
5152         wrong type.
5153         * function.c (flush_addressof): Reenable.
5154         * tree.h (flush_addressof): Likewise.
5155         * toplev.c (independent_decode_option): Look at strings_processed.
5156         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
5157
5158 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
5159
5160         * sibcall.c (indentify_call_return_value): Find last call in the chain;
5161         Allow stack adjustment after function call.
5162
5163         * regmove.c (struct csa_memlist): Make mem field rtx *.
5164         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
5165         (try_apply_stack_adjustment): Replace whole MEM rtx.
5166         (combine_stack_adjustments_for_block): Update calls
5167         to record_one_stack_ref.
5168
5169 2000-03-28  Neil Booth  <NeilB@earthling.net>
5170
5171         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
5172         '\\' rather than a null character, so nulls are not special.  Fix
5173         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
5174         speed trigraph conversion.
5175         (_cpp_init_input_buffer): Initialize trigraph map.
5176
5177 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
5178
5179         * config/i386/i386.c (output_387_binary_op): Correct intel
5180         mode assembly output, and add spaces after commas in AT&T
5181         output.  Correct Unixware assembler comment.  Document input
5182         constraints.  Comment fp operations.  Reduce profligate buffer
5183         size.  Remove extraneous abort.  Localize temp var.
5184         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
5185         (output_fix_trunc): Add spaces after commas in assembly output.
5186
5187 2000-03-27  Richard Henderson  <rth@cygnus.com>
5188
5189         * i386-protos.h (ix86_match_ccmode): Declare.
5190         * i386.c (ix86_match_ccmode): New.
5191         (ix86_expand_fp_compare): Update for pattern renames.
5192         (ix86_expand_strlensi_unroll_1): Likewise.
5193         * i386.h (EXTRA_CC_MODES): Add CCZ.
5194         (SELECT_CC_MODE): Use it for EQ/NE zero.
5195         * i386.md (cmpsi_ccz_1): New.
5196         (cmpqi_ccz_1): New.
5197         (*testsi_ccz_1): New.
5198         (testqi_ccz_1): New.
5199         (cmpsi_ccno_1): Rename from cmpsi_0.
5200         (testsi_ccno_1): Rename from testsi_1.
5201         (testqi_ccno_1): Rename from testqi_1.
5202         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
5203         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
5204         (*cmphi_0): Use ix86_match_ccmode.
5205         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
5206         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
5207         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
5208         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
5209         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
5210         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
5211         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
5212         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
5213         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
5214         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
5215         (appropriate peepholes): Likewise.
5216         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
5217         (*subsi_3, *subhi_3, *subqi_3): Remove.
5218         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
5219         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
5220         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
5221         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
5222         (x86_shift_adj_1): Use CCZ.
5223         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
5224
5225 2000-03-27  Stan Cox  <scox@cygnus.com>
5226
5227         * resource.h (mark_resource_type): New.
5228         * resource.c (find_dead_or_set_registers, mark_target_live_regs,
5229         find_free_register): Use mark_resource_type.
5230         (mark_set_resources): Change include_delayed_effects
5231         to mark_resource_type.
5232         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
5233         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
5234         Use mark_resource_type.
5235
5236 2000-03-27  Richard Henderson  <rth@cygnus.com>
5237
5238         * i386.md (call_pop_0, call_value_pop_0): New.
5239         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
5240         (call_value_pop_1): Likewise.
5241         (call_0, call_value_0): New.
5242         (call_1, call_value_1): Remove constraint from unused arg.
5243
5244 2000-03-27  Nick Clifton  <nickc@cygnus.com>
5245
5246         * invoke.texi (Spec Files): Document new spec % command created by
5247         Tom Tromey's recent patch.
5248
5249 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
5250
5251         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
5252         if not defined.
5253
5254 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5255
5256         * expr.c (expand_assignment): Fix typo in last change.
5257
5258         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
5259
5260 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5261
5262         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
5263         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
5264         and DECL_INLINE if FUNCTION_DECL.
5265         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
5266         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
5267         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
5268         (combine_parm_decls): Likewise.
5269         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
5270         * print-tree.c (print_node): Likewise.
5271         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
5272         DECL_TRANSPARENT_UNION on proper decl types.
5273         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
5274         * stor-layout.c (layout_decl): Only check DECL_PACKED and
5275         DECL_BIT_FIELD of FIELD_DECL.
5276         * tree.h (DECL_RESULT_FLD): New macro.
5277
5278         * expr.c (expand_assignment): Add code to handle variable-sized
5279         BLKmode case.
5280
5281 2000-03-26  Richard Henderson  <rth@cygnus.com>
5282
5283         * calls.c (expand_call): Pass parms not original exp to
5284         optimize_tail_recursion.  Mind return value instead of looking
5285         for a barrier.
5286         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
5287         call_expr.  Move checks for call_expr and current_function_decl ...
5288         (expand_return): ... here.
5289
5290 2000-03-26  Tom Tromey  <tromey@cygnus.com>
5291
5292         * gcc.c (handle_braces): Recognize `%{<S}' construct.
5293         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
5294         defines.
5295         (process_command): Use them.
5296         (check_live_switch): Likewise.
5297         (give_switch): Skip ignored switches.
5298
5299 2000-03-26  Jan Hubicka  <jh@suse.cz>
5300
5301         * jump.c (jump_optimize_1): Fix typo in elide optimizations
5302         for minimal jump pass test.
5303
5304 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
5305
5306         * integrate.c (function_cannot_inline_p): Do inline functions that
5307         return `void'.
5308
5309 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5310
5311         * stor-layout.c (layout_type, set_sizetype): early_type_list is
5312         now a list of TREE_LIST entries, not types.
5313         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
5314
5315         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
5316         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
5317         int_bit_position.
5318         * config/mips/mips.c (function_arg): Likewise; also remove cast
5319         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
5320         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
5321         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
5322         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
5323         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
5324         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
5325         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
5326         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
5327         num_adjusts now unsigned.
5328         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
5329         * config/sparc/sparc.c (struct function_arg_record_value_parms):
5330         NREGS now unsigned.
5331         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
5332         as is BITPOS variable; use host_integerp and int_bit_position.
5333         (function_arg_record_value_2): Likewise.
5334         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
5335         Variable REGNO now unsigned.
5336         (function_arg_record_value): NREGS now unsigned.
5337
5338 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
5339
5340         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
5341
5342 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5343
5344         * Rework fields used to describe positions of bitfields and
5345         modify sizes to be unsigned and use HOST_WIDE_INT.
5346         * alias.c (reg_known_value_size): Now unsigned.
5347         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
5348         (really_start_incremental_init): Use bitsize_zero_node.
5349         (push_init_level, pop_init_level, output_init_element): Likewise.
5350         Use bitsize_unit_node and bitsize_one_node.
5351         (output_pending_init_elements, process_init_element): Likewise.
5352         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
5353         (make_extraction): Position and length HOST_WIDE_INT and unsigned
5354         HOST_WIDE_INT, respectively.
5355         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
5356         (num_sign_bit_copies): Returns unsigned.
5357         BITWIDTH now unsigned; rework arithmetic.
5358         Remove recursive call from arg to MAX.
5359         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
5360         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
5361         REGNO now unsigned.
5362         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
5363         (find_split_point, expand_compound_operation, make_extraction): LEN
5364         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
5365         (make_field_assignment): Likewise.
5366         (combine_simplify_rtx): Add cast.
5367         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
5368         (force_to_mode): WIDTH now unsigned; add cast.
5369         (if_then_else_cond): SIZE now unsigned.
5370         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
5371         (extended_count): Now returns unsigned.
5372         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
5373         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
5374         (simplify_comparison): MODE_WIDTH now unsigned.
5375         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
5376         (mark_used_regs_combine): Likewise; rework arithmetic.
5377         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
5378         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
5379         (record_promoted_value): REGNO now unsigned.
5380         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
5381         (get_last_value): REGNO now unsigned.
5382         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
5383         (reg_dead_regno, reg_dead_endregno): Now unsigned.
5384         (remove_death): Arg REGNO now unsigned.
5385         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
5386         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
5387         now unsigned.
5388         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
5389         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
5390         (struct cse_reg_info): REGNO now unsigned.
5391         (cached_regno): Now unsigned.
5392         (REGNO_QTY_VALID_P): Add cast.
5393         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
5394         (remove_invalid_regs): Likewise.
5395         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
5396         as are variables END and I.
5397         (get_cse_reg_info, insert): Likewise.
5398         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
5399         (canon_hash): Likewise.
5400         (insert_regs, lookup_for_remove): REGNO now unsigned.
5401         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
5402         New variable RN.
5403         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
5404         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
5405         * emit-rtl.c (subreg_realpart_p): Add cast.
5406         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
5407         (operand_subword_force): Arg I is now unsigned.
5408         * except.c (eh_regs): Variable I is now unsigned.
5409         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
5410         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
5411         length is unsigned HOST_WIDE_INT; likewise for internal variables.
5412         (store_split_bit_field, extract_fixed_bit_field): Likewise.
5413         (extract_split_bit_field, store_bit_field, extract_bit_field):
5414         Likewise.
5415         * expr.c (store_constructor_fields, store_constructor, store_field):
5416         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
5417         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
5418         (do_jump): Likewise.
5419         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
5420         MAX_SIZE is now unsigned.
5421         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
5422         (emit_group_store): Likewise.
5423         (emit_move_insn): I now unsigned.
5424         (store_constructor): Use host_integerp, tree_low_cst, and
5425         bitsize_unit_node.
5426         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
5427         Rework all calculations to use trees and new fields.
5428         * expr.h (promoted_input_arg): Regno now unsigned.
5429         (store_bit_field, extract_bit_field): Adjust types of pos and size.
5430         (mark_seen_cases): Arg is HOST_WIDE_INT.
5431         * flow.c (verify_wide_reg_1): REGNO now unsigned.
5432         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
5433         precisions and alignments are unsigned.
5434         (optimize_bit_field_compare, fold_truthop): Likewise.
5435         (int_const_binop): Adjust threshold for size_int_type_wide call.
5436         (fold_convert): Likewise.
5437         (size_int_type_wide): Make table larger and fix thinko that only
5438         had half of table used.
5439         (all_ones_mask_p, fold): Precisions are unsigned.
5440         * function.c (put_reg_info_stack): REGNO is unsigned.
5441         (instantiate_decl): Size is HOST_WIDE_INT.
5442         (instantiate_virtual_regs): I is unsigned.
5443         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
5444         (promoted_input_arg): REGNO is unsigned.
5445         * function.h (struct function): x_max_parm_reg is now unsigned.
5446         * gcse.c (max_gcse_regno): Now unsigned.
5447         (struct null_pointer_info): min_reg and max_reg now unsigned.
5448         (lookup_set, next_set): REGNO arg now unsigned.
5449         (compute_hash_table): REGNO and I now unsigned.
5450         (handle_avail_expr): regnum_for_replacing now unsigned.
5451         (cprop_insn): REGNO now unsigned.
5452         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
5453         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
5454         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
5455         * hard-reg-set.h (reg_class_size): Now unsigned.
5456         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
5457         * jump.c (mark_modified_reg): I now unsigned; add cast.
5458         (rtx_equal_for_thread_p): Add cast.
5459         * loop.c (max_reg_before_loop): Now unsigned.
5460         (struct_movable): REGNO now unsigned.
5461         (try_copy_prop): REGNO arg unsigned.
5462         (regs_match_p): XN and YN now unsigned.
5463         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
5464         (strength_reduce): Likewise; NREGS also unsigned.
5465         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
5466         * loop.h (struct iv_class): REGNO now unsigned.
5467         (max_reg_before_loop, first_increment_giv, last_increment_giv):
5468         Now unsigned.
5469         * machmode.h (mode_size, mode_unit_size): Now unsigned.
5470         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
5471         * optabs.c (expand_binop): I and NWORDS now unsigned.
5472         (expand_unop): I now unsigned.
5473         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
5474         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
5475         * real.c (significand_size): Now returns unsigned.
5476         * real.h (significand_size): Likewise.
5477         * regclass.c (reg_class_size): Now unsigned.
5478         (choose_hard_reg_mode): Both operands now unsigned.
5479         (record_reg_classes): REGNO and NR now unsigned.
5480         (reg_scan): NREGS now unsigned.
5481         (reg_scan_update): old_max_regno now unsigned.
5482         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
5483         * reload.c (find_valid_class): BEST_SIZE now unsigned.
5484         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
5485         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
5486         Likewise for variable R.
5487         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
5488         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
5489         (find_equiv_reg): Add casts.
5490         (regno_clobbered_p): Arg REGNO now unsigned.
5491         * reload.h (struct reload): NREGS now unsigned.
5492         (refers_to_regno_for_reload_p): Regno args are unsigned.
5493         (regno_clobbered_p): Likewise.
5494         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
5495         (compute_use_by_pseudos): REGNO now unsigned.
5496         (find_reg): I and J now unsigned, new variable K, and change loop
5497         variables accordingly; THIS_NREGS now unsigned.
5498         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
5499         (spill_hard_reg): REGNO arg now unsigned; add casts.
5500         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
5501         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
5502         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
5503         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
5504         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
5505         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
5506         (emit_reload_insns): REGNO now unsigned.
5507         (reload_cse_move2add): Add cast.
5508         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
5509         and rework loop.
5510         * resource.c (mark_referenced_resources, mark_set_resources): New
5511         variable R; REGNO and LAST_REGNO now unsigned.
5512         (mark_target_live_regs): J and REGNO now unsigned.
5513         * rtl.c (mode_size, mode_unit_size): Now unsigned.
5514         * rtl.h (union rtunion_def): New field rtuint.
5515         (XCUINT): New macro.
5516         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
5517         (operand_subword, operand_subword_force): Word number is unsigned.
5518         (choose_hard_reg_mode): Operands are unsigned.
5519         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
5520         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
5521         (regno_use_in, combine_instructions, remove_death): Likewise.
5522         (reg_scan, reg_scan_update): Likewise.
5523         (extended_count): Return is unsigned.
5524         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
5525         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
5526         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
5527         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
5528         (reg_reg_last_1): FIRS and LAST now unsigned.
5529         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
5530         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
5531         now unsigned.
5532         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
5533         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
5534         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
5535         (replace_regs): Arg NREGS now unsigned.
5536         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
5537         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
5538         (simplify_binary_operation): Likewise.
5539         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
5540         THIS_LAST now unsigned.
5541         (cselib_record_set): Add cast.
5542         * ssa.c (ssa_max_reg_num): Now unsigned.
5543         (rename_block): REGNO now unsigned.
5544         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
5545         sizes now unsigned.
5546         (all_cases_count): Just return -1 not -2.
5547         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
5548         Rework tests to use trees whenever possible.
5549         Use host_integerp and tree_low_cst.
5550         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
5551         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
5552         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
5553         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
5554         (smallest_mode_for_size): Likewise.
5555         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
5556         KNOWN_ALIGN is now an alignment, so simplify code.
5557         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
5558         (start_record_layout): Renamed from new_record_layout_info.
5559         Update to new fields.
5560         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
5561         New functions.
5562         (place_union_field): Renamed from layout_union_field.
5563         Update to use new fields in rli.
5564         (place_field): Renamed from layout_field.
5565         Major rewrite to use new fields in rli; pass alignment to layout_decl.
5566         (finalize_record_size): Rework to use new fields in rli and handle
5567         union.
5568         (compute_record_mode): Rework to simplify and to use new DECL fields.
5569         (finalize_type_size): Make rounding more consistent.
5570         (finish_union_layout): Deleted.
5571         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
5572         (layout_type, case RECORD_TYPE): Call new function names.
5573         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
5574         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
5575         (get_best_mode): UNIT is now unsigned; remove casts.
5576         * tree.c (bit_position): Compute from new fields.
5577         (byte_position, int_byte_position): New functions.
5578         (print_type_hash_statistics): Cast to remove warning.
5579         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
5580         (build_index_type): Likewise; make subtype of sizetype.
5581         (build_index_2_type): Pass sizetype to build_range_type.
5582         (build_common_tree_nodes): Use size_int and bitsize_int to
5583         initialize nodes; add bitsize_{zero,one,unit}_node.
5584         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
5585         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
5586         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
5587         (DECL_FIELD_BITPOS): Deleted.
5588         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
5589         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
5590         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
5591         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
5592         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
5593         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
5594         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
5595         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
5596         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
5597         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
5598         (DECL_ALIGN): Adjust to new field in union.
5599         (DECL_OFFSET_ALIGN): New field.
5600         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
5601         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
5602         (union tree_decl): Add struct for both aligns.
5603         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
5604         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
5605         (struct record_layout_info): Rework fields to have offset
5606         alignment and byte and bit position.
5607         (start_record_layout, place_field): Renamed from old names.
5608         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
5609         (byte_position, int_byte_position): Likewise.
5610         (get_inner_reference): Change types of position and length.
5611         * unroll.c (unroll_loop): New variable R; use for some loops.
5612         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
5613         (calculate_giv_inc): Arg REGNO now unsigned.
5614         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
5615         * varasm.c (assemble_variable): Clean up handling of size using
5616         host_integerp and tree_low_cst.
5617         (decode_addr_const): Use byte, not bit, position.
5618         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
5619         use tree_low_cst and int_bit_position.
5620         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
5621
5622 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
5623
5624         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
5625         (reorder_block_def): New members eff_head and eff_end.
5626         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
5627         (verify_insn_chain): New function.
5628         (skip_insns_between_block): Add code to skip deleted insns.
5629         Check for note before using.
5630         (chain_reorder_blocks): Replace calls to skip_insns_between_block
5631         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
5632         Check for note before using.
5633         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
5634         (fixup_reorder_chain): Restructure, clean up, defect removal.
5635         (reorder_basic_blocks): Remove last_insn and references to it.
5636         Moved insn chain verification code into a new function (see above).
5637         Delete defective code that sets last insn.
5638         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
5639         all blocks.
5640
5641 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5642
5643         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
5644
5645 2000-03-24  Richard Henderson  <rth@cygnus.com>
5646
5647         * tree.c (lang_safe_for_unsave): Remove.
5648         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
5649         allowing for two levels of unsafeness.  Remove lang hook.
5650         * tree.h: Update declarations.
5651         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
5652         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
5653         Always fail sibcalls when there are pending cleanups.
5654
5655 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
5656
5657         * flow.c (propagate_block): When we delete an ADDR_VEC,
5658         also delete the BARRIER following it if there is one.
5659
5660 2000-03-24  Richard Henderson  <rth@cygnus.com>
5661
5662         * builtins.c (expand_builtin_bzero): Convert `length' argument
5663         to sizetype.
5664
5665 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
5666
5667         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
5668         comparison if regno's are equal.
5669         * calls.c (initialize_argument_informat): Add ecf_flags argument.
5670         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
5671         (expand_call): Update caller.
5672         Avoid making a sibling call if argument size of the callee is larger
5673         than argument size of the caller.
5674         Call hard_function_value with outgoing set if in sibcall pass.
5675         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
5676
5677         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
5678         Change LEAF_REGISTERS from an array initializer to actual array
5679         identifier. Move static global variable into the function.
5680         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
5681         sequences for leaf functions.
5682         * global.c (global_alloc): Likewise.
5683         * tm.texi (LEAF_REGISTERS): Update documentation.
5684
5685         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
5686         TARGET_FLAT leaf disabling hack.
5687         (LEAF_REGISTERS): Changed from an array initializer to actual array
5688         identifier to avoid duplication and remove the above hack.
5689         (FUNCTION_OK_FOR_SIBCALL): Define.
5690         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
5691         always like call attribute.
5692         (eligible_for_sibcall_delay): New attribute.
5693         (sibcall): New delay type.
5694         (sibcall, sibcall_value, sibcall_epilogue): New expands.
5695         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
5696         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
5697         * config/sparc/sparc.c (sparc_leaf_regs): New array.
5698         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
5699         New functions.
5700         (output_function_epilogue): Move part of the code into
5701         output_restore_regs.
5702         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
5703         TYPE_SIBCALL.
5704         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
5705         prototypes.
5706
5707         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
5708         until infrastructure is finished.
5709
5710 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
5711
5712         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
5713         (save_parm_insns): Not here.
5714
5715 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5716
5717         * builtins.c (expand_builtin_bzero): New function.
5718         (expand_builtin): Handle bzero.
5719
5720         * builtins.def: Add BUILT_IN_BZERO.
5721
5722         * c-common.c (c_common_nodes_and_builtins): Provide builtin
5723         prototype & function for bzero.
5724
5725 2000-03-23  Michael Meissner  <meissner@redhat.com>
5726
5727         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
5728         change adding TARGET_FP to the TF floating point insns, except for
5729         trunctfsf2, which generates direct calls to truncdfsf2.
5730
5731 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
5732
5733         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
5734         try to protect against middle-end changes that break binary
5735         compatibility.
5736         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
5737
5738 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5739
5740         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
5741
5742 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5743
5744         * calls.c (expand_call): If TARGET is passed by reference and
5745         is readonly, write a CLOBBER.
5746
5747 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5748
5749         * builtins.c (expand_builtin): Handle bcmp.
5750
5751         * builtins.def: Add BUILT_IN_BCMP.
5752
5753         * c-common.c (c_common_nodes_and_builtins): Provide builtin
5754         prototype & function for bcmp.
5755
5756 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
5757
5758         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
5759         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
5760         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
5761
5762 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
5763
5764         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
5765         alternative when using -fp64 -gp32.
5766
5767 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
5768
5769         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
5770         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
5771         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
5772
5773         * frame.h (frame_state): Revert last change.
5774         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
5775         * libgcc2.c (throw_helper): Revert last change.
5776
5777 2000-03-22  Richard Henderson  <rth@cygnus.com>
5778
5779         * stmt.c (expand_asm_operands): Don't promote the temporary.
5780
5781 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
5782
5783         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
5784         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
5785           c_get_alias_set): Likewise.
5786         * c-decl.c (duplicate_decls): Likewise.
5787         * c-typeck.c (default_conversion,build_unary_op): Likewise.
5788         * calls.c (initialize_argument_information): Likewise.
5789         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
5790         Likewise.
5791         * dwarfout.c (decl_class_context,output_type): Likewise.
5792         * expr.c (get_inner_reference): Likewise.
5793         * fold-const.c (simple_operand_p,fold): Likewise.
5794         * function.c (aggregate_value_p): Likewise.
5795         * stmt.c (expand_asm_operands): Likewise.
5796         * varasm.c (named_section): Likewise.
5797
5798 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
5799
5800         Implement dwarf2 exception handling for the ARM.
5801         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
5802         (DWARF_FRAME_RETURN_COLUMN): Define.
5803         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
5804         REG_FRAME_RELATED_EXPR note.
5805         (emit_sfm): Likewise.
5806         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
5807         * dwarf2out.c (reg_save): Handle saving a register to itself.
5808         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
5809         * except.c (eh_regs): Don't use the static chain reg if it's
5810         callee-saved.
5811         * frame.h (frame_state): Add cfa_saved field.
5812         * frame.c (execute_cfa_insn): Set it.
5813         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
5814         the epilogue.
5815         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
5816         Now takes a parm.
5817         (instantiate_virtual_regs): Adjust.
5818         * tm.texi: Adjust.
5819         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
5820         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
5821         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
5822
5823         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
5824         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
5825
5826 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5827
5828         * builtins.def: New file.
5829
5830         * Makefile.in (TREE_H): Depend on builtins.def.
5831
5832         * builtins.c (built_in_names): Use builtins.def.
5833
5834         * tree.h (built_in_function): Likewise.
5835
5836 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
5837
5838         * tree.c (size_in_bytes): Return size_zero_node, not
5839         integer_zero_node.
5840
5841 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
5842
5843         * config/fp-bit.c (pack_d): Correct the case when a denormal
5844         is rounded up and stops being denormal.
5845
5846 2000-03-21  Richard Henderson  <rth@cygnus.com>
5847
5848         * config/alpha/alpha.c (function_arg): Check for void_type_node
5849         before using MUST_PASS_IN_STACK.
5850
5851 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
5852
5853         * regmove.c (combine_stack_adjustments_for_block): Check that
5854         the stack pointer is a valid memory address.
5855
5856 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
5857
5858         * calls.c: re-install Mar 16 emit_library_call merge.
5859
5860 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
5861
5862         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
5863         we cannot be sure that if reload_completed base register will
5864         be properly aligned.
5865
5866 2000-03-21  Richard Henderson  <rth@cygnus.com>
5867
5868         * flow.c (delete_block): Fix typo last change.
5869
5870 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
5871
5872         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
5873         not COMPLETE_TYPE_P, to check the type of the expression.
5874
5875 2000-03-21  Michael Meissner  <meissner@redhat.com>
5876
5877         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
5878         all floating point insns that just tested the macro
5879         TARGET_HAS_XFLOATING_LIBS.
5880         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
5881         used to only use the gprs.
5882
5883 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
5884
5885         * tree.h (COMPLETE_TYPE_P): New macro.
5886         (COMPLETE_OR_VOID_TYPE_P): New macro.
5887         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
5888         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
5889         * c-aux-info.c (gen_type): Use them.
5890         * c-common.c (c_expand_expr_stmt): Likewise.
5891         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
5892         grokdeclarator, grokparms, finish_struct, start_function,
5893         store_parm_decls, combine_parm_decls): Likewise.
5894         * c-parse.y (cast_expr): Likewise.
5895         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
5896         c_size_in_bytes, c_alignof, build_component_ref,
5897         build_indirect_ref, build_array_ref, convert_arguments,
5898         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
5899         * calls.c (initialize_argument_information): Likewise.
5900         * convert.c (convert_to_integer): Likewise.
5901         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
5902         * dwarfout.c (location_or_const_value_attribute,
5903         output_enumeration_type_die, output_structure_type_die,
5904         output_union_type_die, output_type): Likewise.
5905         * expr.c (safe_from_p, expand_expr): Likewise.
5906         * function.c (assign_parms): Likewise.
5907         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
5908         * tree.c (build_array_type, build_function_type,
5909         build_method_type, build_offset_type, build_complex_type): Likewise.
5910         * c-parse.c, c-parse.h: Regenerated.
5911
5912 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5913
5914         * config/c4x/rtems.h: Include config/rtems.h.
5915
5916 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
5917
5918         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
5919         decl is a FUNCTION_DECL
5920
5921 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
5922
5923         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
5924         function uses output registers.  Don't save RP for leaf functions.
5925         Do save RP even if no epilogue.
5926         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
5927         (CALL_USED_REGISTERS): Unmark in registers.
5928         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
5929         to near the middle.
5930
5931 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
5932
5933         * config/rs6000/rs6000.md (bunordered): New expander.
5934         (bordered): New expander.
5935         (buneq): New expander.
5936         (bunge): New expander.
5937         (bungt): New expander.
5938         (bunle): New expander.
5939         (bunlt): New expander.
5940         (bltgt): New expander.
5941
5942         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
5943         (ccr_bit_negated_p): New function.
5944         (print_operand): For %C, generate appropriate cror for UNEQ,
5945         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
5946
5947 2000-03-20  Andreas Jaeger  <aj@suse.de>
5948
5949         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
5950         warning.
5951
5952         * tree.h (safe_for_unsave): Prototype.
5953
5954 2000-03-20  Richard Henderson  <rth@cygnus.com>
5955
5956         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
5957         (combine_stack_adjustments_for_block): Don't allow sp references
5958         in the side of a set we're not fixing up.
5959         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
5960         after life_analysis.
5961
5962 2000-03-20  Richard Henderson  <rth@cygnus.com>
5963
5964         * calls.c (expand_call): Don't bother generating tail call
5965         sequences if there are pending cleanups.  Use
5966         expand_start_target_temps/expand_end_target_temps to elide
5967         cleanups created during sibcall expansion.
5968
5969 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
5970
5971         * configure.in: Set $IFS to a value if it doesn't already have one
5972         in the --enable-checking handling.
5973         * configure: Regenerate.
5974
5975 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5976
5977         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
5978         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
5979         Regenerated.
5980
5981 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
5982
5983         * jump.c (delete_noop_moves): Remove code attempting to
5984         combine stack adjustments.
5985
5986 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5987
5988         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
5989         * except.c (emit_cleanup_handler): Use them.
5990         (expand_end_all_catch): Likewise.
5991         * function.c (fixup_var_refs): Likewise.
5992         (expand_function_end): Clear catch_clauses_last.
5993         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
5994         * except.h (struct eh_status): New field x_catch_clauses_last.
5995         (catch_clauses_last): New define.
5996
5997         * Makefile.in (tree.o): Depend on HASHTAB_H.
5998         * tree.c: Include hashtab.h.
5999         (struct type_hash): Remove next field.
6000         (TYPE_HASH_SIZE): Remove.
6001         (TYPE_HASH_INITIAL_SIZE): New define.
6002         (type_hash_table): Change type to htab_t.
6003         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
6004         mark_hash_entry): New functions.
6005         (init_obstacks): Allocate type hash.
6006         (type_hash_lookup): Use htab functions.
6007         (type_hash_add, mark_type_hash): Likewise.
6008         (dump_tree_statistics): Call print_type_hash_statistics.
6009
6010 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6011
6012         * rs6000/t-aix41: New file.
6013
6014         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
6015
6016 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
6017
6018         * tm.texi (Driver): Fix typos and tweak entry for
6019         INCLUDE_DEFAULTS.
6020         Move misplaced STRUCT_FORCE_BLK entry ...
6021         (Storage Layout): ... to here.
6022         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
6023
6024 2000-03-19  Richard Henderson  <rth@cygnus.com>
6025
6026         * flow.c (delete_block): Delete the addr_vec along with the block.
6027         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
6028         reference labels.
6029
6030         * fold-const.c (extract_muldiv): Apply type check for defined
6031         overflow to multiply as well as divide.
6032
6033         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
6034
6035 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
6036
6037         * emit-rtl.c (remove_unncessary_notes): Check that all
6038         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
6039         associated NOTE_BLOCK.
6040         * function.h (identify_blocks): Update comments.
6041         (reorder_blocks): Declare.
6042         * function.c (identify_blocks): Don't take paramters.
6043         (reorder_blocks): Don't take parameters.
6044         * loop.h (find_loop_tree_blocks): Remove.
6045         (unroll_block_trees): Likewise.
6046         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
6047         reorder_blocks instead of unroll_block_trees.h
6048         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
6049         * stmt.c (find_loop_tree_blocks): Remove.
6050         (unroll_block_trees): Likewise.
6051         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
6052         in whole-function mode.
6053         * tree.h (reorder_blocks): Remove declaration.
6054
6055         * expr.c: Include intl.h.
6056         * Makefile.in (expr.o): Depend on intl.h.
6057
6058 2000-03-18  Richard Henderson  <rth@cygnus.com>
6059
6060         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
6061
6062 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
6063
6064         * tree.h (tree_index): Remove enumerals for integer types.
6065         (integer_type_kind): New type.
6066         (integer_types): New variable.
6067         (char_type_node): Adjust.
6068         (signed_char_type_node): Likewise.
6069         (unsigned_char_type_node): Likewise.
6070         (short_integer_type_node): Likewise.
6071         (short_unsigned_type_node): Likewise.
6072         (integer_type_node): Likewise.
6073         (unsigned_type_node): Likewise.
6074         (long_integer_type_node): Likewise.
6075         (long_unsigned_type_node): Likewise.
6076         (long_long_integer_type_node): Likewise.
6077         (long_long_unsigned_type_node): Likewise.
6078         * tree.c (integer_types): New variable.
6079         (init_obstacks): Register it as a root.
6080
6081 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
6082
6083         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
6084         NEXT_INSN. Update last insn in chain.
6085
6086 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
6087
6088         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
6089         with TYPE_DECL_SUPPRESS_DEBUG set.
6090
6091 2000-03-18  Richard Henderson  <rth@cygnus.com>
6092
6093         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
6094
6095 2000-03-18  Richard Henderson  <rth@cygnus.com>
6096
6097         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
6098         care for HALF_PIC_P.
6099         (expander_call_insn_operand): Remove.
6100         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
6101         * i386.h (PREDICATE_CODES): Update.
6102         * i386.md (all call expanders): Remove predicates, remove special
6103         handling for half-pic.
6104         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
6105         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
6106         (sibcall_epilogue): New.
6107
6108 2000-03-17  Richard Henderson  <rth@cygnus.com>
6109
6110         * rtlanal.c (single_set): Reject if the parallel has anything
6111         except SET or USE or CLOBBER.
6112
6113 2000-03-17  Jeff Law  <law@cygnus.com>
6114             Richard Henderson  <rth@cygnus.com>
6115
6116         * Makefile.in (OBJS): Add sibcall.o.
6117         (sibcall.o): New.
6118         * sibcall.c: New file.
6119         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
6120         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
6121         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
6122         Emit sibcall patterns when requested.  Update all callers.
6123         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
6124         elimination seems feasable.
6125         * final.c (leaf_function_p): Sibling calls don't discount being
6126         a leaf function.
6127         * flow.c (HAVE_sibcall_epilogue): Provide default.
6128         (find_basic_blocks_1): Sibling calls don't throw.
6129         (make_edges): Make edge from sibling call to EXIT.
6130         (propagate_block): Don't remove sibcall_epilogue insns.
6131         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
6132         (sibcall_epilogue): New.
6133         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
6134         (identify_blocks_1): Likewise.  Break out from ...
6135         (identify_blocks): ... here.
6136         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
6137         (reorder_blocks): ... here.
6138         (init_function_for_compilation): Zap prologue/epilogue as varrays.
6139         (record_insns): Extend a varray instead of mallocing new memory.
6140         (contains): Read a varray not array of ints.
6141         (sibcall_epilogue_contains): New.
6142         (thread_prologue_and_epilogue_insns): Emit and record
6143         sibcall_epilogue patterns.
6144         (init_function_once): Allocate prologue/epilogue varrays.
6145         * genflags.c (gen_insn): Treat sibcall patterns as calls.
6146         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
6147         Broken out from ...
6148         (save_for_inline_nocopy): ... here.
6149         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
6150         Broken out from ...
6151         (expand_inline_function): ... here.
6152         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
6153         (subst_constants): Handle 'n' formats.
6154         * jump.c (jump_optimize_minimal): New.
6155         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
6156         optimizations if it's set.
6157         * rtl.c (copy_rtx): Do copy jump & call for insns.
6158         * rtl.h (struct rtx_def): Document use of jump and call for insns.
6159         (SIBLING_CALL_P): New.
6160         (sibcall_use_t): New.
6161         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
6162         Invoke optimize_sibling_and_tail_recursive_calls.
6163         * tree.c (lang_safe_for_unsave): New.
6164         (safe_for_unsave): New.
6165         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
6166
6167         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
6168         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
6169         (*sibcall_osf_1, *sibcall_value_osf_1): New.
6170
6171 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
6172
6173         * objc/objc-act.c (encode_method_prototype): Pass types, not
6174         PARM_DECLs, to int_size_in_bytes.
6175
6176 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
6177
6178         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
6179
6180         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
6181         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
6182
6183 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6184
6185         * Clean up usages of TREE_INT_CST_LOW.
6186         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
6187         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
6188         Regenerated.
6189         * c-tree.h (min_precision): Move declaration to here.
6190         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
6191         (build_unary_op, add_pending_init): Use bit_position.
6192         (pending_init_member, process_init_element): Likewise.
6193         (really_start_incremental_init, push_init_level, pop_init_level):
6194         Don't make copies of nodes or modify them in place, use consistent
6195         types when tracking positions, and use tree routines computations.
6196         (set_init_index, output_init_element): Likewise.
6197         (output_pending_init_elements, process_init_element): Likewise.
6198         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
6199         tree_low_cst and int_bit_position; also minor cleanup.
6200         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
6201         (print_cst_octal): Precision is unsigned.
6202         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
6203         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
6204         (simple_type_align_in_bits): Result is unsigned int.
6205         Use tree_int_low_cst and host_integerp.
6206         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
6207         (field_byte_offset): Result is HOST_WIDE_INT.
6208         Change types of internal variables so alignments are unsigned int,
6209         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
6210         Use host_integerp, tree_low_cst, and int_bit_position.
6211         (add_bit_offset_attribute): Likewise.
6212         (add_data_member_location_attribute): Use tree_cst_low.
6213         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
6214         (add_bit_size_attribute): Use tree_low_cst.
6215         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
6216         * dwarfout.c: Similar changes to dwarf2out.c.
6217         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
6218         * genoutput.c (n_occurences): Return -1 for null string.
6219         (strip_whitespace): Accept null string and make into function.
6220         (scan_operands): Reflect above changes.
6221         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
6222         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
6223         * ssa.c (rename_registers): Add missing cast of arg to bzero.
6224         * tree.c (int_size_in_bytes): Check for too big to represent.
6225         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
6226         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
6227         New declarations.
6228         (min_precision): Delete from here.
6229         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
6230         and int_bit_position.
6231         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
6232         (encode_method_def): Likewise.
6233         (build_ivar_list_initializer): Use int_bit_position.
6234         (generate_shared_structures): Convert size.
6235         (encode_type, encode_complete_bitfield): Use integer_zerop.
6236         (encode_bitfield): Use tree_low_cst and int_bit_position.
6237
6238 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6239
6240         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
6241
6242 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6243
6244         * call.c (special_function_p): It is only malloc if it returns
6245         Pmode.
6246
6247 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6248
6249         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
6250         (C33_FLAG, TARGET_C3X): Add macros.
6251         (TARGET_SWITCHES): Add -m33 option.
6252         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
6253
6254 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6255
6256         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
6257         (PARALLEL_PACK_FLAG): Delete.
6258         (TARGET_SWITCHES): Update.
6259         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
6260
6261 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6262
6263         * fold-const.c (fold): Fix a few cases when the returned result
6264         is not of the same type as the input.
6265
6266 2000-03-16  Nick Clifton  <nickc@cygnus.com>
6267
6268         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
6269         warning.
6270
6271 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6272
6273         * libgcc2.h: Move prototypes above macros with the same name.
6274         Wrap some function prototypes in the conditional which indicates
6275         whether they are supported, i.e. "BITS_PER_UNIT == 8".
6276
6277 2000-03-16  Richard Henderson  <rth@cygnus.com>
6278
6279         * calls.c: Revert last two changes.
6280
6281 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
6282
6283         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
6284         has exponent 0 is a zero.
6285
6286         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
6287         HASH may already be nonzero.  Add code/mode into hash value
6288         immediately after repeat label.
6289         (cselib_lookup): Don't leave the hash table in an inconsistent
6290         state before a hash lookup operation.
6291
6292 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
6293
6294         * i386.md (all HI and QI mode non-move patterns):  Conditionize
6295         by TARGET_[HQ]IMODE_MATH.
6296         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
6297         x86_promote_qi_regs): Declare.
6298         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
6299         TARGET_PROMOTE_QI_REGS): New macros.
6300         (PROMOTE_MODE): New macro.
6301         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
6302         x86_promote_qi_regs): New global variables.
6303
6304 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
6305
6306         * calls.c (emit_library_call_value_1): Break out from ...; handle
6307         VOIDmode function calls too.
6308         (emit_library_call_value): ... here.
6309         (emit_library_call): Implement by calling emit_library_call_value_1.
6310
6311 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
6312
6313         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
6314         Update arg_space_so_far on stack adjustments.
6315         (emit_library_call, emit_library_call_value): Likewise; take into
6316         account arg_space_so_far and pending_stack_adjust when calculcating
6317         the boundary.
6318
6319 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
6320
6321         * flow.c: Move all basic block reordering code into its own file.
6322         (create_basic_block): Externalize.
6323         * bb-reorder.c: New file. Copy all basic block reordering code from
6324         flow.c to this file.
6325         (reorder_basic_blocks): Fix fencepost error in for-loop.
6326         (reorder_basic_blocks): Remove braces from single statement for-loops.
6327         * basic-block.h: Add declaration for create_basic_block.
6328         * Makefile.in: Add rules for bb-reorder.o.
6329
6330 2000-03-16  Neil Booth  <NeilB@earthling.net>
6331
6332         * cppinit.c (handle_option):  Implement #unassert directive
6333         as -A- command line option.
6334         (print_help):  Update.
6335         * cpptexi.c:  Update.
6336
6337 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6338
6339         * md.texi (Standard Names): Document `jump'.
6340
6341 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
6342
6343         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
6344         gotos.
6345
6346 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
6347
6348         Merge changes from newppc-branch onto trunk.
6349
6350         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
6351
6352         * rs6000.c (toc_hash_table): Update for new hash table functions.
6353         (toc_hash_function): Likewise.
6354         (toc_hash_eq): Likewise.
6355         (toc_hash_mark_entry): Likewise.
6356         (toc_hash_mark_table): Likewise.
6357         (output_toc): Likewise.
6358         (rs6000_add_gc_roots): Likewise.
6359
6360         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6361
6362         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
6363         (AR_FLAGS_FOR_TARGET): here.  New macro.
6364
6365         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
6366
6367         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
6368         fpmem_operand) Delete.
6369         (xer_operand) New.
6370         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
6371         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
6372         (rs6000_save_machine_status, rs6000_restore_machine_status,
6373         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
6374         references to above variables.
6375         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
6376         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
6377         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
6378         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
6379         (XER_REGNO_P, XER_REGNO): New.
6380         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
6381         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
6382         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
6383         XER_REGNO_P.
6384         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
6385         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
6386         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
6387
6388         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6389
6390         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
6391         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
6392         * rs6000.h: from here.
6393
6394         * rs6000-protos.h (rs6000_select_section): Provide prototype.
6395         (rs6000_select_rtx_section): Likewise.
6396         (rs6000_encode_section_info): Likewise.
6397         (sdata_section): Likewise.
6398         (sdata2_section): Likewise.
6399         (sbss_section): Likewise.
6400         * sysv4.h (rs6000_select_section): Delete prototype.
6401         (rs6000_select_rtx_section): Likewise.
6402         (rs6000_encode_section_info): Likewise.
6403         (sdata_section): Likewise.
6404         (sdata2_section): Likewise.
6405         (sbss_section): Likewise.
6406         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
6407
6408         * sysv4.h: Delete various unnecessary #undef's and put a comment
6409         on the remaining ones.
6410         Change various comments according to coding standard.
6411
6412         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
6413
6414         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
6415         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
6416         (CR0_REGNO_P) Remove.
6417         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
6418         setup_incoming_varargs, mtcrf_operation, print_operand,
6419         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
6420         Use the above macros.
6421
6422         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
6423
6424         * config/rs6000/rs6000.md: Added a new alternative for each
6425         pattern that had a 'x' alternative but no 'y' alternative.
6426         Added a new split for each of the above patterns.
6427
6428         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
6429
6430         * aix41.h (ASM_CPU_SPEC): Delete.
6431         (CPP_CPU_SPEC): Delete.
6432
6433         * aix.h (RS6000_OUTPUT_BASENAME): Define.
6434         (ASM_OUTPUT_LABEL): Define.
6435         (ASM_GLOBALIZE_LABEL): Define.
6436         (STRIP_NAME_ENCODING): Define.
6437         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
6438         (STRIP_NAME_ENCODING): Don't define.
6439         (ASM_OUTPUT_LABEL): Don't define.
6440         (ASM_GLOBALIZE_LABEL): Don't define.
6441         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
6442         names, and ASM_OUTPUT_LABEL to output labels, rather than
6443         asm_fprintf.
6444         (ASM_OUTPUT_LABEL): Define.
6445         (ASM_OUTPUT_INT): Use assemble_name.
6446         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
6447         (STRIP_NAME_ENCODING): Don't undefine first.
6448         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
6449         ELF.
6450         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
6451         specified with 'asm' even with -fleading-underscore.
6452         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
6453         (output_epilog): Likewise.
6454         (output_toc): Likewise.
6455         * tramp.asm: Handle -fleading-underscore correctly.
6456
6457         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
6458         -mminimal-toc.
6459         (nonlocal_goto_receiver): Delete.
6460         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
6461
6462         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
6463         (SET_ASM_OP): Define.
6464         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
6465
6466         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
6467         (ASM_LONG): Define.
6468
6469         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
6470         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
6471
6472         * rs6000.h: Add 'u' to more constants.
6473
6474         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
6475
6476         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
6477
6478         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
6479
6480         * rs6000.c (reg_or_u_cint_operand): New function.
6481         (logical_operand): Handle 64-bit hosts.
6482         (logical_u_operand): New function.
6483         (non_logical_cint_operand): Handle 64-bit hosts.
6484         (non_logical_u_cint_operand): New function.
6485         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
6486         (PREDICATE_CODES): Define new functions.
6487         * rs6000-protos.h: Declare new functions.
6488         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
6489         (movdi_64): Bracket code intended for 64-bit hosts.  Create
6490         CONST_DOUBLE for 32-bit values.
6491         (scc insns): Generate DImode compares.
6492         (mfcr insns): Create DImode versions.
6493         (sge matchers): New patterns.
6494
6495         2000-02-15  Gabriel Paubert  <paubert@iram.es>
6496
6497         * rs6000.md: Correct instructions length attributes and
6498         constraints on unsigned compare instructions.
6499         (*ne0): Disable for PowerPC64.
6500
6501         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
6502
6503         * rs6000.c (output_function_profiler): Use .long for a 32-bit
6504         quantity, fix profile1.C test failure under -fPIC.
6505
6506         * rs6000.c: Add 'u' to many constants to suppress warnings.
6507         (constant_pool_expr_1): Make static.
6508         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
6509         * rs6000.h: Add 'u' to many constants to suppress warnings.
6510
6511         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
6512         for the start of the TOC, instead of LCTOC..0.
6513         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
6514         of the TOC.
6515         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
6516         (load_toc_aix_di): Use LCTOC..1.
6517
6518         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
6519         * rs6000.c (rs6000_legitimize_address): New function from
6520         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
6521         symbols in the constant pool that really are TOC references.
6522         (print_operand_address): For ELF, write TOC offsets under
6523         -fPIC as subtractions in the insn.
6524         (output_toc): For ELF, define symbols in TOC as normal labels,
6525         to match RTL.
6526         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
6527         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
6528         (create_TOC_reference): Prototype only when RTX_CODE is defined.
6529         * rs6000.md (movsi): Only use create_TOC_reference on
6530         symbols in the constant pool that really are TOC references.
6531
6532         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
6533         * rs6000.c (rs6000_reorg): Delete.
6534         * rs6000-protos.h (rs6000_reorg): Delete.
6535
6536         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
6537
6538         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
6539
6540         * aix.h (SETUP_FRAME_ADDRESSES): Define.
6541         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
6542         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
6543         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
6544         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
6545         rs6000_aix_emit_builtin_unwind_init.
6546         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
6547         rs6000_emit_eh_toc_restore on AIX.
6548         (return_eh_si): Use r2.
6549         (return_eh_di): Use r2.
6550
6551         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
6552         since we're breaking binary compatibility anyway.
6553
6554         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
6555
6556         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
6557         constant_pool_expr_p): Declare them.
6558         (constant_pool_expr_p): Declare it.
6559         * config/rs6000/rs6000.c (toc_label_name): Define.
6560         (rs6000_override_options): Set toc_label_name.
6561         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
6562         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
6563         uses_TOC): New functions.
6564         (print_operand): Delete old '*' case.
6565         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
6566         and strip off rtl for TOC before calling output_addr_const.
6567         (rs6000_emit_load_toc_table): Use toc_label_name.
6568         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
6569         the default.
6570         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
6571         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
6572         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
6573         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
6574         into explicit TOC_REGISTER offsets.
6575         (TOC_REGISTER): New macro.
6576         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
6577         TARGET_TOC to reference TOC_REGISTER.
6578         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
6579         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
6580         uses_TOC before emitting label references.
6581
6582         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
6583
6584         * rs6000.md (stack_tie): Fix warning.
6585
6586         * eabi-ctors.c: Use 'asm' names for the start/end variables,
6587         to handle -fleading-underscore.
6588         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
6589         (USER_LABEL_PREFIX): New macro.
6590         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
6591         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
6592         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
6593         call-linux can use the same multilibs.
6594         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
6595         and call-linux multilibs.  Do multilib with -fleading-underscore.
6596         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
6597         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
6598         to call-aix.
6599
6600         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
6601         have MASK_SOFT_FLOAT set.
6602         (CPP_FLOAT_DEFAULT_SPEC): New macro.
6603         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
6604         CPP_FLOAT_DEFAULT_SPEC.
6605
6606         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
6607         * rs6000.md: Whitespace change.
6608         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
6609         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
6610
6611         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
6612
6613         * rs6000.md (eh_epilogue): New expander.
6614         (eh_reg_restore): New expand/split/insn combination.
6615         (return_eh_si): New insn.
6616         (return_eh_di): New insn.
6617
6618         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
6619         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
6620         * eabi-ctors.c (__do_global_ctors): Register this object's
6621         frame.  Clean up.  Call atexit() after the constructors.
6622         (__do_global_dtors): Deregister this object's frame.  Clean up.
6623         Allow for recursive calls to exit().
6624         * rs6000.c (fixuplabelno): New variable.
6625         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
6626         TARGET_RELOCATABLE, it slows down exec() under linux.
6627         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
6628
6629         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
6630         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
6631         (ASM_OUTPUT_DWARF_DELTA2): New macro.
6632         (ASM_OUTPUT_DWARF_DELTA4): New macro.
6633         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
6634         (ASM_OUTPUT_DWARF_ADDR): New macro.
6635         (ASM_OUTPUT_DWARF_DATA4): New macro.
6636         (ASM_OUTPUT_DWARF_DATA2): New macro.
6637         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
6638         (ASM_OUTPUT_DWARF_OFFSET): New macro.
6639         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
6640
6641         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
6642
6643         * rs6000.c (rs6000_sr_alias_set): New variable.
6644         (rs6000_override_options): Initialise rs6000_sr_alias_set.
6645         (rs6000_emit_stack_tie): New function.
6646         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
6647         in a way that dwarf2out can understand.
6648         (rs6000_frame_related): New function.
6649         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
6650         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
6651         Use rs6000_emit_stack_tie when needed.
6652         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
6653         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
6654         * rs6000.md (stack_tie): New insn.
6655         (return_internal_si): Allow return value to be in the count
6656         register.
6657         (return_internal_di): Likewise.
6658
6659         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
6660
6661         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
6662
6663         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
6664
6665         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
6666
6667         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
6668
6669         * rs6000.md (stmw): Use the right POWER opcode.
6670         (lmw): Likewise.
6671
6672         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6673
6674         * rs6000-protos.h: New file.
6675
6676         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
6677
6678         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
6679         warnings.
6680
6681         * sysv4.h: Likewise.
6682
6683         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
6684
6685         * ../../configure.in: Delete powerpcle-*-winnt*
6686         and powerpcle-*-pe|powerpcle-*-cygwin*.
6687         * ../../configure: Regenerated.
6688         * cygwin.h: Delete.
6689         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
6690         (TARGET_WINDOWS_NT): Delete.
6691         (ABI_NT): Delete.
6692         (CALL_NT_DLLIMPORT): Delete.
6693         Delete NT-specific code.
6694         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
6695         * win-nt.h: Delete.
6696         * t-winnt: Delete.
6697         * nt-ci.asm: Delete.
6698         * nt-cn.asm: Delete.
6699         * ntstack.asm: Delete.
6700
6701         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6702
6703         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
6704         (ASM_FILE_START): Likewise.
6705         (ASM_DECLARE_FUNCTION_NAME): Likewise.
6706         (ASM_OUTPUT_LABELREF): Likewise.
6707         (ASM_OUTPUT_SKIP): Likewise.
6708         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
6709         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
6710         (ASM_OUTPUT_CASE_LABEL): Likewise.
6711         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
6712         (ASM_OUTPUT_ASCII): Likewise.
6713
6714         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
6715
6716         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
6717         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
6718         increment rs6000_pic_labelno here.
6719         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
6720         and increment rs6000_pic_labelno here.
6721
6722         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
6723
6724         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
6725         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
6726         allocation knows (reg) is dead before the insn.
6727
6728         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
6729
6730         * rs6000.md (movsi_to_cr): Correct typo in output template.
6731
6732         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
6733
6734         * rs6000.c (rs6000_pic_labelno): Always define.
6735         (rs6000_pic_func_labelno): Delete.
6736         (lmw_operation): Check for a zero base register,
6737         which doesn't mean what we want.
6738         (stmw_operation): New function.
6739         (print_operand): Define new 'l' modifier.
6740         (rs6000_stack_info): We must save all 64 bits of the registers
6741         if TARGET_POWERPC64.
6742         (rs6000_output_load_toc_table): Delete.
6743         (rs6000_emit_load_toc_table): New function.
6744         (rs6000_allocate_stack_space): Delete.
6745         (rs6000_emit_allocate_stack): New function.
6746         (rs6000_emit_prologue): New function.
6747         (output_prolog): Use rs6000_emit_prologue.
6748         (rs6000_emit_epilogue): Change a few variable names to be
6749         more accurate.  Restore all 64 bits of the registers if
6750         TARGET_POWERPC64.  Only restore the FP registers which were used
6751         if they are being saved/restored one-at-a-time.
6752         (output_mi_thunk): Delete inefficient code generation.
6753         (output_function_profiler): Don't use rs6000_output_load_toc_table.
6754         * rs6000.h: Declare rs6000_emit_load_toc_table,
6755         rs6000_allocate_stack_space, stmw_operation.  Don't declare
6756         rs6000_output_load_toc_table.
6757         * rs6000.md (elf_high): Allow register 0, but discourage it
6758         heavily.
6759         (elf_low): Support loading into register 0.
6760         (load_toc_aix_si): New pattern.
6761         (load_toc_aix_di): New pattern.
6762         (load_toc_v4_pic_si): New pattern.
6763         (load_toc_v4_pic_di): New pattern.
6764         (load_toc_v4_PIC_1): New pattern.
6765         (load_toc_v4_PIC_1b): New pattern.
6766         (load_toc_v4_PIC_2): New pattern.
6767         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
6768         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
6769         (prologue): New expander.
6770         (movesi_from_cr): New pattern.
6771         (stmw): New pattern.
6772         (save_fpregs_si): New pattern.
6773         (save_fpregs_di): New pattern.
6774
6775         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6776
6777         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
6778         (movdi): Likewise.
6779         (movhi): Likewise.
6780         (movqi): Likewise.
6781
6782         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6783
6784         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
6785         at present.
6786         (movsi_got_internal): Likewise.
6787         (movsi_got_internal+1): Likewise.
6788         (set_sp): 'unspec 7' does a SImode clobber.
6789
6790         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6791
6792         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
6793         allocate a stack temporary.
6794         (floatsidf2_internal): Likewise.
6795         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
6796         with unspec.
6797         (floatunssidf2): Don't use the fpmem "register", just
6798         allocate a stack temporary.
6799         (floatunssidf2_internal): Likewise.
6800         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
6801         with unspec.
6802         (floatsidf2_loadaddr): Delete.
6803         (floatsidf2_store1): Delete.
6804         (floatsidf2_store2): Delete.
6805         (floatsidf2_load): Delete.
6806         (fix_truncdfsi2): Don't use the fpmem "register", just
6807         allocate a stack temporary.
6808         (fix_truncdfsi2_internal_si): Delete.
6809         (fix_truncdfsi2_internal_di): Delete.
6810         (fix_truncdfsi2_internal): New insn.
6811         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
6812         (fix_truncdfsi2_store): Delete.
6813         (fix_truncdfsi2_load): Delete.
6814         (fctiwz): Produce gen_fctiwz.
6815
6816         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
6817
6818         * eabi.h (INVOKE__main): Define.
6819         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
6820         specially.
6821         (rs6000_emit_prologue): Likewise.
6822         * rs6000.h (struct rs6000_stack): Don't keep track of whether
6823         this is the main program.
6824
6825         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6826
6827         * rs6000.c (rs6000_va_arg): Delete some unused variables.
6828
6829         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6830
6831         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
6832         goes after the argument.
6833
6834         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
6835
6836         * rs6000.md: Document 'unspec' values used.
6837         (epilogue): New expander.
6838         (movesi_to_cr_one): New expander.
6839         (movesi_to_cr and following): New pattern.
6840         (lmw): New pattern.
6841         (return_internal_si): New pattern.
6842         (return_internal_di): New pattern.
6843         (return_and_restore_fpregs_si): New pattern.
6844         (return_and_restore_fpregs_di): New pattern.
6845         * rs6000.h: Declare new functions.
6846         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
6847         rather than rs6000_calls_p.
6848         (rs6000_makes_calls): Delete.
6849         (lmw_operation): New function.
6850         (mtcrf_operation): New function.
6851         (rs6000_emit_epilogue): New function.
6852         (output_epilog): Call rs6000_emit_epilogue and final if
6853         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
6854
6855         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
6856
6857         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
6858         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
6859         * aix.h (SUBTARGET_SWITCHES): Document switches.
6860         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
6861         sched-prolog and sched-epilog the same.  Document all the
6862         switches.
6863         (TARGET_OPTIONS): No longer allow -mdebug-.
6864
6865         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
6866
6867         * rs6000.h (ASM_FILE_END): Move to aix.h.
6868         (EXTRA_SECTIONS): Move to aix.h.
6869         (READONLY_DATA_SECTION): Move to aix.h.
6870         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
6871         (SELECT_SECTION): Move to aix.h.
6872         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
6873         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
6874         (LINK_REGISTER_REGNUM): New definition.
6875         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
6876         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
6877         AIX and SVR4.
6878         * sysv4.h: Delete the code between the inclusion of rs6000.h
6879         and svr4.h.
6880         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
6881         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
6882         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
6883         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
6884         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
6885         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
6886         (fix_truncdfsi2_internal_di): New pattern.
6887         (fix_truncdfsi2_store): The second arg here is Pmode too.
6888         (fix_truncdfsi2_load): The second arg here is Pmode too.
6889         (tablejumpdi): Now that switch tables hold only SImode values,
6890         gcc needs to know how to add them to the pc which is DImode.
6891         * rs6000.c (rs6000_stack_info): Use symbolic name for
6892         LINK_REGISTER_REGNUM.
6893         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
6894         (output_toc): Delete unused variables s1 and s2.
6895         (output_ascii): Use fputs not fprintf on a variable string.
6896
6897         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
6898
6899         * rs6000.c (processor_target_table): Add power3 as alias for 630.
6900         * aix43.h: Revert Aug 2 change.
6901         (HAS_INIT_SECTION): Define, not visible yet.
6902         (LD_INIT_SWITCH): Define, not visible yet.
6903         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
6904
6905         2000-01-04  Joel Sherrill (joel@OARcorp.com>
6906
6907         * config/rs6000/rtems.h: Include config/rtems.h.
6908
6909         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
6910
6911         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
6912         (SLOW_UNALIGNED_ACCESS): Define.
6913         (CASE_VECTOR_MODE): Always use 32-bit offsets.
6914         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
6915         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
6916         (toc_section): Likewise and .toc pseudo-op.
6917         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
6918         64-bit mode.
6919         (TEXT_SECTION_ASM_OP): Likewise.
6920         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
6921         32-bit offsets.
6922
6923         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
6924
6925         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
6926         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
6927         compiling libgcc2.
6928
6929         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6930
6931         * rs6000.h: Move more stuff from here...
6932         * aix.h: to here.
6933         * sysv4.h: Cleanup accordingly.
6934         * netware.h: Likewise
6935
6936         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6937
6938         * rs6000.h: Continue cleanup.
6939         * aix.h: Likewise.
6940         * lynx.h: Likewise.
6941         * netware.h: Likewise.
6942         * sol2.h: Likewise.
6943         * sysv4.h: Likewise.
6944         * win-nt.h: Likewise.
6945
6946         * rs6000.h (TARGET_SWITCHES): Add descriptions.
6947         (TARGET_OPTIONS): Likewise.
6948
6949         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
6950         (SUBTARGET_OPTIONS): Likewise.
6951
6952         * rs6000.md: Fix compile time warnings.
6953
6954         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
6955
6956         vxworks patches from the Cygnus tree originally by
6957         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
6958         <vmakarov@cygnus.com>.
6959         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
6960         (ENDFILE_SPEC): Likewise.
6961         (LIB_VXWORKS_SPEC): New macro.
6962         (STARTFILE_VXWORKS_SPEC): New macro.
6963         (ENDFILE_VXWORKS_SPEC): New macro.
6964         (LINK_START_VXWORKS_SPEC): New macro.
6965         (LINK_OS_VXWORKS_SPEC): New macro.
6966         (CPP_OS_VXWORKS_SPEC): New macro.
6967         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
6968         * vxppc.h: Rewrite to use proper configuration method.
6969         * vxppcle.h: New file.
6970         * ../../configure.in: Add powerpcle-wrs-vxworks*.
6971         * ../../configure: Rebuilt.
6972
6973         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
6974
6975         Lots of changes to rs6000.h, sysv4.h, aix.h,
6976         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
6977         with the aim that rs6000.h is the first header
6978         included and the others override it.
6979         * aix.h: New file.
6980
6981         * x-aix41-gld: Remove.
6982         * x-aix43: Remove.
6983         * x-aix41: Remove target-specific switches, and don't specify
6984         -Wl,-bbigtoc as we don't need it any more.
6985         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
6986         Use t-aix43 for AIX 4.3 and above.
6987         * ../../configure: Regenerated.
6988
6989         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
6990         options, that don't do anything yet.
6991         (MASK_SCHED_PROLOG): New macro.
6992         (MASK_SCHED_EPILOG): New macro.
6993         (TARGET_SCHED_PROLOG): New macro.
6994         (TARGET_SCHED_EPILOG): New macro.
6995
6996         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
6997
6998         * rs6000.c: Correct comment, the `minimal' TOCs are actually
6999         one per translation unit, not one per function.
7000         (output_toc): Also do duplicate constant elimination
7001         for per-translation-unit TOCs.
7002
7003         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
7004         a comment explaining _exactly_ when this pattern gets used.
7005         (builtin_setjmp_receiver): New pattern for better clarity.
7006         (init_v4_pic): Move it into a section dealing with TOC registers.
7007
7008         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
7009
7010         * rs6000.c (toc_hash_table): New variable.
7011         (rs6000_hash_constant): New function.
7012         (toc_hash_function): New function.
7013         (toc_hash_eq): New function.
7014         (toc_hash_mark_entry): New function.
7015         (toc_hash_mark_table): New function.
7016         (output_toc): Don't output duplicate TOC entries in
7017         a single file.
7018         (rs6000_add_gc_roots): Add the hash table as a GC root.
7019         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
7020         where they clearly shouldn't be.  This may need to be fixed
7021         later when there is a GNU ar for AIX.
7022         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
7023         Don't define BOOT_LDFLAGS as it is now not necessary.
7024
7025         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
7026
7027         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
7028         for va_list on AIX.  Use unsigned_char_type_node rather than
7029         constructing our own version on svr4.
7030
7031         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
7032
7033         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
7034         since patently it's not.
7035
7036         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
7037
7038         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
7039         define_expand/define_insn pair, and handle restore of the
7040         SVR4 -fpic register.
7041
7042 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
7043
7044         * acconfig.h (HAVE_GAS_WEAK): New define.
7045         * configure.in (assembler weak support): Check for .weak support.
7046         * config.in, configure: Rebuilt.
7047         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
7048         HAVE_GAS_WEAK is defined.
7049
7050 2000-03-15  Nick Clifton  <nickc@cygnus.com>
7051
7052         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
7053         asm_fprintf().
7054
7055 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
7056
7057         * cppfiles.c (open_include_file): New function.
7058         (find_include_file, cpp_read_file): Use it.
7059
7060 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
7061
7062         * cpphash.c (dump_hash_helper): Take the slot, not the element.
7063
7064 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
7065
7066         * flow.c (verify_flow_info): Check for unconditional return.
7067
7068 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
7069
7070         * config/ia64/ia64.md (restore_stack_nonlocal): New.
7071         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
7072         (__ia64_restore_stack_nonlocal): New.
7073         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
7074
7075 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7076
7077         * cpphash.c (collect_formal_parameters): Do not complain about
7078         parameter names that just start with `__VA_ARGS__'.
7079
7080 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
7081
7082         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
7083         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
7084         * i386.c (pentiumpro_cost): Set mul cost to 4.
7085         (x86_use_movx): Set for PPro.
7086
7087 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
7088
7089         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
7090         STACK_BOUNDARY for empty frames now.
7091
7092 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
7093
7094         * stor-layout.c (layout_union): Remove.
7095         (layout_union_field): New function, split out from layout_union.
7096         (finish_union_layout): Likewise.
7097         (layout_field): Handle unions by calling layout_union_field.
7098         (finish_record_layout): Handle unions.
7099         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
7100         QUAL_UNION_TYPE handling.
7101
7102 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
7103
7104         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
7105         end of basic block is jump_insn, not barrier; use create_basic_block
7106         instead of creating basic block by hand.
7107
7108 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
7109
7110         * flow.c (reorder_basic_blocks): Account for barriers when writing
7111         over NEXT_INSN (last_bb->end).
7112         (verify_flow_info): Add check for missing barriers.
7113
7114 2000-03-14  Greg McGary  <gkm@gnu.org>
7115
7116         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
7117         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
7118         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
7119         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
7120         __unbounded, __unbounded__): New keywords.
7121         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
7122         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
7123         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
7124
7125 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
7126
7127         * cselib.h: New file.
7128         * alias.c: Include "cselib.h".
7129         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
7130         MEMs as two new arguments.
7131         (get_addr): New static function.
7132         (find_base_term): Handle VALUEs.
7133         (memrefs_conflict_p): Likewise.
7134         (true_dependence): Call get_addr on the addresses.
7135         Call fixed_scalar_and_varying_struct_p with addresses that have been
7136         passed through get_addr and canon_rtx.
7137         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
7138         with true_dependence.
7139         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
7140         * loop.c: Include "cselib.h".
7141         (load_mems): Process extended basic block that enters the loop with
7142         cselib.  Use that information to change initialization of the shadow
7143         register so that a constant equivalence is seen by later passes.
7144         * reload1.c: Include "cselib.h".
7145         (reload_cse_invalidate_regno): Delete function.
7146         (reload_cse_mem_conflict_p): Likewise.
7147         (reload_cse_invalidate_mem): Likewise.
7148         (reload_cse_invalidate_rtx): Likewise.
7149         (reload_cse_regno_equal_p): Likewise.
7150         (reload_cse_check_clobber): Likewise.
7151         (reload_cse_record_set): Likewise.
7152         (reg_values): Delete static variable.
7153         (invalidate_regno_rtx): Likewise.
7154         (reload_cse_delete_noop_set): New static function.
7155         (reload_cse_simplify): New static function, broken out of
7156         reload_cse_regs_1.
7157         (reload_cse_noop_set_p): Delete unused argument INSN.
7158         Just call rtx_equal_for_cselib_p on set source and destination.
7159         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
7160         reload_cse_delete_noop_set.  Delete code to keep track of values; use
7161         cselib functions instead.  Delete code to push/pop obstacks.
7162         (reload_cse_simplify_set): Use cselib to find equivalent values.
7163         Delete code to push/pop obstacks.
7164         (reload_cse_simplify_operands): Likewise.
7165         * rtl.def (VALUE): New rtx code.
7166         * rtl.h (union rtunion_def): New elt rt_cselib.
7167         (X0CSELIB, CSELIB_VAL_PTR): New macros.
7168         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
7169         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
7170         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
7171         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
7172         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
7173         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
7174         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
7175         cselib_record_set, cselib_record_sets): New static functions.
7176         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
7177         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
7178         references_value_p): New functions.
7179         (MAX_USELESS_VALUES, REG_VALUES): New macros.
7180         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
7181         n_useless_values, reg_values, callmem, cselib_obstack,
7182         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
7183         New static variables.
7184         * varray.h (union varray_data_tag): New elt te.
7185         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
7186         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
7187         dependencies.
7188
7189 2000-03-14  Nick Clifton  <nickc@cygnus.com>
7190
7191         * gcc.c (do_spec_1): Catch the case where %* is used in a
7192         substitution pattern, but it has not been initialised.
7193         Issue a meaningful error message if an unrecognised operator
7194         is encountered in a spec string.
7195
7196 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
7197
7198         * function.c (prepare_function_start): Correctly initialize
7199         cfun->stack_alignment_needed.
7200
7201 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
7202
7203         * cppfiles.c (find_include_file): Don't assume nshort is a
7204         substring of name.
7205
7206 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
7207
7208         * configure.in (hppa configurations): Add pa32-regs.h to the
7209         list of tm files as appropriate.
7210         * configure: Rebuilt.
7211         * pa.c (compute_frame_size): Remove explicit knowledge about FP
7212         register numbering.
7213         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
7214         (fmpyaddoperands, fmpysuboperands): Likewise.
7215         * pa.h: Remove various definitions which depend on knowing
7216         how registers are numbered.
7217         * pa32-regs.h: New file with PA32 register numbering specific
7218         definitions.
7219
7220 2000-03-14  Richard Henderson  <rth@cygnus.com>
7221
7222         * regmove.c (combine_stack_adjustments): New.
7223         (stack_memref_p, single_set_for_csa): New.
7224         (free_csa_memlist, record_one_stack_memref): New.
7225         (try_apply_stack_adjustment): New.
7226         (combine_stack_adjustments_for_block): New.
7227         * rtl.h (combine_stack_adjustments): Declare.
7228         * toplev.c (rest_of_compilation): Call it.
7229
7230         * i386.md: Revert 2000-01-16 change.
7231
7232 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7233
7234         * gccbug.in: Add web category, gcc specific classes.
7235
7236 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
7237
7238         * stor-layout.c (finalize_record_size): Fix typo.
7239
7240 2000-03-14  Stan Shebs  <shebs@apple.com>
7241
7242         * c-typeck.c (c_alignof): Error on incomplete types.
7243         * extend.texi (Alignment): Document this.
7244
7245 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7246
7247         * cppfiles.c: Include mkdeps.h.
7248         (find_include_file, read_include_file): Remove _cpp_ prefix
7249         from name, make static.
7250         (_cpp_execute_include): New function, broken out of
7251         do_include.
7252
7253         * cpplib.c: Don't include mkdeps.h.
7254         (struct directive): Remove type field. Reorder entries.  The
7255         function takes only one argument.
7256         (struct if_stack): Make type field an int.
7257         (directive_table): Rename to dtable.  Generate it, the
7258         prototypes of the directive handlers, and the enum for the
7259         directive numbers, from a template macro.
7260         (do_ifndef, do_include_next, do_import): New functions.
7261         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
7262         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
7263         do_ident, do_assert, do_unassert, do_sccs): Take only one
7264         argument.
7265         (do_sccs): Define always, but alter behavior based on
7266         SCCS_DIRECTIVE.
7267         (_cpp_handle_directive, consider_directive_while_skipping):
7268         Restructure for new directive table layout.
7269
7270         (pass_thru_directive): Take a directive number, not a pointer
7271         to a struct directive.
7272         (parse_include): New function, broken out of do_include.
7273         (do_include, do_import, do_include_next): Use parse_include
7274         and _cpp_execute_include.
7275         (do_elif, do_else): Test for T_ELSE specifically when checking
7276         for #elif/#else after #else.
7277         (parse_ifdef): New function, broken out of do_ifdef.
7278         (validate_else): Expect a name arg without a leading #.
7279         (if_directive_name): Delete.
7280         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
7281         directive handlers with only one argument.
7282
7283         * cpphash.h: Update prototypes.
7284         (enum node_type): Remove entries for directives.
7285         * Makefile.in: Update dependencies.
7286
7287         * cpphash.c (dump_hash_helper): Only dump nodes of type
7288         T_MACRO.  Emit a newline after each definition.
7289
7290 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7291
7292         * gccbug.in: New file.
7293         * configure.in (all_outputs): Add gccbug.
7294         * Makefile.in (install-common): Install gccbug.
7295         (GCCBUG_INSTALL_NAME): New variable.
7296         * configure: Rebuilt.
7297
7298 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
7299
7300         * function.c (put_var_into_stack): Use type_for_mode to calculate
7301         part_type.  Use MEM_SET_IN_STRUCT_P.
7302         * expr.c (store_field): Handle CONCAT.
7303         (store_constructor): Use fields_length.
7304         * tree.c (fields_length): New fn.
7305         * tree.h: Declare it.
7306
7307 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7308
7309         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
7310         (cpplex.o): New target.
7311         * po/POTFILES.in: Add cpplex.c.
7312
7313         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
7314         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
7315         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
7316         skip_block_comment, skip_line_comment, skip_comment,
7317         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
7318         _cpp_parse_name, skip_string, parse_string,
7319         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
7320         _cpp_get_directive_token, find_position,
7321         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
7322         (maybe_macroexpand, _cpp_lex_token): New functions.
7323
7324         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
7325         parse_goto_mark): Delete.
7326         (_cpp_handle_eof): New function.
7327         (_cpp_handle_directive): Rename from handle_directive.
7328         (_cpp_output_line_command): Rename from output_line_command.
7329         (do_if, do_elif): Call _cpp_parse_expr directly.
7330         * cppfiles.c (_cpp_read_include_file): Don't call
7331         init_input_buffer here.
7332         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
7333         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
7334         here; pop the token_buffer and skip the rest of the line here.
7335         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
7336         here.
7337
7338         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
7339         Define here.
7340         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
7341         CPP_GOTO_MARK): New macros.
7342         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
7343         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
7344         _cpp_read_and_prescan, _cpp_init_input_buffer,
7345         _cpp_grow_token_buffer, _cpp_get_directive_token,
7346         _cpp_handle_directive, _cpp_handle_eof,
7347         _cpp_output_line_command): Prototype them here.
7348         * cpplib.h (enum cpp_token): Add CPP_MACRO.
7349         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
7350         quote_string, output_line_command): Remove.
7351
7352 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
7353
7354         * stmt.c (expand_end_case): RANGE may be signed, and when checking
7355         whether it is too large we must also verify that it isn't negative.
7356
7357 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
7358
7359         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
7360         (movsi_zero_liveg0): Remove.
7361         (movsf_insn_novis_liveg0): Remove.
7362         (negsi2): Remove.
7363         (negsi2_not_liveg0): Rename to negsi2.
7364         (one_cmplsi2): Remove.
7365         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
7366         (one_cmplsi2_liveg0): Remove.
7367         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
7368         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
7369         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
7370         (PREDICATE_CODES): Remove zero_operand.
7371         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
7372         TARGET_BROKEN_SAVERESTORE.
7373         (zero_operand): Remove.
7374         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
7375         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
7376         options.
7377         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
7378         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
7379         TARGET_BROKEN_SAVERESTORE): Remove.
7380         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7381         Remove.
7382         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7383         Remove.
7384         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7385         Remove.
7386
7387         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
7388
7389 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7390
7391         * cpplib.c (do_pragma_implementation): Fix off-by-one error
7392         truncating a string.  Don't assume tokens are nul terminated.
7393         Problem noted by Andreas Jaeger <aj@suse.de>
7394
7395 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
7396
7397         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
7398         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
7399         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
7400
7401 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
7402
7403         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
7404         STRUCTURE_SIZE_BOUNDARY.
7405
7406 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
7407
7408         * tree.h (record_layout_info_s): New structure.
7409         (record_layout_info): New type.
7410         (new_record_layout_info): New function.
7411         (layout_field): Likewise.
7412         (finish_record_layout): Likewise.
7413         * stor-layout.c (layout_record): Remove.
7414         (new_record_layout_info): New function.
7415         (layout_field): New function, broken out from layout_record.
7416         (finalize_record_size): Likewise.
7417         (compute_record_mode): Likewise.
7418         (finalize_type_size): New function, broken out from layout_type.
7419         (finish_record_layout): Likewise.
7420         (layout_type): Use them.
7421
7422 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
7423
7424         * cpphash.c: Don't include version.h.
7425         (special_symbol) [case T_VERSION]: Look for the string in
7426         hp->value.cpval; don't use version_string.
7427         * cppinit.c (initialize_builtins): Set hp->value.cpval for
7428         __VERSION__ to version_string.
7429         * Makefile.in (cpphash.o): Update deps.
7430
7431 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
7432
7433         Convert cpplib to use libiberty/hashtab.c.
7434
7435         * cpplib.h (struct cpp_reader): Make hashtab and
7436         all_include_files of type 'struct htab *'.  Delete HASHSIZE
7437         and ALL_INCLUDE_HASHSIZE macros.
7438
7439         * cpphash.h: Update prototypes.
7440         (struct hashnode): Remove next, prev, and bucket_hdr members.
7441         Make length a size_t.  Add hash member.
7442         (struct ihash): Remove next member.  Add hash member.  Make
7443         name a flexible array member.
7444
7445         * cppfiles.c: Include hashtab.h.
7446         (include_hash): Delete.
7447         (IHASHSIZE): New macro.
7448         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
7449         (cpp_included): Do the hash lookup here.
7450         (_cpp_find_include_file): Rewrite.
7451         (cpp_read_file): Put the "fake" hash entry into the hash
7452         table.  Honor the control_macro, if it turns out we've seen
7453         the file before.  Don't push the buffer here.
7454         (_cpp_read_include_file): Push the buffer here.
7455         (OMODES): New macro.  Use it whenever we call open(2).
7456
7457         * cpphash.c: Include hashtab.h.
7458         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
7459         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
7460         _cpp_lookup_slot): New functions.
7461         (HASHSIZE): new macro.
7462         (hashf, _cpp_install, _cpp_delete_macro): Delete.
7463         (_cpp_lookup): Use hashtab.h routines.
7464
7465         * cppinit.c: Include hashtab.h.
7466         (cpp_reader_init): Call _cpp_init_macro_hash and
7467         _cpp_init_include_hash.  Don't allocate hashtab directly.
7468         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
7469         pfile->all_include_files.
7470         (initialize_builtins): Use _cpp_make_hashnode and
7471         htab_find_slot to add hash entries.
7472         (cpp_finish): Just call _cpp_dump_macro_hash.
7473         * cpplib.c: Include hashtab.h.
7474         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
7475         create hash entries.
7476         (do_pragma_poison, do_assert): Likewise.
7477         (do_include): Don't push the buffer here.  Don't increment
7478         system_include_depth unless _cpp_read_include_file succeeds.
7479         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
7480         or htab_remove_elt.
7481         (do_pragma_implementation): Use alloca to create copy.
7482
7483         * Makefile.in: Update dependencies.
7484
7485 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7486
7487         * cppinit.c (cl_directive_handler): More K&R fixing.
7488
7489 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
7490
7491         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
7492         STACK_BOUNDARY.
7493         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
7494
7495 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7496
7497         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
7498         Change from char[] to macros.
7499
7500 2000-03-12  Neil Booth  <NeilB@earthling.net>
7501
7502         * cppinit.c (cpp_start_read): Update indirect function
7503         call to K&R C.
7504
7505 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
7506
7507         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
7508         entry.
7509
7510         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
7511         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
7512
7513 2000-03-11  Neil Booth  <NeilB@earthling.net>
7514
7515         * cppinit.c (struct pending option): Replace undef with a
7516         pointer to a directive handling routine.
7517         (struct cpp_pending): Replace separate assert_ and define_
7518         lists with one directive_ list.
7519         (new_pending_define): Rename new_pending_directive. Extra
7520         argument is the directive's handling routine.
7521         (handle_option): Update to use new_pending_directive.
7522
7523 2000-03-11  Neil Booth  <NeilB@earthling.net>
7524
7525         * cppfiles.c (file_cleanup, _cpp_find_include_file,
7526         remap_filename, _cpp_read_include_file, actual_directory,
7527         hack_vms_include_specification): Replace bcopy(), index() etc
7528         calls.  Add casts to some allocations.  Make some variables
7529         pointers to const [unsigned] char.
7530         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
7531         collect_formal_parameters): Similarly.
7532         * cppinit.c (struct pending_option, append_include_chain,
7533         cpp_options_init, cpp_reader_init, initialize_standard_includes,
7534         cpp_start_read, new_pending_define, handle_option): Similarly.
7535         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
7536         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
7537         do_pragma_implementation, detect_if_not_defined,
7538         do_ifdef, skip_if_group, cpp_get_token, parse_string,
7539         do_assert, do_unassert): Similarly.
7540         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
7541         function prototypes.
7542         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
7543
7544 2000-03-10  Richard Henderson  <rth@cygnus.com>
7545
7546         * builtins.c (expand_builtin_strlen): Revert last change.
7547         Use emit_insn_before if we're at the beginning of a sequence.
7548
7549 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
7550
7551         * builtins.c (expand_builtin_strlen): Make sure that we have something
7552         at the beginning of the sequence.
7553
7554         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
7555         deferred inlines.
7556
7557         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
7558
7559 2000-03-10  Richard Henderson  <rth@cygnus.com>
7560
7561         * except.c (can_throw): Use INTVAL on a CONST_INT.
7562         (reachable_handlers): Likewise.
7563         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
7564
7565 2000-03-10  Andreas Jaeger  <aj@suse.de>
7566
7567         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
7568         MD_STARTFILE_PREFIX since those are not needed on linux.
7569         (ASM_FILE_START): New, from mips/gnu.h.
7570
7571 2000-03-09  Richard Henderson  <rth@cygnus.com>
7572             Alex Samuel  <samuel@codesourcery.com> and others
7573
7574         * Makefile.in (ssa.o): New rule.
7575         (OBJS): Add ssa.o.
7576         (STAGESTUFF): Add *.ssa and *.ussa.
7577         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
7578         * rtl.def (PHI): New RTL expression.
7579         * rtl.h (clear_log_links): New declaration.
7580         (convert_to_ssa): Likewise.
7581         (convert_from_ssa): Likewise.
7582         * flow.c (split_edge): If the entry node falls through to the
7583         split edge's source block, split the entry edge.
7584         (clear_log_links): New function.
7585         * toplev.c (ssa_dump): New variable.
7586         (flag_ssa): Likewise.
7587         (f_options): Add "ssa".
7588         (compile_file): Create SSA dump files.
7589         (rest_of_compilation): Go to and from SSA if enabled.
7590         (decide_d_option): Handle -de for SSA dump files.
7591         * ssa.c: New file.
7592
7593 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
7594
7595         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
7596         same as VAR_DECL.
7597
7598 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
7599
7600         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
7601
7602 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
7603
7604         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
7605         (MD_STARTFILE_PREFIX_1): New macro.
7606
7607 2000-03-09  Robert Lipe  <robertl@sco.com>
7608
7609         * config/ia64/ia64.c: Include system.h.
7610
7611 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
7612
7613         * except.c (nothrow_function_p): If -fno-exceptions, just return.
7614         (init_eh_nesting_info): Likewise.
7615
7616         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
7617         (TREE_NOTHROW): Rename from TREE_RAISES.
7618         * toplev.c (rest_of_compilation): Set it.
7619         * print-tree.c (print_node): Adjust.
7620         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
7621         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
7622         * calls.c (emit_call_1): Add 'nothrow' parm.  Add
7623         REG_EH_REGION note as appropriate.
7624         (libfunc_nothrow): New fn.
7625         (emit_library_call, emit_library_call_value): Use it.
7626         (expand_call): Check TREE_NOTHROW.
7627
7628         * varasm.c (make_decl_rtl): Skip initial '*' when setting
7629         DECL_ASSEMBLER_NAME.
7630
7631 2000-03-09  Andreas Jaeger  <aj@suse.de>
7632
7633         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
7634         (TARGET_MEM_FUNCTIONS): Define.
7635
7636 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
7637
7638         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
7639
7640         * except.c (can_throw): See through a SEQUENCE.
7641         (nothrow_function_p): New fn.
7642         * except.h: Declare it.
7643         * function.c (current_function_nothrow): New var.
7644         (prepare_function_start): Initialize it.
7645         * output.h: Declare it.
7646         * toplev.c (rest_of_compilation): Set it.
7647         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
7648
7649 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
7650
7651         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
7652         match.  (cpp_compare_defs): Count the nul separator when
7653         advancing over argument names.
7654
7655 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
7656
7657         * recog.c (preprocess_constraints): Matching constraints affect
7658         same alternative/different operand, not same operand/different
7659         alternative.
7660
7661         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
7662         register and a constant specially.
7663
7664 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7665
7666         * libgcc2.h: New file.
7667         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
7668
7669 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
7670
7671         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
7672         * configure: Regenerate.
7673         * config/ia64: New.
7674
7675 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
7676
7677         * Makefile.in (LIBCPP_DEPS): New macro.
7678         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
7679         it to declare deps.
7680         * cpperror.c: Include cpphash.h.
7681         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
7682         dingleberry.
7683         (lex): Don't use CPP_WARN_UNDEF.
7684         (_cpp_parse_expr): Return an int, the truth value.
7685         * cppfiles.c: Include cpphash.h.
7686         (_cpp_merge_include_chains): Move to cppinit.c and make static.
7687         * cppinit.c (include_defaults_array): Disentangle.
7688         (cpp_cleanup): Don't free the if stack here.
7689         (cpp_finish): Pop off all buffers, not just one.
7690         * cpplib.c (eval_if_expr): Return int.
7691         (do_xifdef): Rename do_ifdef.
7692         (handle_directive): Don't use CPP_PREPROCESSED.
7693         (cpp_get_token): Don't use CPP_C89.
7694         * fix-header.c: Don't use CPP_OPTIONS.
7695
7696         * cpplib.h: Move U_CHAR, enum node_type, struct
7697         file_name_list, struct ihash, is_idchar, is_idstart,
7698         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
7699         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
7700         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
7701         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
7702         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
7703         of _cpp_simplify_pathname, _cpp_find_include_file,
7704         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
7705         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
7706         cppinit.c.
7707         Change all uses of U_CHAR to be unsigned char instead.
7708         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
7709
7710 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
7711
7712         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
7713         (dwarf2out_begin_prologue): Set it.
7714         (output_call_frame_info): Don't emit EH unwind info for leaves.
7715
7716         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
7717         can occur outside of an EH region.
7718         * except.c: Correct comments about rethrow behavior.
7719         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
7720
7721 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
7722
7723         * flow.c (make_edges): Always call make_eh_edge for calls.
7724
7725 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
7726
7727         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
7728         (struct cpp_buffer): Remove fname and underflow fields.
7729         (struct cpp_reader): Remove get_token field.
7730         (struct include_hash): Rename to struct ihash.  Add typedef to
7731         IHASH.
7732         (struct if_stack): Remove fname field.
7733         (IF_STACK_FRAME): Rename to IF_STACK.
7734
7735         * cpperror.c (print_containing_files): Trust that there are no
7736         macro buffers below the top file buffer.
7737         * cppfiles.c: Replace all references to 'struct include_hash'
7738         with 'IHASH'.  Rename initialize_input_buffer to
7739         init_input_buffer.  Don't set or reference cpp_buffer->fname,
7740         use buffer->ihash->name instead.
7741         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
7742         not CPP_NULL_BUFFER.
7743         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
7744         IF_STACK_FRAME, IHASH not struct include_hash.
7745         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
7746         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
7747         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
7748         references to cpp_buffer->fname (delete entirely, or use
7749         ->ihash->name instead) and IF_STACK->fname.
7750         (cpp_push_buffer): Don't set new->underflow.
7751         (do_include): Use cpp_file_buffer.
7752
7753         * cpphash.c (collect_formal_parameters): Remove duplicate
7754         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
7755         used as a macro argument name.  Don't append "..." to namebuf
7756         for varargs macros.  After we're done scanning, go through
7757         namebuf and make it NUL separated, not comma separated.
7758         (_cpp_compare_defs): Remove register tag from variables.
7759         Expect defn->argnames to be NUL separated.
7760         (_cpp_dump_definition): Expect defn->argnames to be NUL
7761         separated and in forward order.
7762         * cpphash.h: Update documentation of argnames field.
7763
7764 2000-03-08  Richard Henderson  <rth@cygnus.com>
7765
7766         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
7767         to fail.  Don't pre-expand the source operand.
7768
7769         * i386.md (strlensi): Initialize eoschar and align before use.
7770
7771 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
7772
7773         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
7774         CONSTRUCTOR element.
7775
7776 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
7777
7778         * mips.c (mips_expand_prologue): If the last
7779         named argument is the vararg marker "va_list", treat it as
7780         an unnamed argument.
7781
7782 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
7783
7784         * dbxout.c (dbxout_parms): When correcting for promoted
7785         big-endian parameters, use the mode of the DECL_RTL rather
7786         than UNITS_PER_WORD.
7787
7788 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
7789
7790         * c-common.h (make_fname_decl): Declare.
7791         * c-common.c (make_fname_decl): Define.
7792         (declare_hidden_char_array): Remove.
7793         (declare_function_name): Use make_fname_decl.
7794         * c-decl.c (c_make_fname_decl): New function.
7795         (init_decl_processing): Set make_fname_decl.
7796
7797 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
7798
7799         * cccp.c (handle_directive): Initialize backslash_newlines_p.
7800
7801 2000-03-07  Philipp Thomas  <pthomas@suse.de>
7802
7803         * po/POTFILES.in: Remove cppalloc.c from file list.
7804
7805 2000-03-07  Steve Chamberlain  <sac@pobox.com>
7806
7807         * pj.c (pj_expand_prologue): current_function->args_info is
7808         now current_function_args_info.
7809
7810         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
7811         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
7812         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
7813
7814 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7815
7816         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
7817         output as hexadecimal rather than the default octal.
7818
7819 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
7820
7821         * cpphash.c (special_symbol): Fix thinko in previous commit.
7822
7823 2000-03-07  Neil Booth  <NeilB@earthling.net>
7824
7825         * cppexp.c (struct operation, left_shift, right_shift,
7826         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
7827         "int"s to "unsigned int"s.
7828         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
7829         Similarly.
7830         * cpplib.h: Update for above.
7831         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
7832         returned from allocations.
7833
7834         * cppinit.c (opt_comp, parse_options): New functions.
7835         (handle_option): Use parse_option to parse a single command
7836         line option, that possibly takes an argument.
7837         (cpp_handle_options): Sort the array of command line options on
7838         first invocation (non-ASCII hosts only).
7839         (print_help): Update.
7840
7841 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
7842
7843         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
7844         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
7845
7846         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
7847         initialized.
7848         * cppinit.c (cpp_cleanup): Free imp->nshort also.
7849
7850         * cpperror.c (cpp_print_containing_files,
7851         cpp_print_file_and_line, v_cpp_message): Rename to
7852         print_containing_files, print_file_and_line, and v_message.
7853         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
7854         to _cpp_parse_expr, parse_escape, and lex.
7855         (parse_charconst): Remove broken multibyte support.
7856         * cppfiles.c (include_hash): Make static.
7857         (cpp_included): New function.
7858         (merge_include_chains, find_include_file, finclude,
7859         simplify_pathname): Rename to _cpp_merge_include_chains,
7860         _cpp_find_include_file, _cpp_read_include_file, and
7861         _cpp_simplify_pathname.
7862         * cpphash.c (cpp_lookup, free_definition, delete_macro,
7863         cpp_install, create_definition, macroexpand, compare_defs,
7864         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
7865         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
7866         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
7867         * cppinit.c (cpp_handle_option): Rename to handle_option, make
7868         static.
7869         * cpplib.c: Remove extern prototype of cpp_parse_expr.
7870
7871         * cpphash.h: Update prototypes.
7872         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
7873
7874 2000-03-07  Andrew Haley  <aph@cygnus.com>
7875
7876         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
7877         PTRDIFF_TYPE should be based solely on Pmode.
7878         (SIZE_TYPE): ditto.
7879
7880 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7881
7882         * rtl.h (rtunion_def): Constify member `rtstr'.
7883         (emit_line_note_after, emit_line_note, emit_line_note_force,
7884         emit_note, decode_asm_operands): Constify.
7885
7886         * cse.c (canon_hash): Likewise.
7887
7888         * dbxout.c (dbxout_block): Likewise.
7889
7890         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
7891         v_warning_for_asm): Likewise.
7892
7893         * dwarfout.c (function_start_label): Likewise.
7894
7895         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
7896         emit_line_note_force): Likewise.
7897
7898         * final.c (last_filename, asm_insn_count, final_scan_insn,
7899         output_source_line): Likewise.
7900
7901         * function.h (struct emit_status): Likewise.
7902
7903         * gcse.c (hash_expr_1): Likewise.
7904
7905         * genattr.c (gen_attr, main): Likewise.
7906
7907         * genattrtab.c (struct function_unit, current_alternative_string,
7908         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
7909         attr_numeral, check_attr_test, check_attr_value,
7910         convert_set_attr_alternative, convert_set_attr,
7911         compute_alternative_mask, simplify_by_exploding, gen_attr,
7912         gen_unit): Likewise.
7913
7914         * genflags.c (gen_insn): Likewise.
7915
7916         * gengenrtl.c (type_from_format): Likewise.
7917
7918         * genopinit.c (gen_insn): Likewise.
7919
7920         * genoutput.c (n_occurrences, process_template, process_template):
7921         Likewise.
7922
7923         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
7924         Likewise.
7925
7926         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
7927         Likewise.
7928
7929         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
7930         ggc_set_mark, ggc_get_size): Likewise.
7931
7932         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
7933
7934         * optabs.c (init_one_libfunc): Likewise.
7935
7936         * output.h (assemble_start_function): Likewise.
7937
7938         * recog.c (decode_asm_operands): Likewise.
7939
7940         * toplev.c (rest_of_compilation): Likewise.
7941
7942         * tree.h (emit_line_note_after, emit_line_note,
7943         emit_line_note_force): Likewise.
7944
7945         * varasm.c (asm_output_bss, asm_output_aligned_bss,
7946         asm_emit_uninitialised, assemble_start_function,
7947         assemble_variable, const_hash, compare_constant_1,
7948         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
7949
7950         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
7951
7952         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
7953
7954         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
7955
7956         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
7957
7958         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
7959         arm_dllimport_name_p): Likewise.
7960
7961         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
7962         Likewise.
7963
7964         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
7965
7966         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7967
7968         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
7969         arm_mark_dllexport, arm_mark_dllimport,
7970         arm_pe_encode_section_info): Likewise.
7971
7972         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
7973         ASM_FINISH_DECLARE_OBJECT): Likewise.
7974
7975         * arm/thumb.c (thumb_function_prologue): Likewise.
7976
7977         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
7978
7979         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7980
7981         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
7982
7983         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
7984
7985         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
7986
7987         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7988
7989         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
7990         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
7991
7992         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
7993
7994         * i386/i386.c (asm_output_function_prefix): Likewise.
7995
7996         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
7997
7998         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7999
8000         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
8001
8002         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
8003         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
8004         ASM_OUTPUT_SECTION_NAME): Likewise.
8005
8006         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
8007
8008         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
8009
8010         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
8011
8012         * m32r/m32r.c (m32r_encode_section_info): Likewise.
8013
8014         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8015
8016         * mcore/mcore.c (mcore_encode_section_info): Likewise.
8017
8018         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8019
8020         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8021
8022         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8023
8024         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
8025
8026         * mips/mips.md (movdi, movsi): Likewise.
8027
8028         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8029
8030         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8031
8032         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8033
8034         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
8035         ASM_OUTPUT_ASCII): Likewise.
8036
8037         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
8038         output_mi_thunk, output_toc): Likewise.
8039
8040         * rs6000/rs6000.md (movsi): Likewise.
8041
8042         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
8043
8044         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
8045
8046         * v850/v850.c (print_operand, print_operand_address,
8047         v850_encode_data_area): Likewise.
8048
8049 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
8050
8051         * config/mips/mips.md (zero_extendsidi2): Always force operand
8052         one to memory for mips16.
8053
8054 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8055
8056         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
8057         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
8058         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
8059         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
8060         (min_precision): Result is unsigned.
8061         (add_double, neg_double, mul_double): Low word is unsigned.
8062         (lshift_double, rshift_double, lrotate_double): Likewise.
8063         (rrotate_double, div_and_round_double): Likewise.
8064         (tree_floor_log2, compare_tree_int): New functions.
8065         (preserve_rtl_expr_temps): New declaration.
8066         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
8067         (decl_attributes): Use tree_log2 to find alignment.
8068         Check for TREE_INT_CST_HIGH for format args.
8069         (min_precision): Now unsigned.
8070         Use tree_floor_log2.
8071         (truthvalue_conversion): Delete long-disabled code.
8072         * c-decl.c (finish_struct): Clean up tests on field width.
8073         (finish_function): Use compare_tree_int.
8074         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
8075         * c-typeck.c (comptypes): Use tree_int_cst_equal.
8076         (default_conversion, digest_init): Use compare_tree_int.
8077         (build_binary_op): Use integer_all_onesp and compare_tree_int.
8078         Fix type errors in forming masks.
8079         * calls.c (initialize_argument_information): Use compare_tree_int.
8080         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
8081         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
8082         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
8083         (store_field): Use compare_tree_int.
8084         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
8085         (expand_expr, case ARRAY_REF): Use compare_tree_int.
8086         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
8087         (do_store_flag): Use compare_tree_int.
8088         * fold-const.c (encode, decode): Low part is always unsigned.
8089         (force_fit_type, add_double, neg_double, mul_double): Likewise.
8090         (lshift_double, rshift_double, lrotate_double): Likewise.
8091         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
8092         (fold_convert): Use compare_tree_int.
8093         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
8094         (invert_truthvalue, case INTEGER_CST): Likewise.
8095         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
8096         * mkdeps.c (deps_dummy_targets): Make I unsigned.
8097         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
8098         (lshift_double, rshift_double, lrotate_double, rrotate_double):
8099         Likewise.
8100         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
8101         (expand_end_case): Use compare_tree_int.
8102         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
8103         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
8104         (layout_decl): Likewise.
8105         (layout_record, layout_union): Make sizes unsigned.
8106         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
8107         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
8108         * tree.c (struct type_hash): hashcode is unsigned.
8109         (build_type_attribute_variant, type_hash_list): Likewise.
8110         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
8111         (attribute_hash_list, build_array_type, build_method_type): Likewise.
8112         (build_complex_type): Likewise.
8113         (real_value_from_int_cst): Remove unneeded casts.
8114         (integer_all_onesp): Add casts.
8115         (tree_floor_log2, compare_tree_int): New functions.
8116         (build_index_type): Use tree_int_cst_sgn.
8117         * varasm.c (assemble_variable): Use compare_tree_int.
8118
8119 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
8120
8121         * cpphash.c (collect_expansion): Also catch ## at start of macro.
8122
8123         * varasm.c (make_decl_rtl): Don't add a number to members of
8124         local classes.
8125         (make_function_rtl): Likewise.
8126
8127 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8128
8129         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
8130         patch from 2000-01-28.
8131
8132 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
8133
8134         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
8135         filled with an insn from the jump target.
8136
8137 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8138
8139         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
8140         (c4x_external_ref): Likewise.
8141         * config/c4x/c4x.c (struct name_list): Likewise.
8142
8143 1999-12-16  Ben Collins  <bcollins@debian.org>
8144
8145         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
8146         argument to genmultilib.
8147         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
8148         the contents into the multilib.h header.
8149         * gcc.c: Declare multilib_exclusions for the specs file.
8150         (set_multilib_dir): Use it.
8151         (print_multilib_info): Likewise.
8152         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
8153         to pass to genmultilib.
8154
8155 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8156
8157         * builtins.c (built_in_class_names, built_in_names): Constify a
8158         char*.
8159
8160         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
8161         int.
8162         (_mcleanup): Ensure value matches format specifier in sprintf.
8163
8164         * cpphash.c (special_symbol): Don't needlessly cast away
8165         const-ness.
8166
8167         * cppinit.c (base_name): Delete unused prototype.
8168
8169         * mkdeps.c (deps_init): Make definition K&R safe.
8170
8171         * tree.h (built_in_class_names, built_in_names): Constify a
8172         char*.
8173
8174 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
8175
8176         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
8177         floating point instructions for epilogue delay.
8178
8179         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
8180         to gas if it supports .register pseudo.
8181
8182         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
8183         LONG_DOUBLE_TYPE_SIZE if not defined.
8184         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
8185         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
8186         * real.c: Likewise.
8187         * gengenrtl.c: Likewise.
8188         * print-rtl.c: Likewise.
8189         * rtl.c: Likewise.
8190         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
8191         MASK_LONG_DOUBLE_128.
8192         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
8193         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
8194         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
8195         (SUBTARGET_SWITCHES): Define.
8196         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
8197         with -mlong-double-128.
8198         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
8199         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
8200         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
8201         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
8202         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
8203         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
8204         with -mlong-double-128.
8205         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
8206         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
8207         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
8208         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
8209         TARGET_LONG_DOUBLE_128): Define.
8210         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
8211         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
8212         long double on TARGET_ARCH64.
8213
8214 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
8215
8216         * function.c (free_temps_for_rtl_expr): Don't free slots
8217         that have been pushed into a higher level.
8218
8219         Revert this patch:
8220         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8221
8222 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8223
8224         * basic-block.h (ALLOCA_REG_SET): Remove.
8225         (INITIALIZE_REG_SET): New macro.
8226         * flow.c (update_life_info): Use it.
8227         (calculate_global_regs_live): Likewise.
8228         (propagate_block): Likewise.
8229         * global.c (build_insn_chain): Likewise.
8230         * haifa-sched.c (schedule_region): Likewise.
8231
8232 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
8233
8234         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
8235         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
8236         (DWARF_ARANGES_PAD_SIZE): New define.
8237         (output_aranges): Use it to pad the address range header.
8238         (DWARF_ROUND): Fix for non power of 2 rounding.
8239
8240 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
8241
8242         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
8243
8244 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8245
8246         * tree.def (RTL_EXPR): Update documentation.
8247         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
8248         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
8249         * function.c (preserve_rtl_expr_temp): New function.
8250         (preserve_rtl_expr_temps): Likewise.
8251         (preserve_rtl_expr_result): Use it.
8252
8253         Revert this patch:
8254         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
8255
8256 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
8257
8258         * regmove.c (copy_src_to_dest)  Do not create src->dest move
8259         for unchanging destination.
8260
8261 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
8262
8263         * function.h (struct sequence_stack): Remove rtl_expr.
8264         (struct emit_staus): Likewise.
8265         (seq_rtl_expr): Remove.
8266         * tree.h (free_temps_for_rtl_expr): Don't declare.
8267         (start_sequence_for_rtl_expr): Likewise.
8268         * rtl.h (preserve_rtl_expr_result): Likewise.
8269         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
8270         (start_sequence_for_rtl_expr): Remove.
8271         (push_topmost_sequence): Don't save sequence_rtl_expr.
8272         (pop_topmost_sequence): Remove comment about not restoring it.
8273         (end_sequence): Don't set seq_rtl_expr.
8274         (init_emit): Don't initialize it.
8275         (mark_sequence_stack): Don't mark it.
8276         (mark_emit_status): Likewise.
8277         * except.c (protect_with_terminate): Use
8278         start_sequence_for_rtl_expr, not start_sequence.
8279         * expr.c (expand_expr, case RTL_EXPR): Don't call
8280         preserve_rtl_expr_result or free_temps_for_rtl_expr.
8281         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
8282         (preserve_rtl_expr_result): Remove.
8283         (free_temps_for_rtl_expr): Likewise.
8284         (pop_temp_slots): Likewise.
8285         (mark_temp_slot): Don't mark the rtl_expr.
8286         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
8287         start_sequence_for_rtl_expr.
8288
8289 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
8290
8291         * mkdeps.c, mkdeps.h: New files.
8292         * po/POTFILES.in: Add them.
8293         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
8294         (cpplib.o, cppinit.o): Depend on mkdeps.h.
8295         (mkdeps.o): New target.
8296
8297         * cppfiles.c: Delete deps_output.
8298         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
8299         OBJECT_SUFFIX, and base_name.
8300         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
8301         the include hash.
8302         (initialize_dependency_output): Use deps_init,
8303         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
8304         all the unnecessary string bashing.
8305         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
8306         level.
8307         * cpplib.c (do_include): Use deps_add_dep.
8308         * cpplib.h (struct cpp_reader): Replace deps_buffer,
8309         deps_allocated_size, deps_size, deps_column members with
8310         single pointer to a struct deps.  Delete prototype of
8311         deps_output.
8312
8313         * cppinit.c: Fix thinko in previous patch.
8314
8315 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8316
8317         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
8318         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
8319         (mode_for_size_tree): New function.
8320         (layout_decl, layout_type): Call it and clean up BLKmode checks.
8321         * tree.h (mode_for_size_tree): New declaration.
8322
8323         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
8324
8325 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
8326
8327         * stmt.c (is_body_block): Move...
8328         * dwarfout.c, dwarf2out.c: ...from here.
8329         * tree.h: Declare it.
8330         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
8331         * final.c (final_start_function): Do call remove_unnecessary_notes
8332         when scheduling.
8333
8334 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
8335
8336         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
8337
8338         * cpplib.h (_dollar_ok): New macro.
8339         (is_idchar, is_idstart): Use it.
8340         (IStable): Rename to _cpp_IStable.  Declare it const if
8341         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
8342         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
8343         is_space): Update for renamed IStable.
8344
8345         * cppinit.c: Delete all references to FAKE_CONST and CAT
8346         macros. Define init_IStable as empty macro if gcc >=2.7 or
8347         C99. Change TABLE() to ISTABLE and hardcode name of table.
8348         (cpp_start_read): Don't change the IStable based on
8349         dollars_in_ident.
8350
8351         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
8352         changed.  Handle '$' for char1 correctly.
8353         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
8354
8355         * cppexp.c (tokentab2): Make const.
8356         (cpp_lex): Make toktab const.
8357         * cppinit.c (include_defaults_array): Make const.
8358         (initialize_standard_includes): Make default_include const.
8359
8360 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
8361
8362         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
8363         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
8364         (gen_decl_die): Likewise.
8365         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
8366         (output_decl): Likewise.
8367
8368         * varasm.c (make_function_rtl): If we change the name used in the
8369         rtl, update DECL_ASSEMBLER_NAME accordingly.
8370         (make_decl_rtl): Likewise.
8371
8372         * toplev.c (rest_of_compilation): Tweak formatting.
8373
8374         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
8375         remove_unnecessary_notes.
8376         (debug_ignore_block): New fn.
8377         * toplev.h: Declare it.
8378         * emit-rtl.c (remove_unncessary_notes): Call it.
8379         * dwarf2out.c (dwarf2out_ignore_block): New fn.
8380         * dwarf2out.h: Declare it.
8381         * final.c (final_start_function): Don't call remove_unnecessary_notes
8382         if we did insn scheduling.
8383
8384 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
8385
8386         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
8387         * cpplib.h: Delete SET_CPP_PEDANTIC.
8388
8389 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8390
8391         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
8392         result is a RECORD_TYPE.
8393
8394 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
8395
8396         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
8397
8398 2000-03-03  Richard Henderson  <rth@cygnus.com>
8399
8400         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
8401         addition over compliments over shifts.
8402
8403 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8404
8405         * reload1.c (reload_combine_note_use): Handle return register USEs.
8406         REG case: Handle multi-hard-register hard regs.
8407
8408 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8409
8410         * md.texi: Document use of '*' in insn pattern name.
8411
8412 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
8413
8414         * calls.c (special_function_p): operator new may not be malloc-like.
8415
8416         * gcse.c (dump_hash_table): Really fix error in last change.
8417
8418 2000-03-02  Denis Chertykov  <denisc@overta.ru>
8419
8420         * avr.c (print_operand): Use print_operand_address instead of
8421         output_addr_const.
8422         * avr/libgcc.S: Cleanup code.
8423
8424 2000-03-02  Richard Henderson  <rth@cygnus.com>
8425
8426         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
8427
8428 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
8429
8430         * tree.h (TYPE_ALIGN_UNIT): New macro.
8431
8432 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
8433
8434         * i386.c: (constant_call_address_operand): Reject CONST_INT.
8435
8436 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
8437
8438         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
8439         for the buffer.
8440         (SET_CPP_PEDANTIC): New macro.
8441         * cpplib.c (do_include): Don't bother checking system_header_p.
8442         (do_warning, do_ident, do_assert, do_unassert): Likewise.
8443         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
8444
8445         * function.h (struct expr_status): Add x_arg_space_so_far.
8446         (arg_space_so_far): New macro.
8447         * expr.c (init_expr): Initialize it.
8448         * calls.c (emit_call_1): Reset it.
8449         (compute_argument_block_size, expand_call): Use it.
8450         (expand_call, store_one_arg): Increment it.
8451
8452 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8453
8454         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
8455         a UNION_TYPE.
8456
8457 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
8458
8459         * cppfiles.c (cpp_read_file): New function.
8460
8461         * cpphash.c (collect_expansion): Make sure to reset last_token
8462         to NORM when we hit a string.  Handle trailing whitespace
8463         properly when the expansion is empty.
8464         (create_definition): Disable line commands while parsing the
8465         directive line.
8466         (dump_definition): If pfile->lineno == 0, output a line
8467         command ahead of the dump, and add a trailing newline.
8468
8469         * cppinit.c (append_include_chain): Add fifth argument, which
8470         indicates whether or not system headers are C++ aware.
8471         (initialize_standard_includes): New function,
8472         broken out of read_and_prescan.  Pass 'cxx_aware' value from
8473         the include_defaults_array on to append_include_chain.
8474         (dump_special_to_buffer): Const-ify char array.
8475         (builtin_array): Don't dump __BASE_FILE__.
8476         (cpp_start_read): Use cpp_read_file.  Reorder code for
8477         clarity.  Don't output line commands here for -D/-A/-U
8478         switches.  Don't call deps_output for files included with
8479         -include or -imacros.
8480
8481         * cpplib.c (do_define): Don't pay any attention to the second
8482         argument.
8483         (cpp_expand_to_buffer): Disable line commands while scanning.
8484         (output_line_command): Work in the file buffer.
8485         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
8486         Fix formatting of comments.  Prototype cpp_read_file.
8487
8488 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8489
8490         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
8491         reference the language-equivalent of sizetype.
8492         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
8493         * fold-const.c (size_binop, size_diffop): Put back checks.
8494         * gcse.c (dump_hash_table): Fix minor error in last change.
8495         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
8496         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
8497         all sizetypes.
8498
8499 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
8500
8501         * calls.c (expand_call)  Do not attempt to combine stack adjustments
8502         with inhibit_defer_pop set.
8503
8504 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
8505
8506         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
8507         the DECL_SIZE for a FIELD_DECL.
8508
8509 2000-03-01  Bruce Korb  <bkorb@gnu.org>
8510
8511         * fixinc/inclhack.tpl: remove unused symlinks
8512         * fixinc/README: GCC Maintainer info
8513         * fixinc/inclhack.sh: regen
8514         * fixinc/fixincl.sh: regen
8515
8516 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
8517
8518         * cpphash.c (collect_expansion): Trim trailing white space
8519         from macro definitions, but don't go past the last insertion
8520         point.
8521
8522 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
8523
8524         * i386.md (mulqi3): New pattern.
8525
8526 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
8527
8528         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
8529         token types.
8530         (struct cpp_reader): Add parsing_if_directive and
8531         parsing_define_directive flags.
8532         (struct cpp_options): Remove output_conditionals flag.
8533         (check_macro_name): Delete prototype.
8534
8535         * cpphash.h (struct macrodef): Delete.
8536         (struct reflist): Separate from struct definition.
8537         (struct definition): Remove unused fields.  Add column number.
8538         (create_definition): Returns a DEFINITION *.  Takes a
8539         cpp_reader * and an int.
8540
8541         * cpphash.c (SKIP_WHITE_SPACE): Delete.
8542         (PEEKC): Copy defn from cpplib.c.
8543         (rest_extension, REST_EXTENSION_LENGTH): Delete.
8544         (struct arg): New.
8545         (struct arglist): Simplify.
8546         (collect_expansion): Rewrite.  Get tokens by calling
8547         cpp_get_token.  Add more error checking.
8548         (collect_formal_parameters): New function, broken out of
8549         create_definition and reworked to use get_directive_token.
8550         (create_definition): All real work is now in collect_expansion
8551         and collect_formal_parameters.  do_define handles finding the
8552         macro name.  Return a DEFINITION, not a MACRODEF.
8553         (macroexpand): Replace bcopy with memcpy throughout.  Replace
8554         character-at-a-time copy loop with memcpy and pointer increments.
8555         (compare-defs): d1->argnames / d2->argnames might be null.
8556
8557         * cpplib.c (copy_rest_of_line): Delete function.
8558         (skip_rest_of_line): Do all the work ourselves.
8559         (skip_string): New function.
8560         (parse_string): Use skip_string.
8561         (get_macro_name): New function.
8562         (check_macro_name): Delete.
8563         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
8564         (cpp_skip_hspace): Use CPP_BUMP_LINE.
8565         (handle_directive): ICE if we're called on a macro buffer.
8566         (do_define): Determine macro name and type (funlike/objlike)
8567         here.  Expunge all uses of MACRODEF.
8568         (cpp_push_buffer): Set line_base to NULL.
8569         (do_undef, read_line_number): Don't worry about getting a POP token.
8570         (eval_if_expression): Set/reset parsing_if_directive around
8571         cpp_parse_expr. Don't clear only_seen_white.
8572         (skip_if_group): Remove output_conditionals logic.  Use
8573         skip_rest_of_line.
8574         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
8575         tokens under appropriate conditions.
8576         (cpp_unassert): Call do_unassert not do_assert.  Oops.
8577
8578         * cppexp.c (parse_defined): New function, break out of
8579         cpp_lex.
8580         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
8581         ourselves, with cpp_defined.
8582         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
8583
8584         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
8585         * gcc.dg/strpaste-2.c: New.
8586
8587 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
8588
8589         * fold-const.c (size_binop): Don't asert inputs are the same and
8590         have TYPE_IS_SIZETYPE set.
8591         (size_diffop): Likewise.
8592
8593 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
8594
8595         * dwarfout.c (output_block): Output abstract blocks even if they
8596         don't have TREE_ASM_WRITTEN set.
8597
8598         * calls.c (emit_library_call): Check for null REG.
8599
8600 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
8601
8602         * c-decl.c (current_function_decl): Move to toplev.c.
8603         (init_decl_processing): Don't add current_function_decl as a ggc
8604         root here.
8605         * dbxout.c (dbxout_symbol): Change return type to int.
8606         (dbxout_symbol_location, dbxout_syms): Likewise.
8607         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
8608         any locals. Use current_function_func_begin_label if set.
8609         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
8610         * dwarf2out.c (dwarf2out_begin_prologue): Set
8611         current_function_func_begin_label.
8612         * final.c (final_start_function): Reset it.
8613         * toplev.c (current_function_decl): Define it here.
8614         (current_function_func_begin_label): New variable.
8615         (main): Add both as ggc roots.
8616         * tree.h (current_function_func_begin_label): Declare.
8617
8618 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8619
8620         * gcse.c: Cleanups throughout: mostly white-space, but also
8621         some minor rearrangement of code.
8622
8623 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
8624
8625         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
8626         returns a PARALLEL.  Use emit_group_load and use_group_regs
8627         as needed.
8628         (emit_library_call_value): Similarly.
8629
8630         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
8631         * pa/quadlib.asm: Remove.
8632         * pa/quadlib.c: New file.
8633
8634         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
8635         * configure: Rebuilt.
8636
8637 2000-02-29  Philip Blundell  <pb@futuretv.com>
8638
8639         * config/arm/conix-elf.h: New file.
8640         * configure.in (arm*-*-conix*): New configuration.
8641         * configure: Regenerate.
8642
8643 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
8644
8645         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
8646         don't have TREE_ASM_WRITTEN set.
8647
8648 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8649
8650         * Eliminate DECL_FIELD_SIZE.
8651         * builtins.c (built_in_class_names, built_in_names): New variables.
8652         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
8653         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
8654         DECL_SIZE, not DECL_FIELD_SIZE.
8655         * print-tree.c (print_node): Remove code that prints extra blank
8656         lines in some cases.
8657         Properly handle inline and builtin function cases.
8658         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
8659         * tree.h (built_in_class_named, built_in_names): New declarations.
8660         (union tree_decl): Rename internal unions to u1 and u2 and change
8661         some of their components.
8662         Add new field built_in_class.
8663         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
8664         Reflect above changes.
8665         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
8666         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
8667         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
8668         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
8669
8670 2000-02-28  Dmitri Makarov  <dim@windriver.com>
8671
8672         * extend.texi: Document ARM's support for long/short calls.
8673
8674         * invoke.texi: Document ARM's -mlong-calls command line switch.
8675
8676         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
8677         (arm_encode_call_attribute): Add prototype.
8678         (arm_set_default_type_attribute): Add prototype.
8679         (arm_strip_name_encoding): Add prototype.
8680
8681         * config/arm/arm.c (arm_init_cumulative_args): replace
8682         initialisation og 'long_calls' field with initialisation of
8683         'call_cookie' field.
8684         (enum arm_pragma_enum): New enum.
8685         (arm_pragma_long_calls): New static variable.
8686         (arm_process_pragma): Also process "#pragma long_calls_off".
8687         (arm_valid_type_attribute_p): Accept short_call attribute.
8688         (arm_comp_type_attributes): Check long/short call attributes.
8689         (arm_encode_call_attribute):  New function:  Encode long_call
8690         or short_call attribute in function name.
8691         (arm_set_default_type_attributes): New function: Assign
8692         default attributes to newly defined type.
8693         (current_file_function_operand): New function: Return true if
8694         the symbol is a function which has already been compiled.
8695         (arm_is_longcall_p): New function: Return true if the
8696         indicated function should be called via a long call.
8697         (arm_get_strip_length): New function.  Returns number of
8698         prefix characters to be stripped from a function's name.
8699         (arm_strip_name_encoding): New function.  Strip prefix characters
8700         from a function's name.
8701
8702         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
8703         with 'call_cookie'.
8704         (SHORT_CALL_FAG_CHAR): Define.
8705         (LONG_CALL_FAG_CHAR): Define.
8706         (ENCODED_SHORT_CALL_ATTR_P): Define.
8707         (ENCODED_LONG_CALL_ATTR_P): Define.
8708         (ARM_NAME_ENCODING_LENGTHS): Define.
8709         (STRIP_NAME_ENCODING): Define.
8710         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
8711         (ARM_ENCODE_CALL_TYPE): Define.
8712         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
8713         (ARM_DECLARE_FUNCTION_SIZE): Define.
8714         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
8715
8716         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
8717         if a long call is needed.
8718         (call_value): Ditto.
8719         (call_symbol): Ditto.
8720
8721         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
8722         ARM_DECLARE_FUNCTION_SIZE.
8723
8724         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
8725         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
8726         (ARM_STRIP_NAME_ENCODING): Undefine.
8727         (STRIP_NAME_ENCODING): Undefine.
8728         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
8729         (ASM_DECLARE_FUNCTION_NAME): Ditto.
8730         (ASM_OUTPUT_COMMON): Ditto.
8731         (ASM_DECLARE_OBJECT_NAME): Ditto.
8732
8733         * config/arm/pe.c (arm_dllexport_name_p): Check for
8734         ARM_PE_FLAG_CHAR.
8735         (arm_dllimport_name_p): Ditto.
8736         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
8737         (arm_mark_dllimport): Ditto.
8738
8739 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8740
8741         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
8742
8743 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
8744
8745         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
8746
8747 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
8748
8749         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
8750         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
8751         NO_BUILTIN_WCHAR_TYPE is not defined.
8752         (CPP_WCHAR_TYPE): Delete.
8753         * cccp.c (main): Don't change wchar_type if cplusplus.
8754         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
8755
8756 2000-02-28  Nick Clifton  <nickc@cygnus.com>
8757
8758         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
8759
8760 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
8761
8762         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
8763         (ASM_WEAKEN_LABEL): Define.
8764
8765 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
8766
8767         * expr.c (store_constructor): Do not emit USE.
8768         * rtl.h (stupid_life_analysis): Remove.
8769
8770 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8771
8772         * function.c (number_blocks): Reset next_block_index based on
8773         what debugging format is used, not what is defined.
8774
8775         * lcm.c: Minor reformatting throughout.
8776         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
8777
8778         * toplev.c (rest_of_compilation): Account for time in
8779         optimize_mode_switching.
8780
8781         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
8782         if only marking labels.
8783
8784 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
8785
8786         * calls.c (expand_call): Attempt to combine stack adjustments with
8787         pending stack adjustments.
8788
8789 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8790
8791         * loop.c (reg_in_basic_block_p): Don't abort when falling through
8792         to the end of the function.
8793
8794 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
8795
8796         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
8797         blocks.
8798         * final.c (next_block_index): Remove.
8799         (max_block_depth): Likewise.
8800         (pending_blocks): Likewise.
8801         (init_final): Don't initialize them.
8802         (final_start_function): Don't set next_block_index.  Set up
8803         BLOCK_NUMBER.
8804         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
8805         * function.h (number_blocks): New function.
8806         * function.c (get_block_vector): New function.
8807         (identify_blocks): Use it.
8808         (reorder_blocks): Set NOTE_BLOCK.
8809         (number_blocks): New function.
8810         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
8811         * tree.h (BLOCK_NUMBER): New macro.
8812         (tree_block): Add block_num field.
8813         * dbxout.c (next_block_number): Remove.
8814         (dbxout_init): Don't set it.
8815         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
8816         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
8817         block numbers.
8818         * toplev.c (rest_of_compilation): Always call
8819         find_loop_tree_blocks.  Fix indentation.
8820         * dwarf2out.c (next_block_number): Remove.
8821         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
8822         to determine block numbers.
8823         (gen_inlined_subroutine_die): Likewise.
8824         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
8825         (decls_for_scope): Don't increment next_block_number.
8826         * dwarfout.c (next_block_number): Remove.
8827         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
8828         to determine block numbers.
8829         (output_inlined_subroutine_die): Likewise.
8830         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
8831         (output_decls_for_scope): Don't increment next_block_number.
8832         * sdbout.c (next_block_number): Remove.
8833         (sdbout_block): Use BLOCK_NUMBER.
8834         (sdbout_begin_block): Simplify.
8835         * xcoffout.c (next_block_number): Remove.
8836         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
8837         (xcoffout_begin_block): Don't set next_block_number.
8838         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
8839         next_block_number.
8840
8841 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8842
8843         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
8844         (expand_builtin_strcpy): Pass correct type to size_binop.
8845         (expand_builtin_strcmp): Likewise.
8846         Clean up conditional structure.
8847         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
8848         (complete_array_type): Don't use size_binop for MAXINDEX.
8849         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
8850         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
8851         (c_alignof): Use size_one_node.
8852         (build_unary_op): Pass arg of proper type to size_binop.
8853         (really_start_incremental_init, push_init_level): Use sizetype for
8854         constructor{,_bit,_unfilled}_index.
8855         (pop_init_label, output_init_element): Likewise.
8856         (output_pending_init_elements, process_init_element): Likewise.
8857         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
8858         * expr.c (store_expr): Use size_int.
8859         (store_constructor): Use proper types for size_binop args.
8860         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
8861         (expand_expr_unaligned): Likewise.
8862         (string_contant): Return object of sizetype.
8863         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
8864         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
8865         (ARGS_SIZE_TREE): Pass proper types to size_binop.
8866         * fold-const.c (int_const_binop): Refine when size_int is called.
8867         (fold_convert): Likewise.
8868         (size_int_wide): Rework to take KIND as arg, only take low order
8869         bits, handle new sizetype_tab datatype, and chain entries in
8870         size_table.
8871         (size_int_type_wide): New function.
8872         (size_binop): Validate types of arguments.
8873         (ssize_binop): Deleted.
8874         (size_diffop): New function.
8875         (extract_muldiv): Only fold division into multiplication for sizetypes.
8876         * function.c (assign_parms): Use size_diffop and make sure
8877         VAR field is of ssizetype; also pass proper type to size_binop.
8878         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
8879         (round_down): Deleted from here.
8880         * store-layout.c (sizetype_tab): Now an array.
8881         (sizetype_set, early_root_list): New variables.
8882         (variable_size): Use size_one_node.
8883         (round_up): Pass proper type to size_binop.
8884         (round_down): Moved to here and corrected as above.
8885         (layout_record): Pass proper arg types to size_binop.
8886         (layout_type): Likewise.
8887         If sizetype_set is zero, record the type just laid out.
8888         (make_unsigned_type): Don't call set_sizetype;
8889         (make_signed_type): Likewise; also, call fixup_signed_type.
8890         (initialize_sizetypes): New function.
8891         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
8892         set name of bitsizetype to "bit_size_type".
8893         Fix up type of sizes of all types made before call.
8894         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
8895         * tree.c (fix_sizetype): Deleted.
8896         (build_common_tree_nodes): Call initialize_sizetypes.
8897         (build_common_tree_nodes_2): Don't call fix_sizetype.
8898         * tree.h (TYPE_IS_SIZETYPE): New macro.
8899         (initialize_sizetype): New declaration.
8900         (enum size_type_kind): New type.
8901         (struct sizetype_tab): Deleted.
8902         (sizetype_tab): Now array; adjust sizetype macros.
8903         (size_diffop, size_int_type_wide): New functions.
8904         (size_int_wide): Change number of args and type; access macros changed.
8905         (ssize_int, sbitsize_int): New macros.
8906         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
8907         (ROUND_TYPE_SIZE_UNIT): New macro.
8908
8909 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
8910
8911         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
8912
8913 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8914
8915         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
8916         Mark as possibly unused.
8917
8918         * cse.c (cse_insn): Delete dead code involving tablejump.
8919         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
8920
8921         * Makefile.in (libcpp.a): Start by deleting it.
8922
8923 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8924
8925         * cpplib.h (enum file_change_code): Added rename_file.
8926         * cpplib.c (do_line): If a filename is given, set file_change to
8927         rename_file.
8928         (output_line_command): If file_change is rename_file, always
8929         output a # directive with the file name.
8930
8931         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
8932
8933 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
8934
8935         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
8936         when copying a PARM_DECL or RESULT_DECL.
8937
8938 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8939
8940         * fix-header.c (recognized_function): Also fix prototypes for
8941         functions taking "void".
8942
8943 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
8944
8945         * reload1.c (do_output_reload): Check reg_reloaded_valid before
8946         looking at reg_reloaded_contents.
8947
8948 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
8949
8950         * Makefile.in (STMP_FIXINC): New toggle.
8951         (LIBGCC2_DEPS): Delete all references.
8952         (stmp-headers): Delete target.  All references either deleted
8953         or changed to stmp-int-headers.
8954         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
8955         (LIBCPP_OBJS): Take out cppalloc.o.
8956         (cppalloc.o): Delete target.
8957         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
8958         (gen-protos, fix-header): Link with libiberty.a.
8959         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
8960         to empty.
8961
8962         * configure.in: Remove refs to strerror.
8963         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
8964         * system.h: Take out strerror stanza.
8965
8966         * cpperror.c (my_strerror): Delete function.
8967         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
8968         * cppmain.c (main): Call xmalloc_set_program_name first thing.
8969         * cppalloc.c: Delete file.
8970         * gen-protos.c: Don't provide xrealloc.
8971
8972         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
8973         xstrerror throughout.
8974
8975 2000-02-26  Bruce Korb  <bkorb@gnu.org>
8976
8977         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
8978         match for DOS headers, too.
8979         * fixinc/inclhack.sh,fixincl.x: Regenerate.
8980
8981 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
8982
8983         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
8984         is right for most ELF targets.
8985         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
8986         Let the default file use %U properly.
8987         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
8988         default.
8989
8990         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
8991         numbers.
8992
8993 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8994
8995         * toplev.c (documented_lang_options): Correct spelling error.
8996         (decode_d_option, decode_f_option, main): Likewise.
8997
8998         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
8999
9000         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
9001         to tell assembler it is permitted to expand large constants.
9002
9003 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
9004
9005         * protoize.c: (AUX_INFO_SUFFIX): New macro.
9006         (aux_info_suffix): Use.
9007         (SAVE_SUFFIX): New macro.
9008         (save_suffix): Use.
9009         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
9010         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
9011         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
9012
9013         * invoke.texi (Running Protoize): Update documentation.
9014
9015 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
9016
9017         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
9018
9019 2000-02-25  John Wehle  (john@feith.com)
9020
9021         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
9022
9023 2000-02-25  Anthony Green  <green@cygnus.com>
9024
9025         * toplev.c (rest_of_compilation): Rebuild jump labels if
9026         combine_instructions has created a new direct jump.
9027         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
9028         when appropriate.
9029         (combine_instructions): Call try_combine with new argument.
9030         Return non-null value when new direct jump instruction is created.
9031         * rtl.h: combine_instructions returns an int.
9032
9033 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
9034
9035         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
9036         jump when changing a computed jump into a jump to a known
9037         target.
9038
9039 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
9040
9041         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
9042         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
9043
9044         * i386.md (define_expand "clrstrsi"): Fix typo.
9045
9046 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
9047
9048         * rtl.texi: Fix typo.
9049
9050 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9051
9052         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
9053         UNITS_PER_WORD.  Change caller initial_elimination_offset.
9054         (rounded_frame_size): Take into account that argument pushed has
9055         changed.  Fix TARGET_ALIGN_DOUBLE problem.
9056
9057 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
9058
9059         * haifa-sched.c (schedule_block): Explain the real reason
9060         we delete REG_SAVE_NOTEs on the first insn of a block.
9061         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
9062
9063 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
9064
9065         * input.h (push_srcloc): New function.
9066         (pop_srcloc): Likewise.
9067         * toplev.c (push_srcloc): Define it.
9068         (pop_srcloc): Likewise.
9069
9070 2000-02-24  Richard Henderson  <rth@cygnus.com>
9071
9072         * flow.c (life_analysis): When collecting reg info, clear
9073         regs_ever_live.
9074
9075 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9076
9077         Fix bug exposed by reload.c no longer rounding the frame
9078         size to BIGGEST_ALIGNMENT:
9079         * sh.c (rounded_frame_size): New function.
9080         (sh_expand_prologue, sh_expand_epilogue): Use it.
9081         (initial_elimination_offset): Likewise.
9082
9083 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9084
9085         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
9086         * sh-protos.h (sh_need_epilogue): Declare.
9087         * sh.c (sh_need_epilogue_known): New static variable.
9088         (sh_need_epilogue): New function.
9089         (function_epilogue): Clear need_epilogue_known.
9090         * sh.md (return): Split into expander / insn pattern.
9091         Make the expander conditional on ! sh_need_epilogue ().
9092
9093 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
9094
9095         * machmode.h (get_mode_alignment): Declare.
9096         (GET_MODE_ALIGNMENT): Call it.
9097         * stor-layout.c (get_mode_alignment): New function. Make
9098         sure alignment is always power of 2.
9099
9100 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
9101
9102         * i386.h: Remove useless definition of "I386" and misleading
9103         comment above it.
9104
9105 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
9106
9107         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
9108         under which TREE_PERMANENT will be set.
9109         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
9110         build1): Use TREE_SET_PERMANENT.
9111         * print-tree.c (print_node): Don't report value of
9112         TREE_PERMANENT if ggc_p is true.
9113
9114         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
9115         decide whether to give a type a new alias set.
9116         * objc/objc-act.c (build_objc_string_object): Never copy the string.
9117         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
9118         of value of 'obstack'.
9119
9120
9121 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9122
9123         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
9124
9125 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9126
9127         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
9128         * cpplib.c (cpp_get_token): Produce them.
9129         * cppexp.c (cpp_lex): Handle them.
9130
9131 2000-02-23  Nick Clifton  <nickc@cygnus.com>
9132
9133         * config/arm/arm.c (arm_comp_type_attributes): Simply and
9134         comment tests on type attributes.
9135
9136 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9137
9138         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
9139         conform to documentation.
9140         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
9141         to check for special cases.
9142         * sh-protos.h (sh_loop_align): Declare.
9143         * sh.c (sh_loop_align): Define.
9144
9145 2000-02-22  Andrew Haley  <aph@cygnus.com>
9146
9147         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
9148         (SIZE_TYPE): Is 32 bits when using -mgp32.
9149         (PTRDIFF_TYPE): Ditto.
9150
9151 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9152
9153         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
9154
9155 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
9156
9157         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
9158         BIGGEST_FIELD_ALIGNMENT a constant.
9159
9160 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
9161
9162         * dwarf2out.c (output_line_info): Put the marker for the end of
9163         the line number info at the actual end.
9164         (gen_struct_or_union_type_die): Use decl_function_context
9165         to check for local classes.
9166         * dwarfout.c (output_type): Likewise.
9167
9168 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
9169
9170         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
9171         for arguments with a mode, but no type.
9172         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
9173         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
9174         * pa/long_double.h: New file.
9175         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
9176         both have 128bit wide long doubles.
9177         * configure: Rebuilt.
9178
9179 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9180
9181         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
9182
9183         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
9184         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
9185         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
9186
9187         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
9188
9189         * integrate.c (compare_blocks, find_block): Likewise.
9190
9191         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
9192
9193         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
9194
9195         * stmt.c (stmt_status, set_file_and_line_for_stmt,
9196         expand_asm_operands): Likewise.
9197
9198 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
9199
9200         * predict.c (estimate_probability): Added the pointer heuristic to
9201         the collection of static branch predictors.
9202
9203 2000-02-21  Catherine Moore  <clm@cygnus.com>
9204
9205         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
9206         * invoke.texi (-mfix7000): Document.
9207
9208 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
9209
9210         * diagnostic.c (init_output_buffer): Make it possible to output at
9211         least 32 characters if we're given a too long prefix.
9212
9213 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
9214
9215         * varasm.c (initializer_constant_valid_p): Call
9216         lang_expand_constant to simplify the constant.
9217
9218 2000-02-20  Bruce Korb  <bkorb@gnu.org>
9219
9220         * fixinc/inclhack.def(stdio_va_list):
9221         typedef needs to be disabled.
9222         * fixinc/inclhack.sh: regen
9223         * fixinc/fixincl.x: regen
9224
9225 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
9226
9227         * print-rtl.c (print_rtx): Don't print addresses when
9228         flag_dump_unnumbered.
9229
9230 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9231
9232         * sparc.c (sparc_output_scratch_registers): Mark parameter with
9233         ATTRIBUTE_UNUSED.
9234         (sparc_va_arg, sparc_flat_output_function_prologue,
9235         sparc_flat_output_function_epilogue): Cast value to unsigned in
9236         comparison.
9237         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
9238
9239         * sparc.md: Add default case in switch.
9240
9241 2000-02-19  Richard Henderson  <rth@cygnus.com>
9242
9243         * c-typeck.c (add_pending_init): Don't abort for multiple
9244         fields at the same offset.
9245         (pending_init_member): Test the correct member.
9246
9247 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9248
9249         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
9250         instead of SImode.
9251         (start_catch_handler) : Same.
9252
9253 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
9254
9255         * Makefile.in: Have flow.o depend on $(EXPR_H)
9256
9257 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9258
9259         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
9260         * c-decl.c (duplicate_decls, finish_enum): Likewise.
9261         (finish_decl): Remove -Wlarger-than code from here.
9262         * flags.h (id_clash_len): Now int.
9263         (larger_than_size): Now HOST_WIDE_INT.
9264         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
9265         Clean up checking to see if in table.
9266         (make_bit_field_ref): Remove extra parm to bitsize_int.
9267         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
9268         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
9269         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
9270         and for computing size of decl.
9271         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
9272         Move -Wlarger-than code to here.
9273         (layout_record): Remove extra arg to bitsize_int.
9274         Set TYPE_BINFO_SIZE_UNIT.
9275         (layout_union): Remove extra arg to bitsize_int.
9276         Use proper type for size of QUAL_UNION.
9277         (layout_type): Remove extra arg to bitsize_int.
9278         * toplev.c (id_clash_len): Now int.
9279         (larger_than_size): Now HOST_WIDE_INT.
9280         (decode_W_option): Clean up id-clash and larger-than- cases.
9281         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
9282         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
9283         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
9284         (struct tree_decl): New field size_unit.
9285         (size_int_wide): No HIGH operand; NUMBER is now signed.
9286         (size_int_2): Deleted.
9287         (size_int, bitsize_int): Don't use it and rework args.
9288         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
9289
9290 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
9291
9292         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
9293
9294 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
9295
9296         * invoke.texi (Warning Options): Add an explanation of why
9297         you might want the -Wfloat-equal flag.
9298
9299 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9300
9301         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
9302         * cppinit.c (new_pending_define): Add cast to avoid warning.
9303         * expmed.c (extract_bit_field): Likewise.
9304         * flow.c (enum reorder_skip_type): New type.
9305         (skip_insns_between_blcok): New it.
9306         Rework to avoid warning about possibly undefined variable.
9307         * function.c (assign_parms): Make thisparm_boundary unsigned.
9308         * genrecog.c (write_switch): Cast XWINT result to int.
9309         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
9310         * mips-tfile.c (init_file): Make two versions of FDR intializer:
9311         one for MIPS and one for Alpha.
9312         (get_tag, copy_object): Add casts to avoid warnings.
9313         * optabs.c (init_one_libfunc): Cast NAME to (char *).
9314         * reload.c (find_reloads): Make TYPE enum reload_type.
9315         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
9316         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
9317         * varasm.c (compare_constant_1): Add cast to avoid warning.
9318         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
9319         to (char *).
9320         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
9321         Cast switch operand of size to int.
9322         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
9323         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
9324         in unhandled case.
9325
9326 2000-02-18  Nick Clifton  <nickc@cygnus.com>
9327
9328         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
9329         anything for an alignment of zero.
9330
9331         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
9332         anything for an alignment of zero.
9333
9334 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
9335
9336         * gcc.texi (Bug Reporting): Refer to bugs.html.
9337         (Bug Lists): Likewise.
9338         * system.h (GCCBUGURL): New preprocessor define.
9339         * rtl.c (fancy_abort): Use it.
9340         * gcc.c (main): Likewise.
9341
9342 2000-02-18  Richard Henderson  <rth@cygnus.com>
9343
9344         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
9345         (life_analysis_1): Subsume into ...
9346         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
9347         Use update_life_info for the relaxation.
9348         (update_life_info): Update REG_BASIC_BLOCK for registers live on
9349         entry and regs_live_at_setjmp.
9350         (set_noop_p): Simplify.
9351         (notice_stack_pointer_modification_1): Renamed from s/_1//.
9352         (record_volatile_insns): Split into ...
9353         (delete_noop_moves): ... here,
9354         (notice_stack_pointer_modification): ... here,
9355         (insn_dead_p): ... and here.
9356         (propagate_block): Don't query INSN_VOLATILE.
9357         (mark_used_regs): Mind !PROP_REG_INFO.
9358         * toplev.c (rest_of_compilation): Call mark_constant_function here,
9359         not in life_analysis.
9360
9361 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
9362
9363         * loop.c (canonicalize_condition): New function,
9364         broken out of get_condition.
9365         (get_condition): Use it.
9366         * expr.h (canonicalize_condition): Prototype it.
9367
9368         * tree.h (tree_int_cst_msb): Declare.
9369         * tree.c (tree_int_cst_msb): New function.
9370
9371 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
9372
9373         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
9374         isn't set.
9375
9376         * invoke.texi (-fmessage-length=n): Document.
9377
9378 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
9379
9380         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
9381
9382 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
9383
9384         * function.c (thread_prologue_and_epilogue_insns): Put a line note
9385         after the prologue.
9386
9387 2000-02-17  Nick Clifton  <nickc@cygnus.com>
9388
9389         * config/arm/thumb.c: Replace includes of system headers with
9390         #include "system.h".
9391
9392 2000-02-16  Richard Henderson  <rth@cygnus.com>
9393
9394         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
9395         Add crtbeginS.o and crtendS.o.
9396         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
9397         (ENDFILE_SPEC): Use crtendS.o.
9398         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
9399
9400         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
9401         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
9402         shared and present.
9403         (__dso_handle): New variable.
9404         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
9405         bias to __CTOR_END__.
9406
9407 2000-02-16  Richard Henderson  <rth@cygnus.com>
9408
9409         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
9410
9411 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9412
9413         * longlong.h (__clz_tab): Declare as static to match definition.
9414
9415 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
9416
9417         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
9418         (XREF_FILE_NAME): Define.
9419
9420         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
9421         (EH_FRAME_SECTION_ASM_OP): Define.
9422         (IDENT_ASM_OP): Define.
9423         (TEXT_SECTION_ASM_OP): Define.
9424         (CPP_SPEC): Define.
9425         (CTORS_SECTION_ASM_OP): Define.
9426         (CTOR_SECTION_FUNCTION): Use it.
9427         (DTORS_SECTION_ASM_OP): Define.
9428         (DTOR_SECTION_FUNCTION): Use it.
9429
9430 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
9431
9432         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
9433         NOTE_BASIC_BLOCK.
9434
9435         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
9436         debug_bb_n): New functions.
9437         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
9438         * basic-block.h: Prototype new functions.
9439
9440 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
9441
9442         * configure.in: Add support for avr target.
9443         * configure: Rebuilt.
9444
9445         * invoke.texi: Add AVR invocation docs.
9446         * install.texi: Add information about AVR.
9447         * md.texi: Add AVR constraint letters description.
9448         * extend.texi: Add description for AVR specific attributes.
9449
9450 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
9451
9452         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
9453
9454 2000-02-16  Nick Clifton  <nickc@cygnus.com>
9455
9456         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
9457         (make_insn_raw): Move RTL check here.
9458
9459 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9460
9461         * version.c: Include gansidecl.h and version.h.
9462
9463         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
9464
9465         * configure.in (gcc_version): When setting, narrow search to
9466         lines containing `version_string'.
9467
9468         * Makefile.in (mainversion): Likewise.
9469         (GCC_H): New variable.
9470         (gcc.h): Delete target.
9471         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
9472         (version.o): Depend on version.h.
9473         (dbxout.o): Don't depend on gcc.h.
9474
9475 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9476                           Michael Meissner  <meissner@cygnus.com>
9477
9478         * md.texi (Simple Constraints): Add item about whitespace.
9479         * genoutput.c (strip_whitespace): New.
9480         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
9481         strip_whitespace for constraints.
9482         Test pointer using NULL, not 0.
9483
9484 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9485
9486         * cpplib.c (do_line): Pedwarn for #line > 32767.
9487
9488         * c-lex.c (readescape): Warn about '\x', but do not reject it.
9489
9490 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
9491
9492         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
9493         to default cpp spec.
9494         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
9495         * cpp.texi: Document __GNUC_PATCHLEVEL__.
9496         * cpp.1: Likewise.
9497
9498         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
9499         default spec.
9500
9501 2000-02-15  Denis Chertykov  <denisc@overta.ru>
9502
9503         * configure.in: Add support for avr target.
9504
9505 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9506
9507         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
9508         (sh_addr_diff_vec_mode): Don't declare.
9509         * sh.c (sh_addr_diff_vec_mode): Delete.
9510
9511 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9512
9513         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
9514
9515 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9516
9517         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
9518         (smulsi3_highpart_i): Name.
9519         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
9520         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
9521         (smulsi3_highpart, umulsi3_highpart): Likewise.
9522
9523         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
9524         correctly independent of endianness.
9525         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
9526         confuse the optimizers.
9527         (mulsidi3+1, umulsidi3+1): New define_split.
9528
9529 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
9530
9531         * config/sh/sh.md: Guard insn splits against illegal registers.
9532         * config/sh/sh.h: Correct comment about macros.
9533
9534 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9535                           Andrew MacLeod  <amacleod@cygnus.com>
9536
9537         * Makefile.in (lcm.o): Depend on insn-attr.h.
9538         * basic-block.h (optimize_mode_switching): Declare.
9539         * lcm.c (tm_p.h, insn-attr.h): #include.
9540         (seginfo, bb_info): New structs.
9541         (antic, transp, comp, delete, insert) : New file-scope static variables.
9542         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
9543         (reg_becomes_live, optimize_mode_switching): Likewise.
9544         * tm.texi: Add description of mode switching macros.
9545         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
9546
9547         * sh-protos.h (remove_dead_before_cse): Remove prototype.
9548         (fldi_ok, fpscr_set_from_mem): New prototypes.
9549         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
9550         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
9551         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
9552         (sh_flag_remove_dead_before_cse): Remove declaration.
9553         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
9554         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
9555         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
9556         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
9557         (barrier_align): Allow for JUMP_INSNS containing a parallel.
9558         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
9559         (fldi_ok): New function.
9560         (get_fpscr_rtx): Add fpscr_rtx as GC root.
9561         (emit_sf_insn): Only generate fpu switches when optimize < 1.
9562         (emit_df_insn): Likewise.
9563         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
9564         (sh_flag_remove_dead_before_cse): Delete.
9565         (get_free_reg, fpscr_set_from_mem): New functions.
9566         * sh.md (movdf, movsf): Remove no_new_pseudos code.
9567         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
9568
9569 2000-02-15  Loren Rittle  <ljrittle@acm.org>
9570
9571         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
9572
9573 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9574
9575         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
9576         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
9577
9578         * cccp.c: Include version.h and/or don't declare `version_string'.
9579         * collect2.c: Likewise.
9580         * alpha.c: Likewise.
9581         * arm/aof.h: Likewise.
9582         * arm/coff.h: Likewise.
9583         * arm/elf.h: Likewise.
9584         * arm/pe.h: Likewise.
9585         * arm/tcoff.h: Likewise.
9586         * arm/telf.h: Likewise.
9587         * arm/tpe.h: Likewise.
9588         * arm/vxarm.h: Likewise.
9589         * convex/convex.c: Likewise.
9590         * i386/dgux.c: Likewise.
9591         * i386/sun386.h: Likewise.
9592         * m88k/m88k.c: Likewise.
9593         * mcore/mcore-pe.h: Likewise.
9594         * mips/mips.h: Likewise.
9595         * romp/romp.h: Likewise.
9596         * sh/sh.c: Likewise.
9597         * cpphash.c: Likewise.
9598         * cppinit.c: Likewise.
9599         * dwarf2out.c: Likewise.
9600         * dwarfout.c: Likewise.
9601         * gcc.c: Likewise.
9602         * gcc.h: Likewise.
9603         * mips-tfile.c: Likewise.
9604         * protoize.c: Likewise.
9605         * toplev.c: Likewise.
9606         * tree.h: Likewise.
9607
9608         * version.c (version_string): Constify a char*.
9609
9610         * version.h: New file.
9611
9612 2000-02-14  Nick Clifton  <nickc@cygnus.com>
9613
9614         * configure.in: Add mcore-elf and mcore-pe targets.
9615         * configure: Regenerate.
9616
9617         * NEWS: Add note that MCore port has been contributed.
9618
9619         * invoke.texi: Document command line switches for MCore port.
9620         * install.texi: Add MCore to list of supported targets.
9621
9622 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
9623
9624         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
9625         then we will need to import the frame handling functions.
9626         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
9627         to import the frames themselves.
9628
9629 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
9630                           Jason Eckhardt  <jle@cygnus.com>
9631
9632         * basic_block.h: Added prototype for reorder_basic_blocks.
9633         * toplev.c: Changes to add -freorder-blocks and graph dump after
9634         block reordering is done.
9635         * flow.c (reorder_block_def): New structure for use during block
9636         reordering.
9637         (REORDER_BLOCK_*): New macros to access members of above structure.
9638         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
9639         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
9640         functions for block reordering.
9641
9642 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9643
9644         * gcc.texi (Passes): Fix typo.
9645         * md.texi (Standard Names): Ditto.
9646         * tm.texi (Storage Layout): Ditto.
9647
9648 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
9649
9650         * cpplib.c (do_define): Only free the old definition if it
9651         actually had one.
9652
9653 2000-02-13   Neil Booth  <NeilB@earthling.net>
9654
9655         * cppfiles.c (read_and_prescan): When emitting deferred
9656         newlines, test speccase[] again instead of checking each
9657         possible whitespace character in turn.  When we encounter \r,
9658         look behind for \n first, then ahead.
9659
9660 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
9661
9662         * cse.c (cse_altered): New internal flag.
9663         (cse_insn): Set it if we changed an insn.
9664         (cse_main): Clear cse_altered before each basic block.
9665         Only garbage collect if cse_altered is true afterward.
9666
9667 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9668
9669         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
9670
9671 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
9672
9673         * combine.c (simplify_comparison): Fix typo.
9674
9675 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
9676
9677         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
9678         consistently.
9679
9680 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9681
9682         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
9683         previously inserted node instead of root node.  Caller changed.
9684
9685 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9686
9687         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
9688
9689 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9690
9691         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
9692         __dereg_frame_dtor): Add prototype argument.
9693
9694         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
9695
9696         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
9697
9698         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
9699
9700         * gthr-vxworks.h (__gthread_once): Likewise.
9701
9702         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
9703
9704 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
9705
9706         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
9707         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
9708         stack pointer in functions w/o saved registers, output LEAVE more often
9709         on TARGET_USE_LEAVE machines.
9710
9711 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
9712
9713         * config/arm/arm.c (arm_init_cumulative_args); New function:
9714         Initlaise the CUMULATIE_ARGS strcuture for a function
9715         defintion.
9716         (arm_function_arg): New function: Determine where to place a
9717         function's argument.  Also handles deciding the function's
9718         call cookie.
9719         (current_file_function_operand): New function: Return true if
9720         the symbol is a function which has already been compiled.
9721         (arm_is_long_call_p): New function: Return true if the
9722         indicated function should be called via a long call.
9723         (arm_valid_type_attribute_p): New function: Return true if the
9724         attribute is a valid, arm specific, attribute.
9725         (arm_comp_type_attribute): New function: Return true if the
9726         two types have compatable, arm specific, attributes.
9727
9728         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
9729         structure.
9730         (FUNCTION_ARG): Redefine to call arm_function_arg.
9731         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
9732         structure field.
9733         (INIT_CUMULATIVE_ARGS): Redefine to call
9734         arm_init_cumulative_args.
9735         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
9736         field.
9737         (SETUP_INCOMING_VARARGS): Redefine to use correct structure
9738         field.
9739         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
9740         functions.
9741         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
9742         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
9743         (COMP_TYPE_ATTRIBUTES): Define.
9744
9745         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
9746         if a long call is needed.
9747         (call_value): Call arm_is_long_call_p to decide if a long call
9748         is needed.
9749         (call_symbol): Call arm_is_long_call_p to decide if a long call
9750         is needed.
9751
9752         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
9753
9754 2000-02-11  Denis Chertykov  <denisc@overta.ru>
9755
9756         * README.AVR: New file with information about the avr ports.
9757         * config/avr: New directory with avr port files.
9758
9759 2000-02-11  Andreas Jaeger  <aj@suse.de>
9760
9761         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
9762
9763 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
9764
9765         * cpphash.c: Fix formatting, update commentary.
9766         (dump_definition): Take three separate arguments instead of a
9767         MACRODEF structure argument.
9768         * cpphash.h: Update prototype of dump_definition.
9769         * cppinit.c (cpp_finish): Update call of dump_definition.
9770
9771         * cpplib.c (do_define): Always create new hash entry with
9772         T_MACRO type.  Remove redundant check for redefinition of
9773         poisoned identifier.  Update call of dump_definition.
9774         (do_undef): Don't call check_macro_name.  Rename sym_length to
9775         len.
9776         (do_error, do_warning): Don't use copy_rest_of_line or
9777         SKIP_WHITE_SPACE.
9778         (do_warning): Don't use pedwarn for the actual warning,
9779         only the notice about its not being in the standard.  (Fixes
9780         bug with #warning in system headers.)
9781         (do_ident): Stricter argument checking - accept only a single
9782         string after #ident.  Also, macro-expand the line.
9783         (do_xifdef): Use cpp_defined.  De-obfuscate.
9784
9785         (do_pragma): Split out specific pragma handling to separate
9786         functions.  Use get_directive_token.  Update commentary.  Do
9787         not pass on #pragma once or #pragma poison to the front end.
9788         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
9789         do_pragma_default): New.
9790
9791 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
9792
9793         * jump.c (jump_optimize_1): The first operand in a relational
9794         can be a CONST_INT.
9795         * optabs.c (emit_conditional_move): Handle relationals which
9796         have a known true/false result.
9797
9798 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
9799
9800         * function.c (thread_prologue_and_epilogue_insns): Don't insert
9801         a RETURN insn into a block which already ends with a jump.
9802
9803 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
9804
9805         * haifa-sched.c (BUF_LEN): Increase a lot.
9806
9807 2000-02-11  Nick Clifton  <nickc@cygnus.com>
9808
9809         * configure.in: Add tm_p_file specification for thumb targets.
9810         * configure: Regenerate.
9811
9812         * config/arm/thumb-protos.h: New file: Prototypes for exported
9813         functions defined in thumb.c.
9814
9815 2000-02-11  Robert Lipe  <robertl@sco.com>
9816
9817         * Makefile.in (bootstrap-lean): Remove additional files.
9818         (bootstrap2-lean): Likewise.
9819         (VOL_FILES): List of files for above.
9820
9821 2000-02-11  Nathan Sidwell  <nathan@acm.org>
9822
9823         * cpphash.c (special_symbol): Remove spurious argument to
9824         cpp_lookup.
9825
9826 2000-02-11  Joel Sherrill (joel@OARcorp.com>
9827
9828         * configure.in: (i*86-*-rtems*): Swapped elf and coff
9829         stanzas.
9830         * configure: Rebuilt.
9831
9832 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
9833
9834         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
9835
9836 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
9837
9838         * pa.c, pa.h: Remove trigraph sequences within comments.
9839
9840 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
9841
9842         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
9843
9844 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
9845
9846         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
9847
9848 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9849
9850         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
9851
9852 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9853
9854         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
9855         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
9856         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
9857         (ASM_FILE_END): Use c4x_file_end.
9858         * config/c4x/c4x.c (c4x_global_label): New function.
9859         (c4x_external_ref, c4x_file_end): Likewise.
9860
9861         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
9862         (c4x_external_ref, c4x_end_file): Likewise.
9863
9864 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
9865
9866         * cppexp.c: Don't include cpphash.h.
9867         (parse_charconst, cpp_lex): Use cpp_defined.
9868         (cpp_lex): Use get_directive_token throughout.  Remove
9869         unnecessary cases from switch.  Move assertion-handling code
9870         down to OTHER case.
9871         (cpp_parse_expr): If we see '+' or '-', check the context to
9872         determine if they are unary or binary operators.  Streamline
9873         the jumps a bit.  Do not call skip_rest_of_line.
9874
9875         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
9876         static.  Export get_directive_token.  Update commentary.
9877         (cpp_defined): New function.
9878         (do_define): Remove reference to T_PCSTRING.  Call
9879         free_definition to release memory for old definition, when
9880         redefining a macro.
9881         (eval_if_expression): Set only_seen_white to 0 before calling
9882         cpp_parse_expr.  Call skip_rest_of_line after it returns.
9883         (cpp_read_check_assertion): Don't preserve a pointer into the
9884         token buffer across a call to cpp_get_token.
9885
9886         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
9887         * cppfiles.c (redundant_include_p): Use cpp_defined.
9888         * cpphash.c (free_definition): New function.
9889         (delete_macro): Use it.  Update commentary.
9890         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
9891         free_definition.
9892         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
9893         from enum node_type.  Prototype cpp_defined and get_directive_token.
9894         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
9895
9896         * fix-header.c (check_macro_names): Use cpp_defined.
9897         (read_scan_file): Set inhibit_warnings and inhibit_errors in
9898         the options structure.
9899
9900 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9901
9902         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
9903
9904 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
9905
9906         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
9907         rather than die->die_tag.
9908
9909 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9910
9911         * combine.c (make_extraction, force_to_mode): Avoid warning on
9912         mixed-signedness conditionals.
9913         (make_field_assignment, nonzero_bits): Likewise.
9914         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
9915         (store_split_bit_field, extract_split_bit_field): Likewise.
9916         (extract_fixed_bit_field, store_bit_field,
9917         * expr.c: Change alignment to be unsigned everywhere.
9918         (move_by_pieces, store_constructor_field, store_constructor):
9919         Alignment parm is unsigned.
9920         (emit_block_move, emit_group_load, emit_group_store): Likewise.
9921         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
9922         (do_compare_rtx_and_jump): Likewise.
9923         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
9924         Compare align with GET_MODE_ALIGNMENT.
9925         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
9926         (get_inner_reference): Likewise.
9927         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
9928         (expand_assignment): Local vars for alignment now unsigned.
9929         (store_constructor, store_field, expand_expr, do_jump): Likewise.
9930         (do_compare_and_jump): Likewise.
9931         (store_field): Call new function expr_align.
9932         * expr.h (emit_block_move, emit_group_load, emit_group_store):
9933         Alignment arg now unsigned.
9934         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
9935         (do_compare_rtx_and_jump, store_bit_field): Likewise.
9936         (extract_bit_field): Likewise.
9937         * fold-const.c (add_double): Add cast to eliminate signedness warning.
9938         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
9939         (get_best_mode): Alignment arg is unsigned.
9940         * rtl.h (move_by_pieces): Likewise.
9941         * store-layout.c (maximum_field_alignment, set_alignment):
9942         Now unsigned.
9943         (layout_decl): Alignment arg is now unsigned.
9944         Remove unneeded casts.
9945         (layout_record, layout_union, layout_type): Remove unneeded casts.
9946         Local alignment variables now unsigned.
9947         (get_best_mode): Alignment arg now unsigned.
9948         * tree.c (expr_align): New function.
9949         * tree.h (expr_align): Likewise.
9950         (maximum_field_alignment, set_alignment): Now unsigned.
9951         (get_inner_reference): Alignment argument is now pointer to unsigned.
9952         * varasm.c (assemble_variable): Add cast to eliminate warning.
9953
9954 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
9955
9956         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
9957         then store directly into op0.
9958
9959         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
9960         the CALL_INSN, and emit the note immediately after it.
9961
9962 2000-02-10  Nick Clifton  <nickc@cygnus.com>
9963
9964         * config/arm/thumb.md (epilogue): Include a (return) in the
9965         generated insn, and emit it using emit_jump_insn not
9966         emit_insn.
9967
9968 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
9969
9970         * function.c (assign_temp): Change zero-sized arrays to size 1.
9971         * integrate.c (expand_inline_function): Do not update
9972         stack_alignment_needed
9973         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
9974         add some sanity checking, remove optimization for function with
9975         zero frame size.
9976
9977 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9978
9979         * flow.c (mark_regs_live_at_end): Delete unused variables.
9980
9981         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
9982
9983         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
9984         in macro FRAME_GROWS_DOWNWARD.
9985
9986         * stmt.c (expand_end_bindings): Delete unused variable.
9987
9988         * unroll.c (iteration_info): Mark parameter `loop' with
9989         ATTRIBUTE_UNUSED.
9990
9991 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9992
9993         * fixinc/server.c (load_data): Return NULL if the marker line is
9994         not found.
9995         (run_shell): If load_data returns NULL, retry the command once, in
9996         a new shell.
9997
9998         * configure: Rebuilt.
9999
10000 2000-02-09  Bruce Korb  <bkorb@gnu.org>
10001
10002         * gcc/fixincludes:  ** DELETED **
10003         * gcc/fixcpp:  ** DELETED **
10004         * gcc/fixinc-nt.sed:  ** DELETED **
10005         * gcc/just-fixinc:  ** DELETED **
10006         * gcc/Makefile.in:  Removed out-dated commentary
10007         * gcc/configure.in: Removed fast-fixincludes disablement.
10008         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
10009
10010 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
10011         * function.c (thread_prologue_and_epilogue_insns): Uncomment
10012         last change.
10013
10014 2000-02-09  Richard Henderson  <rth@cygnus.com>
10015
10016         * jump.c (delete_insn): Don't delete user labels at -O0.
10017
10018 2000-02-09  Robert Lipe  <robertl@sco.com>
10019
10020         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
10021         Don't link with HOST_LIBS.
10022
10023 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
10024
10025         * configure.in: Correct --help text for --with-dwarf2.
10026         Put tm-dwarf2.h after other tm files, if it's requested.
10027         * configure: Regenerate.
10028         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
10029         defining it.
10030
10031 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
10032
10033         * cpplib.h: Provide HASHNODE typedef and forward decl of
10034         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
10035         DEFINITION, struct hashnode, struct macrodef, struct
10036         definition, scan_decls prototype, default defn of
10037         INCLUDE_LEN_FUDGE moved elsewhere.
10038
10039         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
10040         definition, and struct hashnode moved here. Remove the unused
10041         'predefined' field from struct definition.  Replace the 'args'
10042         union with its sole member.  All users updated (cpphash.c).
10043         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
10044         multiple include guard.
10045
10046         * cpphash.c (hashf): Make static; use better algorithm; drop
10047         HASHSIZE parameter; return an unsigned int.
10048         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
10049         used. Calculate HASHSIZE modulus here.
10050         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
10051         here.
10052         (create_definition): Drop PREDEFINITION parameter.
10053         * cpplib.c (do_define): Don't calculate a hash value here.
10054         Don't pass (keyword == NULL) to create_definition.
10055
10056         * scan.h: Prototype scan_decls here.
10057         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
10058         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
10059         callers of cpp_lookup and cpp_install updated.
10060
10061         * cpphash.c (macarg): Hoist all the flag diddling out of the
10062         function...
10063         (macroexpand): ... and out of the loop that calls macarg.
10064         Skip over the initial paren before macro arguments with
10065         cpp_get_non_space_token; point may be some distance before
10066         that paren.  Abort if it's not there.
10067
10068         * cpplib.c (parse_clear_mark): Delete function.
10069         (parse_set_mark, parse_goto_mark): Make static.
10070         (ACTIVE_MARK_P): New macro.
10071         (skip_block_comment, skip_line_comment): Do not bump the line
10072         if ACTIVE_MARK_P is true.
10073         (cpp_pop_buffer): The buffer to be popped may not have an
10074         active mark.
10075         (cpp_get_token): When looking for the initial paren before
10076         macro arguments, only set a mark in a file buffer, Always
10077         return to that mark before proceeding to call macroexpand or
10078         return a NAME token.
10079
10080         * cpplib.h: Remove prototypes of parse_set_mark,
10081         parse_clear_mark, parse_goto_mark.
10082         (struct cpp_options): Rename 'put_out_comments' to
10083         'discard_comments' and invert its sense.
10084         * cppinit.c, cpphash.c, cpplib.c: All users of
10085         put_out_comments changed to use discard_comments, with
10086         opposite sense.
10087
10088 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
10089
10090         * function.c (thread_prologue_and_epilogue_insns): Don't delete
10091         the edge from a block that both jumps and falls through to the
10092         fallthru block.
10093
10094 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
10095
10096         * config/arm/arm.md (movsi): In PIC mode, make sure that a
10097         constant source address is legitimate.
10098
10099 2000-02-09  Philip Blundell  <pb@futuretv.com>
10100
10101         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
10102         correctly.
10103
10104         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
10105         generating PIC.
10106         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
10107
10108 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
10109
10110         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
10111         ends with a newline and a NUL.  Don't be so clever manipulating
10112         strings.
10113
10114 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
10115
10116         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
10117         not to BIGGEST_ALIGNMENT.
10118
10119 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
10120
10121         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
10122         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
10123         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
10124         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
10125         * frame.c (execute_cfa_insn): Handle
10126         DW_CFA_GNU_negative_offset_extended.
10127
10128 2000-02-08  Richard Henderson  <rth@cygnus.com>
10129
10130         * flow.c (tidy_fallthru_edges): Split out from ...
10131         (delete_unreachable_blocks): ... here.
10132         (find_basic_blocks): Use it.
10133
10134 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10135
10136         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
10137
10138 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
10139
10140         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
10141         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
10142         (fix-header.o): Don't depend on cpphash.h.
10143
10144         * scan.c (hashstr): New function.
10145         * scan.h: Prototype it.
10146         * fix-header.c: Don't include cpphash.h.  Use hashstr.
10147         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
10148         hashstr.  Report hash table statistics.  Add private
10149         definition of xrealloc.
10150
10151 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10152
10153         * i386.h (TARGET_SWITCHES): Fix typo in option name.
10154
10155 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
10156
10157         * function.c (thread_prologue_and_epilogue_insns): Don't replace
10158         jumps with returns unless they are jumps to the fallthru block.
10159
10160 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
10161
10162         * i386.md (addqi3_cc): Fix contraints.
10163
10164 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10165
10166         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
10167
10168 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
10169
10170         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
10171         carriage return after a macro name.
10172
10173 2000-02-07  Fred Fish  <fnf@be.com>
10174
10175         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
10176         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
10177
10178 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
10179
10180         * cppfiles.c (deps_output): Count spacers in deps_column.
10181
10182 2000-02-07  Neil Booth  <NeilB@earthling.net>
10183
10184         * cppinit.c (initialize_dependency_output): If there is no
10185         suffix, don't try to look for known suffixes.  Use strrchr.
10186         (cpp_start_read): Remove duplicate initialization.
10187
10188 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
10189
10190         * calls.c (compute_argument_block_size): New argument
10191         preferred_stack_boundary.
10192         (expand_call): update cfun->preferred_stack_boundary, update call of
10193         compute_argument_block_size
10194         (emit_library_call): Increate cfun->preferred_stack_boundary
10195         to PREFERRED_STACK_BOUNDARY
10196         (emit_library_call_value): Likewise.
10197         * explow.c (allocate_dynamic_stack_spave): Likewise.
10198         * function.c (prepare_function_start): Set
10199         cfun->preferred_stack_boundary
10200         * function.h (struct function): Add preferred_stack_boundary field.
10201         * integrate.c (expand_inline_function): Update
10202         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
10203         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
10204         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
10205
10206 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
10207
10208         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
10209         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
10210         cpp_pedwarn, cpp_pedwarn_with_line,
10211         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
10212         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
10213         v_cpp_error_with_line, v_cpp_warning_with_line,
10214         cpp_message_from_errno, cpp_perror_with_name): Delete.
10215
10216         * cpperror.c (cpp_print_containing_files): Take starting
10217         buffer as argument.
10218         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
10219         (v_cpp_message): Now called directly by all entry points.
10220         Remove -1 case.
10221         (cpp_pfatal_with_name, cpp_message): Delete.
10222         (cpp_notice_from_errno, cpp_ice): New functions.
10223         (cpp_notice): Is now for reporting error conditions, just
10224         without an associated file.
10225         (cpp_error, cpp_error_with_line): Don't do anything if
10226         opts->inhibit_errors is on.
10227         (cpp_pedwarn_with_file_and_line): Take column argument also.
10228
10229         * cpplib.h: Update prototypes of exported functions.
10230         (struct cpp_options): Add inhibit_errors.
10231
10232         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
10233         non-error messages.  Include intl.h.
10234
10235         * cppinit.c, cppmain.c: Likewise.  Also, use
10236         cpp_notice_from_errno instead of cpp_perror_with_name or
10237         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
10238
10239         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
10240         report internal errors.
10241
10242         * cpplib.c (do_define): Switch bcopy to memcpy.
10243         Give cpp_pedwarn_with_file_and_line a dummy column argument.
10244
10245         * cpplib.c (copy_rest_of_line): Revert previous change: don't
10246         bail out early if we hit a line comment.
10247
10248 2000-02-06  Richard Henderson  <rth@cygnus.com>
10249
10250         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
10251         * basic-block.h: Declare them.
10252         * emit-rtl.h (active_insn_p): New.
10253         (next_active_insn, prev_active_insn): Use it.
10254         * rtl.h: Declare it.
10255         * function.c (emit_return_into_block): New.
10256         (thread_prologue_and_epilogue_insns): Insert return insns instead
10257         of epilogues when possible.
10258         * jump.c (jump_optimize_1): Remove code to insert a return insn
10259         on the fallthru to the exit block.
10260
10261         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
10262         and for non-empty stack frames.
10263         * i386.md (return): Expand to return-pop as needed.
10264
10265 2000-02-06  Richard Henderson  <rth@cygnus.com>
10266
10267         * simplify-rtx.c (simplify_relational_operation): Canonicalize
10268         constant to op1 for testing.
10269
10270 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10271
10272         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
10273         (fixuns_truncqfqi2): Use it.
10274
10275 2000-02-06  Richard Henderson  <rth@cygnus.com>
10276
10277         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
10278         as a TYPE_LEA insn.
10279
10280         * i386.md (widening and peepholes): Mask the constant instead of
10281         using gen_lowpart.
10282
10283 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
10284
10285         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
10286         input pointer before possibly branching off to the backslash
10287         code.
10288         * cpphash.c (macroexpand): Correctly delete \r escapes when
10289         stringifying parameters.
10290         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
10291         if we can; bail out early if we hit a line comment.
10292         (handle_directive): Treat '# 123' in an .S file just like
10293         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
10294         Return 1 for '# not_a_directive'.
10295         (get_directive_token): Pop macro buffers here, so that
10296         cpp_get_token can't sneakily move past a newline.
10297         Add sanity checks.
10298         (cpp_get_token): goto randomchar if handle_directive returns 0.
10299
10300         * cppalloc.c: Update copyright.
10301         * cpplib.c: Merge all the static function prototypes into one
10302         block.
10303         * cpplib.h: Remove #if 0 block.
10304
10305         * cpperror.c: Remove #ifdef EMACS block.
10306         * cppmain.c: Likewise.
10307         * cpphash.c: Remove #if 0 blocks.
10308         * cppinit.c: Remove #if 0 blocks, and the -lint option.
10309         * cpplib.c: Remove #if 0 blocks and code referencing
10310         pcp_inside_if or for_lint.  Remove duplicate error message.
10311         Fix error messages for #else after #else or #elif.  Reformat.
10312         Remove archaic TODO list.
10313         * cpplib.h: Remove pcp_inside_if and for_lint flags.
10314
10315 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
10316
10317         * i386/osf1elf.h: Add missing backslash to multiline string.
10318
10319 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10320
10321         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
10322
10323 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10324
10325         * Makefile.in (c-common.o): Depend on $(EXPR_H).
10326
10327         * c-common.c: Include expr.h.
10328
10329         * c-pragma.c (mark_align_stack): Add prototype.
10330
10331         * caller-save.c (add_stored_regs): Likewise.
10332
10333         * combine.c (record_promoted_value): Likewise.
10334
10335         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
10336         Likewise.
10337
10338         * cppinit.c (new_pending_define): Likewise.
10339
10340         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
10341
10342         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
10343         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
10344         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
10345         class_scope_p): Likewise.
10346
10347         * dwarf2out.h (dwarf2out_set_demangle_name_func,
10348         dwarf2out_add_library_unit_info): Likewise.
10349
10350         * ggc.h (ggc_page_print_statistics): Likewise.
10351
10352         * haifa-sched.c (propagate_deps): Likewise.
10353
10354         * reg-stack.c (next_flags_user, record_label_references): Likewise.
10355
10356         * rtl.h (set_stack_check_libfunc): Likewise.
10357
10358         * toplev.h (set_fatal_function): Likewise.
10359
10360         * toplev.c (set_fatal_function): Delete prototype.
10361
10362         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
10363
10364 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
10365
10366         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
10367         (FUNC_END): Likewise.
10368
10369 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10370
10371         * caller-save.c: Include tm_p.h.
10372
10373 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10374
10375         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
10376
10377 2000-02-04  Neil Booth  <NeilB@earthling.net>
10378
10379         * cccp.c (main): Check 'dir' for a NULL pointer before passing
10380         it to strcmp.
10381
10382 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
10383
10384         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
10385         * genflags.c: Use the max_operand_1 logic from genemit.c to
10386         calculate how many arguments gen_insn prototypes have.  Remove
10387         NO_MD_PROTOTYPES ifdefs from the generated file.
10388         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
10389         file.  Cast gen_insn initializers to insn_gen_fn.
10390         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
10391         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
10392
10393 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10394
10395         * fixinc/Makefile.in (HDR): Add machname.h.
10396         (clean): Likewise.
10397
10398 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10399
10400         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
10401         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
10402         (c4x_cpu_version): Ditto.
10403         * config/c4x/c4x-protos.h: ... here.
10404
10405 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
10406
10407         * dwarf2out.c (add_abstract_origin_attribute): Don't call
10408         gen_abstract_function on our context if we're a nested function.
10409
10410 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10411
10412         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
10413         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
10414
10415 2000-02-04  Bruce Korb  <bkorb@gnu.org>
10416
10417         * fixinc/genfixes(machname.h):
10418         Move the functionality from gen-machine.h into this file.
10419         UNdef MN_NAME_PAT if there are no names to change.
10420         Also, be a little kinder when AutoGen is not present.
10421
10422         * fixinc/Makefile.in(machname.h):
10423         Change the generation rule to use genfixes.
10424
10425         * fixinc/fixfixes.c(machine_name):
10426         machine_name_fix's functionality now dependent upon whether
10427         MN_NAME_PAT is defined.
10428
10429         * fixinc/fixtests.c(machine_name):
10430         ditto.
10431
10432         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
10433         of MN_NAME_PAT.
10434
10435         * fixinc/fixlib.h(mn_get_regexps):
10436         ditto
10437
10438         * fixinc/gen-machine.h: DELETED
10439
10440 2000-02-04  Jan Hubicka  <jh@suse.cz>
10441             Richard Henderson  <rth@cygnus.com>
10442
10443         * i386.c (SAVE_REGS_FIRST): Remove.
10444         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
10445         (ix86_compute_frame_size): Likewise.
10446         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
10447         (ix86_emit_restore_regs): Remove.
10448         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
10449         when a frame pointer is in use.
10450         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
10451         instead of pop to restore a register when profitable; emit leave
10452         when profitable.
10453         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
10454         as a TYPE_LEA insn.
10455         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
10456         * i386.md (prologue_allocate_stack): Remove.
10457         (epilogue_deallocate_stack): Remove.
10458         (pro_epilogue_adjust_stack): New.
10459
10460 2000-02-04  Richard Henderson  <rth@cygnus.com>
10461
10462         * function.c (diddle_return_value): Rework to use a callback function.
10463         Use current_function_return_rtx if it's been set up.
10464         (do_clobber_return_reg, clobber_return_register): New.
10465         (do_use_return_reg, use_return_register): New.
10466         (expand_function_end): Use them.
10467         * stmt.c (expand_null_return): Likewise.
10468         * function.h: Declare them.
10469         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
10470         (mark_reg): Change arguments as appropriate for callback.
10471         * integrate.c (expand_inline_function): Revert 19 Jan change.
10472
10473 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10474
10475         * tm.texi (Values in Registers): Fix typo: "fo" "for".
10476         (Misc): Say the scheduler, not the Haifa scheduler.
10477
10478 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
10479
10480         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
10481         when in_mem is set.  Update all callers.
10482
10483 2000-02-04  Richard Henderson  <rth@cygnus.com>
10484
10485         * i386/openbsd.h (INT_ASM_OP): Define.
10486
10487 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10488
10489         * tm.texi: Fix various typos.
10490
10491 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
10492
10493         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
10494         (MD_STARTFILE_PREFIX_1): New macro.
10495
10496 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
10497
10498         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
10499         destination when needed.
10500         (strmovsi, strsetsi): New expander.
10501         (strmovsi_1, strsetsi_1): New pattern.
10502         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
10503         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
10504         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
10505         * invoke.texi (align-stringops, inline-all-stringops): Document.
10506
10507 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
10508
10509         * i386/netbsd.h (INT_ASM_OP): Define.
10510
10511 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
10512
10513         * cpplib.h (cpp_reader): Add new flag, no_directives.
10514         * cpphash.c (macarg): Set it.
10515         * cpplib.c (handle_directive): If no_directives is on and we
10516         find a directive, issue an error and discard the line.
10517
10518 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
10519
10520         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
10521         FP constants.  Add ! TARGET_FPU check for FP constants.
10522
10523 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
10524
10525         * flow.c (find_basic_blocks): Don't kill label_value_list
10526         here.
10527         (cleanup_cfg): Kill it here.
10528
10529 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10530
10531         * expr.c (store_field): Ensure ALIGN is no stricter than the
10532         alignment of EXP.
10533
10534 2000-02-02  Richard Henderson  <rth@cygnus.com>
10535
10536         * jump.c (delete_insn): Partially revert 19 Jan change;
10537         don't convert unused code labels to notes at -O0.
10538
10539 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10540
10541         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
10542         split_all_insns to recreate REG_LABEL notes for flow2 pass.
10543
10544 2000-02-01  Richard Henderson  <rth@cygnus.com>
10545
10546         * i386.c (general_no_elim_operand): New.
10547         (nonmemory_no_elim_operand): New.
10548         (ix86_expand_move): Copy eliminable operands before a push.
10549         * i386-protos.h: Declare new functions.
10550         * i386.h (CAN_ELIMINATE): Simplify.
10551         (PREDICATE_CODES): Update.
10552         * i386.md (push insns): Don't allow eliminable register operands.
10553
10554 2000-02-01  Richard Henderson  <rth@cygnus.com>
10555
10556         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
10557         replace BLKmode with DECL_RTL's mode.
10558
10559 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
10560
10561         * frame.c (find_fde): Convert for loop to do-while so compiler
10562         sees it's always executed at least once.
10563         * libgcc2.c (BBINBUFSIZE): Kill.
10564         (__bb_init_prg): Use fgets.
10565         (__bb_exit_trace_func): Don't paste strings.
10566         * unroll.c (unroll_loop): Initialize unroll_type, not
10567         unroll_number, and tweak logic to match.
10568
10569         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
10570         all failure paths.
10571         (ix86_flags_dependant): Likewise.  Disentangle control flow.
10572         (ix86_sched_reorder): Break guts out to
10573         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
10574         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
10575         any possible use.
10576
10577         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
10578         use string concatenation.  Don't save and restore esi.
10579
10580         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
10581         (machname.h): Remove script to separate file.  Use two-step
10582         sequence so target is not created if script fails.
10583         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
10584         identifiers are defined.
10585         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
10586         an empty string, machine_name doesn't need to do anything at
10587         all.
10588         (is_cxx_header): Add more cases to regexp.
10589         * fixinc/fixlib.h: Update prototype.
10590         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
10591         mn_get_regexps.
10592         * fixinc/fixincl.c: Define NO_BOGOSITY.
10593
10594         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
10595         (hp_sysfile): Add missing comma.
10596         (math_exception): Put the wrapper ifdefs at the beginning and
10597         the end of the file.
10598         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
10599
10600 2000-02-01  Richard Henderson  <rth@cygnus.com>
10601
10602         * sparc.c (fp_zero_operand): Turn into a normal predicate.
10603         Use CONST0_RTX.  Update all callers.
10604         * sparc.h, sparc-protos.h: Update accordingly.
10605         * sparc.md (fp mov insns): Use fp_zero_operand directly
10606         where applicable.
10607
10608 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10609
10610         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
10611         example.
10612
10613 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10614
10615         * Makefile.in (specs.ready): New target.
10616         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
10617
10618 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10619
10620         * fixinc.irix: Use unique filenames for writing into /tmp,
10621         * fixinc.ptx: Likewise.
10622         * fixinc.sco: Likewise.
10623         * fixinc.svr4: Likewise.
10624         * fixinc.winnt: Likewise.
10625
10626 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10627
10628         * tsystem.h: New file.
10629
10630         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
10631         s-crtS): Depend on tsystem.h.
10632
10633         * crtstuff.c: Include tsystem.h.
10634         * frame.c: Likewise.
10635         * libgcc2.c: Likewise.
10636
10637 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
10638
10639         * builtins.c (expand_builtin_memset): Expand for variable sized
10640         lengths too.
10641
10642 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au>
10643
10644         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
10645         on ABI.
10646
10647 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10648
10649         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
10650
10651         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
10652
10653 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
10654
10655         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
10656         case 3->2 combining (combining with splitting) in which 2 is CC0
10657         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
10658         checked at the begining of the function with the aid of calling
10659         function 'can_combine_p'.
10660
10661 2000-01-31  Dave Brolley  <brolley@redhat.com>
10662
10663         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
10664
10665 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
10666
10667         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
10668         new label.
10669
10670 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10671
10672         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
10673
10674         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
10675         PROTO -> PARAMS.
10676
10677 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
10678
10679         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
10680         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
10681         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
10682         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
10683         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
10684         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
10685         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
10686         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
10687         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
10688         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
10689
10690         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
10691         Add %(cpp_cpu) to CPP_SPEC.
10692
10693         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
10694         Add %(cc1_cpu) to CC1_SPEC.
10695
10696 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
10697
10698         * c-decl.c (c_decode_option): Accept optional numeric argument to
10699         -Wformat and set warn_format.
10700         * c-common.c: Don't emit warning about non-constant printf format
10701         string unless warn_format > 1.
10702
10703 2000-01-30  Richard Henderson  <rth@cygnus.com>
10704
10705         * alpha.md (return_internal): Allow after reload only.
10706
10707 2000-01-30  Richard Henderson  <rth@cygnus.com>
10708
10709         * i386.c (ix86_compute_frame_size): Omit padding1 if the
10710         local frame size is zero.
10711
10712 2000-01-30  Richard Henderson  <rth@cygnus.com>
10713
10714         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
10715         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
10716         * alpha.md (return): Turn into an expander.
10717         (return_internal): Don't use $26.
10718         (epilogue): Emit the return insn.
10719
10720 2000-01-30  Richard Henderson  <rth@cygnus.com>
10721
10722         * alpha.md (negtf2, abstf2): Fix word order thinko.
10723         (extendsftf2): New.
10724         (trunctfsf2): Avoid intermediate rounding errors.
10725
10726 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
10727
10728         * cppfiles.c (find_position): Drop 'colp' argument, return the
10729         new line base.
10730         (read_and_prescan): Adjust to match.  Don't ever manipulate
10731         line or line_base except via find_position.
10732
10733 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
10734
10735         * c-parse.in: Apply Ulrich's changes from c-parse.y.
10736         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
10737         Regenerate.
10738
10739 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
10740
10741         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
10742         just print "<command line>".  If 'filename' is null or an
10743         empty string, print "<stdin>" for the filename.
10744         * cpplib.c (do_define): Don't print the 'location of the
10745         previous definition' message if we're still parsing the
10746         command line.
10747         (cpp_pedwarn_with_file_and_line): Always call
10748         cpp_file_line_for_message.
10749
10750 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
10751
10752         * flow.c (mark_regs_live_at_end): Fix typo.
10753
10754 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
10755
10756         * c-common.c: Adjust variable names, comments, help strings to c99.
10757         * c-lex.c: Likewise.
10758         * c-parse.y: Likewise.
10759         * c-tree.h: Likewise.
10760         * cccp.c: Likewise.
10761         * cpplib.h: Likewise.
10762         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
10763         * cppinit.c: Likewise.
10764
10765 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10766
10767         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
10768         * c4x.c: Define the optab rtx values.
10769         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
10770         (c4x_emit_libcall): Use new optab rtx values.
10771         (c4x_emit_libcall3): Likewise.
10772         (c4x_emit_libcall_mulhi): Likewise.
10773         * c4x-protos.h: Add prototypes for optab rtx values and change
10774         prototypes for above c4x_emit_libcall functions.
10775
10776 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10777
10778         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
10779         syntax is used.
10780         (c4x_function_prologue): Use regnames intead of float_reg_names when
10781         TI syntax is used.
10782         (c4x_function_epilogue): Likewise.
10783         (c4x_print_operand): Likewise.
10784         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
10785         * c4x.md (set_high): Disable for TARGET_TI.
10786
10787 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10788
10789         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
10790         of framepointer + constant to ADDR_REGS class.
10791         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
10792         * c4x.c (std_or_reg_operand): New function.
10793         * c4x-protos.h (std_or_reg_operand): Prototype it.
10794
10795 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10796
10797         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
10798                 object names as libgcc2.c.
10799         * libgcc.S: Use newly defined names.
10800
10801 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
10802         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
10803         function.
10804         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
10805         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
10806         (FLOW_LOOP_LAST_BLOCK): Likewise.
10807
10808 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10809
10810         * basic-block.h (struct loop): New fields 'first' and 'last'.
10811         * flow.c (flow_loops_find): Compute loop->first and loop->last.
10812         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
10813         and loop->last to check for NOTE_INSN_LOOP_END.
10814
10815 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
10816
10817         * predict.c (estimate_probability): Use the new FIRST and LAST fields
10818         of the loop descriptor rather than HEADER and LATCH. Also added
10819         missing break statements as well making some coding style modifications
10820         as suggested by Michael Hayes.
10821
10822 2000-01-28  Richard Henderson  <rth@cygnus.com>
10823
10824         * flow.c (find_basic_blocks): Remove do_cleanup argument.
10825         Break out that code ...
10826         (cleanup_cfg): ... here.
10827         (commit_one_edge_insertion): Detect a return instruction being
10828         emitted to an edge.  Emit a barrier following; clear fallthru.
10829         (commit_edge_insertions): Verify CFG consistency.
10830         * function.c (expand_function_start): Kill unused variable.
10831         (expand_function_end): Likewise.
10832         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
10833         to insert the epilogue.
10834
10835         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
10836         (delete_null_pointer_checks): Likewise.
10837         * output.h: Likewise.
10838         * reg-stack.c (reg_to_stack): Likewise.
10839         * toplev.c (rest_of_compilation): Likewise.  Run
10840         thread_prologue_and_epilogue_insns after rebuilding the CFG.
10841
10842 2000-01-28  Richard Henderson  <rth@cygnus.com>
10843
10844         * Makefile.in (flow.o): Revert 24 Jan change.
10845         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
10846         FUNCTION_VALUE result to DECL_RESULT's mode.
10847
10848         * haifa-sched.c (schedule_insns): Don't recompute reg info
10849         after reload.
10850
10851 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
10852
10853         * configure.in: Make --enable-cpplib the default.
10854         * configure: Regenerate.
10855         * gcc.dg/990119-1.c: No longer expected to fail.
10856
10857 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
10858
10859         * jump.c (jump_optimize_1): Delete an optimization that is also done
10860         by merge_blocks in flow.
10861
10862 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10863
10864         * diagnostic.c (build_message_string, output_printf,
10865         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
10866         (build_location_prefix): Fix non-literal format string.
10867
10868 2000-01-27  Richard Henderson  <rth@cygnus.com>
10869
10870         * alpha.md (trunctfsf2): New.
10871
10872 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
10873
10874         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
10875
10876 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
10877
10878         * cppinit.c (cpp_handle_option): Recognize C++ comments under
10879         -std=gnu89.
10880         * cpplib.c (skip_block_comment, skip_line_comment): Split code
10881         out of...
10882         (skip_comment) ... here.  Permit C++ comments in system
10883         headers always.  Warn about C++ comments in user code under
10884         -std=gnu89 -pedantic.
10885         (copy_comment): Use skip_comment.
10886         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
10887         return EOF.
10888         (consider_directive_while_skipping, do_else, do_endif): Call
10889         validate_else unconditionally.
10890         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
10891         text after the conditional in a system header.
10892         * cpplib.h (struct cpp_buffer): Add flag
10893         warned_cplusplus_comments.
10894
10895 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
10896
10897         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
10898         Use unshare_all_rtl_1.
10899         (unshare_all_rtl_again): New function.
10900         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
10901
10902         * function.c (purge_addressof_1): Use unshare_all_rtl_again
10903         rather than resetting the 'used' flags ourself.
10904
10905         * toplev.c (rest_of_compilation): Add current_function_decl
10906         to the unshare_all_rtl call.
10907         * tree.h: Prototype unshare_all_rtl.
10908         * rtl.h: Prototype unshare_all_rtl_again here.
10909
10910 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
10911
10912         * genoutput.c (output_prologue): Include ggc.h in generated
10913         files.
10914         * Makefile.in (insn-output.o): Depends on ggc.h.
10915
10916 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
10917             Hans-Peter Nilsson  <hp@bitrange.com>
10918
10919         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
10920         Remove redundant include of xm-ns32k.h.
10921         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
10922         Remove redundant include of xm-ns32k.h.
10923         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
10924         Remove redundant include of xm-ns32k.h.
10925         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
10926
10927         * ns32k/ns32k.h: Update comment on multiply-add instructions.
10928         (TARGET_SWITCHES): Add documentation strings.
10929         (DWARF_FRAME_REGNUM): Override default definition.
10930         (REG_CLASS_CONTENTS): Add comments.
10931         (SUBSET_P): Format to reduce line length.
10932         (SMALL_REGISTER_CLASSES): Make a run time option.
10933         (GO_IF_NONINDEXED_ADDRESS): Reformat.
10934         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
10935         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
10936         (regclass_map): fix typo in comment.
10937         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
10938         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
10939         (trace, reg_or_mem_operand): Delete, unused function.
10940         (calc_address_cost): Small offsets are cheaper than large ones.
10941         (expand_block_move): Generate more efficient code when bytes is a
10942         known at compile time.
10943         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
10944         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
10945         instead of reg_or_mem_operand.
10946
10947         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
10948         not general_operand.  Similarly use "=rm" or stricter, not "=g".
10949         For input operands, use stricter constraints than "g" if not
10950         general_operand.  Similarly use stricter predicate than
10951         "general_operand" when stricter constraints than "g" are present,
10952         except for matching constraints.
10953         (movstrsi): Use "memory_operand" for operands 0 and 1.
10954         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
10955         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
10956         not reg_or_mem_operand.
10957         (udivmoddisi4): Ditto.
10958         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
10959         Use nonimmediate_operand for operand 3, not register_operand.
10960         (udivmoddiqi4_internal): Use register_operand for operand 1, not
10961         reg_or_mem_operand.
10962
10963 2000-01-27  Fred Fish  <fnf@be.com>
10964
10965         * gthr-posix.h: Fix typo; compatibily -> compatibility.
10966         * gthr-single.h: Likewise.
10967         * gthr-solaris.h: Likewise.
10968         * gthr-vxworks.h: Likewise.
10969         * gthr-win32.h: Likewise.
10970         * gthr.h: Likewise.
10971
10972 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
10973
10974         * cppinit.c: Add " (cpplib)" to end of string printed by
10975         -v / --version.
10976
10977 2000-01-27  Richard Henderson  <rth@cygnus.com>
10978
10979         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
10980         testing for a signed comparison.
10981         (alpha_emit_floatuns): New.
10982         * alpha-protos.h: Declare it.
10983         * alpha.md (floatunsdisf2, floatunsdidf2): New.
10984         (extendsfdf2): Tidy.
10985
10986 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
10987
10988         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
10989         no -g option specifying debugging format, default to -gstabs+.
10990
10991 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
10992
10993         * calls.c (special_function_p): New argument fork_or_exec.
10994         (expand_call): When profile_arc_flag is set and the function
10995         is in the fork_or_exec group, call __bb_fork_func first.
10996         * libgcc2.c, _bb module (__bb_fork_func): New function.
10997         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
10998         output file.
10999         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
11000         * tree.h (special_function_p): Update prototype.
11001
11002 2000-01-26  Richard Henderson  <rth@cygnus.com>
11003
11004         * alpha.c (alpha_split_tfmode_pair): New.
11005         * alpha-protos.h: Declare it.
11006         * alpha.md (abstf2, negtf2): New.
11007         (movtf insn): Add input G constraint.
11008         (movtf splitter): Use alpha_split_tfmode_pair.
11009
11010 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11011
11012         * i386/cygwin.h: PROTO -> PARAMS.
11013
11014 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
11015
11016         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
11017         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
11018         using _Qp_cmp/_Q_cmp and testing the return value.
11019         (print_operand): Call reverse_condition_maybe_unordered if
11020         we are handling CCFPmode or CCFPEmode.
11021         Handle ORDERED, UN* and LTGT comparisons.
11022         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
11023         if not TARGET_HARD_QUAD.
11024         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
11025         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
11026         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
11027         Adjust gen_b* calls so that they reflect return comparison of
11028         sparc_emit_float_lib_cmp.
11029
11030 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11031
11032         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
11033         incoming operands array is large enough for one more operand.
11034         (alpha_emit_xfloating_arith): Likewise.
11035
11036 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
11037
11038         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
11039         file with one line and no trailing newline.
11040         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
11041         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
11042         checking if the match is on the line.
11043         * fixinc/gnu-regex.c: Provide regerror not __regerror.
11044
11045 2000-01-25  Richard Henderson  <rth@cygnus.com>
11046
11047         * sparc.c (output_cbranch): Fix accidental squashing of the
11048         fp branch pre-delay nop.
11049
11050 2000-01-25  Richard Henderson  <rth@cygnus.com>
11051
11052         * tree.def (UNNE_EXPR): Remove.
11053         * c-typeck.c (build_binary_op): Don't handle it.
11054         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
11055
11056         * rtl.def (UNNE): Remove.
11057         (LTGT): Add.
11058         * jump.c (reverse_condition): Update accordingly.
11059         (swap_condition): Likewise.
11060         (comparison_dominates_p): Handle unordered comparisons.
11061         (reverse_condition_maybe_unordered): New.
11062         * rtl.h (reverse_condition_maybe_unordered): Declare.
11063
11064         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
11065         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
11066         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
11067         * sparc.md (bltgt): New.
11068
11069 2000-01-25  Nick Clifton  <nickc@redhat.com>
11070
11071         * emit-rtl.c (emit_insn): Only check machine class insns for
11072         improper emission of a RETURN.
11073
11074 2000-01-25  Richard Henderson  <rth@cygnus.com>
11075
11076         * Makefile.in (flow.o): Depend on $(EXPR_H).
11077         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
11078         duplicate the structure of diddle_return_value for keeping regs live.
11079
11080 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11081
11082         * loop.c (current_loop_info): Delete.
11083         (consec_sets_invariant_p): Add loop argument, update callers.
11084         (get_condition_for_loop): Likewise.
11085         (count_nonfixed_reads, update_giv_derive): Likewise.
11086         (simplify_giv_expr, general_induction_var): Likewise.
11087         (consec_sets_giv, recombine_givs): Likewise.
11088         (move_movables): Delete loop_start and loop_end arguments,
11089         add loop argument, and update callers.
11090         (find_mem_givs, check_final_value): Likewise.
11091         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
11092         (loop_invariant_p): Rename from invariant_p, add loop argument, and
11093         update callers.
11094         (basic_induction_var): Add loop argument, delete loop_level argument,
11095         and update callers.
11096         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
11097         add loop argument, and update callers.
11098         (find_splittable_regs, find_splittable_givs): Likewise.
11099         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
11100         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
11101         (biv_total_increment): Delete loop_start and loop_end arguments;
11102         update callers.
11103         (precondition_loop_p): Delete loop_start and loop_info arguments;
11104         update callers.
11105         * loop.h (get_condition_for_loop): Add loop argument.
11106         (biv_total_increment): Delete loop_start and loop_end arguments.
11107         (precondition_loop_p): Delete loop_start and loop_info arguments;
11108         add loop argument.
11109         (final_biv_value): Delete loop_start and loop_end arguments;
11110         add loop argument.
11111         (final_giv_value, back_branch_in_range_p): Likewise.
11112
11113 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
11114
11115         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
11116
11117 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
11118
11119         * Makefile.in (c-gperf.h) : Change the "See" pointer to
11120         point to the new "generated_files" doc.
11121
11122 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
11123
11124         * config/fp-bit.c (_unord_f2): Fix typo.
11125
11126 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
11127
11128         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
11129         c-typeck.c, objc/objc-act.c: Remove all references to obstack
11130         functions obsoleted by GC, such as push_obstacks_nochange,
11131         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
11132         and code which existed only to decide whether or not to call
11133         them.  Remove now-unused NESTED argument from start_function;
11134         all callers changed.  Do not change behavior based on ggc_p.
11135         The use of the ixp_obstack in c-iterate.c and the util_obstack
11136         in objc/objc-act.c remain; these are not obsoleted by garbage
11137         collection.
11138         * c-tree.h: Update prototype for start_function.
11139
11140         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
11141
11142 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
11143
11144         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
11145         mips16.
11146
11147 2000-01-25  Richard Henderson  <rth@cygnus.com>
11148
11149         * sparc-protos.h (select_cc_mode): Declare.
11150         * sparc.c (select_cc_mode): New.  Handle unordered compares.
11151         (output_cbranch): Always reverse via code change.  Handle
11152         unordered compares.  Factor tests and string updates.
11153         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
11154         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
11155         * sparc.md (bunordered, bordered): New.
11156         (bungt, bunlt, buneq, bunge, bunle): New.
11157
11158 2000-01-25  Richard Henderson  <rth@cygnus.com>
11159
11160         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
11161         * ggc-common.c (ggc_add_rtx_varray_root): New.
11162         (ggc_mark_rtx_varray): New.
11163         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
11164         functions down below ggc_mark_foo.
11165         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
11166
11167 2000-01-25  Richard Henderson  <rth@cygnus.com>
11168
11169         * alpha.c (secondary_reload_class): Don't allocate a secondary
11170         for integral mode memories into FLOAT_REGS.  Rearrange the more
11171         complicated memory expression inward.
11172
11173 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
11174
11175         * inclhack.def: Fixes to play nicer with FreeBSD, and
11176         corrections to comments.
11177         (cxx_unready): Add select expression.
11178         (irix_sockaddr): Add bypass expression.
11179         (machine_ansi_h_va_list): New fix.
11180         (stdio_va_list): No need to edit _BSD_VA_LIST_.
11181         Split out addition of "#include <stdarg.h>" to...
11182         (stdio_stdarg_h): ... here.
11183         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
11184         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
11185         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
11186         size_t.
11187         (ultrix_ifdef): Tighten up select expression.
11188
11189         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
11190         re_ct and max_mach to avoid use of shell.  Make printed names
11191         match names in inclhack.def.  Use static copyright date.
11192         Don't count c_test and test expressions as requiring regex_t
11193         slots.  Add some commentary.
11194         * inclhack.tpl: Do not include the 'This script contains N
11195         fixup scripts' line if PROGRAM is defined.  Use static
11196         copyright date.
11197
11198 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
11199
11200         * dwarf2out.c: include "varray.h", not dyn-string.h.
11201         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
11202         (addr_const_to_string, addr_to_string): Lose.
11203         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
11204         (struct dw_val_struct): val_addr is now an rtx.
11205         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
11206         (used_rtx_varray): New varray.
11207         (dwarf2out_init): Initialize it.
11208         (save_rtx): New fn.
11209         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
11210         addr_to_string.
11211         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
11212         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
11213         * Makefile.in (dwarf2out.o): Update dependencies.
11214
11215 2000-01-24  Richard Henderson  <rth@cygnus.com>
11216
11217         * i386.c (i386_dwarf_output_addr_const): New.
11218         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
11219
11220         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
11221         if defined.
11222         * dwarfout.c (output_mem_loc_descriptor): Likewise.
11223         * i386.c (i386_simplify_dwarf_addr): New.
11224         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
11225
11226 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
11227
11228         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
11229         TYPE_STUB_DECL is NULL.
11230
11231 2000-01-24  Richard Henderson  <rth@cygnus.com>
11232
11233         * builtins.c (expand_tree_builtin): Move ...
11234         * c-common.c (expand_tree_builtin): ... here.
11235
11236 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11237
11238         * loop.h (LOOP_INFO): New accessor macro.
11239         * basic-block.h (struct loop): Rename field `info' to `aux'.
11240         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
11241         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
11242         * unroll.c (loop_iterations, unroll_loop): Likewise.
11243
11244 2000-01-24  Christopher Faylor <cgf@cygnus.com>
11245
11246         * config/i386/t-cygwin: Accomodate new winsup directory layout
11247         when searching for include files.
11248
11249 2000-01-24  Richard Henderson  <rth@cygnus.com>
11250
11251         * rtl.def: Add unordered fp comparisions.
11252         * tree.def: Likewise.
11253         * tree.h: Add ISO C 9x unordered fp comparision builtins.
11254
11255         * builtins.c (expand_tree_builtin): New function.
11256         * c-typeck.c (build_function_call): Use it.
11257         (build_binary_op): Support unordered compares.
11258         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
11259
11260         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
11261         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
11262         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
11263         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
11264         * jump.c (reverse_condition): Don't abort for UNLE etc, but
11265         return UNKNOWN.
11266         (swap_condition): Handle unordered compares.
11267         (thread_jumps): Check can_reverse before reversing.
11268         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
11269         reversed for FP.
11270
11271         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
11272         setcc is present before acking for cmp_optab.  Update all callers.
11273         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
11274         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
11275         * expr.c (expand_expr): Likewise.  Support unordered compares.
11276         (do_jump, do_store_flag): Likewise.
11277         * expr.h (enum libfunc_index): Add unordered compares.
11278
11279         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
11280         (DPBIT_FUNCS): Add _unord_df.
11281         * config/fp-bit.c (_unord_f2): New.
11282         * fp-test.c (main): Try unordered compare builtins.
11283
11284         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
11285         * alpha.c (alpha_comparison_operator): Check mode properly.
11286         (alpha_swapped_comparison_operator): Likewise.
11287         (signed_comparison_operator): Likewise.
11288         (alpha_fp_comparison_operator): New.
11289         (alpha_emit_conditional_branch): Handle unordered compares.
11290         * alpha.h (PREDICATE_CODES): Update.
11291         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
11292         (bunordered, bordered): New.
11293
11294 2000-01-24  Richard Henderson  <rth@cygnus.com>
11295
11296         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
11297         * alpha.md (movtf): New expander, insn, and splitter.
11298
11299 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
11300
11301         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
11302         dead registers.
11303
11304 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
11305
11306         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
11307         (FIXED_REGISTERS, CALL_USED_REGISTERS,
11308          REG_ALLOC_ORDER): Add frame pointer
11309         (FRAME_POINTER_REGNUM): Set to 20
11310         (HARD_FRAME_POINTER_REGNUM): New macro.
11311         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
11312         to HARD_FRAME_POINTER.
11313         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
11314         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
11315         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
11316         (HI_REGISTER_NAMES): Add "frame".
11317         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
11318         (debug_reg): Handle FRAME_POINTER_REGNUM.
11319         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
11320         GENERAL_REGS and INDEX_REGS.
11321         * i386.c (SAVED_REGS_FIRST): new macro.
11322         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
11323         (ix86_decompose_address, memory_address_length): Likewise.
11324         (regclass_map): Add frame pointer.
11325         (call_insn_operand): Handle frame_pointer_rtx.
11326         (reg_no_sp_operand): Likewise.
11327         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
11328         (print_operand, legitimize_pic_address): Fix formating.
11329         (ix86_compute_frame_size): Make static, update prototype, new
11330         parameters padding1, padding2, use ix86_nsaved_regs, use
11331         stack_alignment_needed.
11332         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
11333         to HARD_FRAME_POINTER_REGNUM conversions.
11334         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
11335         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
11336         (print_reg): Abort on FRAME_POINTER_REGNUM
11337
11338 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
11339
11340         * i386.h (PREDICATE_CODES): Add aligned_operand.
11341         * i386.c (aligned_operand): New function.
11342         (ix86_aligned_p): Kill.
11343         * i386.md (movhi_1): Emit mov for aligned operands.
11344         (promoting peep2s): Use aligned_operand.
11345
11346 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
11347
11348         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
11349         expression to allow underscores in macro names.
11350         (fix_char_macro_defines): Increment scanning pointer.
11351
11352 2000-01-23  Richard Henderson  <rth@cygnus.com>
11353
11354         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
11355         * alpha/osf5.h: New file.
11356         * configure.in (alpha-*-osf5): Add it to tm_file.
11357
11358         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
11359
11360         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
11361         (alpha_emit_xfloating_cvt, function_arg): Declare.
11362         * alpha.c (alpha_emit_conditional_branch): Call
11363         alpha_emit_xfloating_compare for TFmode compares.
11364         (alpha_lookup_xfloating_lib_func): New.
11365         (alpha_compute_xfloating_mode_arg): New.
11366         (alpha_emit_xfloating_libcall): New.
11367         (alpha_emit_xfloating_arith): New.
11368         (alpha_emit_xfloating_compare): New.
11369         (alpha_emit_xfloating_cvt): New.
11370         (print_operand): Add default abort case.
11371         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
11372         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
11373         (BIGGEST_ALIGNMENT): Increase to 128 bits.
11374         (RETURN_IN_MEMORY): True for TF/TCmode.
11375         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
11376         (FUNCTION_ARG): Move to function_arg.
11377         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
11378         (ASM_OUTPUT_LONG_DOUBLE): New.
11379         (ASM_OUTPUT_DOUBLE): Always output bits.
11380         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
11381         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
11382         (extenddftf2, trunctfdf2): New.
11383
11384 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11385
11386         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
11387         * config/sparc/sol2.h: ... here.
11388
11389 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11390
11391         * basic-block.h (struct loops): New field `levels'.
11392         * flow.c (flow_loops_level_compute): Traverse all outer loops.
11393         (flow_loop_level_compute): Initialise level to 1.
11394         (flow_loops_find): Set loops->levels.
11395         (flow_loops_dump): Print loops->levels.
11396
11397 2000-01-23  Richard Henderson  <rth@cygnus.com>
11398
11399         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
11400         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
11401
11402 2000-01-23  Richard Henderson  <rth@cygnus.com>
11403
11404         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
11405         * i386.h (DBX_REGISTER_NUMBER): Use them.
11406         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
11407         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
11408         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
11409         * i386/sequent.h: Kill incorrect comment.
11410
11411 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
11412
11413         * ggc-page.c (struct page_entry): Make `context_depth' an
11414         `unsigned short'.
11415         (struct globals): Likewise.
11416
11417 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
11418
11419         * loop.c (check_dbra_loop): When checking a loop for
11420         reversability, check the source of any stores to ensure
11421         they don't depend on an initial value.
11422
11423 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11424
11425         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
11426
11427 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
11428
11429         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
11430         'pz_scan' into scope of entire function.  Only affects
11431         compiles with -DDEBUG.
11432
11433 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
11434
11435         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
11436         section naming to that prior to 2000-01-07 patch.
11437         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
11438         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
11439         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
11440         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
11441         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
11442
11443 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
11444
11445         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
11446         constant.
11447
11448 2000-01-21  Jim Wilson  <wilson@cygnus.com>
11449
11450         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
11451         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
11452
11453 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
11454
11455         * cpphash.c (change_newlines): Delete function.
11456         (struct argdata): Delete 'newlines' and 'use_count' fields.
11457         (macroexpand): Remove code referencing those fields.
11458
11459 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11460
11461         * loop.c (loops_info): New variable.
11462         (loop_optimize): Allocate loops->array and free it on exit.
11463         Allocate memory for loops_info and assign to each loop,
11464         replacing alloca.
11465         (find_and_verify_loops): Do not allocate loops->array.
11466
11467 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
11468
11469         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
11470
11471 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
11472
11473         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
11474         pseudos if expanded after first flow.
11475         (movdi_pic_label_ref): Likewise.
11476
11477 2000-01-20  Richard Henderson  <rth@cygnus.com>
11478
11479         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
11480
11481 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
11482
11483         * Makefile.in (fixinc.sh): Depend on specs.
11484         * fixinc/Makefile.in: Add rule to create machname.h.
11485         (fixlib.o): Depend on machname.h.
11486         * fixinc/fixtests.c (machine_name): New test.
11487         * fixinc/fixfixes.c (machine_name): New fix.
11488         * fixinc/fixlib.c (mn_get_regexps): New helper function for
11489         the machine_name test and fix.
11490         * fixinc/fixlib.h: Prototype it.
11491         * fixinc/inclhack.def (machine_name): Use the C test and fix.
11492         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
11493
11494         * gcc.c (do_spec_1) [case P]: Take care not to create
11495         identifiers with three leading or trailing underscores.
11496
11497         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
11498         (fixincl): Don't specify libraries twice on link line.
11499         (gnu-regex.o): Remove special rule.
11500         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
11501         defined by config.h.  Do not define _REGEX_RE_COMP.
11502         (regcomp): Allocate and initialize a fastmap.
11503         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
11504
11505 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
11506
11507         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
11508
11509 2000-01-19  Richard Henderson  <rth@cygnus.com>
11510
11511         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
11512         arguments with BB.  Update all callers.  Tidy line wrapping.
11513
11514 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
11515
11516         * emit-rtl.c (try_split): Return last_insn if we split the
11517         last_insn.
11518
11519 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
11520
11521         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
11522         (ix86_initial_elimination_offset): Declare.
11523         * i386.c (ix86_nsaved_regs): Break out from ...
11524         (ix86_can_use_return_insn_p): ... here.
11525         (ix86_emit_save_regs): Break out from ...
11526         (ix86_expand_prologue): ... here.
11527         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
11528         out from ...
11529         (ix86_expand_epilogue): ... here.
11530         (ix86_compute_frame_size): Make static, add prototype.
11531         (ix86_initial_elimination_offset): Break out from ...
11532         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
11533
11534 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11535
11536         * recog.h (OUT_FCN): Delete.
11537
11538         * vax.md: Call `get_insn_template' instead of OUT_FCN.
11539
11540 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11541
11542         * cppalloc.c: PROTO -> PARAMS.
11543         * cpperror.c: Likewise.
11544         * cppfiles.c: Likewise.
11545         * cpplib.c: Likewise.
11546         * cpplib.h: Likewise.
11547
11548         * config/arm/arm-protos.h: PROTO -> PARAMS.
11549         * config/arm/arm.c: Likewise.
11550         * config/c4x/c4x.c: Likewise.
11551         * config/fr30/fr30-protos.h: Likewise.
11552         * config/nextstep.c: Likewise.
11553         * config/pa/pa.c: Likewise.
11554         * config/pj/pj.c: Likewise.
11555         * config/rs6000/rs6000.c: Likewise.
11556         * config/v850/v850-protos.h: Likewise.
11557         * config/v850/v850.c: Likewise.
11558
11559 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11560
11561         * i370-protos.h: New file.
11562
11563         * i370.c: Include tm_p.h.  Fix compile time warnings.
11564
11565         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
11566         warnings.
11567
11568         * i370.md: Likewise.
11569
11570 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11571
11572         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
11573         (target_isinf, target_isnan, eisnan): Mark parameter with
11574         ATTRIBUTE_UNUSED.
11575         (eiisinf): Wrap in INFINITY.
11576         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
11577         (ibmtoe): Remove unused variable `rndsav'.
11578
11579 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11580
11581         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
11582         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
11583
11584 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
11585
11586         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
11587         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
11588         (fix_char_macro_defines, fix_char_macro_uses): New functions.
11589
11590         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
11591         Recognize Emacs mode markers also.
11592         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
11593         C++ comments in C++ headers.  Call is_cxx_header only if
11594         necessary.
11595
11596         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
11597         bypass for ncurses.
11598         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
11599         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
11600         ... these, which use the new C fixes.
11601         (math_exception): Escape literal '+' in bypass expression.
11602
11603         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
11604         Regenerate.
11605
11606 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
11607
11608         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
11609         inside the MEM.
11610
11611 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11612
11613         * loop.c (loop_optimize): Allocate loop_info structure for each loop
11614         prior to calling scan_loop.
11615
11616 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11617
11618         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
11619         (split_branches, calc_live_regs): Likewise.
11620
11621 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11622
11623         * sh.md (fpu_single, fp_mode): New attributes.
11624
11625 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11626
11627         * loop.c (current_loop_info): Renamed from loop_info_data
11628         and changed to a pointer.
11629         (loop_optimize): Allocate loop_info structure for each loop
11630         and initialise to zero.
11631         (scan_loop): Set current_loop_info.
11632
11633         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
11634         on iteration_var.
11635
11636 2000-01-19  Richard Henderson  <rth@cygnus.com>
11637
11638         * stupid.c: Die die die.
11639         * Makefile.in (OBJS): Remove stupid.o.
11640         (stupid.o): Likewise.
11641
11642         * except.c (emit_eh_context): Don't emit USEs for stupid.
11643         * explow.c (probe_stack_range): Likewise.
11644         * flags.h (obey_regdecls): Remove.
11645         * flow.c (find_basic_blocks): Don't run try_merge_blocks
11646         when not optimizing.
11647         (life_analysis): Limit data collection when not optimizing.
11648         (mark_regs_live_at_end): Always mark the return value registers.
11649         (mark_used_regs): Remove dummy RETURN case.
11650         (print_rtl_with_bb): Don't consult obey_regdecls.
11651         * function.c (use_variable, use_variable_after): Remove.
11652         (assign_parms): Consult optimize not obey_regdecls.
11653         (expand_function_start): Don't emit USEs for stupid.
11654         (expand_function_end): Likewise.
11655         * global.c (build_insn_chain): Export.
11656         * integrate.c (expand_inline_function): Kill return-value USE
11657         handling code.
11658         * jump.c (jump_optimize_1): Do simple jump optimizations and
11659         dead code elimination.
11660         (calculate_can_reach_end): Remove check_deleted argument.
11661         (delete_insn): Patch out insns even when not optimizing.
11662         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
11663         * rtl.h (use_variable, use_variable_after): Remove declarations.
11664         (build_insn_chain): Declare.
11665         * stmt.c (expand_value_return): Don't emit USEs for stupid.
11666         (expand_end_bindings): Likewise.
11667         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
11668         * toplev.c (obey_regdecls): Remove.
11669         (rest_of_compilation): Don't set it.  Kill stupid in favour of
11670         flow1, local-alloc, and reload.
11671         (main): Don't set obey_regdecls.
11672
11673         * config/nextstep.c (handle_pragma): Likewise.
11674
11675         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
11676
11677         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
11678
11679 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11680
11681         * alpha-protos.h: PROTO -> PARAMS.
11682         * alpha.c: Likewise.
11683         * elf.h: Likewise.
11684         * h8300.c: Likewise.
11685         * i386-protos.h: Likewise.
11686         * i386.c: Likewise.
11687         * m32r-protos.h: Likewise.
11688         * m32r.c: Likewise.
11689         * mips.c: Likewise.
11690         * mips.md: Likewise.
11691         * gmon-sol2.c: Likewise.
11692         * sparc.c: Likewise.
11693
11694 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11695
11696         * ns32k-protos.h: New file.
11697
11698         * ns32k.c: Fix compile time warnings.
11699
11700         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
11701         warnings.
11702
11703         * ns32k.md: Likewise.
11704
11705 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11706
11707         * vax-protos.h: New file.
11708
11709         * vax.c: Fix compile time warnings.
11710
11711         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
11712         warnings.
11713
11714         * vax.md: Likewise.
11715
11716         * vaxv.md: Likewise.
11717
11718 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11719
11720         * romp-protos.h: New file.
11721
11722         * romp.c: Fix compile time warnings.
11723
11724         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
11725         warnings.
11726
11727         * romp.md: Likewise.
11728
11729 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11730
11731         * we32k-protos.h: New file.
11732
11733         * we32k.c: Fix compile time warnings.
11734
11735         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
11736         warnings.
11737
11738 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11739
11740         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
11741
11742         * except.c (eh_regs): Likewise.
11743
11744         * final.c (output_operand): Likewise.
11745
11746         * fold-const.c (target_isinf, target_isnan): Likewise.
11747
11748 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
11749
11750         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
11751         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
11752
11753         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
11754         when optimize_size.
11755         (clrstrsi): Rewrite.
11756         (strsethi, strsetqi): New expanders.
11757         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
11758         (cmpstrsi): Emit compare insn before cmpstrsi_1
11759         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
11760         (strlensi_1): Likewise.
11761         (cmpstrsi_1): Likewise; do not output compare.
11762         (strlen expander): Do not unroll when optimizing for size.
11763         (*subsi3_carry): Rename to subsi3_carry
11764         (addqi3_cc): New pattern.
11765         * i386.h (processor_costs): Add move_ratio field.
11766         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
11767         * i386.c (*_cost): Set move_ratio.
11768         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
11769         (x86_expand_strlensi_1): Rewrite the main loop.
11770
11771 2000-01-17  Richard Henderson  <rth@cygnus.com>
11772
11773         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
11774         * cse.c (find_comparison_args, fold_rtx): Likewise.
11775         * integrate.c (subst_constants): Likewise.
11776         * loop.c (get_condition): Likewise.
11777
11778         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
11779
11780         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
11781
11782 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11783
11784         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
11785         (RESTORE_WARN_FLAGS): Unpack it.
11786         Change semantic type of extension to ttype.
11787         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
11788         * c-parse.y, c-parse.c, objc/objc-parse.y,
11789         objc/objc-parse.c: Regenerate.
11790
11791 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
11792
11793         * fixinc/fixlib.c: Add copyright notice.
11794         (compile_re): New function.
11795         * fixinc/fixlib.h: Prototype compile_re.
11796
11797         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
11798         Use compile_re to compile regular expressions.
11799
11800         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
11801         where the pattern matched.
11802
11803         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
11804         use 'replace'.
11805         (ultrix_ansi_compat): Likewise.
11806         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
11807         add egrep test.
11808         (interactv_add2, interactv_add3): Delete.
11809         (x11_sprintf): Don't use filename glob.
11810         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
11811         Regenerate.
11812
11813 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11814
11815         * print-rtl.c: PROTO -> PARAMS.
11816         * real.c: Likewise.
11817         * reg-stack.c: Likewise.
11818         * resource.c: Likewise.
11819         * sdbout.h: Likewise.
11820         * simplify-rtx.c: Likewise.
11821         * stor-layout.c: Likewise.
11822         * stupid.c: Likewise.
11823         * xcoffout.c: Likewise.
11824         * xcoffout.h: Likewise.
11825
11826 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11827
11828         * toplev.c: PROTO -> PARAMS.
11829         * toplev.h: Likewise.
11830         * tree.c: Likewise.
11831         * tree.h: Likewise.
11832         * unroll.c: Likewise.
11833         * varasm.c: Likewise.
11834         * varray.c: Likewise.
11835         * varray.h: Likewise.
11836
11837 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11838
11839         * reload.c: PROTO -> PARAMS.
11840         * reload.h: Likewise.
11841         * reload1.c: Likewise.
11842         * reorg.c: Likewise.
11843         * resource.h: Likewise.
11844         * rtl.c: Likewise.
11845         * rtl.h: Likewise.
11846         * rtlanal.c: Likewise.
11847         * sbitmap.h: Likewise.
11848         * sdbout.c: Likewise.
11849         * stack.h: Likewise.
11850         * stmt.c: Likewise.
11851         * system.h: Likewise.
11852
11853 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11854
11855         * machmode.h: PROTO -> PARAMS.
11856         * mbchar.h: Likewise.
11857         * mips-tdump.c: Likewise.
11858         * mips-tfile.c: Likewise.
11859         * optabs.c: Likewise.
11860         * output.h: Likewise.
11861         * prefix.c: Likewise.
11862         * profile.c: Likewise.
11863         * protoize.c: Likewise.
11864         * real.h: Likewise.
11865         * recog.c: Likewise.
11866         * recog.h: Likewise.
11867         * regclass.c: Likewise.
11868         * regmove.c: Likewise.
11869         * regs.h: Likewise.
11870
11871 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11872
11873         * ggc-common.c: PROTO -> PARAMS.
11874         * ggc-page.c: Likewise.
11875         * ggc-simple.c: Likewise.
11876         * ggc.h: Likewise.
11877         * global.c: Likewise.
11878         * graph.c: Likewise.
11879         * gthr-win32.h: Likewise.
11880         * haifa-sched.c: Likewise.
11881         * halfpic.h: Likewise.
11882         * integrate.c: Likewise.
11883         * integrate.h: Likewise.
11884         * jump.c: Likewise.
11885         * lcm.c: Likewise.
11886         * local-alloc.c: Likewise.
11887         * loop.c: Likewise.
11888         * loop.h: Likewise.
11889
11890 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11891
11892         * genattr.c: PROTO -> PARAMS.
11893         * genattrtab.c: Likewise.
11894         * gencheck.c: Likewise.
11895         * gencodes.c: Likewise.
11896         * genconfig.c: Likewise.
11897         * genemit.c: Likewise.
11898         * genextract.c: Likewise.
11899         * genflags.c: Likewise.
11900         * gengenrtl.c: Likewise.
11901         * genopinit.c: Likewise.
11902         * genoutput.c: Likewise.
11903         * genpeep.c: Likewise.
11904         * genrecog.c: Likewise.
11905
11906 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
11907
11908         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
11909
11910 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11911
11912         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
11913         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
11914         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
11915         * configure, config.in: Rebuilt.
11916
11917 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
11918
11919         * config/i386/i386.md: Add peephole to merge successive stack
11920         adjusts.
11921
11922 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
11923
11924         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
11925         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
11926         when walking backwards to find all the parameter loads when
11927         the basic block ends in a call.
11928
11929 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11930
11931         * loop.c (this_loop_info): Delete.
11932         (uid_loop): Add in place of uid_loop_num.  All uses updated.
11933         (loop_number_exit_count): Delete and replace with entry in loop
11934         structure.  All uses updated.
11935         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
11936         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
11937         (loop_outer_loop): Likewise.
11938         (loop_invalid, loop_number_exit_labels): Likewise.
11939         (loop_used_count_register): Delete and replace with entry in
11940         loop_info structure.
11941         (find_and_verify_loops): Add loops argument.
11942         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
11943         loop_end, etc. arguments with loop structure pointer.  All callers
11944         changed.
11945         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
11946         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
11947         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
11948         (insert_bct): Likewise.
11949         (basic_induction_var): New argument level.
11950         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
11951         vtop, and cont.  Add used_count_register.
11952         (uid_loop): Delete declaration.
11953         (loop_number_exit_count): Likewise.
11954         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
11955         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
11956         (loop_outer_loop, loop_used_count_register): Likewise.
11957         (loop_invalid, loop_number_exit_labels): Likewise.
11958         (unroll_loop): Replace loop_start and loop_end arguments
11959         with loop structure pointer.
11960         (loop_precondition_p, loop_iterations): Likewise.
11961         Include basic-block.h.
11962         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
11963         with loop structure pointer.
11964         (loop_precondition_p, loop_iterations): Likewise.
11965         * basic-block.h (struct loop): New entries vtop, cont,
11966         cont_dominator, start, end, top, scan_start, exit_labels,
11967         exit_count.
11968         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
11969
11970 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11971
11972         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
11973
11974 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
11975
11976         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
11977
11978 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11979
11980         * pdp11-protos.h: New file.
11981
11982         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
11983         time warnings.
11984
11985         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
11986         warnings.
11987
11988         * pdp11.md: Likewise.
11989
11990         * 2bsd.h: Likewise.
11991
11992 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11993
11994         * mn10300-protos.h: New file.
11995
11996         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
11997         time warnings.
11998
11999         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
12000         warnings.
12001
12002         * mn10300.md: Likewise.
12003
12004 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12005
12006         * mn10200-protos.h: New file.
12007
12008         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
12009         time warnings.
12010
12011         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
12012         warnings.
12013
12014         * mn10200.md: Likewise.
12015
12016 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12017
12018         * h8300-protos.h: New file.
12019
12020         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
12021         time warnings.
12022
12023         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
12024         warnings.
12025
12026         * h8300.md: Likewise.
12027
12028 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12029
12030         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
12031         (asm_emit_uninitialised): Likewise.
12032
12033 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
12034
12035         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
12036         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
12037
12038 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12039
12040         * config/mips/mips.c (override_options): Don't turn on extra
12041         alignment for mips16.
12042
12043 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12044
12045         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
12046         eabi, and make sure queued POSTINCREMENT rtl is emitted at
12047         the right point.
12048
12049 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12050
12051         * builtins.c (PAD_VARARGS_DOWN): Define.
12052         (std_expand_builtin_va_arg): Use the above macro.
12053         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
12054         * tm.texi (Register Arguments): Document the above macro.
12055
12056 2000-01-14  Nick Clifton  <nickc@cygnus.com>
12057
12058         * emit-rtl.c (emit_insn): If checking is enabled, make sure
12059         that this function has not been used to emit a jump
12060         instruction.
12061
12062         * jump.c (return_jump_1): Cope with being passed a null rtx.
12063
12064 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12065
12066         * eh-common.h: PROTO -> PARAMS.
12067         * emit-rtl.c: Likewise.
12068         * errors.c: Likewise.
12069         * errors.h: Likewise.
12070         * except.c: Likewise.
12071         * except.h: Likewise.
12072         * explow.c: Likewise.
12073         * expmed.c: Likewise.
12074         * expr.c: Likewise.
12075         * expr.h: Likewise.
12076         * final.c: Likewise.
12077         * fix-header.c: Likewise.
12078         * flow.c: Likewise.
12079         * fold-const.c: Likewise.
12080         * function.c: Likewise.
12081         * function.h: Likewise.
12082         * gcc.c: Likewise.
12083         * gcov-io.h: Likewise.
12084         * gcov.c: Likewise.
12085         * gcse.c: Likewise.
12086
12087 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12088
12089         * sh-protos.h: New file.
12090
12091         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
12092         Add static prototypes.  Fix compile time warnings.
12093
12094         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
12095         * sh.md: Likewise.
12096         * elf.h: Likewise.
12097
12098 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12099
12100         * arc-protos.h: New file.
12101
12102         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
12103         time warnings.
12104
12105         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
12106         warnings.
12107
12108         * arc.md: Likewise.
12109
12110 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12111
12112         * dsp16xx-protos.h: New file.
12113
12114         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
12115         time warnings.
12116
12117         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
12118         warnings.
12119
12120         * dsp16xx.md: Likewise.
12121
12122 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12123
12124         * convex-protos.h: New file.
12125
12126         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
12127         time warnings.
12128
12129         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
12130         warnings.
12131
12132 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12133
12134         * elxsi-protos.h: New file.
12135
12136         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
12137         time warnings.
12138
12139         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
12140         warnings.
12141
12142         * elxsi.md: Likewise.
12143
12144 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12145
12146         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
12147         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
12148         match the comment for MIPS16.
12149
12150 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
12151
12152         * flow.c (split_edge): Do not call set_block_for_insn if we
12153         do not have a basic_block_for_insn structure.
12154
12155         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
12156         and destination functions are 32bit aligned within the trampoline.
12157         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
12158         (TRAMPOLINE_ALIGNMENT): Define.
12159
12160         * cse.c (cse_insn): When changing (set (pc) (reg)) to
12161         (set (pc) (label_ref)), verify the change creates a valid insn.
12162
12163         * fr30.c (call_operand): Tighten and rework to match rules for
12164         call RTL expressions.
12165         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
12166         * fr30.md (call patterns): Improve constraints.
12167
12168 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
12169
12170         * fr30.c (fr30_expand_epilogue): Revert last change.
12171         Use emit_jump_insn for the return insn.
12172
12173 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
12174                           Stan Cox  <scox@cygnus.com>
12175
12176         * predict.c: New file. Preliminary infrastructure work for static
12177         branch prediction and basic block reordering.
12178         * basic-block.h: Add prototype for estimate_probability.
12179         * Makefile.in: Add rules for predict.o.
12180
12181 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
12182
12183         * fixincludes (va_list): Use __not_va_list__ for the dummy.
12184         * fixinc/*: Likewise.
12185
12186 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12187
12188         * cccp.c: PROTO -> PARAMS.
12189         * cexp.y: Likewise.
12190         * collect2.c: Likewise.
12191         * combine.c: Likewise.
12192         * convert.h: Likewise.
12193         * cse.c: Likewise.
12194         * dbxout.c: Likewise.
12195         * dbxout.h: Likewise.
12196         * diagnostic.c: Likewise.
12197         * doprint.c: Likewise.
12198         * dwarf2out.c: Likewise.
12199         * dwarf2out.h: Likewise.
12200         * dwarfout.c: Likewise.
12201         * dwarfout.h: Likewise.
12202         * dyn-string.h: Likewise.
12203
12204 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12205
12206         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
12207         macro conditionals guarding use.
12208
12209         * dwarf2out.c: Include "tm_p.h".
12210
12211         * function.c (locate_and_pad_parm): Mark parameter with
12212         ATTRIBUTE_UNUSED.
12213         (expand_function_end): Likewise for variable `context'.
12214
12215         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
12216
12217 2000-01-13  Nick Clifton  <nickc@cygnus.com>
12218
12219         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
12220         register to prevent compile time warnings.
12221
12222 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
12223
12224         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
12225         to avoid -Wtraditional warning.
12226
12227 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12228
12229         * 1750a-protos.h: New file.
12230
12231         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
12232         time warnings.
12233
12234         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
12235         warnings.
12236
12237         * 1750a.md: Likewise.
12238
12239 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12240
12241         * a29k-protos.h: New file.
12242
12243         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12244         time warnings.
12245
12246         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
12247         warnings.
12248
12249 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12250
12251         * clipper-protos.h: New file.
12252
12253         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
12254         time warnings.
12255
12256         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
12257         warnings.
12258
12259 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12260
12261         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
12262
12263 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
12264
12265         * configure.in (--enable-new-gxx-abi): New option.
12266         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
12267         * Makefile.in (GXX_ABI_FLAG): New variable.
12268         * configure: Regenerate.
12269
12270 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12271
12272         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
12273         * tm.texi (FORCE_STRUCT_BLK): Document.
12274         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
12275
12276 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
12277
12278         * config/ns32k/ns32k.md: Revert Jan 9 change.
12279
12280         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
12281         to a mode-test, if the predicate is address_operand.
12282
12283 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
12284
12285         * combine.c (if_then_else_cond): Be careful about what kinds
12286         of RTL expressions are passed to operand_subword.
12287
12288         * flow.c (split_edge): If we have to insert a new jump, make
12289         sure to associate it with a basic block.
12290
12291         * flow.c (commit_one_edge_insertion): A block with one successor
12292         can end in a JUMP_INSN that is not a simplejump.
12293
12294 2000-01-12  Robert Lipe  <robertl@sco.com>
12295
12296         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
12297         (BUILD_VA_LIST_TYPE): Define.
12298         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
12299         with crtstuff.c.
12300
12301 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
12302
12303         * cccp.c (do_pragma): Add cast to (char *).
12304
12305 2000-01-12  Richard Henderson  <rth@cygnus.com>
12306             Fred Fish  <fnf@be.com>
12307             Jason Merrill  <jason@cygnus.com>
12308
12309         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
12310         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
12311         * i386/beos-elf.h, i386/beos-pe.h: New files.
12312
12313         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
12314         * cross-make (SYSTEM_HEADER_DIR): Define using
12315         CROSS_SYSTEM_HEADER_DIR.
12316
12317         * gcc.c (LIBRARY_PATH_ENV): Provide default.
12318         (process_command): Use it.
12319         (main): Likewise.  Kill trailing = from env vars.
12320         (build_search_list): Put it back.
12321         * collect2.c (main): Use LIBRARY_PATH_ENV.
12322
12323         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
12324         * toplev.c: Use NEED_DECLARATION_ENVIRON.
12325
12326         * tm.texi (Frame Layout): Document SMALL_STACK.
12327         * c-common.c (c_common_nodes_and_builtins): Check it.
12328
12329         * system.h: Undef alloca after including glibc's <stdlib.h>,
12330         if USE_C_ALLOCA is defined.
12331
12332         * gcc.c (set_input): New fn.
12333         (main): After all input files are compiled, reset the input file
12334         info to the first.
12335
12336         * aclocal.m4 (rindex, index): If already defined, don't attempt
12337         to redefine.
12338
12339         * ginclude/varargs.h: (__va_list__): Define ifndef.
12340         * ginclude/stdarg.h: Likewise.
12341
12342         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
12343         instead of unsigned char.
12344
12345         * hash.h (true, false, boolean): Undef before enum.
12346
12347         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
12348         proper type of "HOST_WIDE_INT *", rather than their natural type of
12349         "unsigned HOST_WIDE_INT *".
12350
12351 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12352
12353         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
12354
12355         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
12356
12357         * regclass.c (choose_hard_reg_mode): Likewise.
12358
12359         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
12360
12361         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
12362
12363 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12364
12365         * c-common.c: PROTO -> PARAMS.
12366         * c-common.h: Likewise.
12367         * c-decl.c: Likewise.
12368         * c-iterate.c: Likewise.
12369         * c-lang.c: Likewise.
12370         * c-lex.c: Likewise.
12371         * c-lex.h: Likewise.
12372         * c-parse.in: Likewise.
12373         * c-pragma.c: Likewise.
12374         * c-pragma.h: Likewise.
12375         * c-tree.h: Likewise.
12376         * c-typeck.c: Likewise.
12377         * objc/objc-act.c: Likewise.
12378         * objc/objc-act.h: Likewise.
12379
12380 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12381
12382         * m88k-protos.h: New file.
12383
12384         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12385         time warnings.
12386
12387         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
12388
12389         * m88k.md: Likewise.
12390
12391         * tekXD88.h: Likewise.
12392
12393 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12394
12395         * m68k-protos.h: New file.
12396
12397         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12398         time warnings.
12399
12400         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
12401
12402         * mot3300.h: Likewise.
12403
12404 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
12405
12406         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
12407         extract_bitlst.
12408         (extract_bitlist): Declare bitlen.
12409
12410 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
12411
12412         * cccp.c: Accept and ignore -lang-fortran.
12413
12414         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
12415         qualifiers don't match at any level of pointerness.
12416
12417 2000-01-12  Robert Lipe  <robertl@sco.com>
12418
12419         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
12420
12421 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
12422
12423         * reload1.c (reload_reg_unavailable): New static variable.
12424         (reload_reg_free_p): Test it.
12425         (reload_reg_free_for_value_p): Test it instead of
12426         reload_reg_used.
12427         (choose_reload_regs_init): Compute it.
12428
12429 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
12430
12431         * reorg.c (fill_slots_from_thread): Check modified_in_p
12432         before replacing.
12433
12434 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
12435
12436         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
12437         these nodes even if INTERNALS is not set.
12438
12439 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
12440
12441         * gcse.c (delete_null_pointer_checks_1): Cope when
12442         get_condition cannot determine the condition.
12443
12444 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
12445
12446         * toplev.h (set_message_length): Declare.
12447
12448         * diagnostic.c (obstack_chunk_alloc): Define macro.
12449         (obstack_chunk_free): Likewise.
12450         (struct output_buffer): New data structure.
12451         (vmessage): Remove.
12452         (output_maximum_width): New variable.
12453         (doing_line_wrapping, set_message_length, init_output_buffer,
12454         get_output_prefix, output_space_left, emit_output_prefix,
12455         output_newline, output_append, output_puts, dump_output,
12456         vbuild_message_string, build_message_string, build_location_prefix,
12457         voutput_notice, output_printf, line_wrapper_printf,
12458         vline_wrapper_message_with_location):  New functions. Implement
12459         automatic line wrapping.
12460         (v_message_with_decl): Make it handle automatic line wrapping.
12461         (v_error_with_file_and_line): Likewise.
12462         (v_warning_with_file_and_line): Likewise.
12463         (announce_function): Likewise.
12464         (default_print_error_function): Likewise.
12465
12466 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
12467
12468         * cpplib.h (struct cpp_options): Change lang_asm to char.
12469         Add lang_fortran.
12470         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
12471         done in cpp_handle_option now.
12472         (initialize_builtins): Take out special case code used only by
12473         __STDC_VERSION__.
12474         (cpp_handle_option): Turn off trigraphs and trigraph warnings
12475         if -traditional.  Recognize -lang-fortran and set
12476         lang_fortran, also turn off cplusplus_comments.
12477         (print_help): Document -lang-fortran.
12478         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
12479         lang_asm. Ignore all directives other than `# 123 "file"' if
12480         CPP_PREPROCESSED.
12481         (cpp_get_token): If -traditional, don't recognize directives
12482         unless the # is in column 1.
12483         (parse_string): If lang_fortran or lang_asm, silently
12484         terminate strings ('' or "") at end of line.
12485         Remove unnecessary braces.
12486
12487 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12488             Richard Henderson  <rth@cygnus.com>
12489
12490         * resource.c (mark_referenced_resources): Mark a set strict_low_part
12491         as used.
12492         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
12493         strict_low_part when possible.
12494
12495 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12496
12497         * alias.c: PROTO -> PARAMS.
12498         * basic-block.h: Likewise.
12499         * bitmap.c: Likewise.
12500         * bitmap.h: Likewise.
12501         * builtins.c: Likewise.
12502         * c-aux-info.c: Likewise.
12503         * caller-save.c: Likewise.
12504         * calls.c: Likewise.
12505
12506 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12507
12508         * Makefile.in (toplev.o): Depend on regs.h.
12509
12510         * output.h (tdesc_section): Prototype.
12511
12512         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
12513
12514         * sdbout.c: Include "tm_p.h".
12515
12516         * toplev.c: Include "regs.h".
12517
12518 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
12519
12520         * unroll.c (unroll_loop): Add EH support.
12521
12522 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12523
12524         * pa-protos.h: New file.
12525
12526         * pa.c: Include recog.h and tm_p.h.
12527         (compute_zdepwi_operands, compute_movstrsi_length,
12528         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
12529         find_addr_reg, import_milli): Add static prototypes.
12530         (pa_cpu_string, pa_arch_string): Constify a char*.
12531         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
12532         (read_only_operand): Add argument `mode'.
12533         (singlemove_string, output_move_double, output_fp_move_double,
12534         output_block_move, output_and, output_ior, output_ascii,
12535         remove_useless_addtr_insns, milli_names, output_mul_insn,
12536         output_div_insn, output_mod_insn, output_arg_descriptor,
12537         output_cbranch, output_bb, output_bvb, output_dbra, ,
12538         output_millicode_call, output_call, hppa_encode_label,
12539         output_parallel_movb, output_parallel_addb): Constify a char*.
12540         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
12541         (output_parallel_addb): Remove extra arg to `constrain_operands'
12542
12543         * pa.h:  Move all prototypes to pa-protos.h.
12544         (pa_cpu_string, pa_arch_string): Constify a char*.
12545         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
12546
12547         * pa.md: Call `function_label_operand' with mode argument.
12548         Likewise for `read_only_operand'.
12549         Fix nesting of parens in call to `symbolic_operand'.
12550
12551 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12552
12553         * i860-protos.h: New file.
12554
12555         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
12556         time warnings.
12557
12558         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
12559
12560         * i860.md: Likewise.
12561
12562 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
12563
12564         * i386.md (movstrsi expander): Rewrite.
12565         (movstrsi_1 insn): Deleted.
12566         (strmovhi, strmovqi expander): New expanders.
12567         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
12568         * i386.c (x86_single_stringop): New global variable.
12569         * i386.h (x86_single_stringop): Declare.
12570         (TARGET_SINGLE_STRINGOP): New macro.
12571
12572 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
12573
12574         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
12575         integer vararg POSTINCREMENT before the destination of the jump
12576         for the hard fp case.
12577         (function_arg_pass_by_reference): Pass a copy of CUM to
12578         FUNCTION_ARG.
12579
12580         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
12581         for CONSTANT_ADDRESS_P above while loop for subreg.
12582
12583 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
12584
12585         * flow.c (propagate_block): When a prologue/epilogue insn
12586         is marked dead, unconditionally clear libcall_is_dead and
12587         insn_is_dead, and only dump rtl if warnings aren't being
12588         suppressed.
12589
12590 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
12591
12592         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
12593         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
12594         (FIXED_REGISTERS): Set dirflag as fixed.
12595         (CALL_USED_REGISTERS): Set dirflag as used.
12596         (REG_ALLOC_ORDER): Set dirflag as last one.
12597         (DIRFLAG_REG): New macro.
12598         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
12599         (HI_REGISTER_NAMES): Add dirflag.
12600         (DEBUF_PRINT_REG): Handle dirflag.
12601         * i386.md (type attribute): New cld and str types.
12602         (length_opcode attribute): Set cld and str to 1.
12603         (memory attribute): Set str to unknown - it is not clear from the
12604         patterns.
12605         (pent_np function unit): Prefixed string operations takes 12 cycles
12606         minimally; cld takes 2 cycles.
12607         (ppro_uops attribute): Str is "many" and cld is "few".
12608         (ppro_p0 unit): Handle cld here.
12609         (k6_alux unit): Handle cld and str types.
12610         (k6_load unit): It is ocupied by str opcodes.
12611         (k6_store unit): It is ocupied by str opcodes.
12612         (athlon_decode): Str is vector decoded.
12613         (athlon_ieu): Handle str and cld.
12614         (cld pattern): New.
12615         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
12616         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
12617         cmpstrsi_nz_1 insn): Do not output cld instruction
12618
12619 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
12620
12621         * gcc.texi (G++ and GCC): Add Java and Chill.
12622         (Bug Critera): Don't list languages.
12623
12624         * gcc.texi (Incompatibilities): No longer claim most C compilers
12625         are K&R.
12626
12627         * gcc.texi (G++ and GCC): Update other front-ends list.
12628
12629 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
12630
12631         * i386.c (ix86_expand_setcc): Fix typo.
12632         (ix86_expand_movcc): Similarly.
12633
12634         * Band-aid until haifa's bitset implementation is nuked.
12635         * haifa-sched.c (extract_bitlst): New parameter for size of the
12636         bitset in bits.  All callers changed.  Avoid looking at undefined
12637         bits in the bitset.
12638         (edgeset_bitsize): New variable.
12639         (schedule_region): Initialize edgeset_bitsize.
12640
12641 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12642
12643         * Makefile.in (optabs.o): Depend on real.h
12644         (resource.o): Depend on insn-attr.h
12645
12646         * builtins.c (result_vector): Wrap prototype in macro conditions
12647         governing definition and use.
12648
12649         * c-common.c: Include tm_p.h.
12650
12651         * c-lex.c: Likewise.
12652
12653         * elfos.h: Constify a char*.
12654
12655         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
12656         (get_attr_length, shorten_branches, profile_after_prologue): Mark
12657         parameter with ATTRIBUTE_UNUSED.
12658
12659         * fold-const.c (exact_real_inverse): Wrap variable `i' in
12660         CHECK_FLOAT_VALUE.
12661
12662         * haifa-sched.c (schedule_insns): Mark parameter with
12663         ATTRIBUTE_UNUSED.
12664
12665         * optabs.c: Include real.h.
12666
12667         * real.h (ereal_atof): Add prototype arguments.
12668
12669         * resource.c: Include insn-attr.h.
12670
12671         * sdbout.c (sdbout_queue_anonymous_type,
12672         sdbout_dequeue_anonymous_types): Wrap in macro
12673         SDB_ALLOW_FORWARD_REFERENCES.
12674         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
12675         ATTRIBUTE_UNUSED.
12676
12677         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
12678
12679         * stupid.c: Include tm_p.h.
12680
12681         * tree.c (real_value_from_int_cst): Mark parameter with
12682         ATTRIBUTE_UNUSED.
12683
12684 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12685
12686         * i960-protos.h: New file.
12687
12688         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
12689         time warnings.
12690
12691         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
12692
12693 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12694
12695         * combine.c (expand_field_assignment): Do not discard SUBREGs
12696         while computing nonzero_bits.
12697
12698 2000-01-09  Nick Clifton  <nickc@cygnus.com>
12699
12700         * config/arm/arm.c: Fix compile time warnings about signed vs
12701         unsigned constants.
12702         * config/arm/arm.h: Fix compile time warnings about signed vs
12703         unsigned constants.
12704
12705 2000-01-09  Philip Blundell  <philb@gnu.org>
12706
12707         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
12708         than `ldm' with only one register.
12709         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
12710         only one register.
12711
12712         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
12713         clobbered.
12714
12715 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
12716
12717         * config/ns32k/ns32k.md (load or push effective address): Operand 1
12718         must have SImode.
12719
12720 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12721
12722         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
12723         assignment used as truth value.
12724
12725         * function.c (assign_temp): Mark parameter `dont_promote' with
12726         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
12727         PROMOTE_FOR_CALL_ONLY.
12728
12729         * genrecog.c (write_subroutine): Mark variable `operands' with
12730         ATTRIBUTE_UNUSED.
12731
12732         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
12733         ATTRIBUTE_UNUSED.
12734
12735         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
12736         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
12737
12738         * toplev.c (note_deferral_of_defined_inline_function): Likewise
12739         for `decl'.
12740
12741 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12742
12743         * config/c4x.h: Tidy up comments.
12744         * config/c4x.c: Likewise.
12745
12746 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
12747
12748         * fold-const.c (lshift_double, rshift_double): Handle
12749         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
12750
12751 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12752
12753         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
12754         in prepare_function_start().
12755
12756 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
12757
12758         * config/v850/v850.c (expand_epilogue): Interrupt functions no
12759         longer allocate extra stack for function calls.
12760
12761 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12762
12763         * config/c4x/c4x.md (*subqf3_set): Fix typo.
12764
12765 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12766
12767         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
12768
12769 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
12770
12771         * rs6000.c (processor_target_table): Add power3 as alias for 630.
12772         * aix43.h: Revert Aug 2 change.
12773         (HAS_INIT_SECTION): Define, not visible yet.
12774         (LD_INIT_SWITCH): Define, not visible yet.
12775         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
12776
12777         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
12778
12779         * collect2.c (main): Expand ld2 size further.
12780         (export_object_lst): Cast assignment to avoid warning.
12781         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
12782         (scan_prog_file, COFF): Do not collect initialization or
12783         finalization functions generated for entire shared object if
12784         init/fini support present.
12785
12786 2000-01-07  Nick Clifton  <nickc@cygnus.com>
12787
12788         * config/elfos.h: Tidy up formatting of marcos.  Make sure
12789         that .section directives are always prefixed by a tab.
12790
12791         * config/svr4.h: Add #include "elfos.h" and remove duplicate
12792         definitions.
12793
12794 2000-01-07  Matt Austern  <austern@sgi.com>
12795
12796         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
12797         expon.
12798
12799 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
12800
12801         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
12802         crtstuff.c.
12803         (crtbegin.o, s-crtS): Likewise.
12804
12805 2000-01-06  Richard Henderson  <rth@cygnus.com>
12806
12807         * alpha.md (adddi_2+1): Limit offset such that it will be
12808         loadable with a single ldah+lda pair.
12809         (adddi_2+2): Explicitly fail split if we can't make it work.
12810
12811 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
12812
12813         * protoize.c: Conditionally include unistd.h.
12814         (IS_SAME_PATH_CHAR): New macro.
12815         (IS_SAME_PATH): New macro.
12816         (CPLUS_FILE_SUFFIX): New macro.
12817         (cplus_suffix): New static variable.
12818         (is_abspath): New static function.
12819         (in_system_include_dir): Handle DOS style pathnames.
12820         (file_could_be_converted): Likewise.
12821         (file_normally_convertible): Likewise.
12822         (directory_specified_p): Likewise.
12823         (file_excluded_p): Likewise.
12824         (abspath): Likewise.
12825         (shortpath): Likewise.
12826         (referenced_file_is_newer): Likewise.
12827         (save_def_or_dec): Likewise.
12828         (do_processing): Likewise.
12829         (main): Likewise.
12830         (edit_file): Likewise. Use rename instead of link.
12831         (rename_c_file): Likewise. Don't rename syscalls file.
12832         (munge_compile_params): Define null device for DOS based systems.
12833         (process_aux_info_file): Use binary mode if appliable.
12834         (edit_file): Likewise.
12835         * invoke.texi (Running Protoize): Document C++ suffixes used.
12836
12837         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
12838         IS_DIR_SEPARATOR macros.
12839         * collect2.c: Likewise.
12840         * cppinit.c: Likewise.
12841         * dwarf2out.c: Likewise.
12842         * gcc.c: Likewise.
12843         * gcov.c: Likewise.
12844         * prefix.c: Likewise.
12845         * rtl.c: Likewise.
12846         * toplev.c: Likewise.
12847         * system.h: And move to here.
12848
12849         * prefix.c (update_path): Fix typo in variable name.
12850
12851 2000-01-06  Richard Henderson  <rth@cygnus.com>
12852
12853         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
12854         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
12855         (count_reg_sets_1, count_reg_references): Likewise.
12856         (flow_loops_level_compute): Start counting actual loop depth at 1.
12857         (flow_loops_find): Likewise.
12858         * local-alloc.c (update_equiv_regs): Likewise.
12859         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
12860
12861 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
12862
12863         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
12864         FIRST_PSEUDO_REGISTER
12865         * dwarf2out.c: Don't include frame.h
12866         * dwarfout.c: Likewise
12867         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
12868         frame.h
12869
12870 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
12871
12872         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
12873         dead registers.
12874
12875         * i386.c (movsf splitter): Fix typo in my last checkin.
12876
12877 2000-01-05  Nick Clifton  <nickc@cygnus.com>
12878
12879         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
12880         own definition of this macro.
12881         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
12882         flag_data_sections or UNIQUE_SECTION_P are true.
12883
12884         * tm.texi (UNIQUE_SECTION): Document that it can be called for
12885         unitialised data decls.
12886
12887         * config/i386/winnt.c (i386_pe_unique_section): Cope with
12888         being called for uninitialised data.
12889
12890         * config/i386/interix.c (i386_pe_unique_section): Cope with
12891         being called for uninitialised data.
12892
12893         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
12894         for uninitialised data.
12895
12896         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
12897         for uninitialised data.
12898
12899         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
12900         for uninitialised data.
12901
12902         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
12903         (UNIQUE_SECTION_P): Always generate a unique section if
12904         flag_data_sections is true.
12905         (UNIQUE_SECTION): Also generate unique sections for
12906         uninitialised data.
12907         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
12908         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
12909         named_section().
12910
12911 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12912
12913         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
12914         SI, or DI.
12915
12916 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12917
12918         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
12919         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
12920         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
12921         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
12922         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
12923
12924         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
12925
12926 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
12927
12928         * c-decl.c (finish_enum): Simplify code to determine minimum and
12929         maximum values of the enum, and calculate the type.  Remove check
12930         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
12931         the DECL_INITIAL of each enumeration constant with a copy converted
12932         to the enumeration type.  When updating variant types, don't bother
12933         updating the type itself.
12934
12935         * c-typeck.c (build_binary_op): Simplify conditional expressions
12936         when weeding out spurious signed-unsigned warnings.  Add new
12937         spurious warning category: if the unsigned quantity is an enum
12938         and its maximum value fits in signed_type(result_type).  Update
12939         commentary.
12940         (build_conditional_expr): Warn here if one alternative is signed
12941         and the other is unsigned.
12942
12943 2000-01-05  Nick Clifton  <nickc@cygnus.com>
12944
12945         * config/fr30/fr30.h: Remove extraneous comments.
12946
12947 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
12948
12949         * reload1.c (choose_reload_regs): When disabling a reload, also
12950         set reload_spill_index to -1.
12951
12952 2000-01-04  Joel Sherrill (joel@OARcorp.com>
12953
12954         * configure.in (m68*-*-rtemscoff*): New target, formal name for
12955         old m68*-*-rtems*.
12956         (m68*-*-rtemself*): New target.
12957         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
12958         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
12959         (sparc*-*-rtemself*): New target.
12960         (sparc*-*-rtems*): Now elf not a.out.
12961         * config/i386/rtems.h: Include config/rtems.h.
12962         * config/i386/rtemself.h: Include config/rtems.h.
12963         * config/i960/rtems.h: Include config/rtems.h.
12964         * config/m68k/rtems.h: Include config/rtems.h.
12965         * config/m68k/rtemself.h: Include config/rtems.h.
12966         * config/mips/rtems64.h: Include config/rtems.h.
12967         * config/pa/rtems.h: Include config/rtems.h.
12968         * config/rs6000/rtems.h: Include config/rtems.h.
12969         * config/sh/rtems.h: Include config/rtems.h.
12970         * config/sh/rtemself.h: Include config/rtems.h.
12971         * config/sparc/rtems.h: Include config/rtems.h.
12972         * config/sparc/rtemself.h: Include config/rtems.h
12973
12974 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
12975
12976         * final.c (shorten_branches): Correctly compute length of
12977         asms without operands.
12978
12979 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
12980
12981         * configure.in: Add pj target.
12982         * configure: Regenerate.
12983         * config/pj: New directory.
12984         * config/pj/lib1funcs.S: New file.
12985         * config/pj/linux.h: New file.
12986         * config/pj/pj.c: New file.
12987         * config/pj/pj.md: New file.
12988         * config/pj/pjl.h: New file.
12989         * config/pj/t-pj: New file.
12990         * config/pj/xm-pj.h: New file
12991
12992 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
12993
12994         * toplev.c (rest_of_compilation): Run shorten-branches before
12995         reg-stack for now.
12996
12997 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12998
12999         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
13000         macros so that they're consistent with their names.
13001         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
13002         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
13003
13004 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13005
13006         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
13007         modified inadvertently.
13008
13009 2000-01-04  Joel Sherrill <joel@OARcorp.com>
13010
13011         * configure.in (v850*-*-rtems*): New target.
13012         * configure: Regenerate.
13013         * config/v850/rtems.h: New file.
13014
13015 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
13016
13017         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
13018         (__gthread_key_create): Likewise.
13019         (__gthread_key_dtor):  Likewise.
13020         (__gthread_once): Fix logic.
13021         (__gthread_key_delete): Cast away constness.
13022
13023         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
13024         * invoke.texi: Document.
13025         * i386/mingw32.h (CPP_SPEC): Use.
13026         (LIBGCC_SPEC): Likewise.
13027         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
13028
13029 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
13030
13031         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
13032         (HANDLE_PRAGMA_PACK): Undefine.
13033         (SLOW_UNALIGNED_ACCESS): Define.
13034
13035 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
13036
13037         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
13038         to default definition.
13039         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
13040         (store_fixed_bit_field): Call macro with word_mode and alignment.
13041         (extract_bit_field): Call macro with relevant mode and alignment.
13042         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
13043         to default definition.
13044         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
13045         and alignment.
13046         (move_by_pieces_ninsns): Likewise.
13047         (clear_by_pieces): Likewise.
13048         (emit_push_insn): Likewise.
13049         (store_field): Call macro with relevant mode and alignment.
13050         (expand_expr): Likewise.
13051         (expand_expr_unaligned): Likewise.
13052
13053         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
13054         (SLOW_UNALIGNED_ACCESS): Define.
13055         (CASE_VECTOR_MODE): Always use 32-bit offsets.
13056         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
13057         (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
13058         (toc_section): Likewise and .toc pseudo-op.
13059         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
13060         64-bit mode.
13061         (TEXT_SECTION_ASM_OP): Likewise.
13062         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
13063         32-bit offsets.
13064
13065         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
13066         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
13067         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
13068         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
13069         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
13070
13071 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
13072
13073         * regclass.c: Revert my Jan 4 change to loop cost computation.
13074
13075 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
13076
13077         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
13078         compilation.
13079
13080 2000-01-04  Stan Cox  <scox@cygnus.com>
13081
13082         * haifa-sched.c (build_control_flow): Change unreachable simple
13083         loop test to check if current block has only one predecessor.
13084         (find_rgns): Initialize degree.  Use dest as degree index, not src.
13085
13086 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13087
13088         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
13089
13090         * calls.c (expand_call): Likewise for
13091         `old_stack_arg_under_construction'.
13092
13093         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
13094
13095         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
13096         `save_constant'.
13097
13098         * gcc.c (execute): Likewise for `ut' and `st'.
13099
13100         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
13101
13102         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
13103
13104         * jump.c (jump_optimize_1): Likewise for `temp2'.
13105
13106         * local-alloc.c (block_alloc): Likewise for `r1'.
13107
13108         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
13109
13110         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
13111         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
13112
13113         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
13114         and `set2'.
13115
13116         * reload.c (find_reloads): Likewise for `goal_alternative_number'
13117         and `goal_earlyclobber'.
13118
13119         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
13120
13121         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
13122
13123         * stupid.c (stupid_life_analysis): Likewise for `chain'.
13124
13125         * unroll.c (copy_loop_body): Likewise for `copy'.
13126
13127         * varasm.c (output_constructor): Likewise for `byte'.
13128
13129 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
13130
13131         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
13132         all FP constants for constant->reg moves.
13133         (ix86_split_to_parts): Try to convert memory address into immediate
13134         when available in the constant pool.
13135         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
13136         moves.
13137         (LEGITIMATE_CONSTANT_P): Return 1.
13138         * i386.md (pushsf): New splitter to convert constant pool memory
13139         reference to immediate.
13140         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
13141         reload.
13142
13143 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
13144
13145         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
13146         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
13147         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
13148         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
13149         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
13150
13151 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
13152
13153         * ginclude/stdbool.h:  Support compilation as C++.
13154
13155 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13156
13157         * fold-const.c (make_range): Don't try to reverse an unbounded range.
13158
13159 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
13160
13161         * regclass.c (regclass): Properly compute loop_cost.  Adjust
13162         comments.
13163
13164         * regclass.c: Fix minor whitespace problems.
13165
13166 2000-01-03  Anthony Green  <green@cygnus.com>
13167
13168         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
13169         Restore the pic register if required.
13170
13171 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
13172
13173         * c-common.c (format_char_info): Update comment.
13174         (check_format_info): Recognize 'z' modifier in the same way 'Z'
13175         was recognized.  Emit warning for formats new in ISO C99 only
13176         if flag_isoc9x is not set.
13177
13178 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
13179
13180         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
13181
13182 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
13183
13184         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
13185         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
13186         (make_compound_operation): Choose cheaper alternative between
13187         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
13188
13189         * regclass.c (op_costs): Remove global variable.
13190         (record_reg_classes): New parameter "op_costs" and "reg_pref".
13191         (record_operand_costs): Break out from ...
13192         (scan_one_insn): ... here.
13193         (dump_regclass): Make dumps nicer.
13194         (regclass): Dump preferrences choosed and changes done during passes.
13195
13196 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
13197
13198         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
13199
13200 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
13201
13202         * config/sparc/sparc.c (gen_df_reg): New function.
13203         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
13204         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
13205         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
13206         movtf_cc_reg_sp64+1): Use it.
13207
13208 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
13209
13210         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
13211         copied LABEL_DECLs.
13212
13213 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
13214
13215         * config/i386/i386.c (ix86_expand_unary_operator): Function
13216         definition made void.
13217         (ix86_expand_binary_operator): Update outdated preceding comment.
13218         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
13219         prototype.
13220
13221         * config/i386/i386.c (override_options): Fix option-name typo.
13222
13223 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
13224
13225         * system.h (CEIL): Define.
13226         * builtins.c (CEIL): Remove.
13227         * expmed.c (CEIL): Likewise.
13228         * expr.c (CEIL): Likewise.
13229         * stor-layout.c (CEIL): Likewise.
13230
13231 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13232
13233         * expr.c (store_constructor_field): Fix typo introduced with last
13234         gcc2 merge.
13235
13236 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
13237
13238         * tree.h (BINFO_N_BASETYPES): New macro.
13239
13240 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
13241
13242         * expmed.c (emit_store_flag): Prevent losing a pending stack
13243         adjust the same way we prevent losing queued increments.
13244
13245 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13246
13247         * function.c (update_temp_slot_address): Handle case where sum of
13248         temporary address plus offset in register is a valid address.
13249
13250 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
13251
13252         * genrecog.c (change_state) Corrected typo.
13253
13254 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13255
13256         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
13257         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
13258         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
13259
13260 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
13261
13262         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
13263         case, expand GT comparisons correctly.  Fix a comment before this
13264         part of the code.
13265
13266 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
13267
13268         * dwarfout.c: Include "frame.h"
13269         * dwarf2out.c: Likewise.
13270         * Makefile.in (dwarfout.o): Depend on frame.h
13271         (dwarf2out.o): Likewise.
13272
13273 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
13274
13275         Restore i386 binary compatibility in Dwarf EH info.
13276         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
13277         value of FIRST_PSEUDO_REGISTER.
13278         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
13279         (struct frame_state): Use DWARF_FRAME_REGISTERS.
13280         * dwarfout.c (output_reg_number): Ditto.
13281         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
13282         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
13283
13284 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
13285
13286         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
13287         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
13288         (<hack>_RE_CT): not needed
13289         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
13290         rewritten to scan the file text once only
13291         "template<..." test added
13292         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
13293         (is_cxx_header): declaration added
13294         * fixinc/fixtests.c(is_cxx_header): removed
13295         (apply_fix_p_t): removed
13296         (double_slash_test): is_cxx_header is only called once now
13297         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
13298         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
13299         within the templates.
13300         The borken spelling of "broken" was fixed.
13301         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
13302         The default level depends on FIXINC_DEBUG.
13303
13304 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13305
13306         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
13307         Otherwise provide a declaration for atexit.
13308         (init_dummy): Make sure dummy call to atexit is nevertheless
13309         called with correct number of args.
13310
13311         * frame.c: Update comments referring to other files.
13312
13313         * libgcc2.c: Likewise.
13314
13315 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13316
13317         * cse.c (free_element, get_element): Remove unused prototypes.
13318
13319         * fold-const.c (extract_muldiv): Initialize variables `op0' and
13320         `op1'.
13321
13322         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
13323         `else' clauses.
13324
13325 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
13326
13327         * configure.in,configure: case arm for mn10200-*-* now sets
13328         float_format=i32 so that float.h will correctly claim "double"
13329         to be 32 bits. Ran autoconf to generate configure from .in file.
13330
13331 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
13332
13333         * pa.md (conditional zero): If op1 is a register, force it into
13334         the same register as op0.
13335
13336 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
13337
13338         * tree.h (BINFO_BASETYPES): Improve documentation.
13339
13340 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13341
13342         * configure.in (--enable-checking): Use a more portable `for'
13343         loop syntax.
13344
13345 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13346
13347         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
13348         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
13349
13350         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
13351         Delete files.
13352
13353         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
13354         Delete descriptions.
13355
13356         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
13357         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
13358         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
13359         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
13360         xm-svr4.h: Remove all instances of sys_siglist handling.
13361
13362 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
13363
13364         * config/sparc/sparc.md (cmp_zero_qi,
13365         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
13366         cmp_zero_extendqidi2_andcc_set): New patterns.
13367
13368 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
13369
13370         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
13371         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
13372         (fpgnulib.c, xfgnulib.c): Add rules.
13373         * m68k/t-mot3300-gas: Likewise.
13374
13375 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
13376
13377         * configure.in: Avoid [[ by using test and changequote.  Add
13378         changequote required by 1999-12-14 change.
13379         * configure: Rebuild.
13380
13381 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
13382
13383         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
13384
13385 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
13386
13387         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
13388         * flow.c (find_use_as_address): Likewise.
13389         * function.c (fixup_var_refs_1): Likewise.
13390         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
13391         * jump.c (invert_exp, redirect_exp): Likewise.
13392         * loop.c (replace_call_address): Likewise.
13393         (count_nonfixed_reads): Likewise.
13394         * rtlanal.c (modified_between_p): Likewise.
13395         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
13396         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
13397         * unroll.c (remap_split_bivs): Likewise.
13398
13399 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13400
13401         * diagnostic.c (v_message_with_decl): Use .* format specifier
13402         instead of building the format specifier width manually.
13403
13404         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
13405         determining whether to provide a prototype.  Remove the
13406         sys_siglist clause in the conditional.
13407
13408 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
13409
13410         * fold-const.c (operand_equal_p): Use memcmp to compare string
13411         constants.
13412         Suggested by D. J. Bernstein
13413
13414 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
13415
13416         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
13417         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
13418         compiling libgcc2.
13419         * config/mips/mips.h (TARGET_64BIT): Likewise.
13420         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
13421         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
13422         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
13423         dsps.  Give routines proper names if SI/DI modes are not used.
13424         * longlong.h: Use DWunion instead of DIunion.
13425
13426 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
13427
13428         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
13429         GC_CHECKING, GC_ALWAYS_COLLECT.
13430         * configure.in: Allow --enable-checking with an argument
13431         listing check modes to enable.
13432         * config.in, configure: Rebuilt.
13433         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
13434         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
13435         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
13436         ENABLE_GC_ALWAYS_COLLECT.
13437         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
13438         throughout.
13439         * tree.h, tree.c: Change ENABLE_CHECKING to
13440         ENABLE_TREE_CHECKING throughout.
13441
13442 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13443
13444         * fold-const.c (fold_truthop): Properly check for FP RHS.
13445
13446 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
13447
13448         * toplev.h (note_deferall_of_defined_inline_function): Declare.
13449         * toplev.c (note_deferral_of_defined_inline_function): New
13450         function, split out from ...
13451         (rest_of_compilation): ... here.  Use it.
13452
13453 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13454
13455         * expr.c (store_constructor): Don't call clear_storage if size is
13456         variable.
13457
13458 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13459
13460         * Makefile.in (toplev.o): Depend on loop.h.
13461
13462         * dwarfout.c: Include tm_p.h.
13463
13464         * emit-rtl.c (restore_emit_status): Mark parameter with
13465         ATTRIBUTE_UNUSED.
13466
13467         * final.c (final_scan_insn): Likewise.
13468
13469         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
13470         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
13471         flow_depth_first_order_compute, flow_loop_pre_header_find,
13472         flow_loop_tree_node_add, flow_loops_tree_build,
13473         flow_loop_level_compute, flow_loops_level_compute,
13474         flow_loop_outside_edge_p): Add prototypes.
13475         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
13476
13477         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
13478         Mark with ATTRIBUTE_NORETURN.
13479
13480         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
13481
13482         * local-alloc.c (no_conflict_p): Likewise.
13483
13484         * loop.c (insert_bct): Hide definitions of variables with hidden
13485         usage.
13486         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
13487
13488         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
13489         with ATTRIBUTE_UNUSED.
13490         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
13491         (reg_scan): Likewise.
13492
13493         * reload.c (find_reloads): Remove unused variables `changed'.
13494
13495         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
13496         away const-ness.
13497         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
13498         Remove unused variable `insn'.
13499
13500         * toplev.c: Include loop.h.
13501         (report_file_and_line): Remove unnecessary prototype.
13502
13503         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
13504
13505         * unroll.c (biv_total_increment): Likewise.
13506
13507 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13508
13509         * reload1.c (emit_input_reload_insns): Restore old behaviour
13510         wrt. 'special' reloads.
13511
13512 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
13513
13514         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
13515         hash.h.  (cse.c): Don't depend on hashtab.h.
13516
13517         * cse.c: Don't include hashtab.h.
13518         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
13519         of dead functions.
13520         * ggc-simple.c: Don't include hash.h.
13521
13522 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
13523
13524         * dwarf2out.c (add_abstract_origin_attribute): Call
13525         gen_abstract_function on our function context.
13526
13527 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
13528
13529         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
13530
13531 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13532
13533         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
13534         case in switch.
13535
13536 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13537
13538         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
13539         constraints to "a!r".
13540
13541 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
13542
13543         * Makefile.in (calls.o): Depend on function.h.
13544         (alias.o): Likewise.
13545
13546 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
13547
13548         * reload1.c (emit_reload_insns): Break out code and variables into...
13549         (input_reload_insns, other_input_address_reload_insns,
13550         other_input_reload_insns, input_address_reload_insns,
13551         inpaddr_address_reload_insns, output_reload_insns,
13552         output_address_reload_insns, outaddr_address_reload_insns,
13553         operand_reload_insns, other_operand_reload_insns,
13554         other_output_reload_insns): ... new static variables, and...
13555         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
13556         do_output_reload): ... new functions.
13557
13558 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13559
13560         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
13561
13562 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13563
13564         * md.texi: Add c4x constraints documentation.
13565
13566 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
13567
13568         * config/i386/dgux.c (struct option): Rename to
13569         lang_independent_option.
13570         (struct m_options): Add description field.
13571         (output_options): Rename option type, add sep declaration, output
13572         ix86_cpu_string and ix86_arch_string only if set.
13573         (output_file_start): Rename option type.
13574
13575 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
13576
13577         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
13578         stmp-int-hdrs.
13579         (libgcc2.a): Similarly.
13580
13581 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
13582
13583         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
13584         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
13585         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
13586
13587 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
13588
13589         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
13590         Remove redundant initialization of "frexpon" and "expon".
13591
13592 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13593
13594         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
13595
13596         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
13597         (store_constructor_field, expand_expr): Pass new arg.
13598
13599 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
13600
13601         * Makefile.in (explow.o): Depend on function.h.
13602
13603         * stor-layout.c (set_sizetype): Fix typo.
13604
13605 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
13606
13607         * function.c (cfun): Renamed from current_function.  All users
13608         changed.
13609         * function.h (cfun): Rename declaration as well.
13610
13611         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
13612         to be of type regset_head, not regset.  All users changed by adding
13613         address operator.
13614         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
13615
13616 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13617
13618         * config/c4x/rtems.h: New file.
13619
13620 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
13621
13622         * reload1.c (spill_failure): Take class of failed reload as argument
13623         and print it.  Caller changed.
13624
13625 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13626
13627         * rs6000.h (SUBTARGET_DEFAULT): New macro.
13628         (TARGET_SWITCHES): Allow subtargets to default switches.
13629         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
13630
13631 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
13632
13633         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
13634         in a main program.
13635
13636 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
13637
13638         * cccp.c (main): Define __STDC_VERSION__ as necessary.
13639         * cppinit.c (cpp_handle_option): Likewise.
13640
13641         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
13642         determine when to define.
13643
13644 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
13645
13646         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
13647         cmove with mismatched test and data modes.
13648
13649 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
13650
13651         * c-typeck.c (c_expand_start_case): Don't warn for long switch
13652         in system headers.
13653
13654 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13655
13656         * alias.c: Minor reformatting.
13657         * flow.c: Likewise.
13658         * regs.h: Likewise.
13659         * stor-layout.c: Likewise.
13660         * fold-const.c: Likewise.
13661         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
13662         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
13663         not arg itself.
13664         (size_int_wide): Cache nodes even if garbage collecting.
13665         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
13666         of SAVE_EXPR has no side effects.
13667         * cse.c: Move a comment.
13668         * tree.c: Minor reformatting.
13669         (int_size_in_bytes): Return -1 if constant overflows.
13670
13671 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13672
13673         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
13674
13675 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
13676
13677         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
13678         after any change to c-parse.in, even if objc-parse.y didn't
13679         change.  Oops.
13680
13681 1999-12-18  David S. Miller  <davem@redhat.com>
13682
13683         * toplev.c (rest_of_compilation): Restore BLOCK tree
13684         reconstruction and branch shortening changes lost in
13685         December 18th change.
13686
13687 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
13688
13689         * config/arm/linux-elf.h: Change all instances of
13690         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
13691         * config/arm/uclinux-elf.h: Likewise.
13692
13693 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
13694
13695         * toplev.c (notice, vmessage, v_message_with_file_and_line,
13696         v_message_with_decl, file_and_line_for_asm,
13697         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
13698         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
13699         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
13700         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
13701         pfatal_with_name, fatal_io_error, need_error_newline,
13702         last_error_function, last_error_tick, announce_function,
13703         default_print_error_function, print_error_function,
13704         report_error_function, fnotice, error_with_file_and_line,
13705         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
13706         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
13707         warning_with_decl, warning_for_asm, warning, pedwarn,
13708         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
13709         diagnostic.c
13710         (compile_file): Use fnotice instead of notice.  Adjust call.
13711
13712         * diagnostic.c: New file.
13713
13714         * Makefile.in (OBJS): Include diagnostic.o
13715         (diagnostic.o): Define dependence.
13716
13717 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13718
13719         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
13720         Tweak formatting.
13721
13722 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13723
13724         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
13725
13726 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
13727
13728         * fixtests.c (is_cxx_header): New fn, split out of
13729         double_slash_test.
13730         (else_endif_label): Allow "#endif // comment" in C++ headers,
13731         as determined by is_cxx_header.
13732         * fixfixes.c (else_endif_label_fix): Update comment.
13733         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
13734         a tty.
13735         * genfixes: Correct double thinko in commandline parsing.
13736         * hackshell.tpl: Generate correct sh syntax for bypass
13737         entries.
13738
13739         * inclhack.def (all): Whenever an inserted preprocessor
13740         conditional is split over multiple lines, use double
13741         backslashes in this file so the fixed header will be readable.
13742
13743         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
13744         and add bypass entry for correct version of this header.
13745         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
13746         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
13747
13748         (hpux8_bogus_inlines): New fix, split from...
13749         (ultrix_atof_param) ... here.
13750         (math_expression): Add bypass entry keyed to glibc comment
13751         indicating the problem has been dealt with; disable
13752         unnecessary sed operations; update commentary.
13753         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
13754         add select and bypass entries, simplify shell operation.
13755         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
13756
13757         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
13758          ultrix_atof_param): Add select entry.
13759         (stdio_va_list, sunos_mather_decl): Add bypass entry.
13760         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
13761         comments with the fixes they describe.
13762
13763         * c-parse.in (string action): Do not warn about ANSI string
13764         concatenation in system headers.  Affects C parser only.
13765         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
13766
13767 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
13768
13769         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
13770         compiling libgcc2 the macro depends always on arch cpp defines.
13771
13772 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
13773
13774         * loop.c (insert_loop_mem): Don't record MEMs from inside
13775         EXPR_LISTs.
13776
13777 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
13778
13779         * regclass.c (regclass): Do not use flowgraph when not optimizing.
13780
13781         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
13782         notes too, create one when replacement failed, attempt to simplify
13783         resulting notes.
13784         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
13785         or REG_EQUIV notes.
13786
13787 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
13788
13789         * crtstuff.c (__dso_handle): Declare.
13790         (__cxa_finalize): Likewise.
13791         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
13792         non-NULL.
13793
13794         * invoke.texi: Document -fuse-cxa-atexit.
13795
13796         * tree.h (ptr_type_node): Document.
13797         (const_ptr_type_node): Likewise.
13798
13799 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13800
13801         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
13802         (optimize_reg_copy_2): Likewise.
13803         (optimize_reg_copy_3): Likewise.
13804         (fixup_match_2): Likewise.
13805         (regmove_optimize): Likewise.
13806         (fixup_match_1): Liekwise.
13807
13808         * i386.md (HI to SImode promoting splitters): Rewrite.
13809         (pushsf mem peep2): New.
13810         (testhi to andhi peep2): Remove.
13811         * i386.h (x86_promote_QImode): New.
13812         (TARGET_PROMOTE_QImode): New.
13813         (PREDICATE_CODES): Add promotable_binary_operator.
13814         * i386.c (x86_promote_QImode0: New.
13815         (promotable_binary_operator): New.
13816         * i386-protos.h (promotable_binary_operator): New.
13817
13818         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
13819         condition.
13820         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
13821
13822 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
13823
13824         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
13825         * function.c (insert_block_after_note): Remove.
13826         (retrofit_block): Likewise.
13827         (identify_blocks): Fix indentation.
13828         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
13829         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
13830         * function.h (insert_block_after_note): Remove prototype.
13831         (retrofit_block): Likewise.
13832         * integrate.c (expand_inline_function): Don't call
13833         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
13834         just expand_start_bindings.  Use the block_map to remap old
13835         NOTE_BLOCKs to new ones.
13836         (integrate_decl_tree): Keep track of remapped blocks.
13837         * integrate.h (struct inline_remap): Add block_map.
13838         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
13839         NOTE_BLOCK on the notes.
13840         (expand_start_bindings): Rename to ...
13841         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
13842         (expand_end_bindings): Set NOTE_BLOCK.
13843         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
13844         reconstruct the BLOCK tree.
13845         * tree.h (expand_start_bindings): Macroize.  Call ...
13846         (expand_start_bindings_and_block): New function.
13847
13848 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
13849
13850         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
13851         to match the format.
13852
13853 1999-12-16  David S. Miller  <davem@redhat.com>
13854
13855         * expr.c (emit_move_insn_1): Only emit clobbers if one of
13856         the outputs is a SUBREG.
13857         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
13858         change.
13859
13860         * config/sparc/sparc.c (epilogue_renumber): Add default case
13861         to switch stmt.
13862
13863 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13864
13865         * toplev.c (rest_of_compilation): Run branch shortening after
13866         reg-stack.
13867
13868         * regclass.c (loop_depth): Remove
13869         (scan_one_insn): Do not handle LOOP_NOTE insns.
13870         (regclass): Go through basic blocks and set loop_cost
13871
13872 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
13873
13874         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
13875
13876 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13877
13878         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
13879         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
13880         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
13881
13882 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
13883
13884         * loop.c (insert_loop_mem): Ignore memory clobbers.
13885
13886         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
13887         to (OP A B).
13888
13889 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
13890
13891         * profile.c: Remove redundant #include "output.h".
13892
13893         * h8300.md (HImode preinc peephole): Fix typo.
13894
13895 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
13896
13897         * function.c (retrofit_block): Abort if we don't find a suitable insn.
13898         (insert_block_after_note): Abort if we don't have a previous block.
13899         Remove FN parameter.
13900         * function.h: Adjust.
13901
13902 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
13903
13904         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
13905         argument more than once.
13906
13907 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
13908
13909         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
13910
13911 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
13912
13913         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
13914
13915 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13916
13917         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
13918         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
13919         update stack_alignment_needed.
13920         (prepare_function_start): Initialize stack_alignment_needed
13921         * function.h (struct function): Add field stack_alignment_needed.
13922
13923 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13924
13925         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
13926         Handle live_throughout / dead_or_set instead of live_before /
13927         live_after.
13928         (save_call_clobbered_regs): Get register livenessinformation from
13929         chain->live_throughout.
13930         (add_stored_regs): New function.
13931         (insert_restore, insert_save): Add restored / saved registers to
13932         dead_or_set.
13933         * global.c (reg_dies): New parameter chain.
13934         (reg_becomes_live): Third parameter is regs_set now.
13935         Changed all callers.
13936         (reg_dies): New parameter chain.  Changed all callers.
13937         (build_insn_chain): Set live_throughout instead of
13938         live_before / live_after.
13939         * reload.h (struct insn_chain): Replace members live_before /
13940         live_after with live_throughout / dead_or_set.
13941         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
13942         instead of live_before / live_after.
13943         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
13944         (order_regs_for_reload, find_reg, finish_spills): Likewise.
13945         (choose_reload_regs_init): Likewise.
13946         * stupid.c (current_chain, find_clobbered_regs): Delete.
13947         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
13948         instead of chain->live_before / chain->live_after.
13949         (mark_hard_ref): New function.
13950         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
13951
13952 1999-12-15  David S. Miller  <davem@redhat.com>
13953
13954         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
13955
13956 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13957
13958         * flow.c (calculate_loop_depth): Make global, remove prototype,
13959         rewrite to use new loop infrastructure.
13960         (find_basic_block): Remove calculate_loop_depth call.
13961         * toplev.c (rest_of_compilation): Call find_basic_block.
13962         * output.h (calculate_loop_depth): Declare.
13963
13964         * flow.c (dump_flow_info): Dump loop_depth.
13965         (flow_loops_nodes_find): Increase loop_depth for basic block in the
13966         body.
13967         (flow_loops_find): Initialize the loop_depth for each basic block.
13968
13969 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
13970
13971         * tree.c (decl_function_context): Handle virtual functions.
13972
13973         * tlink.c (scan_linker_output): Don't look in demangled name when
13974         looking for linker output keywords.
13975
13976         * dwarfout.c (output_type): We can defer namespace-scope classes.
13977
13978 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
13979
13980         * regclass.c (record_reg_classes): Update comment for merging
13981         register class preferences in reg->reg copies.  Tighten conditions
13982         for merging register class preferences in reg->reg copies.
13983
13984 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
13985
13986         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
13987
13988 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
13989
13990         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
13991         (INIT_SECTION_ASM_OP): Delete.
13992         (FINI_SECTION_ASM_OP): Delete.
13993         (STARTFILE_SPEC): Define to hold just crtbegin.o.
13994
13995 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
13996
13997         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
13998         the abstract origin wasn't emitted.
13999
14000         * dwarf2out.c (class_scope_p): New fn.
14001         (gen_subprogram_die): Use it.
14002         (gen_variable_die): Use it.  Tweak logic.
14003         (gen_struct_or_union_type_die): Check context_die to determine
14004         if we're function-local.
14005         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
14006
14007 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
14008
14009         * loop.c (check_dbra_loop): Can't reverse a biv that has
14010         maybe_multiple set.
14011
14012 1999-12-14  Nick Clifton  <nickc@cygnus.com>
14013
14014         * config/arm/arm.c: Add support for -mcpu=arm720 command line
14015         switch.
14016
14017 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14018
14019         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
14020         for givs made from biv increments.
14021
14022 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
14023
14024         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
14025         * alpha.c (override_options): Recognize -mcpu=ev67.
14026         * alpha.h (CPP_CPU_EV67_SPEC): New.
14027         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
14028         (EXTRA_SPECS): Update.
14029
14030 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
14031
14032         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
14033         appropriate for -lang-c89 and -std=*.
14034         * cppinit.c (cpp_handle_option): Likewise.
14035         (new_pending_define): New, split out from cpp_handle_option.
14036         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
14037         or enable trigraphs for -ansi/-std=*.
14038
14039         * ginclude/stdarg.h (__va_copy): New.
14040         (va_copy): Don't define for C89.
14041
14042 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
14043
14044         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
14045         for long long multiply-accumulate.
14046
14047 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14048
14049         * regclass.c (scan_one_insn): Set loop_cost to 1 when
14050         optimizing for size.
14051
14052 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
14053
14054         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
14055         if something changed.  Back out that part of yesterday's changes.
14056
14057         * loop.c (loop_max_reg): New static variable.
14058         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
14059         max_reg_num.
14060         (scan_loop): Call reg_scan_update whenever we may have added new
14061         registers, and update loop_max_reg.
14062
14063 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14064
14065         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
14066         when source does not die.
14067
14068         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
14069
14070 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
14071
14072         * config/sparc/linux64.h (TARGET_LIVE_G0,
14073         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
14074         variants on Linux.
14075         * config/sparc/linux.h (TARGET_LIVE_G0,
14076         TARGET_BROKEN_SAVERESTORE): Likewise.
14077         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
14078         TARGET_BROKEN_SAVERESTORE): Likewise.
14079
14080         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
14081         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
14082         not %g2.
14083         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
14084         as sparc64 block profiling register.
14085         * config/sparc/sparc.c (sparc_override_options): Allow block
14086         profiling with -m32.
14087         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
14088         profiling register.
14089         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
14090         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
14091         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
14092
14093         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
14094         for sparc64.
14095         * config/sparc/sparc.h: Likewise.
14096         * config/sparc/xm-sysv4-64.h: Likewise.
14097         * config/float-sparc.h: Likewise.
14098         * glimits.h: Likewise.
14099         * longlong.h: Likewise.
14100
14101         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
14102         (ASM_IDENTIFY_GCC): Remove.
14103
14104 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
14105
14106         * combine.c (combine_simplify_rtx): Don't make shared rtl.
14107         (simplify_logical): Likewise.
14108
14109 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
14110
14111         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
14112         * cppfiles.c (INO_T_EQ): Likewise.
14113
14114 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
14115
14116         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
14117         * i386/mingw32.h (LIB_SPEC): Likewise.
14118         (STARTFILE_SPEC): Likewise.
14119         * i386/uwin.h (LIB_SPEC): Likewise.
14120         (STARTFILE_SPEC): Likewise.
14121
14122         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
14123         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
14124
14125 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
14126
14127         * combine.c (combine_simplify_rtx): Fix order of checks for
14128         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
14129
14130 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
14131
14132         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
14133         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
14134
14135 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
14136
14137         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
14138         defined.
14139         * regclass.c (inv_reg_alloc_order): New array.
14140         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
14141
14142         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
14143         counted_for_groups, counted_for_nongroups.  Add fields rld and
14144         n_reloads.
14145         * reload.c (push_secondary_reload): Don't set nongroup field of
14146         new reloads.
14147         (push_reload): Likewise.
14148         (find_reloads): Delete code to compute nongroup fields.
14149         * reload1.c (reload_insn_firstobj): New static variable.
14150         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
14151         users changed.
14152         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
14153         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
14154         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
14155         functions.
14156         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
14157         functions.
14158         (struct hard_reg_n_uses): Deleted.
14159         (potential_reload_regs): Deleted.
14160         (init_reload): Initialize spilled_pseudos and pseudos_counted.
14161         (reload): Don't try to allocate reload registers if we already know
14162         we have to make another pass.  Call select_reload_regs.  Free memory
14163         starting with reload_firstobj when starting another pass.
14164         Don't allocate spilled_pseudos.
14165         (calculate_needs_all_insns): Call copy_reloads for an insn that
14166         needs reloads; don't call calculate_needs.
14167         (spill_cost): New static array.
14168         (used_spill_regs_local): New static variable.
14169         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
14170         to compute potential_reload_regs.
14171         (find_reload_regs): Completely rewritten to use find_reg.
14172         (allocate_reload_reg): Don't test counted_for_groups or
14173         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
14174         all cllers changed.
14175         (choose_reload_regs): Add fallback code that uses the existing
14176         register allocation from find_reload_regs.
14177
14178 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
14179
14180         * flow.c (create_edge_list): Cast xmalloc return value.
14181
14182 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
14183
14184         * doprnt.c: Remove incorrect comment closure.
14185
14186         * cse.c: Fix a few minor whitespace goofs.
14187
14188 1999-12-13  Don Bowman  <don@pixstream.com>
14189
14190         * mips/vxworks.h: Fix problem with comment termination.
14191         (EXTRA_SECTIONS): Add in_sbss.
14192         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
14193
14194 1999-12-12  David S. Miller  <davem@redhat.com>
14195
14196         * cse.c (struct cse_reg_info): Add hash_next member,
14197         reorder rest of struct for better packing on 64-bit
14198         hosts.
14199         (cse_reg_info_tree): Kill.
14200         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
14201         REGHASH_FN): New custom pow2 hash mechanism.
14202         (NBUCKETS): Kill.
14203         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
14204         use a pow2 hash table.
14205         (get_cse_reg_info): Rework to use new REGHASH.
14206         (new_basic_block): Likewise, use HASH_SIZE, and inline
14207         free_element call.
14208         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
14209         and inline free_element call.
14210         (lookup_as_function, insert, flush_hash_table, invalidate,
14211         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
14212         invalidate_for_call, use_related_value, find_comparison_args,
14213         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
14214         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
14215         get_element): Kill.
14216
14217 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
14218
14219         * cse.c (cse_basic_block): Free qty_table consistently.
14220
14221 1999-12-12  David S. Miller  <davem@redhat.com>
14222             Jakub Jelinek    <jakub@redhat.com>
14223
14224         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
14225         SUBREGs by hand, gen the appropriate hard reg directly.
14226         (movtf reg/mem split): Likewise and alter_subreg on destination
14227         if necessary.
14228         (movtf mem/reg split): Similarly.
14229         (movdf_cc_sp64): Rename from hidden pattern.
14230         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
14231         (movtf_cc_sp64, following split): New pattern and splitter.
14232         (movdf_cc_reg_sp64): Rename from hidden pattern.
14233         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
14234         TARGET_HARD_QUAD.
14235         (movtf_cc_reg_sp64, following split): New pattern and splitter.
14236
14237 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
14238
14239         * loop.c (load_mems): Don't hoist written floating point mem
14240         if -ffloat-store.
14241
14242 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
14243
14244         * except.h (struct eh_queue): Add `next' pointer.
14245         (struct eh_status): Make x_ehqueue a pointer.
14246         (push_ehqueue):  Declare.
14247         (pop_ehqueue): Likewise.
14248         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
14249         pointer.
14250         (expand_fixup_region_end): Likewise.
14251         (expand_leftover_cleanups): Likewise.
14252         (push_ehqueue): Define.
14253         (pop_ehqueue): Likewise.
14254         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
14255         than doing it inline.
14256         (expand_start_all_catch):  Adjust now that ehqueue is a
14257         pointer.
14258         (mark_eh_queue): Mark all level of the queue.
14259         (mark_eh_status):  Adjust now that ehqueue is a
14260         pointer.
14261         (init_eh_for_function): Allocate ehqueue.
14262         (free_eh_status): Free it.
14263         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
14264         expansion for a fixup.
14265
14266 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14267
14268         * gthr-single.h (__gthread_active_p): Add prototype arguments.
14269
14270         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
14271         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
14272         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
14273         function_ptr, getpagesize, __enable_execute_stack,
14274         __enable_execute_stack, __clear_insn_cache,
14275         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
14276         _cleanup, _exit, __default_terminate, __terminate_func,
14277         __terminate, __empty, __throw, new_eh_context,
14278         eh_context_initialize, eh_context_static, eh_context_specific,
14279         get_eh_context, __get_eh_context, __get_eh_info,
14280         init_reg_size_table, eh_threads_initialize,
14281         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
14282         __unwinding_cleanup, throw_helper, __throw, __rethrow,
14283         __pure_virtual): Add prototype arguments.
14284         (__bb_exit_func): Cast a sizeof to long when comparing against one.
14285         Cast a signed value to unsigned long when comparing against one.
14286         (new_eh_context): Wrap in _GTHREADS macro.
14287         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
14288         declaration.
14289         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
14290         (throw_helper): Initialize variables `handler_p' and `pc_p'.
14291
14292 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14293
14294         * combine.c (record_promoted_value): Remove unused variable
14295         `links2'.
14296
14297         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
14298
14299         * global.c (record_conflicts): Likewise for `j'.
14300
14301         * genoutput.c (output_insn_data): Don't unnecessarily cast away
14302         const-ness.
14303
14304 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14305
14306         * i386-protos.h (output_387_binary_op, output_fix_trunc,
14307         output_fp_compare): Constify a char*.
14308
14309         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
14310         static prototypes.
14311         (override_options, ix86_comp_type_attributes, print_operand,
14312         output_387_binary_op, output_fix_trunc, output_fp_compare):
14313         Constify a char*.
14314         (ix86_sched_reorder): Mark parameter `clock_var' with
14315         ATTRIBUTE_UNUSED.
14316
14317         * i386.h (DEBUG_PRINT_REG): Constify a char*.
14318
14319 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
14320
14321         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
14322         operand, for use in the Java front-end.
14323
14324 1999-12-10  Ben Collins  <bcollins@debian.org>
14325
14326         * configure.in: Fix typo for "-64" in 64bit as check.
14327         * configure: Rebuilt.
14328
14329 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
14330
14331         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
14332         appropriate.
14333
14334 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14335
14336         * c-parse.in (string): With -Wtraditional, warn if ANSI string
14337         concatenation is utilized.
14338
14339         * invoke.texi (-Wtraditional): Document it.
14340
14341 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14342
14343         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
14344         Cast a ptrdiff_t to long and pass it to printf with %ld.
14345
14346 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
14347
14348         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
14349         68881, we have no 68881 registers at all.
14350         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
14351         value in a 68881 register if it is available.
14352
14353 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
14354
14355         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
14356         for long long multiply-accumulate.
14357
14358 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
14359
14360         * loop.c (insert_loop_mem): Undo last change.
14361
14362 1999-12-10  David S. Miller  <davem@redhat.com>
14363
14364         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
14365         New functions.
14366         * config/sparc/sparc-protos.h: Add them.
14367         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
14368         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
14369         constraints which use those helpers.
14370         (EXTRA_CONSTRAINT): Use this new macro.
14371         * md.texi: Update sparc target constraints documentation.
14372         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
14373         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
14374         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
14375         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
14376         (movsf high/lo_sum split): Rework for new patterns.
14377         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
14378
14379 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
14380
14381         * c-common.c (c_common_nodes_and_builtins):
14382         Create __builtin_ptrdiff_t and __builtin_size_t.
14383
14384 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
14385
14386         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
14387
14388 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14389
14390         * regclass.c (globalize_reg): Re-instate test that allows
14391         fixed registers to be declared as a variable even after functions
14392         are defined.
14393
14394 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14395
14396         * i386.md (cpu attribute): Add "athlon".
14397         (athlon_decode): New attribute.
14398         (Athlon scheduling units definitions): New.
14399         (fcmp and shld patterns): Set athlon_decode to "vector".
14400         * i386.c (athlon_cost): New.
14401         (m_ATHLON): New.
14402         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
14403         x86_use_sahf): Set for Athlon.
14404         (x86_use_fiop): Unset for Athlon.
14405         (override_options): Define Athlon alignments and "athlon" name.
14406         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
14407         * i386.h (TARGET_ATHLON): New.
14408         (enum processor_type): Add PROCESSOR_ATHLON.
14409         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
14410         for CPU_DEFAULT==5
14411         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
14412
14413 1999-12-09  Andreas Jaeger  <aj@suse.de>
14414
14415         * loop.c (record_biv): Declare parameter as int.
14416
14417         * config/i386/i386-protos.h: Declare long_memory_operand.
14418
14419 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
14420
14421         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
14422         EXPR_WITH_FILE_LOCATION.
14423
14424 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
14425
14426         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
14427         in expander.
14428
14429         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
14430
14431         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
14432         updating code.
14433
14434 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
14435
14436         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
14437         default on linux64 again.
14438         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
14439         models for multilibing.
14440         * genmultilib: Accept | as alternative separator within a set in
14441         MULTILIB_OPTIONS.
14442
14443         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
14444
14445         * calls.c (precompute_arguments): Make sure initial_value contains
14446         value pseudo which CSE expects.
14447         * cse.c (struct set): New entry orig_src.
14448         (cse_insn): Set it early on entry, use it for libcall EQUIV note
14449         replacement.
14450
14451 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
14452
14453         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
14454
14455 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
14456
14457         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
14458
14459 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
14460
14461         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
14462         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
14463
14464         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
14465         if TARGET_ARCH32.
14466
14467         * longlong.h: Merge in changes from glibc.
14468         Also don't clobber %g2 register in 32bit SPARC assembly, so that
14469         -mno-app-regs libgcc can be compiled.
14470         * libgcc2.c: Add defines so that the updated longlong.h
14471         can be used in libgcc2.a. Also, make sure on most architectures
14472         (at least on all which have optimized code in longlong.h defined
14473         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
14474
14475 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14476
14477         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
14478         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
14479         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
14480         is GNU ld.
14481         * configure: Rebuilt.
14482
14483 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
14484
14485         * alpha.c (secondary_reload_class): For !BWX, sub-simode
14486         outputs require a register.
14487
14488 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
14489
14490         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
14491         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
14492         functions like dptoul will be resolved.
14493         (libgcc2.a): Make sure that the object files from DPBIT are named
14494         differently (prefix `_dp') from those that would be coming from
14495         FPBIT.
14496
14497 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
14498
14499         * configure.in: When target is sparc* and tm_file contains 64,
14500         test for 64bit support in assembler.  If not supported, remove
14501         sparc/t-sol2-64 from target-dependent Makefile fragments.
14502         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
14503         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
14504         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
14505         * acconfig.h (AS_SPARC64_FLAG): Added.
14506         * configure, config.in: Rebuilt.
14507         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
14508         support.  Use AS_SPARC64_FLAG.
14509
14510 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
14511
14512         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
14513         suitable for holding OFmode values so that gcc works with complex
14514         quad long doubles.
14515         (hard_64bit_mode_classes): Likewise.
14516
14517         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
14518         so that it is actually matched.
14519         (sethi_di_medlow): Likewise.
14520
14521         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
14522         as legitimate constant if -mvis.
14523         * config/sparc/sparc.md (movtf): Likewise.
14524         (clear_sf): Use const_double_operand.
14525         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
14526
14527         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
14528         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
14529         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
14530         routines, _Qp_* cannot be handled like that now.
14531         (INIT_TARGET_OPTABS): Likewise.
14532         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
14533         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
14534         sparc_emit_float_lib_cmp if ARCH64 and soft float.
14535         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
14536         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
14537         divtf3, sqrttf3): New expanders.
14538         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
14539         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
14540         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
14541         non-_hq patterns.
14542
14543         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
14544         * configure: Rebuilt.
14545         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
14546         -mcpu is given and we're doing 64bit compiles.
14547
14548 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
14549
14550         * loop.h (struct induction): Add multi_insn_incr.
14551         * loop.c (basic_induction_var): New multi_insn_incr argument.
14552         Set it if we search back through previous insns for the biv.
14553         (record_biv): New multi_insn_incr argument; fill in struct induction.
14554         (strength_reduce): Discard an iv with multiple bivs, any of
14555         which require multiple insns to increment.
14556
14557 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
14558
14559         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
14560         documentation.
14561
14562 1999-12-06  David S. Miller  <davem@redhat.com>
14563
14564         * combine.c (check_promoted_subreg): Do not conditionalize this upon
14565         PROMOTE_FUNCTION_RETURN.
14566
14567 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
14568
14569         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
14570         and handle REG_UNUSED note on insn.
14571
14572         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
14573         inner_mask instead of mask.
14574
14575 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
14576
14577         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
14578         zero if there was an error.
14579
14580 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
14581
14582         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
14583         output string.
14584
14585         * longlong.h: Fix clobbers in SPARC asm statements.
14586
14587         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
14588         valid sethi operations when TARGET_ARCH64.
14589
14590         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
14591         always use move_by_pieces to avoid infinite recursion.
14592         (restore_fixed_argument_area): Likewise.
14593
14594         * combine.c (check_promoted_subreg, record_promoted_value): New
14595         functions.
14596         (combine_instructions): Use them to retain nonzero and sign bit
14597         information after SUBREGs are eliminated by optimizations in
14598         this pass if PROMOTE_FUNCTION_RETURN.
14599
14600         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
14601         .register declaration. Don't use variables with __ prefixes.
14602
14603 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14604
14605         * fold-const.c (optimize_bit_field_compare): Only use one mode
14606         for both RHS and LHS in non-constant case.
14607
14608 1999-12-06  Nathan Sidwell  <nathan@acm.org>
14609
14610         * frame.c (start_fde_sort): Only allocate erratic array, if
14611         linear one was allocated. Return allocated flag.
14612         (fde_insert): Only insert, if there's a valid array.
14613         (fde_end_sort): Split, sort and merge if linear and erratic
14614         arrays exist, else just sort linear one.
14615         (search_fdes): New function. Linear search through original fde
14616         structure.
14617         (frame_init): Permit multiple initializations. Cope with
14618         memory shortages.
14619         (find_fde): Fallback on linear search, if failed to sort array.
14620         (__deregister_frame_info): Only free sorted array, if we
14621         allocated it.
14622
14623 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
14624
14625         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
14626
14627 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
14628
14629         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
14630
14631 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
14632
14633         * tree.h (special_function_p): Declare.
14634         * calls.c (special_function_p): Make it global.  Don't take `name'
14635         as a parameter.  Fix typo in 1999-11-28 change.
14636         (expand_cal): Adjust.
14637
14638 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
14639
14640         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
14641         * tree.h (EXPR_WFL_FILENAME): Define in terms of
14642         EXPR_WFL_FILENAME_NODE.
14643         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
14644         the TREE_CHAIN.
14645         * print-tree.c (print_note): Print TREE_PRIVATE and
14646         TREE_PROTECTED.
14647
14648         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
14649         the original die cannot be found.
14650
14651         * varray.h (varray_head_tag): Add elements_used.
14652         (VARRAY_PUSH): New macro.
14653         (VARRAY_POP): Likewise.
14654         (VARRAY_TOP): Likewise.
14655         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
14656         types.
14657         * varray.c (varray_init): Initialize elements_used.
14658         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
14659         (INTEGRATE_H): New variable.
14660         (integrate.o): Depend on INTEGRATE_H.
14661         (unroll.o): Likewise.
14662
14663         * function.h (insert_block_after_note): Declare.
14664         * function.c (insert_block_after_note): Split out from ...
14665         (retrofit_block): ... here.
14666
14667         * stmt.c (expand_fixup): Fix typo in comment.
14668
14669 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14670
14671         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
14672         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
14673         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
14674         (regmove_optimize, fixup_match_1): Likewise.
14675
14676 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14677
14678         * flow.c (flow_loops_dump): Add missing argument when calling
14679         flow_loop_nested_p.
14680
14681 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
14682             Greg McGary  <gkm@gnu.org>
14683
14684         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
14685         (init_attributes): Add A_NO_LIMIT_STACK.
14686         (decl_attributes): Handle A_NO_LIMIT_STACK.
14687         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
14688         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
14689         Handle stack bounds checking.
14690         * flags.h (flag_stack_check): Use the word 'probe' rather than
14691         'check', because the flag doesn't actually cause any checking to
14692         be done.
14693         * function.c (expand_function_start): Set
14694         current_function_limit_stack.
14695         * function.h (struct function): Add limit_stack.
14696         (current_function_limit_stack): Define.
14697         * invoke.texi (Code Gen Options): Document new options.
14698         * rtl.h: Declare stack_limit_rtx.
14699         * toplev.c (stack_limit_rtx): New variable.
14700         (decode_f_option): Handle new options -fstack-limit-register=REG,
14701         -fstack-limit-symbol=IDENT, -fno-stack-limit.
14702         (main): Add stack_limit_rtx as GC root.
14703         * tree.h (DECL_NO_LIMIT_STACK): New macro.
14704         (struct tree_decl): New member no_limit_stack.
14705
14706         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
14707         stack_limit_rtx.
14708         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
14709         (conditional_trap+1): Get new mnemonic correct.
14710         (conditional_trap+2): New pattern for DImode traps.
14711
14712         * config/m68k/m68k.c (output_function_prologue): Handle
14713         stack_limit_rtx.
14714         * config/m68k/m68k.md (trap): New insn.
14715         (conditional_trap): New insn.
14716         * md.texi (Standard Names): Document `trap' and
14717         `conditional_trap'.
14718         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
14719         so a cc0 setter doesn't get emitted at some random place in the
14720         function.
14721
14722         * config/i960/i960.md (trap): New insn.
14723         (conditional_trap): New expander.
14724         (conditional_trap+1, conditional_trap+2): New insns for signed
14725         and unsigned cases.
14726         * config/i960/i960.c (i960_function_prologue): Use
14727         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
14728
14729 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
14730                           Geoffrey Keating  <geoffk@cygnus.com>
14731
14732         * flags.h (warn_padded, warn_packed): Add global var decls.
14733         * toplev.c (warn_padded, warn_packed): Add global var defns.
14734         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
14735         * stor-layout.c (layout_record): Add local variable `type'
14736         to hold often-used TREE_TYPE (field).  Add local variable
14737         `unpacked_align' to hold alignment that would be in force
14738         if no `packed' attribute were present.  Warn if `packed' attribute
14739         is unnecessary, or even harmful.  Warn when gcc inserts padding
14740         to satisfy alignment requirements of members.  Use NULL_TREE
14741         when checking whether var_size is set.
14742         * invoke.texi: Document new flags.
14743
14744 1999-12-03  Nathan Sidwell  <nathan@acm.org>
14745
14746         * frame.c (fde_split): Reimplement to avoid variable sized array.
14747
14748 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14749
14750         * combine.c (try_combine): Before fixing up LOG_LINKS for the
14751         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
14752
14753 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
14754
14755         * invoke.texi: Document the mips option -mno-crt0
14756
14757 1999-12-02  Mike Karr  <mkarr@mathworks.com>
14758
14759         * cccp.c (argdata): Added free_ptr member.
14760         (macroexpand): Initialize free_ptr of each argument. When an
14761         argument's buffers are freed, if the argument's free_ptr corresponds
14762         to a buffer on the input stack, then return the free_ptr to that stack
14763         frame, otherwise, free it.
14764         (macarg): If an argument begins and ends on the same input stack level,
14765         then transfer the free_ptr of that buffer to the argument in case
14766         the stack is popped during the processing of a subsequent argument.
14767
14768 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
14769
14770         * loop.c (note_reg_stored): New function.
14771         (struct note_reg_stored_arg): New structure.
14772         (try_copy_prop): Change to be more conservative; only replace within
14773         one extended basic block and stop replacing if a store to the
14774         replacement reg is seen.
14775
14776 1999-12-02  Nick Clifton  <nickc@cygnus.com>
14777
14778         * config/fp-bit.c: Initialise all fields of the NAN
14779         constants.
14780
14781         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
14782         to HANDLE_PRAGMA.
14783
14784 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
14785
14786         * i386.md (extend?f?f2): Force the input into a register, not
14787         the output.
14788
14789 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
14790
14791         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
14792         regclass' sake.
14793         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
14794         alternative because setting up 64bit constant is usually costly,
14795         especially when reload is in progress or completed.
14796         (movdf_const_intreg_sp64): Likewise.
14797         (movdf_const_intreg split): Fix building up constants when
14798         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
14799
14800 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
14801
14802         * combine.c (if_then_else_cond): Use const_true_rtx instead of
14803         const1_rtx for return values in EQ/NE comparison against (const_int 0)
14804         case.
14805
14806         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
14807         (asm_file_start): Emit .am33 into assembly file when compiling for
14808         the AM33.
14809         (print_operand_address): Handle POST_INC addresses.
14810         (can_use_return_insn, initial_offset): Check AM33 registers too.
14811         (expand_prologue): Check & save AM33 registers too.
14812         (expand_epilogue): Similarly.
14813         (secondary_reload_class): Handle AM33 specific secondary reloads.
14814         (output_tst): Emit efficient code for the AM33 too.
14815         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
14816         (TARGET_SWITCHES): Add -mam33 switch.
14817         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
14818         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
14819         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
14820         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
14821         (enum reg_class, REG_CLASS_NAMES): Likewise.
14822         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
14823         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
14824         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
14825         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
14826         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
14827         (HAVE_POST_INCREMENT): Define.
14828         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
14829         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
14830         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
14831         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
14832         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
14833         (zero_extend to SI from QI/HI): Likewise.
14834         (sign_extend to SI from QI/HI): Likewise.
14835         (mulsidi3, umulsidi3): New patterns for the AM33.
14836         (tstsi with zero extension from QI/HI): Add AM33 variants.
14837         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
14838         (return_internal_regs, store_movm): Handle new AM33 registers.
14839         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
14840         (LIBGCC, INSTALL_LIBGCC): Likewise.
14841         * invoke.texi: Document new flags.
14842
14843 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14844
14845         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
14846         (addsi3_carry): Likewise.
14847         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
14848         (sbbsi3_carry): Likewise.
14849         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
14850         (mulhi3): Likewise.
14851         (test?i_1): Ensure that only one operand is memory.
14852         (conditional move patterns): likewise.
14853         (shift and rotate patterns): Rewrite to expander, add
14854         "binary_operator_ok" to the condition.
14855
14856         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
14857         * i386.h (procesor_costs): Add movzbl_load field.
14858         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
14859         non-Q registers, accept DImode registers anywhere.
14860         (Q_CLASS_P): New.
14861         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
14862         * i386.c (*_cost): Set value for movxbl_load field.
14863
14864         * (addsi): New add to lea splitter.
14865         (ashlsi): Likewise.
14866         (lea to add/shift peep2): New.
14867
14868 1999-12-01  Mark Salter <msalter@cygnus.com>
14869
14870         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
14871         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
14872         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
14873
14874 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14875
14876         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
14877         * i386.md (movsi_xor): New.
14878         (movsi_or): New.
14879         (movsi_1, movhi_1, movqi_1): Remove.
14880         (movsi_2): Rename to movsi_1.
14881         (movhi_2): Rename to movhi_1.
14882         (movqi_2): Rename to movqi_1.
14883         (movdi_1): Remove; remove splitter.
14884         (movdi_2): Rename to movdi_1.
14885         (divmodsi4 splitter): Do not emit clobbers for move patterns.
14886         (long move peep2): Do not create QI or HI mode mov0s
14887         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
14888
14889         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
14890         rewrite splitters.
14891
14892         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
14893         (abs?f2_if): Likewise.
14894
14895 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
14896
14897         * ggc.h (ggc_test_and_set_mark): New macro.
14898         (ggc_mark_rtx): Use ggc_test_and_set_mark.
14899         (ggc_mark_tree): Likewise.
14900         (ggc_mark_rtvec): Likewise.
14901         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
14902
14903 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
14904
14905         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
14906         containing types.
14907         (decl_scope_table): Just an array of trees now.
14908         (push_decl_scope): Simplify.
14909         (dwarf2out_init): Adjust.
14910         (local_scope_p): New fn.
14911         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
14912         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
14913         (gen_typedef_die): Likewise.
14914         (gen_lexical_block_die): Don't call push/pop_decl_scope.
14915         (gen_inlined_subroutine_die): Likewise.
14916         (gen_abstract_function): Set current_function_decl temporarily.
14917         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
14918         Handle block extern declarations.  Don't call push/pop_decl_scope.
14919         (gen_decl_die): Fix logic for block externs.
14920
14921 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14922
14923         * calls.c (special_function_p): Remove `realloc' and add `strdup'
14924         to the list of functions which have attribute malloc by default.
14925
14926 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14927
14928         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
14929         integer constant does not match the traditional type, limit the
14930         warnings to cases where the base of the type is ten.
14931
14932         * invoke.texi (-Wtraditional): Document it.
14933
14934 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14935
14936         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
14937         * rs6000.md: Only access a CONST_INT with INTVAL
14938
14939 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
14940
14941         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
14942         (compute_nearerout): Likewise.
14943         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
14944         size_t to unsigned long for formatting.
14945
14946 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
14947
14948         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
14949         Allow the user to override call-used/fixed state of %g2-5
14950         registers from the command line (with the exception of %g4 for
14951         embedded model).
14952         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
14953         there is a higher chance of having a leaf function.
14954         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
14955         for ARCH64 which has %ccr register.
14956         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
14957         patterns.
14958         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
14959         insn accept into delay slot any insn which does not use %[ol]
14960         registers.  Accept some LO_SUM and shift left by 1 for the normal
14961         restore case.
14962         (output_function_epilogue): Likewise.
14963         (epilogue_renumber): Added argument which inhibits any renumbering
14964         and just tests if the rtx does not use any %[ol] registers.
14965         (output_return): Reflect above change.
14966
14967 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
14968
14969         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
14970         aggregate passing for sizes <= 16 bytes.
14971
14972 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
14973
14974         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
14975         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
14976         * reload.c (find_dummy_reload): Likewise.
14977         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
14978         * reload1.c (reload_as_needed): Likewise.
14979         * stupid.c (stupid_find_reg): Likewise.
14980         * tm.texi (Obsolete Register Macros): Delete section.
14981         * gmicro.h: Remove all traces of the two macros.
14982         * i386.h: Likewise.
14983         * m88k.h: Likewise.
14984         * mips.h: Likewise.
14985
14986 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
14987
14988         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
14989         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
14990         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
14991         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
14992         units for the sparclite86x chip.
14993         (flush): Revert October 14th change; add SImode specifically.
14994         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
14995         * invoke.texi: Document it.
14996
14997 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
14998
14999         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
15000         psimode_truncation_operand.
15001
15002         * config/mn10200/mn10200.c (psimode_truncation_operand): New
15003         function.  Return true if the operand is either a MEM valid
15004         for a PSImode address or not a MEM at all.
15005
15006         * config/mn10200/mn10200.md (truncsipsi2): Use
15007         psimode_truncation_operand.
15008
15009 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15010
15011         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
15012         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
15013         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
15014         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
15015         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
15016         (flow_loop_level_compute, low_loops_level_compute): Likewise.
15017         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
15018         * basic-block.h: Protect from multiple inclusion.
15019         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
15020         (struct loops, struct loop): Define structures.
15021         * sbitmap.c (sbitmap_a_subset_b_p): New function.
15022         * sbitmap.h: Protect from multiple inclusion.
15023         (sbitmap_a_subset_b_p): Add prototype.
15024         * Makefile.in (LOOP_H): New macro.
15025         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
15026
15027 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
15028
15029         * cppinit.c (CAT): The argument list of this macro may not contain
15030         spaces !
15031
15032 1999-11-29  David S. Miller  <davem@redhat.com>
15033
15034         Move quantity tables and register equivalence chains into
15035         per-qty and per-register structure arrays respectively.
15036         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
15037         qty_const_insn, qty_comparison_code, qty_comparison_const,
15038         qty_comparison_qty): Delete, replace with...
15039         (qty_table): this structure table.
15040         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
15041         (reg_eqv_table): this structure table.
15042         (make_new_qty): Add argument MODE.  Caller updated.
15043         Update to use qty_table and reg_eqv_table.
15044         (make_regs_eqv, delete_reg_equiv, insert_regs,
15045         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
15046         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
15047         cse_process_notes, cse_main, cse_basic_block): Likewise.
15048
15049 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15050
15051         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
15052         operation if C is negative.
15053         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
15054         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
15055         law for some divisions if constant is negative and change other
15056         divisions to the opposite rounding.
15057
15058         * expr.c (store_constructor_field): If bit position is not multiple
15059         of alignment of TARGET's mode, use BLKmode.
15060
15061         * expr.c (expand_expr_unaligned): Add more code from full case
15062         that is needed when OP0 is in a register.
15063
15064 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15065
15066         * dwarfout.c (field_byte_offset): Size can be zero if there was
15067         an error.
15068
15069 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
15070
15071         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
15072         (associate_trees): Delete unused var TEM.
15073         (extract_muldiv): Delete unused var CANCEL_P.
15074
15075         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
15076         (target_isinf, target_isnan, target_negative): Add return types to
15077         function definitions.
15078
15079 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
15080
15081         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
15082         * fixinc/hackshell.tpl: ditto
15083         * fixinc/fixtests.c(double_slash_test): more C++ header testing
15084         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
15085
15086 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
15087
15088         * reload.c (push_reload): When looking for a register to put into
15089         reg_rtx, make sure all hard regs in a multi-reg register are in the
15090         right class and nonfixed.
15091
15092         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
15093         pending_read_insns, pending_write_insns, pending_read_mems,
15094         pending_write_mems, pending_list_length, last_pending_memory_flush,
15095         last_function_call, sched_before_next_call): Move static variables
15096         into a structure.
15097         (bb_ prefixed versions): Replace with single array bb_deps.
15098         (struct deps): New structure.
15099         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
15100         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
15101         argument of type "struct deps *"; use that instead of global
15102         variables.  All callers changed.
15103         (init_rgn_data_dependencies): Delete function.
15104         (init_rtx_vector): Delete function.
15105         (init_deps): New function.
15106
15107         (free_pending_lists): Simplify, we always use the bb_deps array even
15108         if only one basic block.
15109         (compute_block_backward_dependences): Likewise.
15110         (schedule_region): Likewise.
15111
15112         (propagate_deps): New function, broken out of
15113         compute_block_backward_dependences.
15114         (compute_block_backward_dependences): Use it.
15115
15116         * alpha.md: Delete useless patterns that tried to work around
15117         register elimination problems.
15118
15119         * unroll.c (loop_iterations): Don't abort if iteration variable
15120         was made by loop.
15121
15122         From Joern Rennecke:
15123         * reload1.c (reloads_conflict): Reverse test comparing operand
15124         numbers when testing for conflict between output/outaddr reloads.
15125
15126 1999-11-29  David S. Miller  <davem@redhat.com>
15127
15128         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
15129         arg.
15130         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
15131
15132 1999-11-28  Robert Lipe  <robertl@cygnus.com>
15133
15134         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
15135         table from .fini into .dtor.
15136
15137 1999-11-28  Anthony Green  <green@cygnus.com>
15138
15139         * tree.h (struct tree_decl): Add malloc_flag.
15140         (DECL_IS_MALLOC): Define.
15141         * c-common.c (attrs): Add A_MALLOC attribute.
15142         (init_attributes): Add this attribute to the table.
15143         (decl_attributes): Handle malloc attribute.
15144         * calls.c (special_function_p): Check for the malloc attribute.
15145         * extend.texi (Function Attributes): Document malloc attribute.
15146
15147 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
15148
15149         * pa.md (reload shift-add patterns): Remove.
15150
15151 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15152
15153         * reorg.c (dbr_schedule) Print more statistics. Corrected
15154         problem when printing info when 3 delay slots are filled.
15155
15156 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
15157
15158         * combine.c (setup_incoming_promotions): Pass an outgoing
15159         regno to FUNCTION_ARG_REGNO_P which it expects.
15160
15161 1999-11-28  Andreas Jaeger  <aj@suse.de>
15162
15163         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
15164
15165 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
15166
15167         * cccp.c (do_include): Avoid initialization of automatic variable.
15168
15169         * integrate.c (mark_stores): Function definition made void, to match
15170         previous declaration.
15171         * regclass.c (dump_regclass): Ditto.
15172         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
15173
15174 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15175
15176         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
15177         known to be multiple of divisor.
15178
15179         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
15180
15181         * combine.c (try_combine): Add code to try to merge a set of a
15182         two-word pseudo to a constant with a setting of one of those words
15183         to a constant.
15184
15185         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
15186         (split_tree): Completely rework to make more general.
15187         (make_range, fold): Call negate_expr.
15188         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
15189         (fold, associate): Call new split_tree and associate_trees.
15190         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
15191
15192 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
15193
15194         * loop.c (try_copy_prop): Avoid GNU C extension.
15195
15196 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
15197
15198         * except.c (init_eh_for_function): Still zero eh_return_context,
15199         eh_return_stack_adjust, and eh_return_handler.
15200
15201         * except.h (eh_status): Adjust documentation for x_protect_list.
15202         (begin_protect_partials): New function.
15203         * except.c (enqueue_eh_entry): Fix formatting.
15204         (get_first_handler): Add consistency check.
15205         (add_partial_entry): Adjust usage of protect_list.
15206         (emit_cleanup_handler): Save and restore ehqueue.
15207         (expand_start_all_catch): Add comment.
15208         (begin_protect_partials): New function.
15209         (end_protect_partials): Adjust usage of protect_list.
15210         (init_eh_for_function): Use xcalloc.
15211
15212 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15213
15214         * c-common.c (check_format_info): Don't call a variadic function
15215         with a non-literal format string.
15216
15217         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
15218
15219         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
15220         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
15221         Likewise.
15222
15223         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
15224         Likewise.
15225
15226         * collect2.c (collect_wait): Likewise.
15227
15228         * dbxout.c (dbxout_type): Likewise.
15229
15230         * gcc.c (do_spec_1): Likewise.
15231
15232         * genemit.c (gen_insn, gen_expand): Likewise.
15233
15234         * genrecog.c (write_switch, write_subroutine): Likewise.
15235
15236         * mips-tfile.c (catch_signal, botch): Likewise.
15237
15238         * print-rtl.c (print_rtx): Likewise.
15239
15240         * toplev.c (default_print_error_function, report_error_function,
15241         _fatal_insn): Likewise.
15242
15243 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
15244
15245         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
15246
15247 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15248
15249         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
15250         operations when needed.
15251         * i386.md (fop_?f_comm): New.
15252         (fop_?f_1): Do not accept commutative operands.
15253
15254 1999-11-25  Andreas Jaeger  <aj@suse.de>
15255
15256         * config/mips/mips.md (casesi_internal): Add missing brace.
15257
15258 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
15259
15260         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
15261         (splice_child_die): Handle moving a child DIE from the declaration
15262         DIE of a class to its specification.
15263         (gen_struct_or_union_type_die): Use 'complete' consistently.
15264         (gen_decl_die): Generate the virtual context DIE first.
15265         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
15266
15267 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
15268
15269         * config/mips/mips.md (call_value_multiple_interanal1): New.
15270
15271 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
15272
15273         * dwarf2out.c (free_AT, free_die): New fns.
15274         (remove_children): Call them.
15275         (output_line_info): Disable removal of duplicate notes.
15276
15277         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
15278         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
15279         means pretend the type isn't defined.
15280         Don't defer emitting types.
15281         (gen_type_die_for_member): New fn.
15282         (gen_decl_die): Call it.
15283         (splice_child_die): New fn.
15284         (gen_member_die): Call it rather than generate duplicate dies.
15285
15286         Defer emitting information for the abstract instance of an inline
15287         until we either inline it or emit an out-of-line copy.
15288         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
15289         from output_inline_function if DECL_ABSTRACT is also set.
15290         (block_ultimate_origin): Likewise.
15291         (gen_abstract_function): New fn.
15292         (gen_decl_die, gen_inlined_subroutine_die): Call it.
15293         (gen_subprogram_die):  An abstract instance is not a declaration
15294         just because it doesn't match current_function_decl.  Don't abort
15295         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
15296         has an abstract origin.
15297         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
15298         abstract instance here.
15299
15300 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
15301
15302         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
15303         where we need to reload fpul from a system register.
15304
15305 1999-11-24  Andreas Jaeger  <aj@suse.de>
15306
15307         * config/mips/linux.h (CPP_PREDEFINES): Added.
15308         (LINK_SPEC): Remove -Y since this is only needed on sparc.
15309
15310 1999-11-24  Andreas Jaeger  <aj@suse.de>
15311
15312         * config/mips/linux.h (TARGET_VERSION): Added.
15313         (HANDLE_SYSV_PRAGMA): Added.
15314         (DEFAULT_VTABLE_THUNKS): Added.
15315
15316 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15317
15318         * local-alloc.c (qty): New structure and static variable.
15319         (qty_phys_reg): Remove, all references changed to qty.
15320         (qty_n_refs): Likewise.
15321         (qty_min_class): Likewise.
15322         (qty_birth): Likewise.
15323         (qty_death): Likewise.
15324         (qty_size): Likewise.
15325         (qty_mode): Likewise.
15326         (qty_n_calls_crossed): Likewise.
15327         (qty_alternate_class): Likewise.
15328         (qty_changes_size): Likewise.
15329         (qty_first_reg): Likewise.
15330         (alloc_qty): Rename variable QTY to QTYNO.
15331         (finf_free_reg): Likewise.
15332         (local_alloc): Allocate qty, do not allocate the removed variables.
15333
15334 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
15335
15336         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
15337         when -membedded-pic is passed.
15338
15339         * config/mips/mips.md (casesi): Handle 64-bit case too.
15340         (casesi_internal_di): New insn.
15341
15342         * config/mips/mips.c (embedded_pic_offset): Always make the
15343         embedded-pic subtractions relative to the name of the current
15344         function by use of the magic string "..CURRENT_FUNCTION".
15345         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
15346
15347 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
15348
15349         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
15350         of (const_int 0), when what we really care about is
15351         whether it's a zero constant anyway.
15352         (div_trap_mips16): Likewise.
15353
15354 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
15355
15356         * loop.c (loop_optimize): Always find_loop_tree_blocks and
15357         unroll_block_trees when generating debuggable code.
15358
15359         * tree.h (unsave_expr_1): New function.
15360         (lang_unsave): New variable.
15361         (get_callee_fndecl): New function.
15362         * tree.c (unsave_expr_now_r): New function.
15363         (lang_unsave): Define.
15364         (unsave_expr_1): Likewise.
15365         (unsave_expr_now_r): Split out from unsave_expr_now.
15366         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
15367         call unsave_expr_now_r.
15368         (get_callee_fndecl): Define.
15369
15370         * Makefile.in (gencheck): Don't depend on lang_tree_files.
15371         (gencheck.o): Do depend on lang_tree_files.
15372
15373         * integrate.h (copy_decl_for_inlining): New declaration.
15374         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
15375         (copy_decl_for_inlining): New function.
15376         (integrate_parm_decls): Use it.
15377         (integrate_decl_tree): Likewise.
15378
15379 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
15380
15381         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
15382         the second two from the first.
15383         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
15384         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
15385         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
15386         ISA_HAS_FP4.
15387         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
15388         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
15389         ISA_HAS_FP4.
15390
15391 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
15392
15393         * pa.md (call_internal_symref, call_value_internal_symref): No mode
15394         needed on the address operand.
15395         * pa.c (call_operand_address): Check for the correct mode.
15396
15397 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
15398
15399         * loop.c: Include "basic-block.h".
15400         (try_copy_prop, replace_loop_reg): New functions.
15401         (load_mems): Detect registers that just hold copies of the hoisted
15402         mem, and call try_copy_prop to eliminate them.
15403         * Makefile.in (loop.o): Update dependencies.
15404
15405 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
15406
15407         * Makefile.in (gencheck.o): Depend on gencheck.h.
15408         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
15409         (insn-peep.o): Depend on except.h and function.h.
15410         (insn-attrtab.o): Depend on RECOG_H.
15411         (insn-output.o): Depend on toplev.h and flags.h.
15412         (gengenrtl.o): Depend on real.h.
15413         (gen-protos.o): Depend on cpplib.h and cpphash.h.
15414         Unify all dependencies to be on RECOG_H rather than recog.h.
15415
15416 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15417
15418         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
15419         * configure.in: Try building a bi-arch 32/64-bit compiler on
15420         sparc-*-solaris2.7 and higher.
15421         * configure: Rebuild.
15422
15423 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
15424
15425         * config/freebsd.h: New, FreeBSD architecture independent file.
15426         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
15427         independent pieces.
15428         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
15429         directly by i386/freebsd.h.
15430         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
15431         independent configuration file.
15432         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
15433         directly by i386/freebsd.h.
15434         * configure: Rebuilt.
15435
15436         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
15437         which is in the user's namespace.
15438         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
15439         `i386' which is not in our namespace.
15440
15441 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
15442
15443         * invoke.texi (ARM Options): Add in -mno-alignment-traps
15444
15445 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
15446
15447         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
15448         (add_dwarf_attr, add_child_die): Just push onto the front.
15449         (reverse_die_lists): New fn.
15450         (add_sibling_attributes): Use it.
15451         (push_decl_scope): Reorganize.
15452         (add_name_and_src_coords_attributes): Don't set file and line for
15453         an artificial decl.
15454         (gen_subprogram_die): An artificial function doesn't need to match
15455         file and line.
15456         (gen_compile_unit_die): Return the generated die.  Only add
15457         AT_comp_dir if the filename is relative.
15458         (remove_AT): Simplify loop.  Also free string values.
15459         (output_die): A DIE ref can't be null.
15460         (output_value_format, value_format): Take a dw_attr_ref.
15461         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
15462         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
15463         AT_addr, AT_lbl): New fns.
15464         (various): Use them.
15465         (various): Constify.
15466
15467 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15468
15469         * combine.c (combine_simplify_rtx): When handling a SUBREG,
15470         take SUBREG_WORD into account.
15471         (if_then_else_cond): Likewise.
15472
15473 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
15474
15475         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
15476         clause from BSD license, pursuant with
15477
15478           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
15479
15480 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
15481
15482         * loop.c (load_mems): Reformat slightly.
15483         * basic-block.h (regset_head): New typedef.
15484         (INIT_REG_SET): New macro.
15485
15486 1999-11-22  Bruce Korb  <autogen@linuxbox.com
15487
15488         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
15489         (mips-dec-bsd*): non-functional code
15490         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
15491
15492         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
15493         added three replacement fixes
15494         (no_double_slash): removed comments that are not (any longer) pertinent
15495         (bad_lval): this fix currently runs against many files.
15496         The comment seems to indicate that we should select for files
15497         containing 'pragma extern_prefix'.
15498
15499         * fixinc/fixinc.x86-linux-gnu: deleted
15500         * fixinc/inclhack.sh:  regen
15501         * fixinc/fixincl.x:  regen
15502         * fixinc/fixincl.sh:  regen
15503
15504 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
15505
15506         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
15507         its code is INSN and it has no notes.
15508
15509 1999-11-22  Andrew Haley  <aph@cygnus.com>
15510
15511         * varasm.c (function_defined): Remove.
15512         (make_function_rtl): Don't set function_defined.
15513         (make_decl_rtl): Remove global register warning.
15514         * regclass.c (no_global_reg_vars): New variable.
15515         (globalize_reg): Warn if function has already been defined.
15516         (regclass_init): Set no_global_reg_vars.
15517
15518 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15519
15520         * regclass.c (reg_pref): New structure and static variable
15521         (prefclass): Delete.
15522         (altclass): Delete.
15523         (all uses of prefclass and altclass): Use reg_pref instead.
15524
15525 1999-11-21  Nick Clifton  <nickc@cygnus.com>
15526
15527         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
15528         -malignment-traps.
15529         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
15530         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
15531         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
15532
15533 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
15534
15535         * varasm.c (output_constructor): Solve problem with long long
15536         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
15537
15538 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15539
15540         * global.c (allocno): New structure and static variable.
15541         (allocno_reg): Remove, all references replaced by allocno.
15542         (allocno_size): Likewise.
15543         (hard_reg_conflicts): Likewise.
15544         (hard_reg_preferences): Likewise.
15545         (hard_reg_copy_preferences): Likewise.
15546         (hard_reg_full_preferences): Likewise.
15547         (regs_someone_prefers): Likewise.
15548         (allocno_calls_crossed): Likewise.
15549         (allocno_n_refs): Likewise.
15550         (allocno_live_length): Likewise.
15551         (find_reg): Rename ALLOCNO to NUM.
15552
15553         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
15554         references updated.
15555         (may_move_out_cost): New variable.
15556         (init_reg_sets_1): Initialize may_move_out_cost.
15557         (record_reg_classes): Use may_move_out_cost.
15558
15559         * regclass.c (dump_regclass): New function.
15560         (regclass): New parameter DUMP, call DUMP_REGCLASS.
15561         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
15562         pass rtl_dump_file to regclass.
15563         * rtl.h (regclass): Update prototype.
15564
15565 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15566
15567         * i386.md (neg, not and abs patterns): Revmap to use
15568         ix86_expand_unary_operator and ix86_unary_operator_ok.
15569         (add?f and sub?f expanders): Force operand 1 to register.
15570         * i386.c (ix86_expand_unary_operator): Rewrite.
15571         (ix86_unary_operator_ok): Ensure that memory operands
15572         match real opcode.
15573         (ix86_binary_operator_ok): Do not allow operand 1 to
15574         come into memory and operand 0 not.
15575         (ix86_expand_binary_operator): Ensure that
15576         src1 is not non-matching memory.
15577
15578         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
15579         to support integer registers and memory.
15580         (abss?2_integer): Likewise.
15581
15582         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
15583         (REG_CLASS_NAMES): Likewise.
15584         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
15585         and GENERAL_REGS.
15586         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
15587         (movsf): Likewise; unify 4th and 5th alternative.
15588         (pushdf): Likewise.
15589         (movdf_1): Likewise; rename to movdf_integer.
15590         (pushxf): Likewise; rename to pushxf_integer; fix output template;
15591         remove redundant splitter.
15592         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
15593         (movdf_nointeger): New.
15594         (movxf_nointeger): New.
15595         (pushxf_nointeger): New.
15596
15597         * i386.md (extend?f?f): Split to expander and pattern, refuse two
15598         memory operands in patterns.
15599         (fop*): Refuse two memory operands.
15600
15601         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
15602         on !TARGET_USE_CLTD CPUs.
15603
15604 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
15605
15606         * extend.texi: Document C++ restricted pointers and references.
15607
15608 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
15609
15610         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
15611         (invalidate_skipped_set): Call it unconditionally.
15612         (cse_set_around_loop): Likewise.
15613
15614 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
15615
15616         * rtl.texi (mem): Add documentation for alias-set argument
15617         to RTX `mem'.
15618
15619 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15620
15621         * i386.h (struct_processor_costs): New fields int_load, int_store,
15622         fp_move, fp_load and fp_store
15623         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
15624         fp->int moves
15625         (MEMORY_MOVE_COST): New macro.
15626         * i386.c (386_cost): Define new fields.
15627         (i486_cost): Likewise.
15628         (pentium_cost): Likewise.
15629         (pentiumpro_cost): Likewise.
15630         (k6_cost): Likewise.
15631
15632 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
15633                           Geoffrey Keating  <geoffk@cygnus.com>
15634
15635         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
15636
15637         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
15638         MASK_ALIGN_INT.
15639
15640         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
15641         (TARGET_STRICT_ALIGNMENT): New macro.
15642         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
15643         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
15644         * invoke.texi (M680x0 Options): Document -mstrict-align.
15645
15646 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
15647                           Richard Henderson  <rth@cygnus.com>
15648
15649         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
15650         (ix86_split_long_move): Declare.
15651         * i386.c (split_xf, ix86_split_movdi): Remove.
15652         (ix86_split_to_parts, ix86_split_long_move): New.
15653         * i386.md (dimode move splitters): Use ix86_split_long_move.
15654         (dfmode move splitters): Likewise.
15655         (xfmode move splitters): Likewise.
15656         (movsf_1): Allow F->r.
15657         (movdf_1, movxf_1): Allow F->ro.
15658
15659 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
15660
15661         * except.h (struct eh_entry): Add goto_entry_p.
15662         (eh_region_from_symbol): Remove prototype.
15663         * except.c (find_func_region_from_symbol): New function.
15664         (emit_cleanup_handler): Likewise.
15665         (eh_region_from_symbol): Make it static.
15666         (add_new_handler): Verify the argument.
15667         (find_func_region): Update comment.
15668         (expand_eh_region_end): Expand handlers here, rater than waiting
15669         until expand_leftover_cleanups or start_all_catch.
15670         (expand_leftover_cleanups): Don't expand here.
15671         (expand_start_all_catch): Or here.
15672         (expand_rethrow): Check the return value from find_func_region.
15673         * function.c (expand_function_end): Emit the catch_clauses.
15674
15675 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
15676
15677         * integrate.c (expand_inline_function): Add necessary check for NULL.
15678
15679 1999-11-18  Nick Clifton  <nickc@cygnus.com>
15680
15681         * toplev.c (main): Correctly detect an unrecognised option.
15682
15683         * cppinit.c (cpp_handle_option): Do not claim to have consumed
15684         a -f option if it has not been recognised.
15685
15686 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
15687
15688         * basic-block.h (update_life_extent): Remove trailing comma on
15689         enumeration type list.
15690
15691 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15692
15693         * varasm.c (output_constructor) Solved problem with long long
15694         bitfields. Corrected calculating this_time and shift. Also
15695         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
15696
15697 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
15698
15699         * flow.c (split_edge): Take looping structure into account when
15700         determining where to put the new block note.
15701
15702 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
15703
15704         * Makefile.in (ggc-none.o): Provide host specific version if
15705         needed.
15706
15707 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
15708
15709         * cse.c (delete_trivially_dead_insns): Identify no-op insns
15710         containing subregs too.
15711
15712 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
15713
15714         * invoke.texi: Add documentation for -muninit-const-in-rodata.
15715         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
15716         (TARGET_UNINIT_CONST_IN_RODATA): Define.
15717         (text_section): Add switches -munint-const-in-rodata and
15718         -mno-uninit-const-in-rodata.
15719         (ASM_OUTPUT_COMMON): Remove.
15720         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
15721         const objects should be placed in read-only data. Otherwise declare
15722         them in common.
15723
15724 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
15725
15726         * jump.c (jump_optimize_1): Revert last change.
15727
15728 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
15729
15730         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
15731         test if optimizing for size.
15732
15733 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
15734
15735         * Makefile.in (toplev.o): Depend on except.h.
15736         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
15737
15738 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15739
15740         * i386.md (divmodsi4): Rewrite to expander.
15741         (*divmodsi4_nocltd): New.
15742         (*divmodsi4_cltd): New.
15743         (divmodsi4 splitter): Handle the case when input comes in edx.
15744         (udivmodhi4): Do not use constraints in exander.
15745         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
15746
15747 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
15748
15749         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
15750         for the common case.
15751
15752 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
15753
15754         * explow.c (hard_function_value): Add outgoing argument.
15755         * expr.h (hard_function_value): Declare it.
15756         * calls.c (expand_call, emit_library_call_value): Update callers.
15757         * function.c (aggregate_value_p): Ditto.
15758         (diddle_return_value): Must look at the outgoing registers
15759         on archs with register windows.
15760
15761 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
15762
15763         * alpha.c (alpha_build_va_list): Use make_lang_type and
15764         initialize TYPE_NAME for the va_list record.
15765
15766         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
15767
15768         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
15769         for printing.
15770         * ggc.h (struct ggc_statistics): Rearrange elements for better
15771         packing on 64-bit hosts.
15772         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
15773         (compute_nearerout): Likewise.
15774
15775 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
15776
15777         * config/rs6000/rs6000.c (first_reg_to_save): Save
15778         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
15779
15780 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
15781
15782         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
15783         notion of nesting to find the DIE for a type or function.
15784         DIEs can go in limbo even if we got a context_die.
15785         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
15786         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
15787         for local type.
15788         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
15789         (gen_type_die): Writing out the context doesn't cause member class
15790         template instantiations to be written out as well.
15791
15792 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
15793
15794         * rs6000.h (ASM_OUTPUT_DEF): New.
15795         Based on proposed addition from David Edelsohn.
15796
15797 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
15798             Bruce Korb  <autogen@linuxbox.com>
15799
15800         * fixinc/inclhack.def
15801         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
15802         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
15803                 in net/inet.h.
15804         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
15805         (svr4_endian): enabled with SVR5
15806         (svr4_mkdev): simplified syntax and enabled with SVR5
15807
15808 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
15809
15810         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
15811         * configure: Rebuilt.
15812         * config/t-freebsd-thread: New file.
15813
15814 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
15815
15816         * i386.c (ix86_decompose_address): Verify the base is a REG
15817         before trying to examine its register number.
15818
15819         * basic-block.h: Remove all #defines and prototypes related to
15820         integer lists.
15821         (free_bb_mem, compute_preds_succs): Remove prototype.
15822         * rtl.h (free_bb_mem): Remove prototype.
15823         * flow.c (alloc_int_list_node); Remove function.
15824         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
15825         (compute_preds_succs, free_bb_mem): Likewise.
15826         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
15827         * toplev.c (rest_of_compilation): Likewise.
15828         * haifa-sched.c (build_control_flow): Use flow generated edge
15829         list to build the haifa specific edge list.
15830         (find_rgns): Use new CFG data structures instead of pred/succ lists.
15831         (schedule_insns): Do not build pred/succ lists anymore.  Instead
15832         build the edge table.
15833
15834         * basic-block.h (dump_bb_data): Remove declaration.
15835         * flow.c (dump_bb_data): Remove function.
15836         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
15837         (sbitmap_union_of_predsucc): Likewise.
15838
15839         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
15840         argument.  All callers changed.
15841         (delete_null_pointer_checks_1): No longer need to compute the
15842         pred/succ lists.
15843
15844         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
15845         All callers changed.
15846         (pre_expr_reaches_here_p_work): Likewise.
15847         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
15848         * lcm.c (compute_laterin): Fix initialization of LATER.
15849         (compute_nearerout): Similarly for NEARER.
15850
15851 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15852
15853         * cse.c (set_nonvarying_address_components): Delete unused function.
15854         (refers_to_p): Likewise.
15855
15856 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
15857
15858         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
15859         needed.
15860
15861 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15862
15863         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
15864         definition in do while (0).
15865
15866 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
15867
15868         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
15869
15870 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
15871
15872         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
15873
15874 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
15875
15876         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
15877         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
15878         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
15879         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
15880
15881         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
15882         saved on the stack.  Output more accurate stack frame statistics
15883         into assembler file.
15884
15885 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
15886
15887         * genextract.c (record_insn_name): New function.
15888         (get_insn_name): No longer a stub.
15889         (main): Call record_insn_name for each insn.  After each label
15890         written, print the insn name in a comment.
15891
15892 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15893
15894         * output.h (const_section, init_section, fini_section): Add
15895         prototypes.
15896
15897         * alpha/elf.h (const_section): Delete declaration.
15898
15899         * svr4.h (const_section): Likewise.
15900
15901 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
15902
15903         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
15904         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
15905         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
15906         expressions.
15907         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
15908         variable-sized array bounds.
15909
15910 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
15911
15912         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
15913         ASM_OUTPUT_LABEL.
15914
15915 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15916
15917         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
15918         addresses the same way GO_IF_LEGITIMATE_INDEX does.
15919
15920 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15921
15922         * cse.c (hash_arg_in_struct): Delete.
15923         (struct table_elt): Delete elt in_struct.
15924         (struct set): Delete elt src_in_struct.
15925         (merge_equiv_classes): Don't set either hash_arg_in_struct or
15926         the corresponding in_struct elts.
15927         (canon_hash): Likewise.
15928         (safe_hash): Likewise.
15929         (find_best_addr): Likewise.
15930         (record_jump_cond): Likewise.
15931         (cse_insn): Likewise.
15932
15933 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
15934
15935         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
15936
15937         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
15938         unsigned types.
15939
15940 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
15941
15942         * function.c (diddle_return_value): Put back check that the DECL_RTL
15943         for the function is a register.
15944
15945         * function.c (diddle_return_value): Use hard_function_value to
15946         get an rtx suitable for use in the USE/CLOBBER insn.
15947
15948         * global.c (global_conflicts): Update comments.
15949         (record_conflicts): No need to record conflicts between pseudos here.
15950
15951 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
15952
15953         * fixinc/fixincl.c: Added verbose levels for status messages
15954
15955 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15956
15957         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
15958         operand as argument to expand_and or expand_binop.
15959
15960 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
15961
15962         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
15963         gcc_add_string_root.
15964
15965 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
15966
15967         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
15968
15969 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
15970
15971         * flow.c (compute_flow_dominators): Initially put all blocks on
15972         the worklist.
15973         * lcm.c (compute_antinout_edge, compute_available): Similarly.
15974         * gcse.c (compute_cprop_avinout): Remove.
15975         (compute_cprop_data): Use compute_available.
15976         (delete_null_pointer_checks_1): Use compute_available.
15977
15978         * basic-block.h (compute_available): Returns a void now.
15979         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
15980         to return a value anymore.
15981         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
15982         worklists.  Fix boundary cases. Compute maximal solutions.
15983         (compute_laterin, compute_nearerout): Similarly.
15984
15985         * dwarf2out.c (add_AT_location_description): Allow
15986         (mem (plus (pseudo) (...)) too.
15987
15988 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
15989
15990         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
15991
15992 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
15993                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15994
15995         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
15996
15997         * gansidecl.h: Likewise.
15998
15999         * rtl.c: Likewise.
16000
16001         * rtl.h: Likewise.
16002
16003         * toplev.h: Likewise.
16004
16005         * tree.c: Likewise.
16006
16007         * tree.h: Likewise.
16008
16009         * varray.c: Likewise.
16010
16011         * varray.h: Likewise.
16012
16013 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
16014
16015         * gcov.c (struct arcdata): Add hits and total, remove prob.
16016         (output_branch_counts): New.
16017         (process_args): Set output_branch_counts if -c.
16018         (calculate_branch_probs): Store hits and total instead of
16019         percentage.
16020         (output_data): Emit counts if output_branch_counts is true.
16021         * gcov.texi (Invoking Gcov): Document -c switch..
16022
16023 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
16024
16025         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
16026         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
16027
16028 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
16029
16030         * invoke.texi (C Dialect Options): Add missing builtins from
16031         c-common.c to list.
16032         * extend.texi (Other Builtins): Copy to this list.
16033
16034 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16035
16036         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
16037         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
16038         redundant bitmap.h.
16039
16040 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
16041
16042         * flow.c (compute_flow_dominators): No longer treat basic block 0
16043         or (n_basic_blocks - 1) specially.  Clear the AUX field before
16044         starting computation of doms/pdoms.  Fix initial state for pdoms.
16045
16046 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16047
16048         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
16049         match rtl.o's: added ggc.h and toplev.h
16050         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
16051         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
16052         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
16053
16054 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
16055
16056         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
16057         from HAVE_DOS_BASED_FILESYSTEM.
16058         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
16059         HAVE_DOS_BASED_FILESYSTEM.
16060         (main): Likewise.
16061         (split_directories): Only special-case DOS file names if
16062         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
16063         instead of explicit tests.  Conditionalize on !VMS.
16064         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
16065         tests.  Conditionalize on !VMS.
16066         (process_command): Only use make_relative_prefix if !VMS.
16067         (free_split_directories): Conditionalize on !VMS.
16068         (DIR_UP): Conditionalize on !VMS.
16069
16070 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16071
16072         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
16073
16074 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16075
16076         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
16077         case.
16078
16079 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
16080
16081         * invoke.texi (Environment Variables): Document relative path
16082         lookup.
16083         * gcc.c (DIR_UP): If not defined, define as "..".
16084         (standard_bindir_prefix): New static, holds target location to
16085         install binaries.
16086         (split_directories): New function to split a filename into
16087         component directories.
16088         (free_split_directories): New function, release memory allocated
16089         by split_directories.
16090         (make_relative_prefix): New function, make a relative pathname if
16091         the compiler is not in the expected location.
16092         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
16093         can figure out an appropriate prefix from argv[0].
16094         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
16095         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
16096         STANDARD_BINDIR_PREFIX.
16097
16098 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16099
16100         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
16101         in c4x.c.
16102         * config/c4x/c4x.h: Moved prototypes to c4x.h.
16103         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
16104         c4x_secondary_memory_needed) Delete.
16105         (fp_zero_operand): Add mode argument.
16106
16107 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
16108
16109         * reload1.c (reload_reg_free_for_value_p): Don't use a register
16110         that is in reload_reg_used.
16111
16112 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
16113
16114         * config/arm/arm-protos.h: New file: Prototypes for functions
16115         defined in arm.c and pe.c.
16116         * config/arm/arm.h: Fix compile time warnings.
16117         * config/arm/arm.c: Fix compile time warnings.
16118         * config/arm/pe.h: Fix compile time warnings.
16119         * config/arm/aout.h: Fix compile time warnings.
16120
16121 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
16122
16123         * config/m32r/m32r-protos.h: New file: Prototypes for functions
16124         defined in m32r.c
16125
16126         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
16127         Add support for subtargets.
16128         Add prototypes for new predicates.
16129         Add scheduling macros.
16130
16131         * config/m32r/m32r.c: Fix compile time warnings.
16132         (int8_operand): New predicate function.
16133         (reg_or_cmp_int16_operand): New predicate function.
16134         (extend_operand): New predicate function.
16135         (m32r_adjust_code): New scheduling function.
16136         (m32r_adjust_priorty): New scheduling function.
16137         (m32r_sched_init): New scheduling function.
16138         (m32r_sched_reorder): New scheduling function.
16139         (m32r_sched_variable_issue): New scheduling function.
16140         (direct_return): New codegen function.
16141         (m32r_not_same_reg): New rtl testsing function.
16142
16143         * config/m32r/m32r.md: Fix compile time warnings.
16144         Add support for pre decrement and post increment memory
16145         references.
16146         Add S<cc> patterns.
16147         Add fabs patterns.
16148
16149 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16150
16151         * global.c (EXECUTE_IF_CONFLICT): Don't define.
16152         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
16153         (find_reg): Likewise.
16154
16155 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
16156
16157         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
16158         to avoid assembler errors.
16159
16160 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
16161
16162         * config/v850/v850-protos.h: New file: Prototypes for functions
16163         defined in v850.c
16164         * config/v850/v850.h: Move prototypes to v850-protos.h
16165         * config/v850/v850.c: Move prototypes to v850-protos.h
16166         * config/v850/v850.md: Fix compile time warnings.
16167
16168         * config/fr30/fr30-protos.h: New file: Prototypes for functions
16169         defined in fr30.c
16170         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
16171         * config/fr30/fr30.c: Fix compile time warnings.
16172         * config/fr30/fr30.md: Fix compile time warnings.
16173
16174 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
16175
16176         * tree.h (get_containing_scope): Declare it.
16177         * tree.c (get_containing_scope): New fucntion.
16178         (decl_function_context): Use it.
16179         * toplev.c (rest_of_compilation): Use get_containing_scope.
16180
16181 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16182
16183         * Makefile.in (rtl.o): Depend on toplev.h.
16184
16185 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
16186
16187         * cse.c (delete_trivially_dead_insns): Replace alloca with
16188         xmalloc/xcalloc.
16189         * except.c (update_rethrow_references): Likewise.
16190         (init_eh_nesting_info): Likewise.
16191         * function.c (identify_blocks): Likewise.
16192         * gcse.c (dump_hash_table): Likewise.
16193         * graph.c (print_rtl_graph_with_bb): Likewise.
16194         * loop.c (combine_movables): Likewise.
16195         (move_movables): Likewise.
16196         (count_loop_regs_set): Likewise.
16197         (strength_reduce): Likewise.
16198         * profile.c (compute_branch_probabilities): New function, split
16199         out from ...
16200         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
16201         * regclass.c (regclass): Likewise.
16202         * regmove.c (regmove_optimize): Likewise.
16203         * toplev.c (compile_file): Likewise.
16204         (main): Don't mess with the stack rlimit.
16205
16206 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
16207
16208         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
16209         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
16210
16211 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
16212
16213         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
16214
16215 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
16216
16217         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
16218         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
16219         macro expansion.
16220
16221 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
16222
16223         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
16224
16225 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
16226
16227         * gcse.c (post_dominators): Kill.
16228         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
16229         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
16230         pass in a pdom array since we do not need pdoms.
16231         * haifa-sched.c (schedule_insns): Similarly.
16232         * flow.c (compute_dominators): Remove dead function.
16233         (compute_flow_dominators): Do not compute doms or pdoms if the
16234         caller does not request them.  Split up loop to build doms and
16235         pdoms.  Use a worklist to compute doms and pdoms.
16236         * basic-block.h (compute_dominators): Remove prototype.
16237
16238 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
16239
16240         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
16241         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
16242         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
16243         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
16244         (cant_move, fed_by_spec_load, is_load_insn): Remove.
16245         (schedule_region): Remove unused variable.
16246         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
16247
16248 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
16249
16250         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
16251         (update_equiv_regs): Likewise.
16252         (block_alloc): Likewise.
16253         * reg-stack.c (reg_to_stack): Likewise.
16254         (convert_regs_2): Likewise.
16255         * reload1.c (reload_as_needed): Likewise.
16256
16257 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
16258
16259         * Makefile.in (dbxout.o): Depend on ggc.h.
16260         (dwarf2out.o): Likewise.
16261         (xcoffout.o): Likewise.
16262         * dbxout.c: Include ggc.h.
16263         (dbxout_init): Register lastfile as a root.
16264         * dwarf2out.c: Include ggc.h.
16265         (dwarf2out_line): Register lastfile as a root.
16266         * xcoffout.c: Include ggc.h.
16267         (xcoffout_source_line): Register xcoff_lastfile as a root.
16268
16269 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
16270
16271         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
16272
16273 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
16274
16275         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
16276         defined.
16277         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
16278
16279 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16280
16281         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
16282         (EXECUTE_IF_CONFLICT): Likewise.
16283         (ALLOCNO_LIVE_P): Avoid signed division.
16284         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
16285         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
16286         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
16287
16288 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
16289
16290         * haifa-sched.c (schedule_block): Don't crash if there's no
16291         next insn for an interblock movement.
16292         (add_branch_dependences): Don't allow clobber insns to move either.
16293
16294 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
16295
16296         * i386.c (split_xf): New.
16297         * i386-protos.h: Declare it.
16298         * i386.md (movxf_1): Add general regs alternatives.
16299         (movxf_1+1): New splitter for same.
16300
16301 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
16302
16303         * function.c (purge_addressof_1): Add missing return values.
16304
16305 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
16306
16307         * function.c (is_addressof): New function.  Returns true if
16308         the given piece of RTL is an ADDRESSOF.
16309         (purge_addressof_1): Make boolean.  Return false if the
16310         ADDRESSOFs could not be purged.
16311         (purge_addressof): If ADDRESSOFs could not be purged from the
16312         notes attached to an insn, remove the offending note(s),
16313         unless they are attached to a libcall.
16314
16315 1999-11-05  Andreas Jaeger  <aj@suse.de>
16316
16317         * genoutput.c (null_operand =): Initialize all fields.
16318
16319         * errors.h: Add extern to prototypes.
16320
16321 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
16322
16323         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
16324         * configure: Rebuilt.
16325
16326 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16327
16328         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
16329         (mirror_conflicts): New function.
16330         (global_alloc): Call it.
16331         (expand_preferences): Remove redundant CONFLICTP test.
16332         (find_reg, dump_conflicts): Likewise.
16333         (prune_preferences): Process conflicts one word at a time.
16334
16335 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
16336
16337         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
16338         instead of an explicit loop.
16339
16340 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
16341
16342         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
16343         if REG_RETVAL check succeeds, then put classp in src_elt.
16344
16345 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
16346
16347         * function.c (pad_to_arg_alignment): Only update argument_pad
16348         if the argument's alignment is greater than STACK_BOUNDARY.
16349
16350 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
16351
16352         * bitmap.h (BITMAP_XFREE): New.
16353         * flow.c (life_analysis): Use it.
16354         (life_analysis_1): Free blocks.
16355
16356         * combine.c (undo_commit): New.
16357         (try_combine): Use it.  Don't zap undobuf.undos.
16358         (combine_instructions): Don't zap undobuf.undos; free the
16359         undobuf.frees list.
16360
16361         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
16362
16363         * stmt.c (cost_table_): New.
16364         (estimate_case_costs): Use it instead of xmalloc.
16365
16366         * toplev.c (compile_file): Reuse dumpname memory instead
16367         of strdup'ing it.
16368
16369 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
16370
16371         * reg-stack.c (convert_regs_1): Initialize target_stack->top
16372         after verifying an EH edge.
16373
16374         * haifa-sched.c (init_rgn_data_dependences): Correctly
16375         size bb_pending_lists_length when zeroing.
16376
16377 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
16378
16379         * function.c (diddle_return_value): New.
16380         (expand_function_end): Use it.
16381         * stmt.c (expand_null_return): Likewise.
16382         (expand_value_return): Likewise.
16383
16384         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
16385
16386         * reload1.c (reload): Don't remove return value clobbers.
16387
16388 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
16389
16390         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
16391
16392 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
16393
16394         * cse.c (cse_main): Use xmalloc, not alloca.
16395         (cse_basic_block): Likewise.
16396         * local-alloc.c (local_alloc): Likewise.
16397
16398 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
16399                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16400
16401         * rtl.c: Include toplev.h.
16402         (fatal): Remove declaration.
16403
16404 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
16405
16406         * haifa-sched.c (schedule_block): Fix thinko.
16407
16408 1999-11-03  James McKelvey <mckelvey@fafnir.com>
16409
16410         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
16411         S_IR* defined values
16412
16413 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
16414
16415         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
16416         call `malloc' instead.
16417
16418 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
16419
16420         * flags.h (flag_renumber_insns): Declare.
16421         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
16422         renumbering table.
16423         * rtl.h (renumber_insns): Change prototype.
16424         * toplev.c (flag_renumber_insns): Define.
16425         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
16426
16427 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
16428
16429         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
16430         and fpsqrtd.  Use them and create fdiv function unit to more
16431         accurately represent fpu sqrt pipeline semantics on UltraSparc.
16432         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
16433
16434 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
16435
16436         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
16437         3 on UltraSparc.
16438         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
16439         insn into ready list, do not use just a raw swap.
16440
16441 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
16442
16443         * rtl.h (renumber_insns): New function.
16444         (remove_unnecessary_notes): Likewise.
16445         * emit-rtl.c (renumber_insns): Define.
16446         (remove_unncessary_notes): Likewise.
16447         * toplev.c (rest_of_compilation): Remove dead code.
16448         Use renumber_insns and remove_unncessary_notes.
16449
16450         * gcse.c (struct null_pointer_info): New type.
16451         (get_bitmap_width): New function.
16452         (current_block): Remove.
16453         (nonnull_local): Likewise.
16454         (nonnull_killed): Likewise.
16455         (invalidate_nonnull_info): Take a null_pointer_info as input.
16456         (delete_null_pointer_checks_1): New function.
16457         (delete_null_pointer_checks): Use it.
16458
16459         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
16460         (split_edges): Likewise.
16461         (schedule_block): Likewise.
16462         (compute_block_backward_dependencies): Likewise.
16463         (schedule_region): Likewise.
16464         (schedule_insns): Likewise.
16465
16466 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
16467
16468         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
16469         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
16470         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
16471         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
16472         * jump.c (delete_unreferenced_labels): Don't delete if
16473         LABEL_ALTERNATE_NAME is set.
16474         * print-rtl.c (print_rtx): Dump alternate name.
16475         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
16476         * rtl.h (LABEL_ALTERNATE_NAME): Define.
16477         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
16478         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
16479
16480 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16481
16482         * fix-header.c (recognized_extern, recognized_function): Constify
16483         a char*.
16484
16485         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
16486         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
16487         (compute_available): Remove unused variable `last'.
16488         (compute_nearerout): Remove unused variable `temp_bitmap'.
16489         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
16490         Remove unused variable `x'.
16491
16492         * scan.h (recognized_function, recognized_extern): Constify a
16493         char*.
16494
16495         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
16496
16497 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16498
16499         * varasm.c (decode_rtx_const): Use XSTR to access the string
16500         of a SYMBOL_REF.
16501
16502 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
16503
16504         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
16505
16506 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16507
16508         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
16509
16510 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
16511
16512         * pa.c (ireg_operand): New function.
16513         * pa.h (PREDICATE_CODES): Handle ireg_operand.
16514         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
16515         Fix out of date comment.
16516
16517         * pa.md (negdi2): Turn into expander + anonymous pattern.
16518
16519         * reload.c (find_reloads): Fix typos in recent change.
16520
16521         * dwarf2out.c: Do not include ctype.h.
16522
16523 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16524
16525         * regclass.c (record_reg_classes): Always use may_move_cost when
16526         seeing how operand fits with various register classes.
16527
16528 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
16529
16530         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
16531         * toplev.c: Revert Nov 1 13:22 change.
16532
16533 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
16534
16535         * config/pa/pa.md (height reduction patterns): Add checks for
16536         overlapping operands to avoid semantic-destroying splits for
16537         height reduction patterns.
16538
16539 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16540
16541         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
16542         have been an hyphen, fixed.
16543         * configure: Rebuilt.
16544
16545 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
16546
16547         * config/arm/tpe.h: Add prototypes for exported functions.
16548         * config/arm/pe.c: Fix compile time warnings.
16549         * config/arm/semi.h: Fix compile time warnings.
16550         * config/arm/arm.c: Fix compile time warnings.
16551         * config/arm/arm.h: Fix compile time warnings.
16552         * config/arm/arm.md: Fix compile time warnings.
16553         * config/arm/thumb.c: Fix compile time warnings.
16554         * config/arm/thumb.h: Fix compile time warnings.
16555         * config/arm/thumb.md: Fix compile time warnings.
16556
16557 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
16558
16559         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
16560         detection code
16561
16562         * unroll.c (unroll_loop): Remove LOOP notes when loop is
16563         completely unrolled.
16564
16565 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16566
16567         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
16568
16569 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
16570
16571         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
16572         * rtl.h (rtx_equal_p): Move prototype.
16573         * rtl.c (rtx_equal_function_value_matters): Move from
16574         rtlanal.c
16575         (rtx_equal_p): Likewise.
16576         * rtlanal.c (rtx_equal_function_value_matters): Delete.
16577         (rtx_equal_p): Likewise.
16578
16579 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
16580
16581         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
16582         ! HAS_INIT_SECTION.
16583
16584 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
16585
16586         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
16587
16588         * pa.h (ADDR_VEC_ALIGN): Define.
16589
16590         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
16591         notes when presented with "if (foo) break; end_of_loop" and
16592         the break sequence gets moved out of the loop.
16593
16594         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
16595         Remove explicit zero initializations of entries within MAP.
16596
16597 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
16598
16599         * reg-stack.c (convert_regs_1): Handle EH edges specially.
16600
16601 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
16602
16603         * bitmap.h (BITMAP_XMALLOC): New macro.
16604         * flow.c (CLEAN_ALLOCA): Remove.
16605         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
16606         (life_analysis): Likewise.
16607         (update_life_info): Don't use CLEAN_ALLOCA.
16608         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
16609         (calculate_global_regs_live): Likewise.
16610         (print_rtl_with_bb): Likewise.
16611         (verify_flow_info): Likewise.
16612         * global.c (global_alloc): Likewise.
16613         (global_conflicts): Likewise.
16614         * integrate.c (save_for_inline_nocopy): Likewise.
16615         (expand_inline_function): Likewise.
16616         * jump.c (jump_optimize_1): Likewise.
16617         (duplicate_loop_exit_test): Likewise.
16618         (thread_jumps): Likewise.
16619         * loop.c (loop_optimize): Likewise.
16620         (combine_givs): Likewise.
16621         (recombine_givs): Likewise.
16622         * reorg.c (dbr_schedule): Likewise.
16623         * unroll.c (unroll_loop): Likewise.
16624
16625         * combine.c (combine_instructions): Use xmalloc instead of alloca.
16626
16627 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
16628
16629         * toplev.c (rest_of_compilation): Don't optimize the CFG
16630         when rebuilding, just before dbr.
16631
16632 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16633
16634         * output.h (assemble_end_function, assemble_destructor,
16635         assemble_constructor, assemble_gc_entry, assemble_global,
16636         assemble_label, output_constant_pool) Constify a char*.
16637
16638         * varasm.c (assemble_destructor, assemble_constructor,
16639         assemble_gc_entry, assemble_end_function, assemble_global,
16640         assemble_label, output_constant_pool): Likewise.
16641
16642 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
16643
16644         * config/arm/thumb.c (thumb_expand_prologue): Add comments
16645         explaining what is goin on in this function.
16646
16647 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16648
16649         * regclass.c (record_reg_classes): In matching case, recompute
16650         costs since the direction of movement is different.
16651
16652 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
16653
16654         * resource.c (mark_target_live_regs): For unconditional branches,
16655         the resources found at the branch target should be added to the
16656         resources found so far, not intersected.
16657
16658 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
16659
16660         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
16661         old cpp's.
16662         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
16663         (sys/mman.h): Include this file only if #HAVE_MMAP.
16664         (run_compiles): Initialize `esac_fmt' with one old KR string, not
16665         with automatically concatenated ANSI strings.
16666
16667 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
16668
16669         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
16670         (DIV_ROUND_UP): Robustify.
16671         (ggc_recalculate_in_use_p): New function.
16672         (release_pages): Don't inline it.
16673         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
16674         outer contexts.
16675         (ggc_pop_context): Use ggc_recalculate_in_use_p.
16676         (clear_marks): Always save in_use_p.
16677         (sweep_pages): Use ggc_recalculate_in_use_p.
16678         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
16679         Release pages before counting statistics.
16680
16681 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
16682
16683         * toplev.c (rest_of_compilation): Fix thinko in this change:
16684
16685         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
16686
16687         (rest_of_compilation): If inside an inlined external function,
16688         pretend we are just being declared.
16689
16690 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
16691
16692         * flow.c (calculate_global_regs_live): Fix thinko.
16693
16694         * integrate.c (expand_inline_function): Fix bugs in previous
16695         change from Oct 28, 1999.
16696
16697 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
16698
16699         * stmt.c (expand_value_return): Fix typo in this change:
16700
16701         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16702         (expand_value_return): Correctly convert VAL when promoting function
16703         return; support RETURN_REG being a PARALLEL.
16704
16705 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
16706
16707         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
16708
16709 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16710
16711         * hard-reg-set.h (reg_names): Constify a char*.
16712
16713         * regclass.c  (reg_names): Likewise.
16714
16715         * regs.h (reg_names): Likewise
16716
16717         * a29k/a29k.c (reg_names): Delete declaration.
16718
16719         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
16720
16721         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
16722         arc_output_function_epilogue): Likewise.
16723
16724         * elxsi/elxsi.c (reg_names): Likewise.
16725
16726         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
16727
16728         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
16729         Likewise.
16730
16731         * m88k/m88k.c (output_function_profiler): Likewise.
16732
16733         * sparc/sparc.c (sparc_flat_output_function_prologue,
16734         sparc_flat_output_function_epilogue): Likewise.
16735
16736 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
16737
16738         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
16739         warning from -Wuninitialized and put it under -W.
16740         * function.c (uninitialized_vars_warning): Warn only when the
16741         corresponding flag is set.
16742
16743 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
16744
16745         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
16746         is nonzero and the single set does not have an elt, then assign
16747         it an elt.
16748
16749         * simplify-rtx.c: New file.
16750         * Makefile.in (OBJS): Add simplify-rtx.o
16751         (simplify-rtx.o): Add dependencies.
16752         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
16753         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
16754         (cse_gen_binary, simplify_unary_operation): Delete.
16755         (simplify_binary_operation, simplify_plus_minus): Likewise.
16756         (check_fold_consts, simplify_relation_operation): Likewise.
16757         (simplify_ternary_operation): Likewise.
16758         (delete_trivially_dead_insns): Simplify the contents of the
16759         REG_EQUAL note before trying to substitute it into the source
16760         of the reg-reg copy at the end of a libcall sequence.
16761
16762         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
16763         references/callers changed.
16764
16765         * mn10200.c (mn10200_va_arg): Force the return value into a
16766         register.
16767
16768         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
16769
16770         * cccp.c (macroexpand): Avoid out of range accesses for omitted
16771         arguments.
16772
16773 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
16774
16775         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
16776
16777 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
16778
16779         * fold-const.c (fold): Fix thinko when optimizing comparisons
16780         against -0.0.
16781
16782 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
16783
16784         * gcc.texi (Passes): Update front-end files to their current
16785         location.
16786
16787 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
16788
16789         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
16790         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
16791         (PREDICATE_CODES): Add addition_operation.
16792         * alpha-protos.h (addition_operation): Declare.
16793         (secondary_reload_class): Likewise.
16794         * alpha.c (addition_operation): New.
16795         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
16796         * alpha.md (adddi3): Turn into expander.
16797         (*lda, *adddi_2): New.
16798         (movsf, movdf patterns): Don't preference integer regs.
16799         (movsi, movdi patterns): Don't preference fp regs.
16800
16801 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
16802
16803         * genrecog.c (write_switch): Check for duplicate CODE cases.
16804
16805 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
16806
16807         * ggc-common.c: Update pre-function commentary.
16808         * ggc-page.c: Likewise.
16809         (poison): Remove.
16810         (poison_pages): Use memset directly.
16811         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
16812         (ggc_collect): Poison before sweeping.
16813         * ggc-simple.c: Update pre-function commentary.
16814         (ggc_alloc_obj): Poison non-zeroed memory.
16815
16816 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
16817
16818         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
16819         match format string, even on 64-bit hosts.
16820         * gcc-page.c (ggc_page_print_statistics): Likewise.
16821
16822 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
16823
16824         * config/i386/i386.c (ix86_cpu): Revert last patch.
16825         * config/i386/i386.h (ix86_cpu): Ditto.
16826
16827 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
16828
16829         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
16830         TYPE_SIZE, convert type of result to sizetype.
16831
16832 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
16833
16834         * flow.c (count_or_remove_death_notes): Equate NULL with the
16835         universal set.
16836
16837         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
16838         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
16839         dbr_schedule.
16840
16841         * i386.c (pic_label_no): Delete.
16842         (ix86_attr_length_default): Don't use single_set to peek
16843         inside a parallel.
16844
16845         * recog.c (peephole2_optimize): Allow recog_next_insn to index
16846         the first insn after bb->end.
16847         * i386.md (push mem peeps): Scratch is live after evaluation
16848         of the memory.
16849         (cmp mem peep): Similarly.
16850
16851 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
16852
16853         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
16854         * function.c (pad_to_arg_alignment): Add missing braces.
16855
16856 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16857
16858         * alpha/alpha-protos.h (literal_section): Add prototype.
16859         (alpha_need_linkage, alpha_start_function,alpha_end_function):
16860         Constify a char*.
16861
16862         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
16863         prototype.
16864         (alpha_start_function, alpha_end_function, float_strings,
16865         alpha_need_linkage): Constify a char*
16866
16867         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
16868
16869         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
16870
16871         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
16872
16873         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
16874
16875 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16876
16877         * flow.c (debug_flow_info): Add prototype.
16878
16879         * gcc.c (main): Likewise.
16880
16881         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
16882         Likewise.
16883
16884         * reload1.c (failed_reload, set_reload_reg): Likewise.
16885
16886         * mips-tfile.c (main): Likewise.
16887         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
16888         with ATTRIBUTE_NORETURN.
16889
16890 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
16891
16892         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
16893         DECL is not a memory ref.
16894
16895 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
16896
16897         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
16898         * config/i386/i386.c (ix86_cpu): Add extern attribute.
16899
16900 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
16901
16902         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
16903         * config/mips/elf64.h: ditto.
16904
16905 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
16906
16907         * expr.c (emit_push_insn): New argument alignment_pad.
16908         Update all callers.  Adjust stack pointer based on alignment pad.
16909         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
16910         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
16911         (locate_and_pad_parm): New argument alignment_pad.  Update all
16912         callers.
16913         * expr.h (emit_push_insn): Update prototype.
16914         (locate_and_pad_parm): Update prototype.
16915         * calls.c (arg_data):  Add new field alignment_pad.
16916         (initialize_argument_information): Initialize alignment_pad.
16917
16918 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
16919
16920         * except.c (free_eh_nesting_info): Free the info itself.
16921         * function.c (free_after_compilation): Don't free NULL.
16922         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
16923         (pre_edge_insert): Free inserted.
16924         * stmt.c (free_stmt_status): Don't free NULL.
16925
16926 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
16927
16928         * gcov.c (DIR_SEPARATOR): Provide default.
16929         (output_data): Add test for MS-DOS format absolute filename.
16930         (fancy_abort): Correct program name.
16931         (open_files): Open all files in binary mode.
16932         * libgcc2.c (__bb_exit_func): Likewise.
16933
16934         * profile.c (init_branch_prob): Specify binary when opening files.
16935
16936         * flags.h (flag_unwind_tables): New decl.
16937         * toplev.c (flag_unwind_table): New definition.
16938         (f_options): Add -funwind-tables.
16939         (decode_g_option): Clarify warning when unknown -g option is given.
16940         (rest_of_compilation): If inside an inlined external function,
16941         pretend we are just being declared.
16942
16943         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
16944         (dwarf2out_frame_finish): Likewise.
16945
16946 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
16947
16948         * fold-const.c (merge_ranges): If not in0, but in1, handle
16949         upper bounds equal like subset case.
16950
16951 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
16952
16953         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
16954         passed in a register but moved to the stack.
16955
16956 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
16957
16958         * gcc.c (pass_exit_codes, greatest_status): New variables.
16959         (struct option_map): Add entry for "--pass-exit-codes".
16960         (execute): Update greatest_status if error.
16961         (display_help): Add documentation for -pass-exit-codes.
16962         (process_command): Handle -pass-exit-codes.
16963         (main): Look at pass_exit_codes and greatest_status on call to exit.
16964
16965 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16966
16967         * reload.c (find_reloads): Refine test for no input reload
16968         case to not includes reloads emitted after insn.
16969
16970         * function.c (find_temp_slots_from_address): Handle sum involving
16971         a register that points to a temp slot.
16972         (update_temp_slot_address): Make recursive call if both old and
16973         new are PLUS with a common operand.
16974         * calls.c (expand_call): Mark temp slot for result as having
16975         address taken.
16976
16977         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
16978
16979         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
16980         component as well as "BINUTILS".
16981
16982         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
16983         * integrate.c (copy_rtx_and_substitute): Likewise.
16984         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
16985         All callers changed.
16986         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
16987
16988         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
16989         gdb extensions, write size of type; also be more consistent
16990         in using references when this is a subtype.
16991
16992         * pa.md (extv, extzv, insv): Use define_expand to reject constant
16993         that is out of range.
16994
16995         * loop.c (unknown_constant_address_altered): New variable.
16996         (prescan_loop): Initialize it.
16997         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
16998         (invariant_p, case MEM): Remove handling for volatile and readonly;
16999         check new variable if readonly.
17000         (check_dbra_loop): Chdeck unknown_constant_address_altered.
17001
17002         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
17003         (addr_affects_sp_p): Removed from note_mem_written and only
17004         define #ifdef AUTO_INC_DEC.
17005
17006         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
17007
17008         * regclass.c (record_reg_classes): Properly handle register move
17009         directions.
17010
17011         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
17012         Don't think valid if both operands are invalid.
17013         (struct constant_descriptor): New field RTL.
17014         (mark_const_hash_entry): Mark it.
17015         (record_constant{,_rtx}): Initialize it.
17016         (output_constant_def): Allocate RTL in permanent obstack and
17017         save in table.
17018         ({record,compare}_constant_1): Modes must match for
17019         CONSTRUCTOR of ARRAY_TYPE.
17020
17021         * c-common.h (initializer_constant_valid_p): Delete decl from here.
17022         * output.h (initializer_constant_valid_p): Move decl to here.
17023         * c-common.c (initializer_constant_valid_p): Delete function from here.
17024         * varasm.c (initializer_constant_valid_p): Move function to here.
17025
17026         * tree.h (STRIP_SIGN_NOPS): New macro.
17027         * fold-const.c (optimize_minmax_comparison): New function.
17028         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
17029         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
17030         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
17031         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
17032         widening conversions.
17033         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
17034         to look at size of mode, not precision of type; also add missing cases.
17035         (optimize_bit_field_compare, decode_field_reference): Don't try to
17036         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
17037
17038         * dwarf2out.c (ctype.h): Include.
17039         (dwarf2out_set_demangle_name_func): New function.
17040         (size_of_line_info): Deleted.
17041         (output_line_info): Compute size of line info table from difference
17042         of labels.
17043         (base_type_die, add_name_attribute): Call demangle function, if any.
17044         (field_byte_offset): Use bits per word for variable length fields.
17045         (gen_array_type_die): Add array name.
17046         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
17047         (dwarf2out_add_library_unit_info): New function.
17048
17049         * explow.c (set_stack_check_libfunc): New function.
17050         (stack_check_libfunc): New static variable.
17051         (probe_stack_range): Allow front-end to set up a libfunc to call.
17052
17053         * combine.c (simplify_comparison): When making comparison in wider
17054         mode, check for having commuted an AND and a SUBREG.
17055         (contains_muldiv): New function.
17056         (try_combine): Call it when dividing a PARALLEL.
17057         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
17058         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
17059         a PLUS.
17060         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
17061         use one of the CLOBBERs instead.
17062         (if_then_else_cond): If comparing against zero, just return thing
17063         being compared.
17064
17065         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
17066         Don't generate shifts and subtract if have conditional arithmetic.
17067
17068         * rtl.h (delete_barrier): New declaration.
17069         * jump.c (jump_optimize): Set up to handle conditional call.
17070         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
17071         (delete_barrier): New function.
17072
17073         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
17074
17075         * recog.c (nonmemory_operand): Accept ADDRESSOF.
17076
17077         * tree.c (build_type_attribute_variant): Push to obstack of
17078         ttype around type_hash_canon call.
17079
17080         * expr.c (placeholder_list): Move decl to file scope.
17081         (expand_expr): Don't force access to volatile just because its
17082         address is taken.
17083         If ignoring reference operations, just expand the operands.
17084         (expand_expr, case COMPONENT_REF): Propagate
17085         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
17086         Refine test for using bitfield operations vs pointer punning.
17087         (expand_expr, case CONVERT_EXPR): If converting to
17088         BLKmode UNION_TYPE from BLKmode, just return inner object.
17089         Use proper mode in store_field call.
17090         Properly set sizes of object to store and total size in store_field
17091         call for convert to union.
17092         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
17093         memory (like for ADDR_EXPR).  Also, don't put constant in register if
17094         we'll want it in memory.
17095         (readonly_fields_p): New function.
17096         (expand_expr, case INDIRECT_REF): Call it if LHS.
17097         (expand_assignment): Handle a RESULT_DECL where
17098         DECL_RTL is a PARALLEL.
17099         (do_jump, case WITH_RECORD_EXPR): New case.
17100         (get_inner_reference): Always go inside a CONVERT_EXPR
17101         and NOP_EXPR if both modes are the same.
17102         (store_field): Use bitfield operations if size of bitsize is not same
17103         as size of RHS's type.
17104         Check for bitpos not a multiple of alignment in BLKmode case.
17105         Do block move in largest possible alignment.
17106         (store_constructor): Set BITSIZE to -1 for variable size and properly
17107         in case of array of BLKmode.
17108         (expand_expr_unaligned): New function.
17109         (do_compare_and_jump): Call it.
17110
17111         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
17112         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
17113         does not include 'o'.
17114
17115         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
17116         both SET_DEST and SET_SRC reference a virtual register.
17117         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
17118
17119         * integrate.c (expand_inline_function): Handle case of setting
17120         virtual stack vars register (from built in setjmp); when parameter
17121         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
17122         (subst_constant): Add new parm, MEMONLY.
17123         (expand_inline_function, integrate_parm_decls): Pass new parm.
17124         (integrate_decl_tree): Likewise.
17125         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
17126         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
17127         (copy_rtx_and_substitute, case SET): Add explicit calls to
17128         copy_rtx_and_substitute for both sides.
17129
17130         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
17131         constraints.
17132         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
17133         within INDEX_TYPE, instead of before.
17134         (fixup_gotos): Use f->target_rtl, not the next insn,
17135         since latter may be from a later fixup.
17136         (expand_value_return): Correctly convert VAL when promoting function
17137         return; support RETURN_REG being a PARALLEL.
17138         (expand_return): When checking for result in regs and having
17139         cleanup, consider PARALLEL in DECL_RTL as being in regs.
17140
17141 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
17142
17143         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
17144         last_nominal_fname): Mark const.
17145         (struct include_hash: name, nshort, control_macro): Mark
17146         const.
17147         (struct macrodef: symnam): Mark const.
17148         (struct if_stack: fname): Mark const.
17149         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
17150         (IStable): New character-syntax array which encompasses all
17151         the old is_foo arrays.
17152         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
17153         is_space): New macros for interrogating IStable.
17154         (check_macro_name): Kill last argument.  All callers changed.
17155
17156         * cppinit.c (initialize_char_syntax): Delete.
17157         (is_idchar, is_idstart, is_hor_space, is_space,
17158         trigraph_table): Delete.
17159         (IStable): New.  Initialize with clever macros to avoid
17160         information duplication.
17161         (builtin_array): Table of builtins to get rid of explicit list
17162         in initialize_builtins.
17163         (initialize_builtins): Use builtins_array.
17164         (cpp_start_read): Call init_IStable, and set IStable['$'] if
17165         opts->dollars_in_ident.
17166
17167         * cppexp.c: Change all refs to is_xyz[] arrays to use new
17168         is_xyz() macros.
17169         (cpp_parse_expr): Avoid 'format string is not constant'
17170         warning. Use ISGRAPH to identify printable chars.
17171         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
17172         is_xyz() macros.
17173         (read_and_prescan): Map trigraphs to chars with open-coded
17174         if-else-if-... sequence, not a lookup table.
17175         * cpphash.c: Change all refs to is_xyz[] arrays to use new
17176         is_xyz() macros.
17177         * cpplib.c: Change all refs to is_xyz[] arrays to use new
17178         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
17179         (check_macro_name): Remove ability to report an invalid
17180         assertion name, which is never used.
17181         (do_line): Constify a couple of char *'s.
17182         * cppmain.c (main): Call cpp_cleanup before returning.
17183
17184 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
17185
17186         * ggc.h (struct ggc_statistics): New type.
17187         (ggc_get_size): New function.
17188         (ggc_print_statistics): Likewise.
17189         * ggc-common.c (ggc_stats): New variable.
17190         (ggc_mark_rtx_children): Keep statistics.
17191         (ggc_mark_tree_children): Likewise.
17192         (ggc_print_statistics): New function.
17193         * ggc-page.c (struct globals): Add bytes_mapped field.
17194         (alloc_anon): Update it.
17195         (release_pages): Likewise.
17196         (ggc_get_size): New function.
17197         (ggc_page_print_statistics): New function.
17198         * ggc-simple.c (ggc_get_size): New function.
17199
17200 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
17201
17202         * flow.c (propagate_block): When the last reference to a label
17203         before an ADDR_VEC is deleted because the reference is a dead
17204         store, delete the ADDR_VEC.
17205
17206 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
17207
17208         * resource.c (find_free_register): Don't use the frame pointer
17209         if frame_pointer_needed.
17210
17211 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
17212
17213         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
17214         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
17215
17216         * config/i960/i960.c (i960_va_start): New locals base, num.
17217         Use INDIRECT_REF instead of ARRAY_REF on valist.
17218         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
17219
17220 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
17221
17222         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
17223
17224 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
17225
17226         * tree.def (PLACEHOLDER_EXPR): Update comments.
17227
17228 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17229
17230         * c-common.c (check_format_info): Avoid non-literal format string
17231         warnings when `first_arg_num' is zero.
17232
17233 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17234
17235         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
17236
17237 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
17238
17239         * arm.md (casesi_insn): Add a clobber of the condition code
17240         register.
17241
17242 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
17243
17244         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
17245         used by both cc1 and cc1plus.
17246
17247 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
17248
17249         * config/arm/arm.c: Initialise arm_structure_size_boundary to
17250         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
17251         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
17252         to the value 32 if it has not already been defined.
17253         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
17254         Override definition in arm.h with a value of 8.
17255
17256 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
17257
17258         * c-pragma.c (push_alignment): Don't check the return value
17259         of xmalloc.
17260
17261 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
17262
17263         * sparc.h (ADJUST_COST): Fix thinko.
17264
17265 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
17266
17267         * cccp.c (rescan): Fixed obp pointer handling around call to
17268         check_expand subroutine.
17269
17270 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
17271
17272         * gcse.c (delete_null_pointer_checks): Only record non-null info
17273         for pseudos when examining stores.
17274
17275         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
17276         splitters for these patterns.  Use "#" for output templates.
17277         (addsi3_carryin_shift): New pattern.
17278
17279 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
17280
17281         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
17282         of the function return register into a plain REG until
17283         after function inlining is done.
17284
17285 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
17286
17287         * jump.c (jump_optimize_1): If we did cross-jumping, and
17288         the data will matter, rebuild the CFG.
17289         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
17290         not optimizing.  Don't run shorten_branches.
17291         * toplev.c (rest_of_compilation): Run shorten_branches after
17292         reg_to_stack.
17293
17294 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
17295
17296         * rtl.h (note_stores): Add additional paramter.
17297         * rtlanal.c (reg_set_p_1): Take additional paramter.
17298         (reg_set_last_1): Likewise.
17299         (reg_set_p): Adjust call to note_stores.
17300         (reg_set_last): Likewise.
17301         (note_stores): Pass data parameter to worker function.
17302         * alias.c (record_set): Take additional parameter.
17303         (init_alias_analysis): Pass it.
17304         * caller-save.c (mark_set_regs): Take additional parameter.
17305         (save_call_clobbered_regs): Pass NULL to note_stores.
17306         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
17307         parameter.
17308         (record_dead_and_set_regs_1): Likewise.
17309         (reg_dead_at_p_1): Likewise.
17310         (combine_instructions): Adjust calls to note_stores.
17311         (try_combine): Likewise.
17312         (record_dead_insn): Remove.
17313         (record_dead_and_set_regs): Adjust calls to note_stores.
17314         (reg_dead_at_p): Likewise.
17315         * cse.c (invalidate_skipped_set): Take additional parameter.
17316         (cse_check_loop_start): Likewise.
17317         (cse_check_loop_start_value): Remove.
17318         (cse_set_around_loop): Adjust calls to note_stores.
17319         * flow.c (notice_stack_pointer_modification): Take additional
17320         parameter.  Remove duplicate declaration.
17321         (record_volatile_insns): Adjust calls to note_stores.
17322         * gcse.c (record_set_info): Take additional parameter.
17323         (record_last_set_info): Likewise.
17324         (invalidate_nonnull_info): Likewise.
17325         (record_set_insn): Remove.
17326         (compute_sets): Adjust calls to note_stores.
17327         (last_set_insn): Remove.
17328         (compute_hash_table): Adjust calls to note_stores.
17329         (insert_insn_end_bb): Likewise.
17330         (delete_null_pointer_checks): Likewise.
17331         * global.c (mark_reg_store): Take additional parameter.
17332         (mark_reg_clobber): Likewise.
17333         (reg_becomes_live): Likewise.
17334         (global_conflicts): Adjust calls to note_stores.
17335         (build_insn_chain): Likewise.
17336         * integrate.c (note_modified_parmregs): Take additional parameter.
17337         (mark_stores): Likewise.  Make it static.
17338         (save_for_inline_nocopy): Adjust calls to note_stores.
17339         (try_constants): Likewise.
17340         * integrate.h (mark_stores): Remove declaration.
17341         * jump.c (mark_modified_reg): Take additional parameter.
17342         (thread_jumps): Adjust calls to note_stores.
17343         * local-alloc.c (validate_equiv_mem_from_store): Take additional
17344         parameter.
17345         (no_equiv): Likewise.
17346         (reg_is_set): Likewise.
17347         (validate_equiv_mem): Adjust calls to note_stores.
17348         (update_equiv_regs): Likewise.
17349         (block_alloc): Likewise.
17350         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
17351         (note_addr_stored): Take additional parameter.
17352         (note_set_pseudo_multiple_uses): Likewise.
17353         (record_initial): Likewise.
17354         (prescan_loop): Adjust calls to note_stores.
17355         (strength_reduce): Likewise.
17356         (check_dbra_loop): Likewise.
17357         * regmove.c (flags_set_1): Take additional paramter.
17358         (mark_flags_life_zones): Adjust calls to note_stores.
17359         * reload1.c (mark_not_eliminable): Take additional parameter.
17360         (forget_old_reloads_1): Likewise.
17361         (reload_cse_invalidate_rtx): Likewise.
17362         (reload_cse_check_clobber): Likewise.
17363         (reload_combine_note_store): Likewise.
17364         (move2add_note_store): Likewise.
17365         (reload): Adjust calls to note_stores.
17366         (reload_as_needed): Likewise.
17367         (emit_reload_insns): Likewise.
17368         (reload_cse_regs_1): Likewise.
17369         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
17370         (reload_combine): Adjust calls to note_stores.
17371         * resource.c (update_live_status): Take additional paramter.
17372         (mark_target_live_regs): Adjust calls to note_stores.
17373         * stupid.c (find_clobbered_regs): Take additional parameter.
17374         (stupid_life_analysis): Adjust calls to note_stores.
17375
17376 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
17377
17378         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
17379         definition.
17380
17381         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
17382         definition.
17383
17384         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
17385         of the variable arm_structure_size_boundary.
17386
17387 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
17388
17389         * alias.c (init_alias_analysis): Allocate reg_known_value and
17390         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
17391         and reg_seen.
17392         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
17393         * cse.c (cse_main): Call end_alias_analysis.
17394         * haifa-sched.c (schedule_insns): Likewise.
17395         * local-alloc. (update_equiv_regs): Likewise.
17396         * reload1.c (reload_cse_regs): Likewise.
17397
17398 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
17399
17400         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
17401         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
17402         mapping from MASK_FPU.
17403
17404 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
17405
17406         * sparc.md (call): Don't bound structure return size to 0xfff.
17407
17408 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
17409
17410         * resource.c (mark_target_live_regs): Check that the target
17411         insn wasn't created after compute_bb_for_insn.
17412
17413 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
17414
17415         * ggc-page.c (poison_pages): Don't be overzealous.
17416
17417 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
17418
17419         * alias.c: Update comments for ADDRESS.
17420         (nonlocal_reference_p): Look inside the ADDRESS to determine if
17421         it is a local memory reference.
17422
17423         * c-typeck.c (build_function_call): Check that the built-in
17424         function is of class BUILT_IN_NORMAL before trying to recongize
17425         it as BUILT_IN_ABS.
17426         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
17427         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
17428
17429 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
17430
17431         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
17432         of alloca.
17433         (pre_gcse): Likewise.
17434         (hoist_expr_reaches_here_p): Likewise.
17435         (hoist_code): Likewise.
17436         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
17437         code to ...
17438         (pre_expr_reaches_here_p_work): ... here.
17439         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
17440         code to ...
17441         (expr_reaches_here_p_work): ... here.
17442
17443 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
17444
17445         * resource.c (find_basic_block): Delete.
17446         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
17447         (init_resource_info): Call compute_bb_for_insn.
17448
17449 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
17450
17451         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
17452         with already adjacent blocks, but no fallthru.
17453         (merge_blocks_move_successor_nojumps): Simplify.
17454         (debug_flow_info): New.
17455
17456         * toplev.c (rest_of_compilation): Open jump1 dump file before
17457         jump and close after, as opposed to just using dump_rtl.
17458
17459 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17460
17461         * reload.h (earlyclobber_operand_p): Declare.
17462         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
17463         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
17464         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
17465         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
17466
17467 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
17468                           Richard Henderson  <rth@cygnus.com>
17469
17470         * emit-rtl.c (emit_block_insn_before): New.
17471         (emit_block_insn_after): New.
17472         * basic-block.h: Declare them.
17473
17474         * bitmap.h: Protect from multiple inclusion.
17475
17476         * recog.c (scratch_operand): Handle VOIDmode correctly.
17477
17478         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
17479
17480         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
17481         * function.c (assign_parms): Likewise.
17482         * global.c (global_conflicts): Clarify STACK_REGS commentary.
17483
17484         * reg-stack.c (max_uid): Remove.
17485         (blocks, block_begin, block_end, block_drops_in): Remove.
17486         (block_stack_in, block_out_reg_set, block_number): Remove.
17487         (struct block_info_def, BLOCK_INFO): New.
17488         (enum emit_where): New.
17489         (current_block): New.
17490         (BLOCK_NUM): Remove.
17491         (mark_regs_pat, record_label_references): Remove.
17492         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
17493         (nan): New.
17494         (goto_block_pat, print_blocks, dump_stack_info): Remove.
17495         (reg_to_stack): Simplified test for existance of fp code.  Use
17496         flow.c code.  Call shorten_branches after cross-jump opt.
17497         (check_asm_stack_operands): Renamed from record_asm_reg_life.
17498         Return false if the asm doesn't use stack regs.  Don't do life
17499         analysis on the asm.
17500         (emit_pop_insn): Replace function pointer arg `when' with
17501         enum `where'.  Update all callers.
17502         (change_stack): Likewise.  Update basic block end.
17503         (emit_swap_insn): Use current_block->head to limit reverse search
17504         for start of block.  Use emit_block_insn_after.
17505         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
17506         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
17507         structure assignment instead of bcopy.
17508         (print_stack): New.
17509         (convert_regs_entry, convert_regs_exit): New.
17510         (convert_regs_1, convert_regs_2): Split out from convert_regs.
17511         Work on basic blocks and the CFG.
17512         (convert_regs): Use them.
17513
17514         * i386.c (output_fix_trunc): Remove code for DImode input operand
17515         not at top-of-stack.
17516         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
17517         appropriate mode.
17518         (fix_truncdi_1): Allow any mode scratch.
17519
17520 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
17521
17522         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
17523         * linux.h, netbsd.h, vms.h: Not here.
17524
17525 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
17526
17527         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
17528         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
17529         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
17530         CONDITIONAL_REGISTER_USEAGE): Use them.
17531         * config/mips/mips.c (mips_move_1word,mips_move_2words,
17532         gen_conditional_branch,override_options) : Use them.
17533         * config/mips/mips.md : Use them.
17534
17535 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
17536
17537         * i386.md (zero_extendqihi2): Use SImode register name with andl.
17538
17539 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
17540
17541         * integrate.c (function_cannot_inline_p): Don't allow inlining
17542         if setjmp is used.
17543
17544 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17545
17546         * c-parse.in (cast_expr): Constify.
17547
17548         * cccp.c (special_symbol): Likewise.
17549
17550         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
17551
17552         * dwarf2out.c (base_type_die): Likewise.
17553
17554         * global.c (allocno_compare): Likewise.
17555
17556         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
17557
17558         * regclass.c (fix_register): Likewise.
17559
17560         * rtl.h (fix_register): Likewise.
17561
17562         * stupid.c (stupid_reg_compare): Likewise.
17563
17564         * toplev.c (decode_f_option): Likewise.
17565
17566         * tree.c (build_complex_type): Likewise.
17567
17568 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
17569
17570         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
17571
17572 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17573
17574         * reload.c (find_reloads): Compute mode and nregs fields of all
17575         reloads.
17576         * reload1.c (calculate_needs_all_insns): Simplify a bit.
17577         (calculate_needs): Use precomputed mode/nregs values.
17578         (allocate_reload_reg): Likewise.
17579         Break out two...
17580         (failed_reload, set_reload_reg): ... new functions.
17581         (choose_reload_regs_init): New function, mostly broken out from...
17582         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
17583         Also lose one #if 0 block.
17584
17585 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
17586
17587         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
17588         substitution.
17589
17590 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
17591
17592         * tree.h (BLOCK_TYPE_TAGS): Remove.
17593         (BLOCK_END_NOTE): Likewise.
17594         (BLOCK_LIVE_RANGE_FLAG): Likewise.
17595         (BLOCK_LIVE_RANGE_START): Likewise.
17596         (BLOCK_LIVE_RANGE_END): Likewise.
17597         (tree_block): Remove live_range_flag, live_range_var_flag, and
17598         type_tags.  Remove end_note, live_range_start, and live_range_end.
17599         (remember_end_note): Remove prototype.
17600         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
17601         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
17602         remember_end_note.
17603         * ggc-common.c (ggc_mark_tree_children): Don't mark
17604         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
17605         * integrate.c (adjust_copied_decl_tree): Remove.
17606         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
17607         * stmt.c (last_block_end_note): Remove.
17608         (init_stmt): Don't add a GC root for it.
17609         (expand_fixup): Don't set it.
17610         (remember_end_note): Remove.
17611         (expand_end_bindings): Don't set last_block_end_note.
17612
17613 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17614
17615         * reload1.c (reload_reg_free_for_value_p): Show
17616         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
17617         reloads.
17618
17619 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
17620
17621         * expmed.c (extract_bit_field): Allow for the case of non-integer
17622         objects that are smaller than a word (like SFmode on a 64-bit
17623         machine).
17624
17625         * loop.c (basic_induction_var): A non-integer variable which is
17626         being set by a paradoxical subreg is probably not a biv.
17627
17628 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
17629
17630         * prefix.c (translate_name) Check for empty prefix string.
17631
17632 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
17633
17634         * Makefile.in (CPP_CROSS_NAME): New variable.
17635         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
17636         xcpp.
17637         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
17638         names of the files to be uninstalled.
17639
17640 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
17641
17642         * collect2.c (IS_DIR_SEPARATOR): Define.
17643         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
17644
17645         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
17646         functions too.
17647
17648         * haifa-sched.c (add_dependence): Update the true dependency
17649         cache the first time we add a true dependence to the LOG_LINKS chain.
17650
17651 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
17652
17653         * fold-const.c (fold): Fix comment.
17654
17655 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17656
17657         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
17658         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
17659         dbxout_start_new_source_file, dbxout_source_file,
17660         dbxout_source_line, dbxout_finish, dbxout_type_fields,
17661         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
17662         Constify a char*.
17663         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
17664         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
17665         (dbxout_block): Initialize variable `blocknum'.
17666
17667         * dbxout.h (dbxout_init, dbxout_finish,
17668         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
17669         dbxout_args, dbxout_source_line): Constify a char*.
17670
17671         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
17672         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
17673         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
17674         low_pc_attribute, high_pc_attribute, body_begin_attribute,
17675         body_end_attribute, comp_dir_attribute, sf_names_attribute,
17676         src_info_attribute, mac_info_attribute, producer_attribute,
17677         lookup_filename, generate_macinfo_entry, fundamental_type_code,
17678         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
17679         dwarfout_undef): Constify a char*.
17680         (add_incomplete_type, retry_incomplete_types): Add prototypes.
17681
17682         * dwarfout.h (dwarfout_define, dwarfout_undef,
17683         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
17684
17685 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
17686
17687         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
17688         (MULTILIB_ISA_DEFAULT): New.
17689         (MULTILIB_DEFAULTS): Use it.
17690         * config/mips/mips.c (): Remove the now unnecessary definition
17691         of MIPS_ISA_DEFAULT.
17692         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
17693         unnecessary definition.
17694
17695 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
17696
17697         * arm.md (pic_load_addr): Add constraints to operand 1.
17698
17699 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
17700
17701         * fixinc/genfixes:  Provide a means for specifying -D options to
17702         AutoGen
17703
17704 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
17705
17706         * arm.c (arm_override_options): Correct initialization of
17707         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
17708         arm_is_strong, and arm_is_6_or_7.
17709
17710         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
17711         (note_set_pseudo_multiple_uses): New function.
17712         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
17713         if a pseudo set in the loop exit is used elsewhere.
17714
17715 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
17716
17717         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
17718
17719 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
17720
17721         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
17722         a single load-address pattern.
17723
17724 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
17725
17726         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
17727         depending on whether or not line-number notes are present.
17728
17729 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17730
17731         * cccp.c (progname, file_buf, default_include, include_file,
17732         macrodef, definition, hashval, wchar_type, user_label_prefix,
17733         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
17734         expand_to_temp_buffer, is_system_include, base_name,
17735         absolute_filename, read_name_map, open_include_file,
17736         record_control_macro, check_precompiled, check_preconditions,
17737         pcfinclude, pass_thru_directive, create_definition,
17738         check_macro_name, comp_def_part, collect_expansion,
17739         check_assertion, read_token_list, assertion_install,
17740         assertion_lookup, eval_if_expression, conditional_skip,
17741         validate_else, skip_quoted_string, quote_string, macarg1,
17742         error_from_errno, install, lookup, hashf, dump_defn_1,
17743         perror_with_name, pfatal_with_name, main, trigraph_pcp,
17744         check_white_space, rescan, handle_directive, monthnames,
17745         special_symbol, do_include, remap_include_file, write_output,
17746         arglist, do_assert, do_unassert, do_line, do_error, do_once,
17747         do_ident, do_sccs, do_xifdef, skip_if_group,
17748         output_line_directive, macroexpand, macarg, change_newlines,
17749         initialize_builtins, make_definition): Constify a char*.
17750
17751         * pcp.h (stringdef): Likewise.
17752
17753 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
17754
17755         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
17756         not of pattern.
17757
17758 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
17759                           Richard Henderson  <rth@cygnus.com>
17760
17761         * alias.c: Include ggc.h.
17762         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
17763         (record_set): Verify enough room in reg_base_value.
17764         (init_alias_analysis): Allocate reg_base_value with xcalloc.
17765         Register it as a GC root.
17766         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
17767         * Makefile.in (alias.o): Depend on ggc.h.
17768
17769         * unroll.c (unroll_loop): Verify the insn before a barrier
17770         is a JUMP_INSN before checking JUMP_LABEL.
17771
17772 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17773
17774         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
17775         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
17776         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
17777         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
17778         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
17779         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
17780
17781 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17782
17783         * output.h (ctors_section, dtors_section, bss_section): Prototype.
17784
17785         * alpha/alpha-interix.h (text_section): Delete prototype.
17786         * alpha/elf.h (text_section): Likewise.
17787         * arm/linux-elf.h (text_section): Likewise.
17788         * arm/linux-telf.h (text_section): Likewise.
17789         * c4x/c4x.h (text_section): Likewise.
17790         * dsp16xx/dsp16xx.h (bss_section): Likewise.
17791         * elfos.h (text_section): Likewise.
17792         * i386/aix386ng.h (text_section): Likewise.
17793         * i386/i386-interix.h (text_section): Likewise.
17794         * i386/sco5.h (text_section): Likewise.
17795         * i386/svr3gas.h (text_section): Likewise.
17796         * nextstep.h (text_section): Likewise.
17797         * psos.h (text_section): Likewise.
17798         * ptx4.h (text_section): Likewise.
17799         * svr3.h (text_section): Likewise.
17800         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
17801
17802 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17803
17804         * final.c (peephole): Delete prototype.
17805
17806         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
17807         (pre_insert_copies): Remove unused variable `bb'.
17808
17809         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
17810         prototypes.
17811
17812         * output.h (peephole): Add prototype.
17813
17814 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
17815
17816         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
17817         -O0.
17818
17819 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
17820
17821         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
17822         for inlined declarations.
17823
17824 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
17825
17826         * arm.c (logical_binary_operator): New fucntion.
17827         * arm.h (logical_binary_operator): Declare it.
17828         (PREDICATE_CODES): Handle logical_binary_operator.
17829         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
17830         output constraints.  Add appropriate splitters.
17831         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
17832         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
17833         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
17834
17835 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17836
17837         * genoutput.c (struct operand_data): New elt eliminable.
17838         (output_operand_data): Write it.
17839         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
17840         (compare_operands): Take it into account.
17841         * recog.h (struct insn_operand_data): New elt eliminable.
17842         * reload1.c (check_eliminable_occurrences, elimination_effects): New
17843         functions.
17844         (old_asm_operands_vec, new_asm_operands_vec): Delete.
17845         (eliminate_regs): Move code that detects changes to elimination
17846         target regs into new function elimination_effects.
17847         Delete one #if 0 block.
17848         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
17849         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
17850         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
17851         Only call eliminate_regs for real operands of the insn, not for parts
17852         of its structure or parts matched by things like match_operator.
17853         Use elimination_effects and check_eliminable_occurrences.  Use
17854         copy_insn to duplicate the pattern when not in the final pass.
17855
17856 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
17857
17858         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
17859         and fld.
17860
17861 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
17862
17863         * fixinc/README: document the "mach" machine matching test
17864         * fixinc/fixfixes.c: Implement the #else/#endif label fix
17865         * fixinc/fixtests.c: Implement the #else/#endif label test
17866         * fixinc/inclhack.def: utilize these tests and fixes
17867         * fixinc/inclhack.sh:  regen
17868         * fixinc/fixincl.x:  regen
17869         * fixinc/fixincl.sh:  regen
17870
17871 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
17872
17873         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
17874         depend on ggc.h.
17875
17876 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
17877
17878         * gcc.1: Document exit codes.
17879
17880 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17881
17882         * calls.c: Include tm_p.h later, so everything we need is defined.
17883         * expr.c: Likewise.
17884         * function.c: Likewise.
17885
17886         * except.c: Include tm_p.h.
17887
17888         * sparc.c: Likewise.
17889         (dwarf2out_cfi_label): Don't prototype.
17890         (check_return_regs, epilogue_renumber,
17891         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
17892         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
17893         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
17894         ultra_schedule_insn): Add static prototype.
17895         (data_segment_operand, text_segment_operand): Call itself with the
17896         proper number of arguments.
17897         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
17898
17899         * sparc.h: Move all declarations to sparc-protos.h.
17900         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
17901         symbolic_operand.
17902
17903         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
17904
17905         * config/svr4.h (text_section, ctors_section, dtors_section): Add
17906         Prototypes.
17907         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
17908         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
17909         ASM_OUTPUT_ASCII): Constify a char*.
17910
17911         * sparc-protos.h: New file for sparc prototypes.
17912
17913 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17914
17915         * function.c (record_insns, contains): Always declare and define.
17916         (record_insns): Mark with ATTRIBUTE_UNUSED.
17917
17918 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
17919
17920         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
17921         to .section when outputting a .bss section to deal with multiple
17922         .bss input sections (as happens with -fdata-sections)
17923         Also output %progbits, not @progbits so the assembler doesn't treat as
17924         a comment.
17925         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
17926
17927         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
17928         thumb parts even when building with non-thumb CPUs, by forcing
17929         thumb mode.
17930
17931 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
17932
17933         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
17934         (movdf_const_intreg_sp64): Similarly.
17935
17936         * local-alloc.c (update_equiv_regs): Check the correct insn
17937         for pre-existing REG_EQUIV notes.
17938
17939 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
17940
17941         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
17942         block reached by a branch if we're not going to actually process
17943         this block.
17944
17945 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
17946
17947         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
17948         a local extern function declaration.
17949
17950 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
17951
17952         * i386.c (ix86_expand_prologue): Properly wrap USE around
17953         reg for CALL_INSN_FUNCTION_USAGE.
17954
17955 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
17956
17957         * config/mips/mips.md (movdf_internal1a): Allow floating-point
17958         move between GP_REGs.
17959
17960 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
17961
17962         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
17963         the mode size when finding out if an offset is legal.
17964
17965 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
17966
17967         * basic-block.h (PROP_*): Move constants from ...
17968         * flow.c: ... here.
17969         (compute_bb_for_insn): Free the array before reallocating.
17970         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
17971         (allocate_reg_life_data): Reset all reg variables collected by
17972         propagate_block.
17973         (get_block_head_tail): Don't convert from bb to block.
17974         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
17975         (find_insn_reg_weight): Take block not bb.
17976         (schedule_block): Don't set block num for moved insns.
17977         (schedule_region): Don't update_life_info or find_insn_reg_weight.
17978         (schedule_insns): Do it here instead.
17979         * combine.c (combine_instructions): Invoke compute_bb_for_insn
17980         before update_life_info.
17981         * recog.c (split_all_insns, peephole2_optimize): Update for
17982         new arg to update_life_info.
17983         * rtlanal.c (remove_note): Cope with NULL note.
17984         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
17985         if we did sched1.
17986
17987 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
17988
17989         * jump.c (jump_optimize_1): More accurately detect casesi insns.
17990
17991         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
17992         block records so that merge_blocks_nomove will clean up correctly.
17993         (split_edge): Handle casesi insns.
17994
17995         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
17996
17997 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
17998
17999         * pa.md (call, call_value): Do not emit a blockage after restoring
18000         the PIC register.
18001
18002 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
18003
18004         * c-typeck.c (c_expand_asm_operands): Fix typo.
18005
18006 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18007
18008         * arm.c (fpu_rhs_operand): Verify modes.
18009         (fpu_add_operand): Likewise.
18010         (di_operand): Likewise.
18011         (soft_df_operand): Likewise.
18012
18013 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
18014
18015         * arm.c (arm_return_in_memory): APCS rules state that the elements
18016         of a structure returned in a register must be 'integer-like'.
18017
18018 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
18019
18020         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
18021         in the source tree when the generated targets are out of date
18022         * fixinc/genfixes: Alter it to run individual fixes for make.
18023         * fixinc/README: rewrite
18024         * fixinc/inclhack.def: moved initial comments to README
18025
18026 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
18027
18028         * toplev.c (main): Do not generate an error message if an
18029         unrecognised command line switch is recognisable by another
18030         language.  If extra_warnings are enabled, then generate a
18031         warning message instead.
18032
18033 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18034
18035         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
18036         (insert_pack_attributes): Delete prototype.
18037
18038         * c-pragma.c (default_alignment): New static variable.
18039         (push_alignment): Initialize to current effective alignment.
18040         (pop_alignment): Use to set new alignment.
18041         (insert_pack_attributes): Delete function.
18042         (handle_pragma_token): Set default_alignment as well each time
18043         a #pragma pack(<n>) is encountered.
18044
18045 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
18046
18047         * reg-stack.c (stack_result): Aggregates are not returned in
18048         stack registers.
18049
18050 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
18051
18052         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
18053
18054 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
18055
18056         * basic-block.h (set_block_num): Declare.
18057         * flow.c (update_life_info): Don't call compute_bb_for_insn
18058         or free_basic_block_vars.
18059         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
18060         (insn_orig_block): Remove.
18061         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
18062         (schedule_block): Keep BLOCK_NUM up-to-date.
18063         (schedule_insns): Use compute_bb_for_insn.
18064         * recog.c (split_all_insns): Likewise.
18065         (peephole2_optimize): Likewise.
18066
18067 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
18068
18069         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
18070         if the pic register is used.
18071
18072 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18073
18074         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
18075         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
18076         if that tests TREE_PERMANENT.
18077
18078 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
18079
18080         * cse.c (invalidate_for_call): Do not remove memory references from
18081         the table here.  It's handled elsewhere.
18082
18083         * haifa-sched.c (add_dependence): Protect references to the
18084         true dependency cache with #ifdef INSN_SCHEDULING.
18085         (remove_dependence): Similarly.
18086
18087         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
18088         to the cfg code that this is a return instruction.
18089         * mn10300.md (return_internal): Similarly.
18090
18091         * combine.c (get_last_value): If the last set of a register
18092         is after subst_low_cuid, then we can not use it to determine
18093         the register's last value.
18094
18095 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
18096
18097         * Makefile.in: Back out previous change.
18098
18099 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
18100
18101         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
18102
18103         * haifa-sched.c (add_dependence): Only check/update the cache
18104         if it exists.
18105         (remove_dependence): Likewise.
18106         (schedule_insns): Only create the true_dependency_cache if the
18107         average number of instructions in a basic block is very large.
18108
18109 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
18110
18111         * Makefile.in (ggc-common.o): Depend on genrtl.h.
18112         (ggc-simple.o): Likewise.
18113         (ggc-page.o): Likewise.
18114
18115 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
18116
18117         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
18118         Prototype for exported functions.
18119         (pre_lcm, pre_rev_lcm): Remove prototypes.
18120         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
18121         (compute_available): Move to lcm.c, and change parameter order.
18122         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
18123         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
18124         (gcse_main): No longer call compute_preds_succs.  Rebuild the
18125         set table after reach pre pass.
18126         (pre_insert_map, pre_delete_map, edge_list): New.
18127         (alloc_pre_mem): Allocate edge vectors.
18128         (free_pre_mem): Delete edge vectors.
18129         (compute_pre_data): Call new edge based lcm routines.
18130         (process_insert_insn): New function.
18131         (insert_insn_end_bb): Use it.
18132         (pre_edge_insert): New function.
18133         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
18134         needed.
18135         (pre_insert_copies): Revamp using new edge based lcm outputs.
18136         (pre_delete): Likewise.
18137         (one_pre_gcse_pass): Insert & remove fake edges to the exit
18138         block.
18139         (compute_code_hoist_vbeinout): New new edge based routines.
18140         * lcm.c: Remove all the old LCM functions.  Replace with new ones
18141         that work with the new cfg datastructures and work with edges
18142         instead of blocks.
18143
18144 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18145
18146         * reload.h (struct reload): Add new fields "mode" and "nregs".
18147         * reload1.c: Change all occurrences of reload_mode and reload_nregs
18148         to reference the "mode" and "nregs" field within struct reload.
18149
18150 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
18151
18152         * haifa-sched.c (true_dependency_cache): New.
18153         (add_dependence): Use the true dependency cache to avoid expensive
18154         walks down the LOG_LINKS dependency list.  Add entries to the
18155         cache as necessary.
18156         (remove_dependence): Remove entries from the true dependency cache
18157         as needed.
18158         (schedule_insns): Allocate and initialize and free the true
18159         dependency cache.
18160
18161         * haifa-sched.c (schedule_insns): Do not remove inter-block
18162         dependencies anymore.
18163
18164 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
18165
18166         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
18167         * i386/t-winnt: Likewise.
18168
18169 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
18170
18171         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
18172
18173 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
18174
18175         * Makefile.in (LANGUAGES): Omit "proto".
18176         (clean): Remove stale comment about removing unprotoize.c.
18177
18178 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18179
18180         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
18181         using arithmetic on void pointers.
18182
18183 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
18184
18185         * haifa-sched.c (compute_block_forward_dependencies): Only check
18186         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
18187
18188 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
18189
18190         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
18191         (expr_equiv_p): Reject memories with different alias sets.
18192
18193 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
18194
18195         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
18196         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
18197         (f_options): Add "bounded-pointers" and "bounds-check" entries.
18198         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
18199         (lang_init): Set default for flag_bounds_check if still "unspecified".
18200
18201 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18202
18203         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
18204
18205 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18206
18207         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
18208         instructions.
18209
18210 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18211
18212         * config/c4x/c4x.md (*db_noclobber,
18213         *decrement_and_branch_until_zero_noclobber): New patterns and
18214         associated splitters.
18215
18216 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18217
18218         * config/c4x/c4x.md (parallel instruction patterns): Rework
18219         constraints to keep reload happy.
18220
18221 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18222
18223         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
18224         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
18225         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
18226         Add new patterns and associated post-reload splitters.
18227
18228 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18229
18230         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
18231
18232 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18233
18234         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
18235         if appropriate.
18236         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
18237
18238 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18239
18240         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
18241         memory mode.
18242
18243 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
18244
18245         * pa.c (move_operand): Rely on memory_address_p to determine the
18246         validity of non-indexed memory addresses.
18247         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
18248         operand in DFmode and SFmode when generating PA2.0 code.
18249
18250 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
18251
18252         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
18253
18254 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
18255
18256         * mips.c (function_prologue): Fix argument types.
18257         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
18258         (casesi_internal): Write to the scratch register.
18259
18260 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
18261
18262         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
18263         to U_CHAR **.
18264         (parse_charconst): Delete unnecessary cast when calling
18265         cpp_parse_escape.
18266         (cpplib.h): Kill prototype of cpp_parse_escape.
18267
18268 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
18269
18270         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
18271         * unroll.c (unroll_loop): Cast return value of alloca.
18272         * i370/i370.c: Include function.h and toplev.h.
18273         (i370_label_scan): Remove c++ commented abort.
18274         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
18275         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
18276         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
18277         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
18278
18279 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
18280
18281         * config/t-freebsd: Do not override USER_H.
18282         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
18283
18284 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
18285                           Mumit Khan  <khan@xraylith.wisc.edu>
18286
18287         * c-parse.in (component_decl): Support anonymous struct/union.
18288         (%expect): Update.
18289         * c-parse.y: Regenerate.
18290         * c-parse.c: Likewise.
18291         * objc/objc-parse.y: Likewise.
18292         * objc/objc-parse.c: Likewise.
18293         * c-decl.c (finish_struct): Don't sort the fields.
18294         (field_decl_cmp): Delete unused function.
18295
18296 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
18297
18298         * sparc.md (movsf_const_intreg): Revert last constraint change.
18299         (movdf_const_intreg_sp32): Likewise.
18300
18301 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
18302
18303         * cse.c: Include hashtab.h instead of splay-tree.h
18304         (struct cse_reg_info): No longer use variant union.  Add new
18305         field "regno".  All references changed to avoid union.
18306         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
18307         (free_cse_reg_info): Remove.
18308         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
18309         (get_cse_reg_info): Revamp to use expandable hash tables instead
18310         of splay trees.  Initialize new fields in cse_reg_info structure.
18311         (new_basic_block): Similarly.
18312
18313 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
18314
18315         * genrecog.c (message_with_line): Prototype.
18316         (validate_pattern): Pass along the set for the dest, not a flag.
18317         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
18318         Check for PC/CC0 as sources.
18319         (nodes_identical): Check for children position match before
18320         allowing the combination.
18321
18322         * rtl.c (read_rtx): Track line number across \\\n.
18323
18324 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
18325
18326         * mips.h (SPECIAL_MODE_PREDICATES): New.
18327         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
18328         (movdi+1, movsi+1): Add output reload constraint.
18329         (casesi_internal): Likewise.  Fix commentary.
18330         (return_internal): Use pmode_register_operand.
18331
18332 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
18333
18334         * 1750a.md (movstrqi): Add missing output reload constraint.
18335         (call_value): Likewise.
18336         * a29k.md (cpxxx patterns): Add missing match_operator mode.
18337         (jmpfdec): Add missing inout reload constraint.
18338         * elxsi.md (addsi patterns): Add missing output reload constraint.
18339         (move from sp): Use @ alternates.
18340         (call_value): No constraint on output.
18341         * fr30.md (movsi_pop): Add missing output reload constraint.
18342         (movsf_constant_store): Likewise.
18343         (splits): Remove constraints.
18344         (subsi3): Add missing mode.
18345         * i370.md (cmpstrsi+1): Add missing output reload constraint.
18346         (call_value): Likewise.
18347         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
18348         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
18349         * m32r.md (movsicc_internal): Add output reload constraint.
18350         (movstrsi_internal): Add inout reload constraints.
18351         * m88k.h (reg_names): Don't declare.
18352         (SPECIAL_MODE_PREDICATES): New.
18353         * m88k.md (*): Use register_operand not reg_or_0_operand
18354         on destinations.
18355         * mn10200.h (PREDICATE_CODES): New.
18356         * ns32k.md (ffs pattern): Add output reload constraint.
18357         * pdp11.md (sob pattern): Add inout reload constraint.
18358         * sh.md (splits): Remove constraints.
18359         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
18360         * v850.md (pattern_is_ok_for_epilogue): Likewise.
18361         * vax.md (jgequ pattern): Add inout reload constraint.
18362
18363 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
18364
18365         * configure.in (djgpp): Revert previous patch.
18366         * configure: Rebuit.
18367         * config/i386/djgpp.h: Revert previous patch.
18368
18369 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
18370
18371         * fixinc/inclhack.def: Restore patch lost during last merge of
18372         "no_bogosity" branch.
18373         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
18374
18375 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18376
18377         * fixincludes: Add a HPUX 11 fix for inttypes.h.
18378         * fixinc/inclhack.def: Same.
18379         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
18380
18381 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
18382
18383         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
18384         as the base of a PLUS.
18385
18386 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18387
18388         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
18389         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
18390
18391 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
18392
18393         * pa.md (post_stw+1): Use pmode_register_operand.
18394         (dcacheflush, icacheflush): Likewise.
18395
18396         * i386.md (movstricthi_1): Allow r/r.
18397
18398 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
18399
18400         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
18401         to (not (and (arg0) (arg1))). Similary for and.
18402
18403         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
18404         fallthrough to associate code.
18405         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
18406         bits in common.
18407
18408         * combine.c (simplify_logical): Convert XOR to IOR if operands have
18409         no bits in common; remove XOR to ROTATE conversion.
18410
18411 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18412
18413         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
18414
18415 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18416
18417         * config/c4x/c4x.c (dst_operand): New.
18418         (PREDICATE_CODES): Update.
18419         * config/c4x/c4x.h (dst_operand): Declare it.
18420         * config/c4x/c4x.md:  Define mode for each unspec usage.
18421         (move patterns):  Use dst_operand predicate instead of src_operand.
18422         (movqi_update, movqf_update): Delete.
18423
18424 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
18425
18426         * recog.c (pmode_register_operand): New.
18427         * recog.h: Declare it.
18428         * genrecog.c (pred_codes): Likewise.
18429         (special_mode_pred_table): Likewise.
18430         (validate_pattern): Don't warn no mode for address_operand.
18431
18432         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
18433         if the operand is not insn-like.
18434
18435 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
18436                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
18437
18438         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
18439
18440 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
18441
18442         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
18443         instead of general_operand in a SET_DEST.  Use const_double_operand
18444         instead of an explicit test against CONST_DOUBLE.
18445         (movsf_const_lo): Add missing register mode.
18446         (goto_handler_and_restore): Add auxiliary test for Pmode.
18447         (flush): Adjust to use address_operand.
18448         (return_sf_no_fpu): Add missing output constraint.
18449
18450 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
18451
18452         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
18453         for call return value.
18454         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
18455
18456 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
18457
18458         * toplev.c (main): Only warn about options for other languages.
18459         * collect2.c (main): Pass -w to sub-gcc.
18460
18461 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
18462
18463         * flow.c (propagate_block): Add call-clobbered registers to
18464         significant too.
18465
18466         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
18467         zapping mem_set_list.
18468         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
18469         (mark_set_1, mark_used_regs): Likewise.
18470
18471 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
18472
18473         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
18474
18475 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
18476
18477         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
18478         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
18479         options. Also add a new item "C-only Warning Options" to the
18480         option summary.
18481
18482 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
18483
18484         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
18485         from multiple calls.
18486
18487 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
18488
18489         * i386.md (call value patterns): Move to the end of the file.
18490         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
18491
18492 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
18493
18494         * configure.in (djgpp configuration): Define extra_objects..
18495         * configure: Rebuilt.
18496         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
18497         (DTORS_SECTION_ASM_OP): Define.
18498         (INIT_SECTION_ASM_OP): Define.
18499         (FINI_SECTION_ASM_OP): Define.
18500         (DATA_SECTION_ASM_OP): Define.
18501         (TEXT_SECTION_ASM_OP): Define.
18502         (EH_FRAME_SECTION_ASM_OP): Define.
18503         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
18504         (STARTFILE_SPEC): Add crtbegin.o.
18505         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
18506         to here from LINK_COMMAND_SPEC.
18507         (DO_GLOBAL_CTORS_BODY): Define.
18508         (CRTSTUFF_USE_FINI_SECTION): Define
18509         (HAS_INIT_SECTION): Delete.
18510
18511 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
18512
18513         * Makefile.in (all.cross): Depend on xcpp$(exeext).
18514
18515 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
18516
18517         * pa.h (PREDICATE_CODES): New.
18518
18519         * genrecog.c (validate_pattern): Condense the destination
18520         non-lvalue message.
18521
18522 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
18523
18524         * alpha.md (call-1): Supply missing mode for operator.
18525         (*): Add missing output reload constraints.  Remove constraints
18526         from define_splits.
18527
18528         * i386.h (SPECIAL_MODE_PREDICATES): New.
18529         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
18530         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
18531         (addsi_lea_3): Add missing mode for op 3.
18532         (prologue_set_got, prologue_get_pc): Add missing modes.
18533         (*) Add missing output reload constraints.
18534
18535 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
18536
18537         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
18538         check for member bit-size overflow and use var_size if it occurs.
18539         (layout_record): Use bitsize_int() to define the type size in bits.
18540         Likewise for computation and assignment to DECL_FIELD_BITPOS.
18541         (layout_decl): Likewise when assigning to DECL_SIZE.
18542
18543 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
18544
18545         * genrecog.c (validate_pattern): Typo last change.  Verify
18546         that output operands have output reloads.
18547
18548 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
18549
18550         * genrecog.c (special_mode_pred_table): New.
18551         (NUM_SPECIAL_MODE_PREDS): New.
18552         (find_operand): New.
18553         (validate_pattern): New argument `insn'.  Warn for assignment to
18554         any predicate accepting non-lvalues.  Conditionaly warn for
18555         match_operand without a mode.  Try much harder to match source
18556         and destination modes on a set.
18557         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
18558
18559 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
18560
18561         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
18562
18563 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
18564
18565         * combine.c (simplify_logical): Recognize xor pattern that encodes
18566         rotation.
18567
18568 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18569
18570         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
18571         alignment.
18572
18573 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
18574
18575         * ggc-page.c (MAP_FAILED): Provide default.
18576
18577 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
18578
18579         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
18580         * sparc.h (PREDICATE_CODES): Update.
18581
18582 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
18583
18584         * alpha.c (some_ni_operand): New.
18585         * alpha-protos.h: Declare it.
18586         * alpha.h (PREDICATE_CODES): Update.
18587         * alpha.md (sXaddq reload insns): Use some_ni_operand
18588         for SET_DEST instead of some_operand.
18589
18590 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
18591                           Jim Wilson  <wilson@cygnus.com>
18592
18593         * genrecog.c (maybe_both_true_2): Don't compare modes of
18594         two DT_pred tests.
18595         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
18596         after find_afterward.
18597         (debug_decision_1): Dump next and afterward codes.
18598
18599 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
18600
18601         * rtl.c (dump_and_abort): Remove.
18602         (fatal_with_file_and_line): New.
18603         (fatal_expected_char): New.
18604         (read_rtx_lineno, read_rtx_filename): New.
18605         (read_skip_spaces): Track line number.
18606         (read_name): Use fatal_with_file_and_line.
18607         (read_rtx): Use fatal_expected_char.  Track line number.
18608         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
18609
18610         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
18611         if it isn't a CODE_LABEL.
18612
18613         * genattr.c (main): Set read_rtx_filename.
18614         * genattrtab.c (main): Likewise.
18615         * gencodes.c (main): Likewise.
18616         * genconfig.c (main): Likewise.
18617         * genemit.c (main): Likewise.
18618         * genextract.c (main): Likewise.
18619         * genflags.c (main): Likewise.
18620         * genopinit.c (main): Likewise.
18621         * genoutput.c (main): Likewise.
18622         * genpeep.c (main): Likewise.
18623
18624         * genrecog.c (decision_test.u.insn): Add `lineno'.
18625         (pattern_lineno, error_count): New variables.
18626         (message_with_line): New.
18627         (add_to_sequence): Break out checking code to ...
18628         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
18629         (merge_insn): Use message_with_line.
18630         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
18631         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
18632
18633 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18634
18635         * expr.c (store_constructor): Clear union if constructor is empty.
18636
18637 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
18638
18639         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
18640         Add !endian checks.  Change %{...} to %(...).
18641
18642 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
18643
18644         * i386.md (*addsi3_cc): Renamed from addcsi3.
18645         (*addsi3_carry): Renamed from addxsi3.
18646         (*subsi3_cc): Renamed from subcsi3.
18647         (*subsi3_carry): Renamed from subxsi3.
18648         (*xorqi_cc_1): Renamed from xorcqi_1.
18649         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
18650         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
18651
18652 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
18653
18654         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
18655         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
18656
18657 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
18658
18659         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
18660         climb up the chain of insns.
18661
18662 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
18663
18664         * genrecog.c (write_subroutine): Careful for null trees.
18665         (process_tree): Don't elide empty functions.
18666
18667 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
18668
18669         * Makefile.in (genrtl.o): Depend on ggc.h.
18670         * configure.in (valloc): Probe for it.
18671         (with-gc): Use ggc-page if valloc present.
18672         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
18673         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
18674         (ggc_alloc_string): Moved from ggc-page.c.
18675         * ggc-none.c (ggc_alloc_obj): New.
18676         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
18677         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
18678         (struct globals): Likewise for dev_zero_fd.
18679         (init_ggc): Likewise for it's initialization.
18680         (ggc_allocated_p): Move careful dereference from ...
18681         (ggc_lookup_page_table): ... here.  Delete.
18682         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
18683         (alloc_anon): Use valloc if no mmap.
18684         (release_pages): Use free if using valloc.
18685         (ggc_alloc_obj): Renamed from alloc_obj.
18686         (ggc_set_mark): Renamed from mark_obj.
18687         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
18688         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
18689         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
18690         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
18691         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
18692         (ggc_collect): Use fp printing instead of our own rounding.
18693         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
18694         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
18695         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
18696         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
18697         (struct ggc_string, struct ggc_any): Delete.
18698         (offsetof): Provide default definition.
18699         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
18700         (PTR_KEY): New.
18701         (struct ggc_mem): New, from corpse of ggc_any.
18702         (struct ggc_status): Delete.
18703         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
18704         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
18705         (n_strings_collected, n_anys_collected): Delete.
18706         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
18707         (ggc_alloc_string, ggc_alloc): Delete.
18708         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
18709         (ggc_free_string, ggc_free_any): Delete.
18710         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
18711         (ggc_compare_addresses, ggc_mark_string): Delete.
18712         (ggc_mark_string_if_gcable, ggc_mark): Delete.
18713         (search_data): Delete.
18714         (struct globals): New.
18715         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
18716         (tree_insert, tree_lookup): New.
18717         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
18718         (clear_marks, sweep_objs): New.
18719         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
18720         (init_ggc): Set allocated_last_gc.
18721         (ggc_push_context): Gut.  Use G.context.
18722         (ggc_pop_context): Likewise.
18723         (ggc_pop_context_1): New.
18724         (debug_ggc_tree): New.
18725         (debug_ggc_balance, tally_leaves): New.
18726         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
18727         (ggc_mark_string_if_gcable): Remove decl.
18728         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
18729         (ggc_mark_rtvec_children): New.
18730         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
18731         (ggc_mark_if_gcable): New decl.
18732         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
18733         (ggc_alloc_tree, ggc_alloc): Likewise.
18734         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
18735         (ggc_alloc_obj): New decl.
18736         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
18737         (ggc_alloc_tree, ggc_alloc): Likewise.
18738         (ggc_set_mark): New decl.
18739         * rtl.h (struct rtx_def): Remove gc_mark.
18740         (struct rtvec_def): Likewise.
18741         * tree.h (struct tree_common): Likewise.
18742
18743 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
18744
18745         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
18746         float_format and thread_file definitions.
18747         * configure: Rebuilt.
18748
18749 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
18750
18751         * extend.texi (Function Names): Document types of function names.
18752
18753 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18754
18755         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
18756         an earlyclobbered output conflict with RELOAD_INPUT reloads.
18757
18758 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18759
18760         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
18761
18762 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18763
18764         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
18765
18766 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
18767
18768         * collect2.c (main): Do prelimnary link on AIX if rflag.
18769
18770 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
18771
18772         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
18773         __CTOR_LIST__ in opposite order, which is the correct order for sorted
18774         constructors.
18775         (__do_global_dtors): similarly for __DTOR_LIST__.
18776
18777 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18778                                 Diego Novillo <dnovillo@cygnus.com>
18779
18780         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
18781         FPUL_REGS.
18782
18783 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
18784
18785         * fixincl/*: Merged "no_bogosity" branch
18786         * fixincl/fixlib.h: protect against doubly defining t_bool
18787         * fixincl/server.h: protect against doubly defining t_bool
18788
18789 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
18790
18791         * genoutput.c: Include toplev.h.
18792
18793 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
18794
18795         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
18796         Undef.
18797         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
18798         * configure: Regenerate.
18799
18800 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
18801
18802         * gcse.c (delete_null_pointer_checks): Returns void.
18803
18804 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18805
18806         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
18807         * emit-rtl.c (copy_insn_1): Likewise.
18808
18809 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
18810
18811         * config/mips/mips.c (mips_build_va_list): Correct
18812         TREE_CHAIN setting when hard-float.
18813         (mips_va_start): Use corrected setting.
18814         (mips_va_arg): Likewise.  Also pass a tree to build of
18815         POSTINCREMENT_EXPR rather than a naked 'int'.
18816
18817 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
18818
18819         * ggc.h (ggc_push_context): Fix comment.
18820         (ggc_pop_context): Likewise.
18821         (mark_string_if_gcable): Likewise.
18822         * ggc-common.c (ggc_mark_rtx_children): Use
18823         ggc_mark_string_if_gcable.
18824         * ggc-page.c (ggc_lookup_page_table): New function.
18825         (ggc_allocated_p): Likewise.
18826         (mark_obj): Fix formatting.
18827         (ggc_mark_string_if_gcable): New function.
18828         * ggc-simple.c (ggc_allocated_strings): New variable.
18829         (ggc_strings_used): Likewise.
18830         (ggc_compare_addresses): New function.
18831         (ggc_pop_context): Pop the `any' memory too.
18832         (ggc_mark_string_if_gcable): New function.
18833         (ggc_collect): Initialize and tear down ggc_allocated_strings.
18834
18835 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
18836
18837         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
18838         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
18839         * rs6000.c (expand_block_move): Match movstrsi_?reg register
18840         changes.
18841
18842 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
18843
18844         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
18845         (sched_reg_live_length, sched_reg_basic_block): Delete.
18846         (current_block_num, bb_live_regs, old_live_regs): Delete.
18847         (dead_notes, struct sometimes): Delete.
18848         (sched_note_set, birthing_insn_p): Delete.
18849         (adjust_priority): Gut useless reg lifetime code.
18850         (create_reg_dead_note, attach_deaths): Delete.
18851         (attach_deaths_insn, new_sometimes_live): Delete.
18852         (finish_sometimes_live): Delete.
18853         (find_pre_sched_live, find_post_sched_live): Delete.
18854         (update_reg_usage): Delete.
18855         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
18856         (schedule_insns): Delete reg lifetime code.
18857         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
18858         (unlink_other_notes): Adjust REG_NOTE commentary.
18859         (reemit_notes): Use REG_SAVE_NOTE.
18860         (schedule_block): Likewise.
18861         (schedule_region): Allocate bitmap of blocks in region.  Use
18862         count_or_remove_death_notes.  Use update_life_info.
18863
18864         * rtl.h (REG_SAVE_NOTE): New.
18865         * rtl.c (reg_note_name): Update.
18866
18867 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
18868
18869         * combine.c (refresh_blocks, need_refresh): New.
18870         (combine_instructions): Allocate refresh_blocks.  Invoke
18871         update_life_info if needed.
18872         (distribute_notes): Mark refresh_blocks instead of installing
18873         USE insns.
18874         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
18875         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
18876
18877         * Makefile.in (recog.o): Depend on basic-block.h.
18878
18879 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
18880
18881         * genrecog.c (add_to_sequence): Thinko last change: delete
18882         shadowing allow_const_int variable.
18883
18884 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18885
18886         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
18887         __GNUC__ and __GNUC_MINOR__.
18888
18889         * gansidecl.h: Likewise.
18890
18891         * rtl.c: Likewise.
18892
18893         * rtl.h: Likewise.
18894
18895         * toplev.h: Likewise.
18896
18897         * tree.c: Likewise.
18898
18899         * tree.h: Likewise.
18900
18901         * varray.c: Likewise.
18902
18903         * varray.h: Likewise.
18904
18905 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18906
18907         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
18908         use one before a jump table.
18909
18910         * rtl.def (ADDRESS): Change documentation to match reality.
18911         * md.texi: Don't document it.
18912         * gmicro.md (load address pattern): Use 'p' constraint, delete use
18913         of ADDRESS rtx.
18914
18915         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
18916
18917 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
18918
18919         * genrecog.c (add_to_sequence): Move allow_const_int test outside
18920         known predicate block; default allow_const_int true.
18921         (debug_decision_list): New.
18922
18923 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
18924
18925         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
18926
18927 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
18928
18929         * gcse.c (gcse_main): Avoid global optimizations if we have a
18930         large number of basic blocks and the ratio of edges to blocks
18931         is high.
18932         (delete_null_pointer_checks): Likewise.
18933
18934 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
18935
18936         * c-common.c (check_format_info): Warn if format string isn't a
18937         string literal.
18938
18939 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
18940
18941         * configure.in (arm*-*-*): Don't let autoconf remove brackets
18942         * configure: regenerate
18943
18944 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
18945
18946         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
18947         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
18948         (peepholes): Re-enable.
18949
18950 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
18951
18952         * Makefile.in (flow.o): Depend on TREE_H.
18953         * basic-block.h (REG_SET_EQUAL_P): New.
18954         (XOR_REG_SET): New.
18955         (n_edges): Declare.
18956         (free_regset_vector): Remove declaration.
18957         (flow_delete_insn_chain): Declare.
18958         (enum update_life_extent): New.
18959         (update_life_info, count_or_remove_death_notes): Declare.
18960         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
18961         Verify register live at bb->global_live_at_start before adding USE.
18962         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
18963         (CLEAN_ALLOCA): New.
18964         (n_edges): New.
18965         (PROP_*): New flags.
18966         (find_basic_blocks_1): Use alloc_EXPR_LIST.
18967         (clear_edges): Zero n_edges.
18968         (make_edge): Increment n_edges.
18969         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
18970         (flow_delete_insn_chain): Export.
18971         (delete_block): Decrement n_edges.
18972         (merge_blocks_nomove): Likewise.
18973         (life_analysis): Give life_analysis_1 PROP flags.
18974         (verify_wide_reg_1, verify_wide_reg): New.
18975         (verify_local_live_at_start): New.
18976         (update_life_info): Rewrite to call into propogate_block.
18977         (mark_reg): New.
18978         (mark_regs_live_at_end): After reload, if epilogue as rtl,
18979         always mark stack pointer.  Conditionally mark PIC register.
18980         After reload, mark call-saved registers, return regsiters.
18981         (life_analysis_1): Accept PROP flags not remove_dead_code.
18982         Call mark_regs_live_at_end before zeroing regs_ever_live.
18983         Use calculate_global_regs_live.  Copy global_live_at_end before
18984         calling final propagate_block.  Zero reg_next_use on exit.
18985         (calculate_global_regs_live): New.
18986         (allocate_bb_life_data): Don't allocate bb->local_set.
18987         (init_regset_vector, free_regset_vector): Remove.
18988         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
18989         Test flags before every operation.  Warn if prologue/epilogue insn
18990         would have been deleted.
18991         (mark_set_regs, mark_set_1): Accept and use FLAGS.
18992         Use alloc_EXPR_LIST.
18993         (mark_used_regs): Accept and use FLAGS, not FINAL.
18994         Remove special handling for RETURN.
18995         (try_pre_increment): Use alloc_EXPR_LIST.
18996         (dump_flow_info): Dump n_edges.
18997         (unlink_insn_chain, split_hard_reg_notes): Remove.
18998         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
18999         (find_insn_with_note, new_insn_dead_notes): Remove.
19000         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
19001         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
19002         (replace_insns): Remove.
19003         (count_or_remove_death_notes): New.
19004         (verify_flow_info): Abort on error after all checks.
19005         (remove_edge): Decrement n_edges.
19006         (remove_fake_edges): Tweak format.
19007         * haifa-sched.c (schedule_insns): Use split_all_insns.
19008         * output.h (update_life_info): Remove declaration.
19009         * recog.c (split_all_insns): From the corpse of split_block_insns,
19010         do the whole function block by block.  Use update_life_info.
19011         (recog_last_allowed_insn): New.
19012         (recog_next_insn): Mind it.
19013         (peephole2_optimize): Set it.  Walk backwards through blocks.
19014         Use update_life_info.
19015         * rtl.h (update_flow_info, replace_insns): Remove declarations.
19016         (split_all_insns): Declare.
19017         * toplev.c (rest_of_compilation): Thread prologue before flow2.
19018         Use split_all_insns.
19019
19020         * i386.md (or -1 peep2s): Disable.
19021
19022 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
19023
19024         * config/mips/mips.md (movstrsi+[123]) : Combine these into
19025         a single pattern.  Scrap the 'd' versions as unnecessary.
19026
19027         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
19028         tablejump_mips162,tablejump_internal4): The operands to a
19029         label_ref must be VOIDmode.
19030
19031 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19032
19033         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
19034
19035 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
19036
19037         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
19038
19039 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
19040
19041         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
19042         cache every function if ggc_p.
19043
19044 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19045
19046         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
19047         instead of copy_rtx.  Accept sequences that contain asm statements.
19048         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
19049         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
19050         orig_asm_operands_vector, copy_asm_operands_vector,
19051         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
19052         variables.
19053         * rtl.h (copy_insn, copy_insn_1): Declare.
19054
19055 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19056
19057         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
19058
19059         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
19060         arguments to `current_file_function_operand'.
19061
19062         * genrecog.c: Include hard-reg-set.h and resource.h in the
19063         generated output file.
19064
19065         * real.c: Include tm_p.h.
19066
19067 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19068
19069         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
19070         output operand.
19071
19072 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
19073
19074         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
19075         before the fctiwz insn.
19076
19077 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
19078                           Mark Mitchell  <mark@codesourcery.com>
19079
19080         * tree.c (make_lang_type_fn): New funtion pointer.
19081         (make_lang_type): Call it.
19082         * tree.h (make_lang_type): Declare.
19083         (make_lang_type_fn): Likewise.
19084         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
19085
19086 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
19087
19088         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
19089         make sure that HIGH instructions are copied into BASE_REGS.
19090
19091 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
19092
19093         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
19094
19095 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
19096
19097         * c-decl.c (finish_struct): Use simpler method of
19098         removing elements of a singly-linked list.
19099
19100 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
19101
19102         * alpha.md (peephole2's): Comment out peephole2's that generate
19103         buggy code.
19104
19105 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
19106
19107         * genrecog.c (add_to_sequence): Disable mode check for
19108         wildcard matches.
19109
19110 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19111
19112         * ggc-simple.c (init_ggc): Set empty_string.
19113
19114 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
19115
19116         * configure.in: Detect mmap.  Add --with-gc=foo to select
19117         garbage collector; default to page if mmap available.
19118         * Makefile.in (GGC): Substitute.
19119
19120 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
19121
19122         * c-decl.c (ggc_p): Enable.
19123
19124 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19125
19126         * flow.c (verify_flow_info): Make it extern & unconditionally define.
19127
19128 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
19129
19130         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
19131         string for little-endian-data.
19132
19133 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
19134
19135         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
19136         case somebody tries to compile --enable-checking code with gcc
19137         1.34 or such.
19138
19139 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
19140
19141         * genrecog.c (add_to_sequence): Verify operand to label_ref is
19142         VOIDmode.
19143
19144 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
19145
19146         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
19147         * jump.c (jump_optimize_1): Document why.
19148
19149 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19150
19151         * collect2.c (scan_prog_file, scan_libraries): Prototype function
19152         pointers and casts for `int_handler' and `quit_handler'.
19153
19154         * flow.c (verify_flow_info, split_hard_reg_notes,
19155         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
19156         remove_edge, remove_fake_successors): Add static prototypes.
19157         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
19158         (mark_set_1): Initialize variable `regno'.
19159         (unlink_insn_chain): Likewise for variable `curr'.
19160         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
19161
19162         * loop.c (strength_reduce): Initialize variable
19163         `unrolled_insn_copies'.
19164         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
19165         prototypes.  Change these functions to take const PTR parameters
19166         to avoid prototype conflict when used as the comparson argument
19167         for qsort.
19168         (check_dbra_loop): Initialize variable `comparison_val'.
19169
19170         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
19171         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
19172         (find_valid_class): Initialize variable `best_class'.
19173         (find_reloads): Call memcpy, not bcopy.
19174
19175         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
19176         (hard_reg_use_compare): Don't needlessly cast away const.
19177         (reload_reg_class_lower): Likewise.
19178         (choose_reload_regs): Initialize variable `regno'.
19179
19180 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
19181
19182         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
19183
19184 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
19185
19186         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
19187         ({,d}discard): Add forward declarations.  Declare parameter as
19188         unused.
19189         (main_without_main): Explicitly declare return type to be int.
19190         (memcpy): Properly declare.
19191
19192         * libgcc2.c (toplevel): If inhibit_libc is defined and not
19193         building the trampoline support, declare malloc, free, and
19194         atexit.
19195         (__clear_cache): Mark arguments as potentially unused.
19196
19197         * frame.c (toplevel): If inhibit_libc is defined, declare
19198         malloc and free.
19199
19200 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
19201
19202         * flow.c (make_edge): Accept an optional 2D bitmap in which
19203         to cache edge existence.  Update all callers.
19204         (make_label_edge, make_eh_edge): Pass through the edge cache.
19205         (make_edges): Provide the cache.
19206
19207 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19208
19209         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
19210         a char*.
19211         (local_mbtowc): Change the type of variable `i' from int to size_t.
19212
19213         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
19214         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
19215
19216 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
19217
19218         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
19219         after other includes that define the appropriate types.  Include
19220         tm_p.h for getting user prototypes.
19221         * ggc-callbacks.c (toplevel): Ditto.
19222         * ggc-none.c (toplevel): Ditto.
19223         * gcc-page.c (toplevel): Ditto.
19224         * ggc-simple.c (toplevel): Ditto.
19225
19226 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
19227                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
19228
19229         * config/mips/mips.c (mips_move_2words): Split doubles if
19230         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
19231
19232 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
19233
19234         * genrecog.c (struct decision_test): New.
19235         (struct decision): Remove test-related members, sort the rest by size.
19236         (IS_SPLIT): Simplify.
19237         (new_decision, new_decision_test): New.
19238         (add_to_sequence): Use them.  No special handling for args of
19239         non-MATCH codes.
19240         (maybe_both_true): Renamed from not_both_true; return sense changed.
19241         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
19242         of maybe_both_true and adjusted for decision_test.
19243         (position_merit): Remove.
19244         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
19245         (merge_accept_insn): New, broken out of merge_trees.
19246         (merge_trees): Use them.  No special case for c_test; no node
19247         splitting; use test type instead of position_merit.
19248         (factor_tests): New.
19249         (simplify_tests): New.
19250         (break_out_subroutines): Don't write code now.
19251         (find_afterward): New.
19252         (write_afterward, write_switch, write_cond): New.
19253         (write_action, is_unconditional): New.
19254         (write_node): New.  Use them.
19255         (write_tree_1): Rewrite.  Use the new functions above.
19256         (write_tree): Remove afterward processing.
19257         (write_subroutine): Simplify function variant emission.
19258         (write_subroutines): New.
19259         (same_codes, clear_codes): Remove.
19260         (same_modes, clear_modes): Remove.
19261         (write_header): New, broken out of main.
19262         (make_insn_sequence): Use new_decision and new_decision_test.
19263         (process_tree): New, broken out of main.
19264         (main): Adjust for merge_trees interface change.
19265         Don't #define operands in the output file.
19266         (record_insn_name): New, broken out of make_insn_sequence.
19267         (debug_decision_2, debug_decision_1, debug_decision_0): New.
19268         (debug_decision): New.
19269
19270 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
19271
19272         * resource.c (find_free_register): Mark class_str argument const.
19273         * resource.h: Update prototype to match.
19274
19275         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
19276         * i386.md: Give all anonymous insns names.
19277
19278 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
19279
19280         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
19281         blocks.
19282
19283 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
19284
19285         * toplev.c (dbr_sched_time): Unconditional.
19286         (peephole2_time): New.
19287         (compile_file): Add pass numbers to all of the dump file suffixes.
19288         Dump peephole2_time.  Don't dump times for non-applicable passes.
19289         (rest_of_compilation): Add pass numbers to dump file suffixes.
19290         Conditionalize calls to the scheduler.
19291         * invoke.texi: Update.
19292
19293 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
19294
19295         * flow.c (make_edges): Fix insn iteration.
19296         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
19297         (find_basic_blocks_1): Fix spelling mistake.
19298
19299 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
19300
19301         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
19302         always have side-effects.  Use memset not bzero.
19303         (make_node): Likewise.
19304
19305 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
19306
19307         * stmt.c (expand_anon_union_decl): When any of the elements of the
19308         union is addressable, so is the entire union.
19309
19310 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
19311
19312         * sbitmap.c (sbitmap_ones): Don't set too many bits.
19313
19314         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
19315         * bitmap.c (bitmap_operation): Return true iff TO changed.
19316         (bitmap_equal_p): New.
19317         (bitmap_bit_p): Tidy arithmetic.
19318         (debug_bitmap_file): Likewise.
19319
19320 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
19321
19322         * toplev.c (rest_of_compilation): Turn on cse_not_expected
19323         before cse2 instead of after.
19324
19325 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
19326
19327         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
19328         register offsets.
19329
19330 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19331
19332         * cppinit.c (is_idchar initializer): Loosen tests to accept
19333         gcc 2.>6 and >2.
19334
19335 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
19336
19337         * mips.md: Define conditional move patterns for floating point
19338         operands and DI mode conditions.
19339
19340 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
19341
19342         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
19343         always have side-effects.
19344
19345 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
19346
19347         * mn10200.c (asm_file_start): Fix typo.
19348
19349         * cppinit.c (is_idchar initializer): Tighten tests for when
19350         to put the table into initialized memory.
19351
19352         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
19353         not an array of rtunion.
19354         * gcc-page.c (ggc_alloc_rtvec): Similarly.
19355         * gcc-simple (ggc_free_rtvec): Similarly.
19356
19357         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
19358         of rtunions.
19359
19360         * mbchar.h: Add missing #endif.
19361
19362         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
19363         (FPBIT, DPBIT): Define.
19364
19365 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19366
19367         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
19368
19369         * profile.c (instrument_arcs, output_gcov_string,
19370         tablejump_entry_p): Add static prototypes.
19371         (output_gcov_string): Constify a char*.
19372
19373         * regmove.c (replacement_quality, fixup_match_2): Add static
19374         prototypes.
19375
19376         * resource.h (reg_dead_p): Add extern prototype.
19377
19378         * rtl.c (trim_filename): Add static prototype.
19379
19380         * scan-decls.c (skip_to_closing_brace): Likewise.
19381
19382         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
19383         (expand_end_case): Initialize variable `range'.
19384         (emit_case_nodes): Remove unused prototype `rtx_fn'.
19385
19386         * varasm.c (asm_emit_uninitialised): Add static prototype.
19387         (asm_emit_uninitialised, assemble_variable): Mark parameter with
19388         ATTRIBUTE_UNUSED.
19389
19390 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19391
19392         * cpplib.c (if_directive_nameo): Add static prototype.
19393
19394         * cse.c (cse_insn): Remove unused variable `p'.
19395
19396         * except.c (create_rethrow_ref, push_entry,
19397         receive_exception_label, new_eh_region_entry, find_func_region,
19398         clear_function_eh_region, process_nestinfo): Add static prototypes.
19399         (get_reg_for_handler): Hide definition.
19400         (process_nestinfo): Initialize variable `extra_handlers'.
19401
19402         * expr.h (expand_builtin_longjmp): Add extern prototype.
19403
19404         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
19405
19406         * function.c (prepare_function_start): Likewise.
19407         (pop_function_context_from): Mark parameter `context' with
19408         ATTRIBUTE_UNUSED.
19409         (push_temp_slots_for_block, flush_addressof): Hide definition.
19410
19411         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
19412         solve_program_flow_graph, calculate_branch_probs,
19413         function_summary, main, fancy_abort): Add prototypes.
19414
19415         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
19416         (add_hash): Constify a char*.
19417
19418         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
19419         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
19420         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
19421
19422         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
19423
19424         * lists.c (free_list, zap_lists): Likewise.
19425
19426 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19427
19428         * alias.c (nonlocal_reference_p): Add static prototype.
19429
19430         * bitmap.c (bitmap_element_allocate): Prototype args in function
19431         pointer cast.
19432
19433         * builtins.c (stabilize_va_list): Add static prototype.
19434         (expand_builtin_va_arg): Constify a char*.
19435
19436         * c-lex.c (getch, put_back, extend_token_buffer_to,
19437         read_line_number, token_getch, token_put_back): Add static
19438         prototypes.
19439
19440         * c-parse.gperf (hash, is_reserved_word): Likewise.
19441
19442         * cccp.c (is_dir_separator): Likewise.
19443
19444 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19445
19446         * graph.h: New file to prototype functions exported by graph.c.
19447
19448         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
19449
19450         * graph.c: Include graph.h.
19451
19452         * toplev.c: Likewise.  Remove redundant prototypes.
19453
19454 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
19455
19456         * invoke.texi: Removed duplicated description for -Q.
19457
19458 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
19459
19460         * extend.texi: Grammar fix in __extension__ text.
19461
19462 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
19463
19464         * md.texi (define_peephole2): New section.
19465
19466 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
19467
19468         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
19469         (mov $-1 to or peepholer): Enable for pentium when optimizing for
19470         speed.
19471
19472 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
19473
19474         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
19475
19476 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
19477
19478         * i386.md (ffs expander): Emit Pentium friendly code for
19479         TARGET_PENTIUM.
19480
19481 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
19482
19483         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
19484         for non-trees.
19485         (build1): Likewise.
19486
19487 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19488
19489         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
19490
19491 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
19492
19493         * config/m68k/m68k.c (use_return_insn): Return false if the pic
19494         register is in use.
19495
19496 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19497
19498         * md.texi (No Constraints): Delete section.
19499         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
19500         * final.c (final_scan_insn): We always have register constraints.
19501         * genattrtab.c: Don't include "insn-config.h".
19502         (write_attr_case): We always have register constraints.
19503         * genconfig.c (register_constraint_flag): Delete.
19504         (walk_insn_part): Don't check whether we have register constraints.
19505         (main): Don't write out "#define REGISTER_CONSTRAINTS".
19506         * genoutput.c (have_constraints): Delete.
19507         (main): Don't set it.
19508         (output_operand_data): We always have constraints.
19509         (scan_operands): Likewise.
19510         (compare_operands): Likewise.
19511         * local-alloc.c (block_alloc): We always have constraints.
19512         (requires_inout): Always compile this function.
19513         * recog.c (extract_insn): We always have constraints.
19514         (constrain_operands, reg_fits_class_p): Always compile these
19515         functions.
19516         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
19517         fields.
19518         (struct insn_operand_data): Likewise.
19519         * regclass.c (regclass): We always have constraints.
19520         (record_reg_classes, copy_cost, record_address_regs,
19521         auto_inc_dec_reg_p): Always compile these functions.
19522         * regmove.c (regmove_optimize): We always have constraints.
19523         * reload.c (find_reloads): Likewise.
19524         * reload1.c (reload): Likewise.
19525         (reload_cse_simplify_operands): Likewise.
19526         * i860.c (output_delay_insn): Likewise.
19527
19528 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
19529
19530         * iris6.h (BUILD_VA_LIST_TYPE): Define.
19531
19532 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
19533
19534         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
19535         for the va_list record.
19536
19537 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
19538
19539         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
19540         prologues.
19541
19542 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
19543
19544         * alias.c: Include insn-flags.h.
19545         * Makefile.in (alias.o): Update.
19546
19547 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
19548
19549         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
19550         to LTU and GEU.  Handle more cases using sbb.
19551
19552 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
19553
19554         * i386.md (truncatexfdf splitters): Do not use subreg.
19555         (fop XFmode patterns): Fix mode in operand testing.
19556
19557 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
19558
19559         * jump.c (jump_optimize_1): Amend last change to test only the
19560         form of the operand, not the insn.
19561
19562         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
19563         not register_operand to determine when B may need preloading.
19564
19565 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
19566
19567         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
19568         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
19569         (call-value patterns): Move to end of file.
19570         (*): Remove mode from label_ref in (pc) context.
19571         (movstrqi): Use memory not general_operand for BLKmode operands.
19572         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
19573         to register_operand operands.
19574         (peep2 patterns): Convert from commented-out peephole patterns.
19575
19576 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19577
19578         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
19579         to BUILT_IN_INIT_DWARF_REG_SIZES.
19580         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
19581         Renamed from BUILT_IN_DWARF_REG_SIZE; call
19582         expand_builtin_init_dwarf_reg_sizes.
19583         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
19584         with __builtin_init_dwarf_reg_size_table.
19585         * dwarf2out.c (struct reg_size_range): Delete.
19586         (expand_builtin_init_dwarf_reg_sizes): New function.
19587         (expand_builtin_dwarf_reg_size): Delete.
19588         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
19589         (expand_builtin_dwarf_reg_size): Don't declare.
19590         * libgcc2.c (dwarf_reg_size_table_initialized): New.
19591         (dwarf_reg_size_table): New.
19592         (init_reg_size_table): New function.
19593         (copy_reg): Use dwarf_reg_size_table.
19594         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
19595         before use.
19596
19597 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
19598
19599         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
19600         Correctly build argument list to constructor and destructor functions.
19601
19602 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
19603
19604         * c-tree.h (warn_float_equal): Declare.
19605         * c-decl.c (warn_float_equal): Define.
19606         (c_decode_option): Recognize -W[no-]float-equal.
19607         * c-typeck.c (build_binary_op): Conditionally warn
19608         about equality tests of floating point types.
19609         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
19610         * invoke.texi: Add docs for -Wfloat-equal warning.
19611
19612 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
19613
19614         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
19615         generating RTL directly.
19616         * mips.h (INIT_TARGET_OPTABS): Likewise.
19617         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
19618
19619         * expr.h (init_mov_optab): Delete declaration
19620
19621         * h8300.c (WORD_REG_USED): Update to avoid useless register
19622         saves in interrupt functions and functions which never return.
19623
19624         * cse.c (struct set): Delete inner_dest_loc field.
19625         (cse_insn): Remove assignments to inner_dest_loc field.
19626
19627 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
19628
19629         * ggc-page.c: Don't include <unistd.h> etc taken care of
19630         by "system.h".  Include <sys/mman.h> afterward.
19631
19632 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
19633
19634         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
19635         ggc_alloc_string.
19636
19637 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
19638
19639         * xcoffout.c (xcoffout_declare_function): Add documentation.
19640         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
19641         TARGET_64BIT.  Compare constant to -1, not bit pattern.
19642         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
19643         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
19644         gen_movsi typos.
19645
19646 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
19647
19648         * dwarf2out.c (add_abstract_origin_attribute): Abort if
19649         origin_die is NULL.
19650         (gen_inlined_enumeration_type_die): Do not abort if the type has
19651         not been writeen out.
19652         (gen_inlined_structure_type_die): Do not abort if the type has
19653         not been writeen out.
19654         (gen_inlined_union_type_die): Do not abort if the type has
19655         not been writeen out.
19656         (gen_tagged_type_instantiation_die): Do not abort if the type
19657         has not been written out.
19658
19659 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19660
19661         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
19662         call it.
19663         * reg-stack.c (straighten_stack): Copy hard reg set with
19664         COPY_HARD_REG_SET.
19665
19666 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
19667
19668         * builtins.c (stabilize_va_list): Stabilize array type va_list
19669         to a pointer type, not the base record type.
19670         (expand_builtin_va_copy): Dereference the pointers explicitly;
19671         use the correct size for the copy.
19672
19673         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
19674         (rs6000_va_arg): Likewise.
19675
19676 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
19677
19678         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
19679
19680 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
19681
19682         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
19683         field.
19684         (DECL_BUILT_IN_CLASS): Adjust accordingly.
19685
19686 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
19687
19688         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
19689         (init_ggc): Use it instead of a constant.
19690         (ggc_collect): Bound allocated_last_gc by it.
19691
19692 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
19693
19694         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
19695         with va_list.
19696
19697 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
19698
19699         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
19700         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
19701         * configure:  Regen.
19702         * config/mips/openbsd.h:  New, OpenBSD little endian target.
19703         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
19704         * config/mips/xm-openbsd.h:  New, OpenBSD host.
19705
19706 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
19707
19708         * config/m68k/m68k.c (output_function_prologue,
19709         output_function_epilogue): Use
19710         current_function_uses_pic_offset_table instead of regs_ever_live
19711         to decide whether to save/restore pic register.
19712         (legitimize_pic_address): Don't modify regs_ever_live any more.
19713
19714 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
19715
19716         * function.h (struct function): Add x_dont_save_pending_sizes_p.
19717         * stor-layout.c (variable_size): Don't add sizes to the pending
19718         sizes list if x_dont_save_pending_sizes_p is set.
19719
19720 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
19721
19722         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
19723         for symbolic_operand().
19724         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
19725
19726 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19727
19728         * combine.c (gen_rtx_combine): Add missing call to va_end().
19729
19730         * final.c (asm_fprintf): Likewise.
19731
19732         * genattrtab.c (attr_rtx): Likewise.
19733
19734 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
19735
19736         * cse.c: Update comments.
19737         (cse_insn): When converting a conditional/computed jump into
19738         an unconditional jump, always make sure a BARRIER immediately
19739         follows the converted jump.  Do not delete unreachable code.
19740         (cse_basic_block): Do not delete unreachable code.
19741         * toplev.c (rest_of_compilation): Move call to
19742         delete_trivially_dead_insns after the conditional call to
19743         jump_optimize.
19744
19745 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19746
19747         * collect2.c (make_temp_file): Don't prototype.
19748
19749         * gcc.c (make_temp_file): Likewise.
19750
19751         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
19752
19753 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
19754
19755         * varasm.c (asm_emit_uninitialised): New function: Generate
19756         the assembler statements necessary to declare an uninitialised
19757         variable.
19758         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
19759         variable.
19760         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
19761         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
19762         section.
19763         (assemble_variable): Use asm_emit_uninitialised to emit an
19764         uninitialised variable.
19765
19766 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
19767
19768         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
19769         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
19770         <geoffk@cygnus.com>.
19771
19772 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19773
19774         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
19775         * c-common.h (builtin_function): Don't declare.
19776
19777         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
19778         DECL_BUILT_IN.
19779         (pushdecl): Likewise.
19780         (finish_decl): Likewise.
19781         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
19782         int.  All callers changed.
19783         Set the builtin's DECL_BUILT_IN_CLASS.
19784         * tree.h (enum built_in_class): New.
19785         (enum built_in_function): Delete NOT_BUILT_IN.
19786         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
19787         in a union.
19788         (DECL_SET_FUNCTION_CODE): Likewise.
19789         (DECL_BUILT_IN_CLASS): New macro.
19790         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
19791         (struct tree_decl): Split builtin function code field into a
19792         struct.
19793         (builtin_function): Declare.
19794
19795 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
19796
19797         * optabs.c (init_traps): Fix typo in last change.
19798
19799 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
19800
19801         * toplev.c (rest_of_decl_compilation): Update comment.
19802
19803 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
19804
19805         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
19806         in .sbss if appropriate.
19807         (EXTRA_SECTION_FUNCTIONS): Add sbss.
19808         (SBSS_SECTION_ASM_OP): New macro.
19809         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
19810         (EXTRA_SECTIONS): Add in_sbss.
19811         * config/mips/mips.h: Prototype sbss_section.
19812
19813 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
19814
19815         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
19816         to disappear.
19817
19818 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
19819
19820         * optabs.c (init_traps): Register trap_rtx as a GC root.
19821
19822 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19823
19824         * config/mips/mips.c (function_arg_pass_by_reference): Define
19825         unconditionally, since it's called unconditionally.
19826
19827 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
19828
19829         * toplev.c (documented_lang_options): Add -fshort-wchar.
19830         * c-decl.c (c_decode_option): Likewise.
19831         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
19832         for wchar_t.
19833         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
19834         * gcc.c (default_compilers): If -fshort-wchar,
19835         override __WCHAR_TYPE__.
19836         * tm.texi (C Dialect Options): Add -fshort-wchar.
19837
19838         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
19839         symbol for a variable.
19840
19841         * cpplib.h (CPP_PREPROCESSED): New macro.
19842         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
19843         we're seeing this input for a second time.
19844
19845 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
19846
19847         * emit-rtl.c (init_emit_once): Initialize modes first.
19848
19849 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
19850
19851         * config/i386/i386.c (pic_label_name): Change to char pointer.
19852         (global_offset_table): New variable.
19853         (load_pic_register): Fill global_offset_table if it hasn't
19854         already been done.  Allocate pic_label_name dynamically.
19855         * ggc.h (empty_string): New variable.
19856         * ggc-simple.c (empty_string): Likewise.
19857         (init_ggc): Allocate empty_string and add as root.
19858         * stmt.c (digit_strings): New variable.
19859         (init_stmt): Add last_block_end_note as root.  Allocate and
19860         initialize digit_strings.
19861         (expand_asm_operands): Use empty_string instead of string
19862         constant.  Use digit_strings instead of string constants.
19863         * profile.c (init_arc_profiler): Allocate string with
19864         ggc_alloc_string instead of xmalloc.
19865         (output_func_start_profiler): Likewise.
19866         * c-typeck.c (digest_init): Check if init is error_mark_node.
19867
19868 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
19869                           Richard Henderson  <rth@cygnus.com>
19870
19871         * ggc-page.c: New file.
19872         * Makefile.in (ggc-page.o): New.
19873
19874 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
19875
19876         * invoke.texi: Document -fdelete-null-pointer-checks
19877         * toplev.c (flag_delete_null_pointer_checks): New.
19878         (f_options): Add entry for -fdelete-null-pointer-checks.
19879         (rest_of_compilation): Conditionalize null pointer check
19880         elimination on flag_delete_null_pointer_checks.
19881         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
19882
19883 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
19884
19885         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
19886         copyright notice and special exception to GPL.
19887
19888 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19889
19890         * abi64.h (mips_function_value): Add prototype arguments.
19891
19892         * mips-protos.h: New file with mips prototypes.
19893
19894         * mips.c: Include "tm_p.h".
19895         (mktemp, lookup_name): Add prototype arguments.
19896         (extern_list, string_constant, mips_fill_delay_slot,
19897         mips_output_external, mips_output_external_libcall,
19898         mips_output_filename, mips_declare_object, function_prologue,
19899         mips_expand_prologue, function_epilogue, mips16_constant,
19900         build_mips16_function_stub, mips_output_conditional_branch):
19901         Constify a char*.
19902         (mips_va_start): Remove unused variable `u'.
19903         (mips_va_arg): Cast value to unsigned when comparing against one.
19904         (trace): Delete.
19905         (save_restore_insns, mips_expand_prologue): Add missing arg in
19906         call to `large_int'.
19907
19908         * mips.h: Move prototypes to mips-protos.h.
19909         (data_section, memory_address_p, rdata_section,
19910         readonly_data_section, simple_epilogue_p, text_section): Delete
19911         prototypes delcared elsewhere.
19912         (mips_epilogue_delay_slots, print_options): Delete unused decls.
19913         (trace): Delete.
19914         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
19915
19916         * mips.md: Delete extra args in call to `mips_move_2words'.
19917
19918         * xm-iris6.h (alloca): Add prototype argument.
19919
19920         * genpeep.c: Include "tm_p.h" in generated output file.
19921
19922 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19923
19924         * basic-block.h (find_edge_index): Change parameters.
19925         * flow.c (verify_edge_list): Pass basic_block parameters to
19926         find_edge_index instead of integers.
19927
19928 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
19929
19930         * combine.c (simplify_comparison): Use an unsigned shift to adjust
19931         the constant.
19932
19933 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
19934
19935         * gcc.1: Fix a formatting error.
19936
19937 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
19938
19939         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
19940         i786, mn10200, mn10300, pdp11, v850.
19941
19942 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
19943
19944         * libgcc2.c (num_digits): Add prototype with
19945         __attribute__((const)).
19946         (__terminate): Add prototype.
19947
19948 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
19949
19950         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
19951
19952         * alpha/alpha.c (print_operand): Fix type of `code'.
19953         (alpha_output_filename): Constify.
19954         * alpha/alpha.h: Move all function declarations ...
19955         * alpha/alpha-protos.h: ... here.  New file.
19956         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
19957         (SECTION_FUNCTION_TEMPLATE): Likewise.
19958
19959 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19960
19961         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
19962         * expr.c (expand_expr): Likewise.
19963         (do_jump): Likewise.
19964         (do_store_flag): Pass ccp_store_flag to can_compare_p.
19965         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
19966         accessor macros.
19967         (enum can_compare_purpose): New.
19968         (can_compare_p): Adjust prototype.
19969         (prepare_cmp_insn, prepare_operand): Declare.
19970         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
19971         * optabs.c (cmp_available_p): Deleted.
19972         (expand_abs): Pass ccp_jump to can_compare_p.
19973         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
19974         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
19975         Call can_compare_p rather than cmp_available_p.
19976         (prepare_operand): No longer static.
19977         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
19978         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
19979         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
19980         sequence to use emit_cmp_and_jump_insns.
19981         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
19982
19983 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
19984
19985         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
19986         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
19987         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
19988         (plus (reg) (const_int 0))
19989         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
19990
19991 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
19992
19993         * rs6000.c (expand_block_move): DImode loads and stores require
19994         word-aligned displacements.  Increment address registers with
19995         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
19996
19997 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
19998
19999         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
20000         is no name for the base type, rather than segfault.  If we are
20001         writing out a complex integer type, use DW_ATE_lo_user.
20002
20003         * expr.c (emit_move_insn_1): If we are copying a complex that fits
20004         in one word or less (complex char, complex short, or on 64 bit
20005         systems complex float) to/from a hard register, copy it through
20006         memory instead of dying in gen_{real,imag}part.  If we have a
20007         short complex type, prevent inlining since it allocates stack
20008         memory.
20009
20010         * tree.c (build_complex_type): If we are writing dwarf2 output,
20011         generate a name for complex integer types.
20012
20013 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20014
20015         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
20016         * flow.c (remove_edge): Remove extra whitespace.
20017         (remove_fake_edges): Fix comment.
20018         (add_noreturn_fake_exit_edges): Use the correct name.
20019
20020 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
20021
20022         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
20023         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
20024         (clean): Depend on INTL_CLEAN.
20025         (maintainer-clean): Adjust.
20026
20027 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20028
20029         * configure.in (AC_PREREQ): Bump to 2.13.
20030         (AC_C_STRINGIZE): Call this instead of using a custom macro.
20031
20032         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
20033
20034         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
20035
20036         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
20037
20038         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
20039         (HAVE_STRINGIZE): Define.
20040
20041 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
20042
20043         * c-parse.in: save and restore warn_pointer_arith on __extension__
20044         along with pedantic.
20045         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
20046         Set the type of extension to itype rather than $<itype>1 kludge.
20047         * extend.texi (Alternate Keywords): Adjust documentation.
20048         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
20049
20050 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
20051
20052         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
20053         most assembler templates.
20054
20055         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
20056         FP loads and stores.
20057         (following_call): Always return zero for the PA8000.
20058         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
20059         FP loads and stores.
20060         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
20061
20062         * pa.h (BRANCH_COST): Define.
20063
20064         * pa.md (return, return_internal): Use bve for PA2.0.
20065
20066         * pa.md (fused multiply): Add variants which reduce height for the
20067         fused multiply, but which still generate 2 insns.
20068         (fnegabs): Similarly.
20069
20070         * pa.md (subsi3): Turn into an expander.  Create two anonymous
20071         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
20072         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
20073
20074         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
20075         for TARGET_PA_20.
20076         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
20077         code generation.
20078         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
20079         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
20080
20081         * regclass.c (init_regs): Add "top_of_stack" as a garbage
20082         collection root.
20083
20084         * flow.c (record_active_eh_regions): Terminate loop after finding
20085         the last insn in the last basic block.
20086
20087 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20088
20089         * config/c4x/c4x.md: Delete parallel instruction peepholes.
20090
20091 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20092
20093         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
20094
20095 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20096
20097         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
20098         splitting to not use output template.
20099
20100 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20101
20102         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
20103         * config/c4x/c4x.c (c4x_va_start): New function.
20104
20105 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
20106
20107         * genrecog.c (not_both_true): Handle correctly cases when called for
20108         tests with different positions in the insn.
20109
20110 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20111
20112         * machmode.h (HOST_PTR_PRINTF): Move from here ...
20113
20114         * system.h (HOST_PTR_PRINTF): ... to here.
20115
20116         * mips-tfile.c: Don't include machmode.h.
20117
20118         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
20119         (mips-tfile.o): Don't depend on machmode.h.
20120
20121 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20122
20123         * haifa-sched.c (sched_analyze): Rename local variable `region' to
20124         avoid conflicts with typedef struct `region' at the top level scope.
20125
20126 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
20127
20128         * basic-block.h (basic_block): Add eh_beg, eh_end.
20129         * flow.c (entry_exit_blocks): Update.
20130         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
20131         Call new functions.
20132         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
20133         lists.c functions to allocate insn lists.
20134         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
20135         edge creation ...
20136         (make_eh_edge): ... here.  New.
20137         (move_stray_eh_region_notes): New.
20138         (record_active_eh_regions): New.
20139         (delete_unreachable_blocks): Split out block merging ...
20140         (try_merge_blocks): ... here.  New.
20141         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
20142         Dump debugging data.
20143         (merge_blocks_move_successor_nojumps): Likewise.
20144         (merge_blocks): Use eh_beg+eh_end to validate block movement.
20145
20146 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
20147
20148         * extend.texi (Bound member functions): Document unbound pmf
20149         conversion.
20150
20151 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20152
20153         * flow.c (split_edge): Handle insertion on a fallthrough edge which
20154         has the EXIT_BLOCK as a dest.
20155
20156 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20157
20158         * flow.c (remove_edge): New function to remove an edge from the
20159         flow graph.
20160         (remove_fake_successors): New function to remove fake successor edges.
20161         (remove_fake_edges): New function to remove all fake edges from the
20162         flow graph.
20163         (add_fake_exit_edges): New function to add fake edges from all blocks
20164         with no successors to the exit block.
20165         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
20166         prototypes for new functions.
20167
20168 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20169
20170         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
20171         Use Pmode to determine whether to output .dword or .word.
20172
20173 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
20174
20175         * tree.c (built_in_filename): New variable.
20176         (BUILT_IN_FILENAME): New macro.
20177         (init_tree_codes): Allocate built_in_filename.
20178         (make_node): Use built_in_filename instead of string constant.
20179
20180 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
20181
20182         * configure.in: Add fr30 target.
20183         * configure: Regenerate.
20184         * config/fr30: New directory.
20185         * config/fr30/crti.asm: New file.
20186         * config/fr30/fr30.c: New file.
20187         * config/fr30/crtn.asm: New file.
20188         * config/fr30/fr30.h: New file.
20189         * config/fr30/fr30.md: New file.
20190         * config/fr30/lib1funcs.asm: New file.
20191         * config/fr30/t-fr30: New file.
20192         * config/fr30/xm-fr30.h: New file.
20193
20194 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
20195
20196         * flow.c (merge_blocks_move_successor_nojumps): Delete the
20197         BARRIER at the end of the successor, not the BARRIER before
20198         the successor.
20199
20200         * pa.c (pa_add_gc_roots): Fix thinko in last change.
20201
20202 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
20203
20204         * stmt.c (any_pending_cleanups): Don't crash when
20205         current_function->stmt is unset.
20206
20207 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20208
20209         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
20210         other initializations that may use it for relative offsets.
20211
20212 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20213
20214         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
20215         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
20216         * config/i386/sol2dbg.h: Removed.
20217         * config/i386/sol2gas.h: New file, to enable gas work-around.
20218         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
20219         Don't use sol2dbg.h.
20220         * configure: Rebuilt.
20221
20222 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
20223
20224         * invoke.texi (-fthis-is-variable): Remove documentation.
20225
20226 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
20227
20228         * basic-block.h (compute_bb_for_insn): Declare.
20229         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
20230         to use; set size of basic_block_for_insn directly.
20231         (find_basic_blocks): Update.
20232
20233 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20234
20235         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
20236
20237 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20238
20239         * crtstuff.c (ON_EXIT): Delete empty macro definition.
20240         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
20241
20242 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
20243
20244         * c-decl.c (c_decode_option): Extend comment.
20245
20246 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
20247
20248         * toplev.c (progname): Make 'const char *'
20249         (flag_print_mem): Move out of main.
20250         (version_flag): Move out of main.
20251         (filename): Move out of main.
20252         (debug_args): Remove g prefix from options.
20253         (documented_lang_options): Remove cpplib specific options.
20254         (display_help): Add g prefix to debug options.
20255         (check_lang_option): Delete this function.
20256         (decode_d_option): New function: Decode -d... option.
20257         (decode_f_option): New function: Decode -f... option.
20258         (decode_W_option): New function: Decode -W... option.
20259         (decode_g_option): New function: Decode -g... option.
20260         (independent_decode_option): New function: Decode a language
20261         independent command line option.
20262         (main): Invoke lang_decode_option and then
20263         independent_decode_option on each command line option in
20264         turn.
20265
20266 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
20267
20268         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
20269          * fold-const.c (fold_range_test): Do not try to fold the range
20270          test if the rhs or lhs has side effects.
20271
20272         * basic-block.h (compute_flow_dominators): Declare.
20273
20274         * gcse.c (alloc_code_hoist_mem): New function.
20275         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
20276         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
20277         (hoist_code, one_code_hoisting_pass): Likewise.
20278         (gcse_main): If optimizing for size, then hoist expressions
20279         computed in multiple dominated basic blocks.
20280
20281         * gcse.c (invalid_nonnull_info): New function.
20282         (delete_null_pointer_checks): Likewise.
20283         * rtl.h (delete_null_pointer_checks): Declare.
20284         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
20285
20286         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
20287         (merge-blocks_move_successor_nojumps): Likewise.
20288         (merge_blocks): Allow merging of some blocks, even if it requires
20289         physical movement of the blocks, but not if it requires new jumps.
20290
20291         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
20292         Callers and prototype changed.
20293         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
20294
20295 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20296
20297         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
20298         -YP when both -p and -pg are present.  From i386/sol2.h.
20299
20300 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20301
20302         * Makefile.in (distclean): Delete tm_p.h.
20303         * configure.in: Create a new file, "tm_p.h", from a list in
20304         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
20305         "i386/i386-protos.h".
20306
20307         * alias.c: Include "tm_p.h".
20308         * c-typeck.c: Likewise.
20309         * calls.c: Likewise.
20310         * cse.c: Likewise.
20311         * emit-rtl.c: Likewise.
20312         * explow.c: Likewise.
20313         * expmed.c: Likewise.
20314         * expr.c: Likewise.
20315         * final.c: Likewise.
20316         * flow.c: Likewise.
20317         * fold-const.c: Likewise.
20318         * function.c: Likewise.
20319         * gcse.c: Likewise.
20320         * global.c: Likewise.
20321         * haifa-sched.c: Likewise.
20322         * integrate.c: Likewise.
20323         * jump.c: Likewise.
20324         * local-alloc.c: Likewise.
20325         * loop.c: Likewise.
20326         * optabs.c: Likewise.
20327         * recog.c: Likewise.
20328         * reg-stack.c: Likewise.
20329         * regclass.c: Likewise.
20330         * regmove.c: Likewise.
20331         * reload.c: Likewise.
20332         * reload1.c: Likewise.
20333         * reorg.c: Likewise.
20334         * resource.c: Likewise.
20335         * stmt.c: Likewise.
20336         * stor-layout.c: Likewise.
20337         * toplev.c: Likewise.
20338         * tree.c: Likewise.
20339         * unroll.c: Likewise.
20340         * genattrtab.c (main): Make generated file include "tm_p.h".
20341         * genemit.c (main): Likewise.
20342         * genoutput.c (main): Likewise.
20343         * genrecog.c (main): Likewise.
20344
20345         * i386.h: Delete all prototypes.
20346         * i386.c: Include "tm_p.h".
20347         (ix86_attr_length_default): Call constant_call_address_operand
20348         with correct number of arguments.
20349         * i386-protos.h: New file.
20350         * i386.md (unnamed patterns): Call constant_call_address_operand
20351         with correct number of arguments.
20352         (exception_receiver): Call load_pic_register with correct number
20353         of arguments.
20354
20355 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
20356
20357         * c-pragma.c (mark_align_stack): Dereference the void* properly.
20358
20359 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
20360
20361         * rtl.h (insns_safe_to_move_p): New function.
20362         * loop.c (find_and_verify_loops): Use it.
20363         * rtlanal.c (insns_safe_to_move_p): Define it.
20364
20365 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
20366
20367         * c-pragma.c: Include ggc.h.
20368         * Makefile.in (c-pragma.o): Update.
20369
20370 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20371
20372         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
20373         (LIB_SPEC): Likewise.
20374         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
20375         Reindent -YP/-p/-pg.
20376         Copied from config/sparc/sol2.h.
20377
20378 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
20379
20380         * c-pragma.c (mark_align_stack): New.
20381         (init_pragma): New.
20382         * c-pragma.h (init_pragma): Declare it.
20383         * c-lex.c (init_parse): Call it.
20384
20385 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20386
20387         * configure.in: Pick up thread library on Solaris/x86 just
20388         like on Solaris/sparc.
20389         * configure: Rebuilt.
20390
20391 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
20392
20393         * rtl.h (global_rtx_index): New enum.
20394         (global_rtl): Change to array of rtx.
20395         (pc_rtx, cc0_rtx): Redefine accordingly.
20396         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
20397         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
20398         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
20399         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
20400         (const_int_rtx): Change to array of rtx.
20401         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
20402         accordingly.
20403         * emit-rtl.c (global_rtl): Change to array of rtx.
20404         (const_int_rtx): Change to aray of rtx.
20405         (gen_rtx_CONST_INT): Redefine accordingly.
20406         (init_emit_once): Allocate and initialize global_rtl.  Likewise
20407         for const_int_rtx.  Add both as GC roots.
20408         * genattrtab.c (global_rtl): Update declaration.
20409
20410 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
20411
20412         * Makefile (USER_H): Add iso646.h back.
20413
20414 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
20415
20416         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
20417         zapping the LOG_LINKS of sched_before_next_call.
20418
20419         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
20420         * pa.c (insn_refs_are_delayed): Renamed from
20421         insn_sets_and_refs_are_delayed.
20422
20423 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
20424
20425         * functiion.h (struct function): Add x_whole_function_mode_p.
20426         (retrofit_block): Declare.
20427         * function.c (retrofit_block): New function.
20428         (identify_blocks): Add assertions.  Allow an incomplete set of
20429         block notes if we're still generating code for the function.
20430         * integrate.c: Include loop.h.
20431         (expand_inline_function): Call find_loop_tree_blocks to map block
20432         notes to blocks when in whole-function mode.  Use retrofit_block
20433         to insert new BLOCKs for the inlined function, rather than
20434         insert_block.
20435         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
20436         * Makefile.in (integrate.o): Depend on loop.h.
20437
20438 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
20439
20440         * tree.h (warn_about_unused_variables): Declare.
20441         * stmt.c (warn_about_unused_variables): New function, split out
20442         from ...
20443         (expand_end_bindings): Here.
20444
20445 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
20446
20447         * stmt.c (preserve_subexpressions_p): Don't crash when
20448         current_function->stmt is unset.
20449
20450 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
20451
20452         * stmt.c (expand_start_bindings): Allow callers to pass a flag
20453         indicating that no NOTE_INSN_BLOCK_BEG note is required.
20454         (expand_start_target_temps): Use it.
20455         * except.c (expand_eh_region_start_for_decl): Likewise.
20456         * expr.c (expand_expr): Likewise.
20457
20458 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20459
20460         * fold-const.c (operand_equal_p): Pay attention to side effects.
20461
20462 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
20463
20464         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
20465         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
20466
20467         * tlink.c (scan_linker_output): Look for keywords before accepting
20468         a mangled name in quotes.
20469
20470 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
20471
20472         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
20473         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
20474
20475 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
20476
20477         * alpha.md: Revert Thu Nov 26 change that came in through the
20478         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
20479         Avoid earlyclobber when possible.
20480
20481 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20482
20483         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
20484
20485         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
20486         Define HAVE_ON_EXIT.
20487
20488 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20489
20490         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
20491         CTYPE_CONV in all ctype macros.
20492
20493         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
20494         from system.h.
20495
20496         * cexp.y (initialize_random_junk): Likewise.
20497
20498         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
20499
20500         * i370.c (handle_pragma): Likewise.
20501
20502         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
20503
20504         * v850.c (override_options): Likewise.
20505
20506         * doprint.c (_doprnt): Likewise.
20507
20508         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
20509         Likewise.
20510
20511         * fixinc/server.c (load_data): Likewise.
20512
20513         * fold-const.c (real_hex_to_f): Likewise.
20514
20515         * genattr.c (write_upcase, gen_attr): Likewise.
20516
20517         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
20518         write_upcase): Likewise.
20519
20520         * genemit.c (print_code): Likewise.
20521
20522         * genopinit.c (gen_insn): Likewise.
20523
20524         * genpeep.c (print_code): Likewise.
20525
20526         * genrecog.c (print_code): Likewise.
20527
20528         * optabs.c (init_libfuncs): Likewise.
20529
20530 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
20531
20532         * haifa-sched.c (sched_analyze): Keep the list of notes organized
20533         in pairs.
20534         (reemit_notes): Likewise.
20535
20536 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
20537
20538         * ggc.h (ggc_root): Move to ggc-common.c.
20539         (roots): Remove.
20540         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
20541         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
20542         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
20543         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
20544         * ggc-common.c (ggc_root): Move from ggc.h.
20545         (roots): Declare, static.
20546         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
20547         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
20548         null or check/set mark bit.
20549         (ggc_mark_roots): New.
20550         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
20551
20552 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
20553
20554         * m32r.c: Include toplev.h.
20555         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
20556         (gen_compare): Rename swap_p to must_swap to match uses.
20557         Add default abort case.
20558         (m32r_output_function_epilogue): Remove unused variables.
20559         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
20560         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
20561         define to empty parameter list.  Update all uses.
20562         (predicate decls): Use enum machine_mode not int.
20563         * m32r.md (movsi): Call abort, not fatal_insn.
20564         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
20565
20566 1999-09-14  Andrew Haley  <aph@cygnus.com>
20567
20568         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
20569         use $0 instead of 0.
20570
20571 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20572
20573         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
20574         computation out of loop over hard regs.
20575
20576 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
20577
20578         * function.c (identify_blocks): Don't shadow a variable in an
20579         outer scope.
20580         * integrate.c (integrate_decl_tree): Don't use pushlevel,
20581         pushdecl, or poplevel to build up the new BLOCK tree.
20582         (expand_inline_function): Likewise.
20583         (integrate_parm_decls): Likewise.
20584
20585 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
20586
20587         * c-typeck.c (qualify_type): Merge qualifiers from both types.
20588
20589 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
20590
20591         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
20592         * invoke.texi: Document this change.
20593
20594 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
20595
20596         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
20597         Free the struct.
20598         (mark_emit_status): Renamed from mark_emit_state.
20599         * except.c (mark_eh_status): Renamed from mark_eh_state.
20600         Check not null before marking.
20601         (free_eh_status): New.
20602         * expr.c (mark_expr_status, free_expr_status): New.
20603         * function.c (free_machine_status): New.
20604         (free_after_parsing): New.
20605         (free_after_compilation): Move bits to free_after_parsing; call
20606         free_eh_status, free_expr_status; zero the marked members of the
20607         function state.
20608         (prepare_function_start): No can_garbage_collect.
20609         Call init_eh_for_function.
20610         (expand_dummy_function_end): Free up current_function state.
20611         (mark_function_status): Renamed from mark_function_state.
20612         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
20613         * function.h (struct function): No can_garbage_collect.
20614         (free_machine_status, free_after_parsing): Declare.
20615         (free_eh_status, free_expr_status): Declare.
20616         * ggc.h (mark_expr_status): Declare.
20617         * stmt.c (free_stmt_status): Free the struct.
20618         (mark_stmt_status): Renamed from mark_stmt_state.
20619         (init_stmt): Don't call init_eh.
20620         (init_stmt_for_function): Don't call init_eh_for_function.
20621         * toplev.c (compile_file): Call init_eh.
20622         (rest_of_compilation): Free basic block info before ggc_collect.
20623         Call free_after_parsing; conditionally call free_after_compilation.
20624         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
20625         Check not null before marking.
20626         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
20627
20628 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
20629
20630         * c-lex.c (yylex): Initialize warn.
20631
20632 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
20633
20634         * pa.c (emit_move_sequence): Properly set the mode of the scratch
20635         register when performing secondary reloads for the SAR register.
20636
20637 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
20638
20639         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
20640         (NOTE_BLOCK): New macro.
20641         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
20642         * function.h (identify_blocks): Change prototype.
20643         * function.c (identify_blocks): Simplify.
20644         (reorder_blocks): Likewise.
20645         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
20646         NOTE_INSN_BLOCK_{BEG,END}.
20647         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
20648         the list of saved notes if the note isn't a
20649         NOTE_INSN_BLOCK_{BEG,END}.
20650         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
20651         NOTE_BLOCK_NUMBER.
20652         (reemit_notes): Adjust recreation of notes to reflect new saved
20653         note structure.
20654         * print-rtl.c (print_rtx): Print the address of the BLOCK when
20655         printing a block note.
20656         * stmt.c (block_vector): Remove.
20657         (find_loop_tree_blocks): Simplify.
20658         (unroll_block_trees): Likewise.
20659         * tree.h (reorder_block): Change prototype.
20660
20661 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
20662
20663         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
20664         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
20665         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
20666         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
20667         (atexit, exit): Simplify.
20668         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
20669         * config/lots: Remove defns of HAVE_ATEXIT.
20670
20671 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
20672
20673         * calls.c (precompute_arguments): Fix typo in comment.
20674         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
20675         TARGET_EXPR.
20676
20677 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
20678
20679         * dsp16xx.c (override_options): Fix typos in GC root registration.
20680
20681 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
20682
20683         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
20684         from config/svr4.h.
20685         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
20686         (FUNCTION_PROFILER): Redefine appropriately for Linux.
20687         (CC1_SPEC): Likewise.
20688
20689 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20690
20691         * genattr.c (main): Add extern prototype.  Call return, not exit.
20692         * genattrtab.c (main): Likewise.
20693         * gencheck.c (main): Likewise.
20694         * gencodes.c (main): Likewise.
20695         * genconfig.c (main): Likewise.
20696         * genemit.c (main): Likewise.
20697         * genextract.c (main): Likewise.
20698         * genflags.c (main): Likewise.
20699         * gengenrtl.c (main): Likewise.
20700         * genopinit.c (main): Likewise.
20701         * genoutput.c (main): Likewise.
20702         * genpeep.c (main): Likewise.
20703         * genrecog.c (main): Likewise.
20704
20705         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
20706         * genattrtab.c (get_insn_name): Likewise.
20707         * gencodes.c (get_insn_name): Likewise.
20708         * genconfig.c (get_insn_name): Likewise.
20709         * genemit.c (get_insn_name): Likewise.
20710         * genextract.c (get_insn_name): Likewise.
20711         * genflags.c (get_insn_name): Likewise.
20712         * genopinit.c (get_insn_name): Likewise.
20713         * genpeep.c (get_insn_name): Likewise.
20714
20715         * gencheck.c (usage): Add static prototype.
20716         * genextract.c (print_path): Constify a char*.
20717         * genopinit.c (optabs): Likewise.
20718         * genoutput.c (operand_data, data, output_predicate_decls,
20719         compare_operands): Likewise.
20720         * genrecog.c (write_tree): Add default case in switch.
20721
20722 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20723
20724         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
20725
20726         * print-rtl.c (get_insn_name): Remove prototype.
20727
20728         * toplev.h (progname): Declare const.
20729
20730         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
20731         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
20732         dump_sched_info, dump_local_alloc, regset_release_memory,
20733         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
20734         error_with_file_and_line, error_with_decl, error_for_asm, error,
20735         fatal, warning_with_file_and_line, warning_with_decl, warning,
20736         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
20737         Remove redundant prototypes.
20738
20739         (notice, check_lang_option, report_file_and_line, vnotice,
20740         mark_file_stack): Add static prototype.
20741         (set_fatal_function): Add prototype.
20742         (vnotice, report_file_and_line, set_fatal_function,
20743         check_lang_option): Constify a char*.
20744         (main): Prototype.  Call return, not exit.
20745
20746 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20747
20748         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
20749
20750         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
20751
20752         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
20753
20754         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
20755
20756 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20757
20758         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
20759         behave as if it's zero in all cases.
20760         (expand_function_start): Adjust call to assign_parms.
20761         * tree.h (assign_parms): Adjust prototype.
20762         * objc/objc-act.c (hack_method_prototype): Adjust call to
20763         assign_parms.
20764
20765 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
20766
20767         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
20768         arg_pointer_rtx fixed if the argument pointer register is
20769         not fixed.
20770         (NONZERO_BASE_PLUS_P): Likewise.
20771
20772 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
20773
20774         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
20775         match_insn2 to match_insn.
20776         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
20777
20778 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
20779
20780         * Makefile.in (USER_H): Remove va-foo.h.
20781
20782         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
20783         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
20784         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
20785         va-spur.h,va-v850.h}: Remove.
20786
20787 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
20788
20789         * sparc/sparc.md (eligible_for_return_delay): New attribute.
20790         (in_return_delay): Use it instead of match_insn.
20791
20792 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20793
20794         * config/alpha/va_list.h (va-alpha.h): Do not include.
20795         (__gnuc_va_list): Typedef as in varargs.h.
20796
20797 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
20798
20799         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
20800         DECL_LIVE_RANGE_RTL.
20801
20802 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
20803
20804         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
20805         not NOTE_BLOCK_NUMBER.
20806         (expand_eh_region_end): Likewise.
20807         (find_exception_handler_labels): Likewise.
20808         (scan_region): Likewise.
20809         (exception_optimize): Likewise.
20810         (update_rethrow_references): Likewise.
20811         (set_insn_eh_region): Likewise.
20812         * final.c (final_scan_insn): Likewise.
20813         * flow.c (make_edges): Likewise.
20814         * integrate.c (expand_inline_function): Likewise.
20815         * print-rtl.c (print_rtx): Likewise.
20816
20817 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
20818
20819         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
20820         terms of builtin functions and types.
20821
20822         * mips.c (mips_build_va_list): New.
20823         (mips_va_start, mips_va_arg): New.
20824         * mips.h (BUILD_VA_LIST_TYPE): New.
20825         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
20826
20827         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
20828         (sh_build_va_list, sh_va_start, sh_va_arg): New.
20829         * sh.h (BUILD_VA_LIST_TYPE): New.
20830         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
20831
20832 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
20833
20834         * recog.h (struct recog_data): Make dup_num, operand_address_p,
20835         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
20836         (struct insn_data): Likewise with n_operands, n_dups,
20837         n_alternatives, output_format.
20838         * regclass.c (scan_one_insn): Cast n_operands to int before
20839         arithmetic inside comparison.
20840
20841 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
20842
20843         * toplev.c (compile_function): Unconditionally emit nop.
20844
20845 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20846
20847         * haifa-sched.c (actual_hazard): Move declaration of variable
20848         `this_cost' into the scope where it is used.
20849
20850 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20851
20852         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
20853         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
20854         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
20855
20856         * genrecog.c (make_insn_sequence): Call memset, not bzero.
20857
20858         * jump.c (find_insert_position): Don't declare or define unless
20859         !HAVE_conditional_arithmetic.
20860         (returnjump_p_1, delete_prior_computation): Add static prototypes.
20861
20862         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
20863
20864         * recog.c (offsettable_address_p): Prototype function pointer.
20865         (preprocess_constraints): Call memset, not bzero.
20866
20867         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
20868         (gcc_obstack_init): Don't declare.
20869         (fix_sizetype): Add static prototype.
20870         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
20871         (tree_cons): Call memset, not bzero.
20872
20873         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
20874         definition in macro ASM_WEAKEN_LABEL.
20875         (mark_const_hash_entry): Add static prototype.
20876
20877 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20878
20879         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
20880
20881         * unroll.c (find_common_reg_term, subtract_reg_term,
20882         loop_find_equiv_value): Add static prototypes.
20883         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
20884         (copy_loop_body): Remove unreachable break statement.
20885
20886         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
20887
20888         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
20889
20890 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20891
20892         Undo some changes from the gcc2 merge:
20893         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
20894         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
20895         pointers.
20896
20897         Undo this change:
20898         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
20899         * emit-rtl.c (gen_lowpart_common): Disable optimization of
20900         initialized float-int union if the value is a NaN.
20901
20902 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20903
20904         * gthr-win32.h: New file.
20905
20906         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
20907         shared as a valid attribute.
20908         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
20909         * extend.texi: Document `shared' variable attribute.
20910
20911 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
20912
20913         * configure.in: Handle --enable-threads on FreeBSD.
20914         * configure: Rebuit.
20915
20916 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
20917
20918         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
20919         thread support.
20920         * configure: Rebuilt.
20921
20922 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
20923                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
20924                           Rosimildo DaSilva <rdasilva@connecttel.com>
20925
20926         * configure.in (m68k-*-rtemscoff*): Added.
20927         * configure.in (mips64orion-*-rtems*): Converted to ELF.
20928         * configure.in (sparc-*-rtemsaout*): Added as alias for old
20929         sparc-rtems configuration.
20930         * configure.in (sparc-*-rtemself*): Added.
20931         * configure.in (sparc-*-rtems*): Now ELF not a.out.
20932         * config/i386/rtems.h: Added comment.
20933         * config/sparc/rtemself.h: New file.
20934
20935         * configure.in (m68k-rtemself): Added.
20936         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
20937         and DWARF_DEBUGGING_INFO.
20938         * config/m68k/crti.s: New file.
20939         * config/m68k/crtn.s: New file.
20940         * config/m68k/t-crtstuff: New file.
20941         * config/m68k/rtemself.h: New file.
20942
20943         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
20944         global ctor/dtor and C++ exception handling.
20945         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
20946         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
20947         ENDFILE_SPEC.
20948         * config/i386/t-rtems-i386: New File.
20949
20950 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
20951
20952         * stmt.c (expand_end_case): Return right away if the case stack is
20953         empty.
20954
20955 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
20956
20957         * Makefile.in (version.c): Remove rule incorrectly brought in from
20958         the gcc2 merge.
20959
20960 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
20961
20962         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
20963         * msdos/top.sed:  Take into account a prepended $(SHELL) to
20964         move-if-change.
20965         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
20966
20967         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
20968
20969 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20970
20971         * regmove.c (fixup_match_1): Don't change an unchanging register.
20972         (stable_but_for_p): Renamed to:
20973         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
20974         Changed all callers.
20975
20976 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
20977
20978         * loop.c (strength_reduce): Don't call reg_used_between_p if the
20979         insn from BL2 is after the insn from BL.
20980
20981 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
20982
20983         * recog.h (INSN_OUTPUT_FORMAT_*): New.
20984         (struct insn_data): Merge `template' and `outfun' into `output'.
20985         Add `output_format'.
20986         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
20987         (struct data): Remove `outfun'; add `output_format'.
20988         (name_for_index): Remove declaration.
20989         (output_insn_data): Handle output formats.
20990         (process_template): Emit the bare array for @.
20991         (gen_expand, gen_split): Set output_format to NONE.
20992         * output.h (get_insn_template): Declare.
20993         * final.c (get_insn_template): New.
20994         (final_scan_insn): Use it.
20995         * toplev.c (compile_file): Likewise.
20996
20997         * c4x/c4x.c (c4x_process_after_reload): Likewise.
20998         * i860/i860.c (output_delayed_branch): Likewise.
20999         (output_delay_insn): Likewise.
21000
21001 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
21002
21003         * rtl.c (obstack_alloc_rtx): Removed.
21004
21005 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
21006
21007         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
21008
21009 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
21010
21011         * i386.c (call_insn_operand): Reject const_int.
21012         (expander_call_insn_operand): Use call_insn_operand.
21013
21014 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21015
21016         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
21017
21018 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
21019
21020         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
21021         Use DImode operation.
21022
21023 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
21024
21025         * gcc.c: Include sys/resource.h.
21026         (report_times): New flag.
21027         (execute):  If report_times is set, calculate and report the
21028         CPU time consumed by each subprocess.
21029
21030         (rus, prus): New globals.
21031         (option_map): Add --time.
21032         (display_help): Document -time.
21033         (process_command): Set report_times if -time is given.
21034         Turn off -pipe if -time is given.
21035
21036         * invoke.texi: Document new option -time.
21037
21038         * configure.in: Check for getrusage.  Check if we have to
21039         prototype getrusage.
21040         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
21041         * configure: Regenerate.
21042         * config.in: Regenerate.
21043
21044 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
21045
21046         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
21047         fields.
21048
21049 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
21050
21051         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
21052         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
21053         (nan): Return _thenan_sf or _thenan_df as appropriate.
21054         (L_thenan_sf): Define _thenan_sf.
21055         (L_thenan_df): Define _thenan_df.
21056
21057         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
21058         (DPBIT_FUNCS): Add _thenan_df.
21059
21060 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
21061
21062         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
21063         TYPE_SIZE_UNIT.
21064
21065 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21066
21067         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
21068
21069         * gcc.h: New file.
21070         (lang_specific_driver): Don't take a function pointer parameter.
21071         All callers changed.
21072
21073         * gcc.c: Include gcc.h.
21074         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
21075         lang_specific_extra_outfiles, fatal): Don't declare.
21076         (multilib_defaults_raw): Constify.
21077         (read_specs): Call memset, rather than bzero.
21078         (main): Call return, not exit.
21079         (lookup_compiler): Call memcpy, not bcopy.
21080         (fatal): Make extern.
21081
21082         * cppspec.c: Include gcc.h.
21083         (lang_specific_driver): Initialize variable `quote'.  Constify a
21084         char*.  All calls to the function pointer parameter now
21085         explicitly call `fatal'.
21086
21087         * gccspec.c (lang_specific_driver): Include gcc.h.
21088
21089 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
21090
21091         * arm.c (note_invalid_constants): Use recog_data.operand_type
21092         for recog_op_type.
21093
21094 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21095
21096         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
21097         Declare.
21098
21099         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
21100         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
21101         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
21102         reload_secondary_in_reload, reload_secondary_out_reload,
21103         reload_secondary_in_icode, reload_secondary_out_icode,
21104         reload_reg_rtx, reload_when_needed): Delete declarations.
21105         (struct reload): New structure.
21106         (rld): Declare new array.
21107         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
21108         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
21109         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
21110         reload_secondary_in_reload, reload_secondary_out_reload,
21111         reload_secondary_in_icode, reload_secondary_out_icode,
21112         reload_reg_rtx, reload_when_needed): Delete definitions.
21113         (rld): New array.
21114         (whole file): Replace uses of the deleted arrays with uses of rld.
21115         * reload1.c (whole file): Replace uses of the deleted arrays with
21116         uses of rld.
21117         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
21118         explicit loops, not with bcopy.
21119
21120 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
21121
21122         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
21123         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
21124         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
21125         insn_name): Delete and consolidate into new structures.
21126         (insn_operand_predicate_fn): New.
21127         (insn_output_fn): New.
21128         (insn_gen_fn): New.
21129         (struct insn_operand_data): New.
21130         (struct insn_data): New.
21131         (insn_data): New.
21132         (OUT_FCN): Update for insn_data change.
21133         * builtins.c (expand_builtin_strlen): Likewise.
21134         (expand_builtin_memcmp): Likewise.
21135         * combine.c (make_extraction, simplify_comparison): Likewise.
21136         * cse.c (canon_reg, cse_insn): Likewise.
21137         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
21138         * expmed.c (store_bit_field, extract_bit_field): Likewise.
21139         (emit_store_flag): Likewise.
21140         * expr.c (convert_move, emit_block_move): Likewise.
21141         (clear_storage, emit_push_insn, expand_increment): Likewise.
21142         (do_store_flag): Likewise.
21143         * expr.h (GEN_FCN): Likewise.
21144         (insn_gen_function): Die.
21145         * final.c (final_scan_insn): Update for insn_data change.
21146         (output_asm_name): Likewise.
21147         * function.c (fixup_var_refs_1): Likewise.
21148         * loop.c (check_dbra_loop): Likewise.
21149         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
21150         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
21151         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
21152         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
21153         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
21154         * regmove.c (gen_add3_insn): Likewise.
21155         * reload.c (push_secondary_reload, combine_reloads): Likewise.
21156         (find_reloads, find_reloads_address_1): Likewise.
21157         (debug_reload_to_stream): Likewise.
21158         * reload1.c (emit_reload_insns, gen_reload): Likewise.
21159         * stmt.c (expand_end_case): Likewise.
21160         * toplev.c (compile_file): Likewise.
21161
21162         * c4x/c4x.c (c4x_process_after_reload): Likewise.
21163         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
21164
21165         * print-rtl.c (insn_name_ptr): Remove declaration.
21166         (get_insn_name): Declare.
21167         (print_rtx): Use it.
21168         * genoutput.c (insn_name_ptr): Remove.
21169         (next_operand_number): New.
21170         (struct operand_data): New.
21171         (null_operand, odata, odata_end): New.
21172         (struct data): Use struct operand_data.
21173         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
21174         (get_insn_name): Renamed from name_for_index.
21175         (output_prologue): Define NO_MD_PROTOTYPES.
21176         (output_predicate_decls): Break out from output_epilogue.
21177         Iterate over the operands list.
21178         (output_operand_data): Break out from output_epilogue.  Emit
21179         just the operands list.
21180         (output_insn_data): Break out from output_epilogue.  Emit just
21181         the insn data.
21182         (output_epilogue): Remove.
21183         (output_get_insn_name): New.
21184         (constraints, op_n_alternatives, predicates, address_p): Die.
21185         (modes, strict_low, seen): Die.
21186         (scan_operands): Take new param `d' instead of writing to
21187         seven global variables.
21188         (compare_operands): New.
21189         (place_operands): New.
21190         (validate_insn_alternatives): Update for struct data change.
21191         (gen_insn): Don't zero or copy 7 global arrays.  Update for
21192         scan_operands; call place_operands.
21193         (gen_peephole, gen_expand, gen_split): Likewise.
21194         (main): Update for new output routines.
21195
21196         * genattr.c (insn_name_ptr): Remove.
21197         (get_insn_name): New function.
21198         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
21199         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
21200         * genrecog.c: Likewise.
21201
21202         * alpha.md (adddi3): Make `pattern' array static.
21203
21204 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21205
21206         * config/c4x/c4x.h (c4x_rpts_cycles_string,
21207         c4x_cpu_version_string): Constify char *.
21208         * config/c4x/c4x.c (c4x_rpts_cycles_string,
21209         c4x_cpu_version_string): Likewise.
21210
21211 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
21212
21213         * tree.c (save_tree_status): Revert 10 Sep change.
21214         (restore_tree_status): Likewise.  Call obstack_free with NULL
21215         before freeing the obstack proper.
21216
21217 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
21218
21219         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
21220
21221         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
21222         surrounding context.
21223
21224 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
21225
21226         * tree.c (type_hash_canon): Put all types in the hash-table, when
21227         GC'ing.
21228
21229 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
21230
21231         * recog.h (struct recog_data, recog_data): New.
21232         (recog_foo variables): Kill.
21233         * recog.c (recog_operand, recog_operand_loc): Kill.
21234         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
21235         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
21236         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
21237         (recog_data): Define.
21238         (extract_insn): Update all recog_foo references to use recog_data.
21239         (preprocess_constraints, constrain_operands): Likewise.
21240         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
21241         * genattrtab.c (main): Likewise.
21242         * genextract.c (main): Likewise.
21243         * genoutput.c: Likewise.
21244         * genrecog.c (write_subroutine, main): Likewise.
21245         * local-alloc.c (block_alloc): Likewise.
21246         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
21247         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
21248         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
21249         * reload.c (find_reloads, find_reloads_toplev): Likewise.
21250         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
21251         (reload_cse_simplify_operands): Likewise.
21252
21253         * arc/arc.c (arc_final_prescan_insn): Likewise.
21254         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
21255         * h8300/h8300.c (notice_update_cc): Likewise.
21256         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
21257         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
21258         * mn10200/mn10200.c (notice_update_cc): Likewise.
21259         * mn10300/mn10300.c (notice_update_cc): Likewise.
21260         * romp/romp.c (update_cc): Likewise.
21261         * sparc/sparc.c (check_pic): Likewise.
21262         * v850/v850.c (notice_update_cc): Likewise.
21263
21264         * genemit.c (main): Don't declare recog_operand.
21265
21266 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
21267
21268         * ggc.h (rtvec_def): Forward declare.
21269         (tree_node): Likewise.
21270         (ggc_root): Define.
21271         (roots): Declare.
21272         (ggc_set_mark_rtx): Add prototype.
21273         (ggc_set_mark_rtvec): Likewise.
21274         (ggc_set_mark_tree): Likewise.
21275         * ggc-simple.c (ggc_root): Don't define.
21276         (roots): Don't declare.
21277         (ggc_mark_rtx): Remove.
21278         (ggc_mark_rtvec): Likewise.
21279         (ggc_mark_tree): Likewise.
21280         (ggc_mark_varray): Likewise.
21281         (ggc_mark_tree_hash_table_entry): Likewise.
21282         (ggc_mark_tree_hash_table): Likewise.
21283         (ggc_set_mart_rtx): New function.
21284         (ggc_set_mark_rtvec): Likewise.
21285         (ggc_set_mark_tree): Likewise.
21286         (ggc_add_root): Remove.
21287         (ggc_add_rtx_root): Likewise.
21288         (ggc_remove_tree_root): Likewise.
21289         (ggc_add_string_root): Likewise.
21290         (ggc_add_tree_varray_root): Likewise.
21291         (ggc_add_tree_hash_table_root): Likewise.
21292         (ggc_del_root): Likewise.
21293         (ggc_mark_rtx_ptr): Likewise.
21294         (ggc_mark_tree_ptr): Likewise.
21295         (ggc_mark_string_ptr): Likewise.
21296         (ggc_mark_tree_varray_ptr): Likewise.
21297         (ggc_mark_tree_hash_table_ptr): Likewise.
21298         * ggc-common.c: New file.
21299         * Makefile.in (OBJS): Add ggc-common.o.
21300         (ggc-common.o): List dependencies.
21301
21302 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
21303
21304         * cppalloc.c (xstrdup): Use memcpy.
21305         * cpperror.c (cpp_print_containing_files): Don't use
21306         cpp_notice.
21307         * cpplib.c (conditional_skip): Set temp->lineno.
21308         (do_endif): Make error message less obscure.
21309         (if_directive_name): New function.
21310         (cpp_get_token [case EOF]): Unwind the if stack and generate
21311         error messages for each unterminated conditional in this file.
21312         (parse_string):  Do not behave differently if -traditional.
21313
21314 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
21315
21316         * builtins.c (expand_builtin_va_arg): Cope with an array-type
21317         va_list decomposing to pointer-type.
21318         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
21319         (rs6000_va_arg): Likewise.
21320
21321 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
21322
21323         * except.c (start_dynamic_handler): Compute size using
21324         STACK_SAVEAREA_MODE.
21325
21326 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21327
21328         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
21329         include directory headers.  Don't define strrchr.  Don't provide
21330         my_* replacement functions.  Prefer PTR over `pointer_type'.
21331         Don't prototype system functions.  Don't redefine getopt.
21332
21333         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
21334         safe_read, safe_write, save_pointers, restore_pointers,
21335         is_id_char, in_system_include_dir, directory_specified_p,
21336         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
21337         find_corresponding_lparen, referenced_file_is_newer,
21338         save_def_or_dec, munge_compile_params, gen_aux_info_file,
21339         process_aux_info_file, identify_lineno, check_source,
21340         seek_to_line, forward_to_next_token_char, output_bytes,
21341         output_string, output_up_to, other_variable_style_function,
21342         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
21343         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
21344         find_static_definition, connect_defs_and_decs, add_local_decl,
21345         add_global_decls, needs_to_be_converted, visit_each_hash_node,
21346         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
21347         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
21348         scan_for_missed_items, edit_file, string_list_cons): Add static
21349         prototypes.
21350         (standard_exec_prefix, target_machine, target_version,
21351         default_syscalls_dir, string_list, string_list_cons, find_file,
21352         do_cleaning): Constify a char*.
21353         (safe_read, safe_write): Use PTR, not a char*.
21354         (is_id_char): Take an int, not a char.
21355         (main): Add prototype.  Call return, not exit.
21356
21357 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
21358
21359         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
21360         when comparing types.
21361
21362 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
21363
21364         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
21365         (strength_reduce): Release the varrays from the no-bivs early exit.
21366
21367         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
21368         the loop over the registers.
21369
21370         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
21371         for a new obstack.
21372         (restore_tree_status): Check that instead when freeing the obstack.
21373
21374 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
21375
21376         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
21377         as pointers.
21378
21379 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21380
21381         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
21382         operand size modifiers.
21383
21384 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21385
21386         * c-common.c (c_common_nodes_and_builtins): Don't build
21387         va_list_type_node.
21388         * c-common.h (enum c_tree_index and related accesor macros): Remove
21389         everything now declared in tree.h.
21390         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
21391         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
21392         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
21393         (error_mark_node, void_type_node, char_type_node, integer_type_node,
21394         unsigned_type_node, ptr_type_node, va_list_type_node,
21395         integer_zero_node, null_pointer_node, integer_one_node): Delete.
21396         (init_decl_processing): Call build_common_tree_nodes and
21397         build_common_tree_nodes_2 instead of building their nodes here.
21398         Don't add roots for these nodes.
21399         * stor-layout.c (size_zero_node, size_one_node): Delete.
21400         (set_sizetype): Make a new node for bitsizetype each time.
21401         * tree.c (global_trees): New variable.
21402         (init_obstacks): Add a gc root for it.
21403         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
21404         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
21405         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
21406         (build_common_tree_nodes): New function.
21407         (fix_sizetype): New function.
21408         (build_common_tree_nodes_2): New function.
21409         * tree.h (enum tree_index): New.
21410         (global_trees): Declare.
21411         Add accessor macros for all nodes now moved to global_trees.
21412         Delete their declarations.
21413
21414 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
21415
21416         * c-decl.c (finish_function): When processing a nested function,
21417         push and pop GC context around rest_of_compilation.
21418
21419 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
21420
21421         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
21422         Default ix86_arch to PROCESSOR_I386.
21423         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
21424         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
21425         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
21426         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
21427         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
21428         (EXTRA_SPECS): Remove deleted specs.
21429
21430 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
21431
21432         * function.c (assign_stack_local_1): Allocate from
21433         function->x_frame_offset, not frame_offset.
21434
21435 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
21436
21437         * ggc.h (lang_cleanup_tree): Remove.
21438         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
21439         * ggc-callbacks.c (lang_cleanup_tree): Remove.
21440
21441         * c-decl.c (finish_struct): Use ggc_alloc to allocate
21442         TYPE_LANG_SPECIFIC when garbage collecting.
21443         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
21444         (lang_cleanup_tree): Remove.
21445
21446 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
21447
21448         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
21449         * crtstuff.c: Not here.
21450         * dwarf2out.c: Or here.
21451         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
21452         info.
21453
21454 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
21455
21456         * function.h (free_after_compilation): Remove decl parameter.
21457         (free_varasm_status0: Likewise.
21458         (free_emit_status): Likewise.
21459         (free_stmt_status): Likewise.
21460         (free_after_compilation): Likewise.
21461         (init_lang_status): New variable.
21462         (free_lang_status): Likewise.
21463         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
21464         * function.c (init_lang_status): New variable.
21465         (free_lang_status): Likewise.
21466         (push_function_context_to): Don't set function::decl here.
21467         (free_after_copmilation): Make decl parameter implicit.  Call
21468         free_lang_status if defined.
21469         (prepare_function_start): Call init_lang_status if defined.
21470         (init_function_start): Set function::decl here.
21471         * profile.c (output_func_start_profiler): Don't call pushdecl
21472         until we've actually started the function.
21473         * stmt.c (free_stmt_status): Make decl parameter implicit.
21474         * toplev.c (rest_of_compilation): Don't pass decl to
21475         free_after_compilation.
21476         * varasm.c (free_varasm_status): Likewise.
21477
21478 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21479
21480         * except.c (call_get_eh_context): Add root when allocating static
21481         tree variable.
21482
21483 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
21484
21485         * arm.c: Include "ggc.h".
21486         (arm_add_gc_roots): New function.
21487         (arm_override_options): Call it.
21488         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
21489
21490         * arm.md (define_asm_attributes): Add a pool_range attribute.
21491
21492 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
21493
21494         * extend.texi (Volatiles): New node.
21495
21496 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
21497
21498         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
21499         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
21500         (struct ggc_any): Replace `mark' with `magic_mark'.
21501         (ggc_alloc_string): Use memcpy, not bcopy.
21502         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
21503         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
21504         (ggc_free_any): New.
21505         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
21506         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
21507         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
21508         Use IS_MARKED. Use ggc_free_any.
21509
21510 1999-09-09  Scott Bambrough <scottb@netwinder.org>
21511
21512         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
21513
21514 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
21515
21516         * toplev.c (main): Always init_ggc.
21517
21518 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
21519
21520         * except.c (find_all_handler_type_matches): Free the list if
21521         we found no matches.
21522
21523         * combine.c (SUBST): Break out to a real function do_SUBST.
21524         (SUBST_INT): Likewise.
21525         * gcse.c (free_pre_mem): Free `temp_bitmap'.
21526         (pre_insert): Free `inserted'.
21527         * loop.c (basic_induction_var): Always set `location'.
21528
21529         * function.c (expand_function_end): Add initial_trampoline as a root.
21530         * rtl.h (init_varasm_once): Declare.
21531         * toplev.c (compile_file): Call it.
21532         * ggc-simple.c (ggc_mark_string_ptr): New.
21533         (ggc_add_string_root): New.
21534         (ggc_collect): Disable collection avoidance temporarily.
21535         * ggc.h (ggc_add_string_root): Declare.
21536         * except.c (create_rethrow_ref): Use ggc_alloc_string.
21537         * optabs.c (init_libfuncs): Likewise.
21538         * varasm.c (named_section): Use ggc_alloc_string.
21539         (make_function_rtl): Likewise.
21540         (make_decl_rtl): Likewise.
21541         (assemble_static_space): Likewise.
21542         (assemble_trampoline_template): Likewise.
21543         (output_constant_def): Likewise.
21544         (force_const_mem): Likewise.
21545         (mark_const_hash_entry): New.
21546         (mark_pool_sym_hash_table): New.
21547         (mark_varasm_state): Use it.
21548         (init_varasm_once): New.
21549
21550         * expr.h (init_one_libfunc): Declare.
21551         * optabs.c (init_one_libfunc): New.
21552         (init_optabs): Use it.
21553         * config/gofast.h: Likewise.
21554         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
21555         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
21556
21557 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
21558
21559         * Makefile.in (cppexp.o): Depend on cpphash.h.
21560         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
21561         Include cpphash.h.
21562         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
21563         * cpplib.c (do_define): Generalise to handle poisoned definitions,
21564         redefining poisoned identifiers, etc.
21565         (do_undef): Don't allow poisoned identifiers to be undefined.
21566         (do_pragma): Add #pragma poison.
21567         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
21568
21569         * cccp.c: Add T_POISON node type.
21570         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
21571         poisoned xxx.
21572         (do_define): Generalise to handle poisoned definitions,
21573         redefining poisoned identifiers, etc.
21574         (do_undef): Don't allow poisoned identifiers to be undefined.
21575         (do_pragma): Add #pragma poison.
21576         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
21577
21578         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
21579         * c-pragma.h: Add ps_poison state.  We now always have generic
21580         pragmas.
21581
21582 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
21583
21584         * ggc.h (ggc_alloc): New function.
21585         (ggc_mark): Likewise.
21586         * ggc-simple.c (ggc_any): New structure.
21587         (ggc_status): Add anys.
21588         (n_anys_collected): New variable.
21589         (ggc_alloc): Define.
21590         (ggc_mark): Likewise.
21591         (ggc_collect): Collect the anys.
21592
21593 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21594
21595         * c-decl.c (mark_binding_level): Make static to match prototype.
21596
21597 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
21598
21599         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
21600
21601 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
21602
21603         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
21604         will use into account.  Expand the max width to 5.
21605         * rtl.c: Likewise.
21606
21607 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
21608
21609         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
21610         for the rtx length.
21611
21612 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
21613
21614         * alpha.md (call value patterns): Remove the result predicates.
21615
21616 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
21617
21618         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
21619         last change.
21620
21621 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21622
21623         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
21624         changed from extern char *, to extern PTR.  Also fix typo in
21625         NEED_DECLARATION_REALLOC test.
21626
21627         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
21628
21629 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21630
21631         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
21632         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
21633         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
21634         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
21635
21636         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
21637
21638         * cccp.c (pcfinclude): Likewise.
21639
21640         * global.c (allocno_compare): Likewise.
21641
21642         * haifa-sched.c (rank_for_schedule): Likewise.
21643
21644         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
21645
21646         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
21647
21648         * stupid.c (stupid_reg_compare): Likewise.
21649
21650         * tree.c (_obstack_allocated_p): Likewise.
21651
21652         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
21653
21654 1999-09-08  Bruce Korb  autogen@linuxbox.com
21655
21656         * Makefile.in: Give the hapless gperf user a hint about
21657         why "gperf -F" fails.
21658
21659 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
21660
21661         * lists.c: Include ggc.h.
21662         (zap_lists): New.
21663         (init_EXPR_INSN_LIST_cache): Install it.
21664
21665         * ggc-simple.c (init_ggc): Absorb the old init.
21666         (ggc_push_context): Use xcalloc.
21667         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
21668         (ggc_collect): Add [rvts] tags to the collection stats.
21669
21670 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
21671
21672         * cccp.c (main): Fix handling of -include and -imacros options.
21673
21674 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
21675
21676         * cpplib.c (cpp_push_buffer): Fix order of arguments.
21677
21678 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
21679
21680         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
21681         genrtl.c.
21682
21683 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
21684
21685         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
21686         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
21687         and SET_DEST. Update comment.
21688
21689 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21690
21691         * config/c4x/c4x.c: Include ggc.h.
21692         (c4x_add_gc_roots): New function.
21693         (c4x_override_options): Call c4x_add_gc_roots.
21694
21695 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
21696
21697         * defaults.h (TARGET_ESC): Move ...
21698         * system.h: ... here, where Linas had it in the first place.  Silly me.
21699
21700 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
21701
21702         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
21703         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
21704         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
21705         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
21706         * defaults.h (TARGET_ESC): Add default.
21707
21708 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
21709
21710         * configure.in: add i370-*-openedition, i370-*-mvs and
21711         i370-*-linux targets
21712
21713 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
21714
21715         * dsp16xxx.c: Include ggc.h
21716         (override_options): Mark GC roots.
21717         * mn10200.c: Include ggc.h.
21718         (asm_file_start): Mark GC roots.
21719         * tahoe.c: Include ggc.h.
21720         (extensible_operand): Mark GC roots.
21721
21722 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
21723
21724         * README: Add section discussing status of ELF ABI.
21725         * i370.c: Fix misc spelling mistakes.
21726         (i370_label_scan): Updated notes, exception handling.
21727         (i370_function_prolog): Simplify ELF stack handling.
21728         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
21729         (STACK_GROWS_DOWNWARD): ELF stack grows down.
21730         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
21731         * i370.md: (movdi): Add notes.
21732         (floatsidf2): Use stack not rtca for scratch float area.
21733         (iorsi3): Correct operand constraints.
21734         * x-oe: Restore TAROUTOPTS which are used by pax.
21735
21736 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
21737
21738         * rs6000.c: Include ggc.h.
21739         (rs6000_add_gc_roots): New function.
21740         (override_options): Call it.
21741
21742 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
21743
21744         * alpha.h (alpha_compare): New.
21745         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
21746         * alpha.c: Likewise for the definitions.
21747         (alpha_emit_conditional_branch): Update for alpha_compare.
21748         (alpha_emit_conditional_move): Likewise.
21749         * alpha.md (cmpdf, cmpdi): Likewise.
21750         (setcc patterns): Likewise.  Zero alpha_compare after use.
21751         (sne): Optimize (x != 0) into (0U < x).
21752
21753 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
21754
21755         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
21756         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
21757         (INIT_EXPANDERS): Remove.
21758         * alpha.c: Include ggc.h.
21759         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
21760         (alpha_init_machine_status, alpha_mark_machine_status): New.
21761         (override_options): Install them.
21762         (struct machine_function): Moved to alpha.h.
21763         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
21764         (alpha_init_expanders): Remove.
21765         (alpha_return_addr): Adjust to use current_function->machine.
21766         (alpha_ra_ever_killed): Likewise.
21767         (alpha_expand_epilogue): Likewise.
21768         * alpha.md (eh_epilogue): Likewise.
21769
21770 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
21771                           Melissa O'Neill  <oneill@cs.sfu.ca>
21772                           Geoffrey Keating  <geoffk@cygnus.com>
21773
21774         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
21775         call-used registers (call-saved registers must still be contiguous
21776         and end with r31, of course).
21777
21778 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
21779
21780         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
21781         (self_promoting_type_p): Delete.
21782         (self_promoting_args_p): Move ...
21783         * c-common.c: ... here.
21784         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
21785         (simple_type_promotes_to): New.
21786         * builtins.c (lang_type_promotes_to): New.
21787         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
21788         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
21789         * c-common.h: ... here.
21790         (self_promoting_args_p, simple_type_promotes_to): Declare.
21791         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
21792         (grokdeclarator): Likewise.
21793         * tree.h (lang_type_promotes_to): Declare.
21794
21795 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
21796
21797         Add some machine-dependent GC roots.
21798         * sparc.c: Include ggc.h.
21799         (sparc_add_gc_roots): New function.
21800         (mark_ultrasparc_pipeline_state): Likewise.
21801         (override_options): Call sparc_add_gc_roots.
21802         * pa.c: Include ggc.h.
21803         (pa_add_gc_roots): New function.
21804         (mark_deferred_plabels): Likewise.
21805         (override_options): Call pa_add_gc_roots.
21806         * mips.c: Include ggc.h.
21807         (mips_add_gc_roots): New function.
21808         (override_options): Use it.
21809
21810 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21811
21812         * cpperror.c (cpp_file_line_for_message): Constify a char*.
21813
21814         * cppexp.c (parse_number, parse_charconst, cpp_lex,
21815         cpp_parse_expr): Add static prototypes.
21816         (parse_charconst): Don't cast away const-ness.
21817         (token): Constify a char*.
21818
21819         * cppfiles.c (file_name_list, include_hash, find_include_file,
21820         finclude, initialize_input_buffer): Constify a char*.
21821         (file_cleanup, find_position): Add static prototypes.
21822
21823         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
21824         collect_expansion): Add static prototypes.
21825         (cpp_install, create_definition, monthnames): Constify a char*.
21826
21827         * cpphash.h (cpp_install): Likewise.
21828
21829         * cppinit.c (known_suffixes, default_include,
21830         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
21831         (base_name, dump_special_to_buffer, initialize_dependency_output):
21832         Add static prototypes.
21833
21834         * cpplib.c (my_strerror): Constify a char*.
21835         (null_underflow, null_cleanup, skip_comment, copy_comment,
21836         copy_rest_of_line, handle_directive, pass_thru_directive,
21837         get_directive_token, read_line_number, cpp_print_file_and_line,
21838         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
21839         v_cpp_warning_with_line, detect_if_not_defined,
21840         consider_directive_while_skipping): Add static prototypes.
21841         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
21842         cpp_pedwarn_with_file_and_line): Constify a char*.
21843
21844         * cpplib.h (cpp_options, include_hash, progname, definition,
21845         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
21846         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
21847         find_include_file, deps_output, include_hash): Constify a char*.
21848
21849         * cppmain.c (progname): Constify.
21850         (main): Add prototype.  Use return, not exit.
21851
21852         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
21853         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
21854         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
21855         check_protection): Add static prototype.
21856         (xfree): Remove.
21857         (progname, recognized_macrom, recognized_extern): Constify a char*.
21858         (main): Add prototype.
21859
21860         * gen-protos.c (progname): Constify a char*.
21861
21862 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
21863
21864         * emit-rtl.c (free_emit_status): Take decl as a parameter.
21865         (init_emit_once): Add more GC roots.
21866         * except.c (mark_func_eh_entry): New function.
21867         (mark_eh_node): Mark false_label and rethrow_label.
21868         (init_eh): Add more GC roots.
21869         * function.c (free_after_compilation): Take decl as a paramter.
21870         Call free_stmt_status.
21871         (mark_function_state): Don't assume x_parm_reg_stack_loc is
21872         non-NULL.
21873         * function.h (free_after_compilation): Change prototype.
21874         (free_varasm_status): Likewise.
21875         (free_emit_status): Likewise.
21876         (free_stmt_status): New function.
21877         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
21878         Remove, replacing with ...
21879         (ggc_status): New structure.
21880         (ggc_chain): New variable.
21881         (init_gcc): Define.
21882         (ggc_push_context): New function.
21883         (ggc_pop_context): Likewise.
21884         (ggc_alloc_rtx): Adjust for use of ggc_chain.
21885         (ggc_alloc_rtvec): Likewise.
21886         (ggc_alloc_tree): Likewise.
21887         (ggc_alloc_string): Likewise.
21888         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
21889         (ggc_mark_tree): Give language-dependent code a chance to mark
21890         `x' nodes.
21891         (ggc_mark_tree_varray): Handle empty arrays.
21892         (ggc_collect): Adjust for use of ggc_chain.  Clear
21893         bytes_alloced_since_last_gc.
21894         * ggc.h (ggc_pop_context): New function.
21895         (ggc_push_context): Likewise.
21896         * print-tree.c (print_node): Don't print obstacks when GC'ing.
21897         * stmt.c (free_stmt_status): New function.
21898         (init_stmt_for_function): Clear last_expr_value.
21899         * toplev.c (rest_of_compilation): Always call free_after_compilation.
21900         Conditionalize call to ggc_collect.
21901         (main): Call init_ggc.
21902         * tree.c (push_obstacks): Do the push, even when GC'ing.
21903         (push_obstacks_nochange): Likewise.
21904         (pop_obstacks): Liekwise.
21905         * varasm.c (free_varasm_status): Take decl as a parameter.
21906
21907 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21908
21909         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
21910         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
21911         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
21912         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
21913
21914 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
21915
21916         * pa/x-pa-mpeix: New file for the MPE port.
21917
21918         * pa/quadlib.asm: New file for long double support.
21919
21920         * configure.in: Add hppa1.0-*-mpeix for MPE port.
21921         * configure: Rebuilt.
21922
21923 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
21924
21925         * final.c (shorten_branches): Fix last change.
21926
21927 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
21928
21929         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
21930
21931 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
21932
21933         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
21934         details.
21935
21936 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21937
21938         * c-aux-info.c (concat): Don't define.
21939
21940         * cccp.c (my_strerror): Likewise.  All callers changed to use
21941         xstrerror instead.
21942         (do_include): Call xstrdup, not xmalloc/strcpy.
21943         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
21944         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
21945
21946         * collect2.c (my_strsignal): Likewise.  All callers changed to use
21947         strsignal instead.
21948         (locatelib): Call xstrdup, not xmalloc/strcpy.
21949
21950         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
21951
21952         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
21953
21954         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
21955
21956         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
21957
21958         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
21959
21960         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
21961
21962         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
21963         malloc/realloc.
21964         (find_all_handler_type_matches): Likewise.  Don't check return
21965         value.
21966         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
21967         xmalloc, not malloc.
21968         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
21969
21970         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
21971         (init_spec): Call xcalloc, not xmalloc/bzero.
21972         (set_spec): Call xstrdup, not save_string.
21973         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
21974         (find_a_file): Call xstrdup, not xmalloc/strcpy.
21975         (process_command): Call xstrdup, not save_string.
21976         (main): Call xcalloc, not xmalloc/bzero.
21977
21978         * gcov.c (xmalloc): Don't define.
21979         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
21980         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
21981         (output_data): Call xcalloc, not xmalloc/bzero.
21982
21983         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
21984
21985         * mips-tdump.c (xmalloc): Don't define.
21986         (print_symbol): Call xmalloc, not malloc.
21987         (read_tfile): Call xcalloc, not calloc.
21988
21989         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
21990         Don't define.  All callers of xfree/my_strsignal changed to use
21991         free/strsignal instead.
21992         (allocate_cluster): Call xcalloc, not calloc.
21993
21994         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
21995         Fix memory leak, free allocated memory.
21996
21997         * prefix.c (translate_name): Call xstrdup, not save_string.
21998         (update_path): Likewise.
21999
22000         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
22001
22002         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
22003         Don't define.  Callers of xfree/savestring2 changed to use
22004         free/concat instead.
22005
22006         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
22007         (init_elim_table): Likewise.
22008
22009         * resource.c (init_resource_info): Likewise.
22010
22011         * stupid.c (stupid_life_analysis): Likewise.
22012
22013         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
22014         (open_dump_file): Call concat, not xmalloc/strcpy/...
22015         (clean_dump_file): Likewise.
22016         (compile_file): Call xstrdup, not xmalloc/strcpy.
22017
22018 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
22019
22020         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
22021         * v850.c (v850_va_arg): New.
22022
22023 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22024
22025         * haifa-sched.c: Tidy comments.
22026
22027 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22028
22029         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
22030         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
22031         $(out_object_file)): Depend on ggc.h.
22032         * c-common.c: Include "ggc.h".
22033         (combine_strings): If doing GC, use ggc_alloc_string.
22034         * c-decl.c: Include "ggc.h".
22035         (ggc_p): Define with value 0.
22036         (mark_binding_level): New function.
22037         (init_decl_processing): Add GC roots.
22038         (mark_c_function_context): New function.
22039         (lang_mark_false_label_stack): New function.
22040         (lang_mark_tree): New function.
22041         (lang_cleanup_tree): New function.
22042         * c-lang.c: Include "ggc.h".
22043         (lang_init): Call c_parse_init.
22044         * c-lex.c: Include "ggc.h".
22045         (check_linenum): If doing GC, don't copy filenames to permanent
22046         obstack.
22047         * c-parse.in: Include "ggc.h".
22048         (c_parse_init): New function.
22049         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
22050         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
22051
22052         * except.c (mark_eh_state): Mark more state.
22053         * function.c (mark_function_state): Likewise.
22054         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
22055         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
22056         * toplev.c (mark_file_stack): New function.
22057         (compile_file): If doing GC, use ggc_alloc_string on input filename.
22058         (main): Add root for input_file_stack.
22059
22060         * i386.c: Include "ggc.h".
22061         (ix86_mark_machine_status): New function.
22062         (override_options): Set mark_machine_status.
22063
22064 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22065
22066         * tree.c (copy_node): Copy node contents also if doing GC.
22067
22068 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22069
22070         * collect2.c (scan_libraries): Fix double-thinko :-).
22071
22072 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
22073
22074         * collect2.c (scan_libraries): Fix thinko.
22075
22076         * cse.c (delete_trivially_dead_insns): Do not skip the last
22077         insn if it is a real insn.
22078
22079 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
22080
22081         * Makefile.in (ggc-simple.o): Depend on hash.h.
22082         * ggc.h (ggc_add_tree_hash_table_root): Declare.
22083         (ggc_mark_tree_varray): Likewise.
22084         (ggc_mark_tree_hash_table): Likewise.
22085         * ggc-simple.c: Include hash.h.
22086         (ggc_mark_tree_hash_table_ptr): New function.
22087         (ggc_mark_tree_hash_table_entry): Likewise.
22088         (ggc_mark_tree_hash_table): Likewise.
22089         (ggc_add_tree_hash_table_root): Likewise.
22090         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
22091         rtx, when defining fields.
22092
22093 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
22094
22095         * profile.c (output_func_start_profiler): Remove apparently
22096         nonsensical call to start_sequence.
22097
22098 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
22099
22100         * clipper/clipper.c (clipper_va_start): Fix typos.
22101
22102         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
22103         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
22104         (spur_va_arg): New stub.
22105
22106         * configure.in: Comment out pyramid.
22107
22108 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
22109
22110         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
22111         don't conflict with the bits that win32, cygwin, and dgux
22112         defines.
22113
22114 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
22115                           Bernd Schmidt <bernds@cygnus.co.uk>
22116
22117         * integrate.c (function_cannot_inline_p): Do not inline
22118         functions with forced labels.
22119
22120 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
22121                           Bernd Schmidt <bernds@cygnus.co.uk>
22122                           Mark Mitchell  <mark@codesourcery.com>
22123
22124         * Makefile.in (ggc-simple.o): Depend on varray.h.
22125         (rtl.o): Depend on ggc.h.
22126         (genattrtab.o): Depend on ggc.h.
22127         (print-tree.o): Likewise.
22128         (fold-const.o): Likewise.
22129         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
22130         (make_insn_raw): Don't cache insns when GC'ing.
22131         (emit_insn_before): Likewise.
22132         (emit_insn_after): Likewise.
22133         (emit_insn): Likewise.
22134         (start_sequence): Use xmalloc to allocate the sequence_stack.
22135         (end_sequence): Add free to free it.
22136         (gen_sequence): Don't cache insns when GC'ing.
22137         (clear_emit_caches): Don't use sequence_element_free_list.
22138         (init_emit): Use xcalloc, not xmalloc+bzero.
22139         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
22140         * function.c (pop_function_context_from): Use free to free the
22141         fixup_var_refs_queue.
22142         (put_reg_into_stack): Allocate it with xmalloc.
22143         * genattrtab.c: Include ggc.h.
22144         (operate_exp): Don't use obstack_free when GC'ing.
22145         (simplify_cond): Likewise.
22146         (simplify_text_exp): Likewise.
22147         (optimize_attrs): Likewise.
22148         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
22149         GC'ing.
22150         (gencode): Generate a #include for ggc.h.
22151         * ggc-callbacks.c (ggc_p): Define it to zero.
22152         * ggc-none.c (ggc_p): Likewise.
22153         * ggc-simple.c: Include varray.h.
22154         (ggc_mark_tree_varray): New function.
22155         (ggc_add_tree_varray_root): Likewise.
22156         (ggc_mark_tree_varray_ptr): Likewise.
22157         * ggc.h (ggc_p): Declare.
22158         (varray_head_tag): Likewise.
22159         (ggc_add_tree_varray_root): Declare.
22160         * print-tree.c (print_node): Don't check for TREE_PERMANENT
22161         inconsistencies when GC'ing.
22162         * rtl.c: Include ggc.h.
22163         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
22164         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
22165         (rtx_free): Don't call obstack_free when GC'ing.
22166         * toplev.c (rest_of_compilation): Call ggc_collect after every
22167         pass, if GC'ing.
22168         * tree.c (push_obstacks): Do nothing, if GC'ing.
22169         (pop_obstacks_nochange): Likewise.
22170         (pop_obstacks): Likewise.
22171         (make_node): Use ggc_alloc_tree when GC'ing.
22172         (copy_node): Likewise.
22173         (get_identifier): Use ggc_alloc_string when GC'ing.
22174         (build_string): Likewise.
22175         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
22176         (tree_cons): Likewise.
22177         (build1): Likewise.
22178         (type_hash_canon): Don't call obstack_free when GC'ing.
22179
22180 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
22181
22182         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
22183         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
22184
22185 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
22186                           Bernd Schmidt <bernds@cygnus.co.uk>
22187                           Mark Mitchell  <mark@codesourcery.com>
22188
22189         * Makefile.in (stor-layout.o): Depend on ggc.h.
22190         (expr.o): Depend on ggc.h.
22191         (profile.o): Depend on ggc.h.
22192         (stor-layout.o): Depend on ggc.h.
22193         * emit-rtl.c (init_emit_once): Add gc roots.
22194         * expr.c: Include ggc.h.
22195         (emit_block_move): Add gc roots.
22196         (clear_storage): Likewise.
22197         * expr.h (init_stor_layout_once): New function.
22198         * profile.c: Include ggc.h.
22199         (init_arc_profiler): profiler_label is a root.
22200         * scan.c (make_sstring_space): Trust xrealloc to function
22201         correctly with first parameter NULL.
22202         * stor-layout.c: Include ggc.h.
22203         (set_sizetype): Add gc root.
22204         (init_stor_layout_once): New function.
22205         * toplev.c (compile_file): Call it.
22206
22207 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
22208                           Bernd Schmidt <bernds@cygnus.co.uk>
22209                           Mark Mitchell  <mark@codesourcery.com>
22210
22211         * Makefile.in (tree.o): Depend on ggc.h.
22212         (varasm.o): Likewise.
22213         (function.o): Likewise.
22214         (stmt.o): Likewise.
22215         (except.o): Likewise.
22216         (optabs.o): Likewise.
22217         (emit-rtl.o): Likewise.
22218         * emit-rtl.c: Include ggc.h.
22219         (sequence_element_free_list): Remove, and all references.
22220         (mark_sequence): New functions.
22221         (mark_emit_state): New function.
22222         * except.c: Include ggc.h.
22223         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
22224         (mark_tree_label_node): New functions.
22225         (mark_eh_state): New function.
22226         * function.c: Include ggc.h.
22227         (mark_temp_slot, mark_function_chain): New functions.
22228         (mark_function_state): New function.
22229         (init_function_once): New function.
22230         * function.h (init_function_once): New function.
22231         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
22232         * ggc.h (label_node): Declare.
22233         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
22234         (lang_mark_false_label_stack): New function.
22235         (mark_temp_slot): Remove declaration.
22236         (mark_function_chain): Likewise.
22237         (mark_eh_state): Adjust prototype.
22238         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
22239         Likewise.
22240         * optabs.c: Include ggc.h.
22241         (mark_optab): New function.
22242         (init_optabs): Add gc roots.
22243         * stmt.c: Include ggc.h.
22244         (mark_cond_nesting, mark_loop_nesting): New functions.
22245         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
22246         (mark_stmt_state): New function.
22247         * toplev.c (compile_file): Call init_function_once.
22248         * tree.c: Include ggc.h.
22249         (type_hash): Move declaration earlier in file.
22250         (TYPE_HASH_SIZE, type_hash_table): Likewise.
22251         (init_obstacks): Add gc roots.
22252         (mark_type_hash): New function.
22253         * varasm.c: Include ggc.h.
22254         (mark_pool_constant): New function.
22255         (mark_varasm_state): New function.
22256
22257 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22258
22259         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
22260
22261 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
22262
22263         * c-decl.c (struct language_function): Renamed from struct c_function.
22264         Delete elt NEXT.
22265         (c_function_chain): Delete.
22266         (push_c_function_context): New arg F.  Don't warn about nested
22267         functions here.  Fill LANGUAGE elt of F.  Delete code to update
22268         c_function_chain.  Don't call push_function_context.
22269         (pop_c_function_context): New arg F.  Restore from there instead of
22270         from c_function_chain.  Don't call pop_function_context.  Clear out
22271         LANGUAGE field of F when done.
22272         * c-lang.c: Include "function.h"
22273         (lang_init): Initialize save_lang_status and restore_lang_status.
22274         * c-parse.in (nested_function, nested_function_notype): Warn about
22275         nested functions.  Call push_function_context/pop_function_context
22276         instead of the _c_ variants.
22277         * c-tree.h (push_c_function_context, pop_c_function_context): Update
22278         prototype.
22279         * Makefile.in (c-lang.o): Update dependencies.
22280
22281         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
22282         regno_pointer_flag, regno_pointer_align.
22283         (gen_reg_rtx): Use xrealloc to enlarge them.
22284         (free_emit_status): New function.
22285         * function.c (mark_machine_status, mark_lang_status): New variables.
22286         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
22287         in some bits from assign_stack_local.  All callers changed to use new
22288         name.
22289         (assign_stack_local): Just call assign_stack_local_1.
22290         (free_after_compilation): New function.
22291         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
22292         (trampoline_address): Likewise.
22293         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
22294         (prepare_function_start): Explicitly clear some more variables.
22295         * function.h (struct function): New elt can_garbage_collect.
22296         (mark_machine_status, mark_lang_status): Declare variables.
22297         (free_after_compilation, free_emit_status, free_varasm_status,
22298         init_varasm_status): Declare functions.
22299         * toplev.c (rest_of_compilation): Call free_after_compilation when
22300         done with the current function.
22301         * varasm.c (free_varasm_status): New function.
22302
22303 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
22304
22305         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
22306         (EXPAND_BUILTIN_VA_ARG): Define.
22307         * sparc.c (sparc_va_start): New.
22308         (sparc_va_arg): New.
22309
22310 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22311
22312         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
22313
22314 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22315
22316         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
22317
22318 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
22319
22320         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
22321         (OBJS): Add $(GGC).
22322         (ggc-callbacks.o): New target.
22323         * ggc-callbacks.c: New file.
22324
22325 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22326
22327         * expr.h: Collapse individual optab and libfunc vars to arrays.
22328         (optab_index, libfunc_index): New enumerations.
22329         (optab_table, libfunc_table): New arrays.
22330         Add accessor macros for both.
22331
22332         * optabs.c (optab_table, libfunc_table): New.
22333         Delete declarations for individual optab and libfunc vars.
22334
22335 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
22336
22337         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
22338
22339 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
22340
22341         * Makefile.in (GGC, GGC_LIB): New.
22342         (HOST_RTL): Include ggc-none.o.
22343         (ggc-simple.o): New target.
22344         (ggc-none.o): Likewise.
22345         * tree.h (tree_common): Add gc_mark.
22346         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
22347         (struct rtvec_def): Add gc_mark.
22348         * emit-rtl.c (global_rtl): Update static initializers to contain
22349         enough initializers.
22350         * ggc.h, ggc-none.c, ggc-simple.c: New files.
22351         * toplev.c (gc_time): New variable.
22352         (all_time): New variable.
22353         (compile_file): Print gc time.
22354         (print_time): Calculate percentage of the whole.
22355
22356 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22357
22358         Change obstack memory management and varasm constant pool handling so
22359         that nested functions are treated like any other functions.
22360         * function.c (init_machine_status): New variable.
22361         (push_function_context_to): Set contains_functions for the outer
22362         function.  Don't call save_varasm_status.
22363         (pop_function_context_from): Don't call restore_varasm_status.  Don't
22364         set current_function_contains_functions.
22365         (prepare_function_start): Call init_varasm_status rather than
22366         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
22367         is non-null.
22368         * function.h (struct function) Add field varasm.  Delete fields
22369         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
22370         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
22371         (init_machine_status): Declare.
22372         (save_varasm_status, restore_varasm_status): Delete declarations.
22373         (save_tree_status, restore_tree_status): Delete last argument.
22374         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
22375         code.  All callers changed.
22376         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
22377         save_constants_in_decl_trees, restore_constants, save_constants,
22378         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
22379         functions.
22380         (inlining): New variable.
22381         (reg_map, label_map, insn_map, orig_asm_operands_vector,
22382         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
22383         variables.
22384         (save_for_inline_nocopy): Don't save constants.
22385         Don't set inl_emit field in current_function.
22386         (expand_inline_function): Use emit field, not inl_emit, of the inlined
22387         function.  Set new variable inlining before
22388         calling copy_rtx_and_substitute.
22389         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
22390         constant pool references if inlining is nonzero.
22391         Delete ADDRESS and (most of the) CONST cases.
22392         (output_inline_function): Save and restore current_function/
22393         current_function_decl.  Delete restore_constants code.  Don't call
22394         init_const_rtx_hash_table.
22395         * output.h (init_const_rtx_hash_table): Don't declare.
22396         * rtl.h (struct function): Declare.
22397         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
22398         * toplev.c (rest_of_compilation): Don't treat nested functions or
22399         functions containing them specially.  Delete all code to deal with
22400         save_for_inline_copying.
22401         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
22402         inline_obstacks): Delete variables.
22403         (save_tree_status): Lose arg CONTEXT.  All callers changed.
22404         Simply allocate a new function_maybepermanent_obstack for the new
22405         function, delete all the special cases.
22406         Don't save inline_obstacks.
22407         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
22408         Delete special handling for function_maybepermanent_obstack; simply
22409         free it if empty.
22410         Don't restore inline_obstacks.
22411         (permanent_allocation):  Delete code that frees inline_obstacks.
22412         (print_inline_obstack_statistics): Delete function.
22413         (dump_tree_statistics): Don't call it.
22414         * varasm.c (struct varasm_status): New.
22415         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
22416         last_pool, pool_offset, const_double_chain): Delete global
22417         variables, replace with accessor macros.
22418         (immed_double_const): Don't walk const_double_chain outside a
22419         function, but don't treat nested functions specially anymore.
22420         (immed_real_const_1): Likewise.
22421         (clear_const_double_mem): Don't treat nested functions specially.
22422         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
22423         (save_varasm_status, restore_varasm_status): Delete functions.
22424         (init_varasm_status): New function.
22425         (force_const_mem): Don't treat nested functions specially.
22426         (find_pool_constant): Accept new arg F, search for constants in
22427         that function's pool rather than the current one.  All callers
22428         changed.
22429         (get_pool_constant_for_function, get_pool_mode_for_function): New
22430         functions.
22431
22432         * i386.c (init_386_machine_status): New function, mostly from
22433         clear_386_stack_locals.
22434         (struct machine_functions): Rename element names to avoid name
22435         clashes.
22436         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
22437         macros, replacing global variables.
22438         (clear_386_stack_locals, save_386_machine_status,
22439         restore_386_machine_status): Delete functions.
22440         (override_options): Initialize init_machine_status.
22441         * i386.h (INIT_EXPANDERS): Delete macro.
22442         (save_386_machine_status, restore_386_machine_status,
22443         clear_386_stack_locals): Delete declarations.
22444
22445 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22446
22447         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
22448         (doloop_begin):  Simplify pattern and use emit_jump_insn.
22449         (doloop_end): Simplify pattern, switch operand order,
22450         and use emit_jump_insn.
22451
22452 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
22453
22454         * function.h (struct function): Add new element LANGUAGE.
22455         (save_lang_status): Declare new variable.
22456         (restore_lang_status): Likewise.
22457         * function.c (save_lang_status): Define.
22458         (restore_lang_status): Likewise.
22459         (push_function_context_to): Call language-specific save function.
22460         (pop_function_context_from): Call language-specific restore function.
22461
22462 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
22463
22464         * i386.md (movsf_1): Check REG_P before use of REGNO.
22465         (movdf_1): Likewise.
22466         (movxf_1): Likewise.
22467         (extendsfdf2): Likewise.
22468         (extendsfxf2): Likewise.
22469         (extenddfxf2): Likewise.
22470
22471 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22472
22473         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
22474         constants into memory.
22475         (c4x_shiftable_constant): New function.
22476         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
22477         (c4x_shiftable_constant): Declare.
22478         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
22479         ashlqi3_noclobber): Add new patterns and associated splitters.
22480
22481 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
22482
22483         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
22484         * dwarf2out.c (dwarf2out_frame_init): Likewise.
22485         * final.c (shorten_branches): Likewise.
22486         * global.c (global_alloc): Likewise.
22487         * haifa-sched.c (build_control_flow): Likewise.
22488         * stmt.c (check_for_full_enumeration_handling): Likewise.
22489         (estimate_case_costs): Likewise.
22490
22491 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
22492
22493         * rtl.h (RTL_CHECKC2): Fix typo in last change.
22494
22495 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
22496
22497         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
22498         (recompute_reg_usage): Likewise.
22499         * rtlanal.c (find_regno_fusage): Likewise.
22500
22501         * rtl.c (rtl_check_failed_code1): New function.
22502         (rtl_check_failed_code2): New.
22503         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
22504         (RTL_CHECKC1, RTL_CHECKC2): New.
22505         (XC*): New accessor macros.
22506         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
22507         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
22508         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
22509         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
22510         (TRAP_*, RANGE_INFO_*): Likewise.
22511
22512 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22513
22514         * Makefile.in (tlink.o): Don't depend on toplev.h.
22515
22516         * collect2.c (c_file, o_file, export_file, import_file, ldout,
22517         output_file, nm_file_name, ldd_file_name, strip_file_name,
22518         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
22519         add_prefix, prefix_from_env, prefix_from_string, do_wait,
22520         fork_execute, maybe_unlink, add_to_list,
22521         extract_init_priority, write_list, dump_list,
22522         dump_prefix_list, write_list_with_asm, write_c_file,
22523         write_c_file_stat, write_c_file_glob, scan_prog_file,
22524         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
22525         ignore_library, extract_string, notice, dump_file, target_machine,
22526         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
22527         read_file, print_load_command): Constify a char*.
22528         (fdopen, error, fatal, fatal_perror): Don't prototype.
22529         (my_strerror): Remove.  All callers use xstrerror instead.
22530         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
22531         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
22532         to xcalloc/strcpy/strcat/...  to one call to concat.
22533         (main, scan_prog_file, scan_libraries): Use an intermediate
22534         `const char **' to build an argv array.
22535         (mapfile, libselect, libcompare, locatelib): Add prototypes.
22536
22537         * collect2.h (collect_execute, collect_wait, dump_file,
22538         file_exists): Constify a char*.
22539         (ldout, c_file_name, temporary_obstack, permanent_obstack,
22540         temporary_firstobj, vflag, debug): Add extern declarations.
22541         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
22542
22543         * tlink.c: Don't include toplev.h.
22544         (vflag, debug, ldout, c_file_name, temporary_obstack,
22545         permanent_obstack, temporary_firstobj): Don't declare.
22546         (tlink_execute, frob_extension, symbol_hash_lookup,
22547         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
22548         recompile_files, read_repo_files, demangle_new_symbols,
22549         scan_linker_output): Constify a char*.
22550         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
22551         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
22552
22553 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
22554
22555         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
22556         (relative) rather than jsr (absolute) subroutine call insns.
22557         * config/m68k/m68k-coff.h: Ditto.
22558
22559 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
22560
22561         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
22562         now rework these too.
22563         (arm_reorg): If an insn can't reach the end of the current pool,
22564         ensure that we emit that pool before the insn.
22565
22566 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
22567
22568         * tlink.c (scan_linker_output): Skip the initial underscore in
22569         a mangled name if appropriate.
22570
22571 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22572
22573         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
22574         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
22575         error_with_ivar, gen_declarator, create_builtin_decl,
22576         my_build_string, generate_descriptor_table, generate_ivars_list,
22577         generate_dispatch_table, check_protocols, TAG_GETCLASS,
22578         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
22579         dump_base_name, lang_decode_option, build_encode_expr,
22580         start_class, finish_class, encode_pointer, really_start_method,
22581         gen_declaration, dump_interface, handle_class_ref, handle_impent):
22582         Constify.
22583         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
22584         Add static prototypes.
22585         (build_objc_string_decl, build_selector_reference_decl,
22586         encode_bitfield, build_class_reference_decl): Remove unused
22587         parameter, all callers changed.
22588         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
22589         (objc_printable_name): Likewise.  Change second parameter to type int.
22590         (init_objc): Use memcpy, not bcopy, to avoid casts.
22591
22592 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
22593
22594         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
22595         reg notes on a deleted insn.
22596         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
22597
22598 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
22599
22600         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
22601
22602 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22603
22604         * stmt.c (expand_asm_operands): Fix index into inout_mode when
22605         reading it.
22606
22607 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
22608
22609         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
22610         * tm.texi (MD_ASM_CLOBBERS): Document it.
22611
22612 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
22613
22614         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
22615         * except.c (expand_rethrow): Remove unused variable.
22616         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
22617         * flow.c (replace_insns): Likewise.
22618         (create_edge_list, verify_edge_list): Likewise.
22619         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
22620
22621         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
22622         is special code to run.
22623         (main): Don't define operands to emit_operand.
22624         * genrecog.c (main): Don't emit an empty peephole2_insn function.
22625
22626         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
22627
22628         * alpha/alpha.h (normal_memory_operand): Declare.
22629         (reg_no_subreg_operand): Declare.
22630         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
22631
22632 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
22633
22634         * c-parse.in (compstmt_primary_start): New, broken out of first
22635         part of compstmt handling in primary.
22636         (primary): Use it.  Add an error clause.
22637         (compstmt_nostart): Renamed from compstmt; remove all
22638         initial invocations of compstmt_start.
22639         (compstmt): New.
22640
22641 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
22642
22643         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
22644         needed.
22645
22646 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
22647
22648         * combine.c (simplify_shift_const): Remove extra semicolon.
22649         * dwarf2out.c (remove_AT): Likewise.
22650         * expmed.c (expand_mult): Likewise.
22651         * gcov.c (create_program_flow_graph): Likewise.
22652         * reorg.c (mostly_true_jump): Likewise.
22653
22654 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
22655
22656         * fold-const.c (fold_range_test): Do not try to fold the range
22657         test if the rhs or lhs has side effects.
22658
22659         * combine.c (simplify_rtx): Recognize another case of a synthesized
22660         sign extension.
22661
22662         * varasm.c (mark_constant_pool): When marking indirect references,
22663         only look at SYMBOL_REFs.
22664
22665         * except.c (expand_fixup_region_end): Do not peek at
22666         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
22667
22668 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
22669
22670         * flags.h: New variables align_loops, align_loops_log,
22671         align_jumps, align_jumps_log, align_labels, align_labels_log,
22672         align_functions, align_functions_log.
22673         * toplev.c: Define them.
22674         (f_options): Handle -falign-* when they have no argument.
22675         (main): Add logic to set variables for -falign-functions,
22676         -falign-jumps, -falign-labels, -falign-loops.
22677         Make it -fsched-verbose=<n> and -finline-limit=<n>.
22678         (display_help): Change help to match options.
22679         * final.c (LABEL_ALIGN): Default to align_labels_log.
22680         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
22681         (LOOP_ALIGN): Default to align_loops_log.
22682         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
22683         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
22684         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
22685         * varasm.c (assemble_start_function): Handle align_functions.
22686
22687         * config/sparc/sparc.h: Don't declare sparc_align_*.
22688         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
22689         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
22690         sparc.c.
22691         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
22692         it's a promise.
22693         * config/sparc/sparc.c: Delete sparc_align_loops,
22694         sparc_align_jumps, sparc_align_funcs and the corresponding string
22695         variables.
22696         (sparc_override_options): Default align_functions on ultrasparc.
22697         Delete -malign-* handling.
22698
22699         * config/mips/mips.c (override_options):  On 64-bit targets,
22700         try to align code to 64-bit boundaries.
22701         (print_operand): New substitution, %~,
22702         which aligns labels to align_labels_log.
22703         * config/mips/mips.md (div_trap_normal): Use %~.
22704         (div_trap_mips16): Likewise.
22705         (abssi): Likewise.
22706         (absdi2): Likewise.
22707         (ffssi2): Likewise.
22708         (ffsdi2): Likewise.
22709         (ashldi3_internal): Likewise.
22710         (ashrdi3_internal): Likewise.
22711         (lshrdi3_internal): Likewise.
22712         (casesi_internal): Likewise.
22713
22714 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
22715
22716         Merge new ia32 backend from the branch!
22717
22718         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
22719         See ChangeLog.P2 on new_ia32_branch for details.
22720
22721         * rtl.h (stack_regs_mentioned_p): Delete prototype.
22722         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
22723         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
22724         * i386/gas.h (ASM_FILE_START): Define.
22725         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
22726         for name change of ix86_valid_decl_attribute_p.
22727         (i386_pe_valid_type_attribute_p): Similarly.
22728
22729 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
22730
22731         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
22732         to step through CC modes.
22733
22734 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22735
22736         * regmove.c (fixup_match_1): Don't move INSN in front of P if
22737         it would end up in the shadow of a live flags regsiter.
22738
22739 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22740
22741         * reload1.c: Fix many indentation problems.
22742         * reload.c: Likewise.
22743
22744 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
22745
22746         * alias.c (non_local_reference_p): Constify fmt.
22747
22748 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
22749
22750         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
22751
22752 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
22753
22754         * cse.c (delete_trivially_dead_insns): Do not delete stores to
22755         the internal_arg_pointer.
22756
22757 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
22758
22759         Merge peephole2 from new_ia32_branch:
22760         * Makefile.in (STAGESTUFF): Add *.peephole2.
22761         (mostlyclean): Likewise.
22762         (recog.o): Depend on resource.h.
22763
22764         * final.c (peephole): Conditionalize decl on HAVE_peephole.
22765         (final_scan_insn): Likewise for the invocation of peephole.
22766         * genconfig.c (main): Look for peephole and peephole2 patterns.
22767         Emit HAVE_peephole* accordingly.
22768         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
22769         * flags.h (flag_peephole2): Declare.
22770         * toplev.c: New pass peephole2.  New flag -fpeephole2.
22771
22772         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
22773         * gencodes.c (main): Likewise.
22774         * genextract.c (main): Likewise.
22775         * genoutput.c (main): Likewise.
22776         * genemit.c (max_operand_1): Look for the max scratch operand.
22777         (gen_rtx_scratch): New.
22778         (gen_exp): Use it, and pass on new arg subroutine_type.
22779         (gen_expand): Take max scratch into account.
22780         (gen_split): Emit peephole2 functions.
22781         (output_peephole2_scratch): New.
22782         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
22783         * genrecog.c (routine_type): Add PEEPHOLE2.
22784         (IS_SPLIT): New.
22785         (make_insn_sequence): Match outer parallel for peep2.  Discard
22786         top level scratches and dups.
22787         (add_to_sequence): New args insn_type and top.  Update all callers.
22788         Handle toplevel peep2 matching insns.
22789         (write_subroutine): Handle peep2.
22790         (write_tree_1): Likewise.
22791         (write_tree): Likewise.
22792         (main): Likewise.
22793         (change_state): New arg afterward.  Update all callers.
22794         Handle matching separate insns.
22795         * recog.c (recog_next_insn): New.
22796         (peephole2_optimize): New.
22797         * rtl.def (DEFINE_PEEPHOLE2): New.
22798         * resource.c (find_free_register): New argument last_insn.  Use it
22799         to find a register available through the entire span.
22800         * resource.h (find_free_register): Update prototype.
22801
22802 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
22803
22804         * i386.c (output_strlen_unroll): Don't write xops[7]
22805         label if it wasn't set.
22806
22807 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
22808
22809         * cpplib.c (struct directive): Const-ify name pointer and
22810         function pointer prototype.
22811         (validate_else, do_define, do_line, do_include, do_undef,
22812         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
22813         do_elif, do_endif, do_sccs, do_assert, do_unassert,
22814         do_warning): Const-ify second arg.
22815         (directive_table): Mark const.  Reorder entries by frequency
22816         of usage, record statistics.
22817
22818 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
22819
22820         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
22821         bounds- check RTL accesses if --enable-checking.
22822         (RTVEC_ELT): Bounds check if --enable-checking.
22823         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
22824         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
22825         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
22826         GET_NUM_ELEM.
22827         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
22828         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
22829
22830         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
22831         (NOTE_SOURCE_FILE): Use X0STR.
22832         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
22833         MEM_ALIAS_SET): Use X0INT.
22834         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
22835         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
22836         Use X0EXP.
22837         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
22838         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
22839         (rtl_check_failed_bounds, rtl_check_failed_type1,
22840         rtl_check_failed_type2, rtvec_check_failed_bounds): New
22841         functions.
22842         (fancy_abort): Fix comment.
22843
22844         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
22845         (cse_insn): Decrement LABEL_NUSES for jump target before
22846         deleting jump insn.
22847         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
22848         * final.c (alter_subreg): Compute regno before changing x to
22849         REG; set REGNO(x) after changing it.
22850         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
22851         notes containing CONST_INTs.
22852         (delete_eh_regions): Use NOTE_EH_HANDLER.
22853         * function.c (put_reg_into_stack): Make reg a MEM before
22854         initializing it.
22855         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
22856         delete insn.
22857         (gen_mem_addressof): Make reg a MEM before initializing it.
22858         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
22859         X0WINT.
22860         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
22861         deleting an insn, not after.
22862         (block_alloc): Only look at PATTERN(insn) if we have to, and
22863         only if it's format class 'i'.
22864         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
22865         CONST_INT before using its INTVAL.
22866         * print-rtl.c (print_rtx): Use X0STR.
22867         * regmove.c (fixup_match_1): Don't look at PATTERN of
22868         non-class-'i' insn chain elements.
22869         * reload.c (loc_mentioned_in_p): Take address of
22870         in->fld[1].rtx directly.
22871         * reload1.c (reload): Change reg to a MEM before initializing
22872         it.
22873         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
22874         have no names.
22875         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
22876
22877 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
22878
22879         * config/mips/mips.c (machine_dependent_reorg): Force a
22880         barrier to output the local constant pool if a barrier hasn't
22881         been found at a natural point in the instruction stream.
22882
22883 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22884
22885         * c-parse.in (language_string): Constify.
22886
22887         * dwarf2out.c (language_string): Remove declaration.
22888
22889         * dwarfout.c (language_string): Likewise.
22890
22891         * toplev.c (language_string, init_parse, finish_parse): Likewise.
22892
22893         * tree.h (language_string, init_parse, finish_parse): Declare.
22894
22895         * i386/sun386.h (language_string): Remove declaration.
22896
22897         * mips.h (language_string): Likewise.
22898
22899         * nextstep.h (language_string): Likewise.
22900
22901         * nextstep21.h (language_string): Likewise.
22902
22903         * rs6000.c (language_string): Likewise.
22904
22905 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22906
22907         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
22908         (getpwd.o): Remove target.
22909
22910         * getpwd.c: Delete file.  Its in libiberty now.
22911
22912         * dbxout.c (getpwd): Don't prototype.
22913         * dwarf2out.c (getpwd): Likewise
22914         * dwarfout.c (getpwd): Likewise
22915         * final.c (getpwd): Likewise.
22916         * protoize.c (getpwd): Likewise.
22917
22918 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22919
22920         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
22921
22922 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
22923
22924         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
22925         mark_set_resources.
22926
22927 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
22928
22929         * fixinc/Makefile.in (subdir): New.
22930         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
22931         (Makefile): New.
22932
22933 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
22934
22935         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
22936         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
22937         be shared.
22938
22939         * invoke.texi: Fix typo.
22940
22941         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
22942         changed.  Handle autoincrement addressing modes.
22943
22944         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
22945         just like we would the virtual incoming args register when
22946         integrating.
22947
22948 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
22949
22950         * rs6000.h (ASM_FILE_START): Specify complete filename, including
22951         path, in .file directive.
22952
22953 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
22954
22955         * gcc.texi (External Bugs): Remove obsolete note about Perl on
22956         SunOS.
22957
22958 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
22959
22960         * stdbool.h: Make the typedef name _Bool, with bool a #defined
22961         alias.
22962
22963 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22964
22965         * tree.c (tree_code_name): Constify a char*.
22966
22967         * tree.h (tree_code_name, decl_printable_name): Likewise.
22968
22969         * function.h (struct function): Likewise.
22970
22971         * toplev.c (decl_name, decl_printable_name): Likewise.
22972
22973         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
22974
22975         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
22976         (init_objc): Remove function pointer cast.
22977
22978 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
22979
22980         * pa.md (interspace_jump): New pattern.
22981         (builtin_longjmp): New expander.
22982
22983 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
22984
22985         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
22986         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
22987         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
22988
22989 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
22990
22991         * jump.c (delete_prior_computation): Also check calls
22992         to constant functions.  Don't bother checking for a
22993         REG_UNUSED note before adding it.
22994         (delete_computation): Handle multi-word hard registers
22995         when synthesizing missing REG_DEAD notes for a register
22996         which is both set and used by an insn.
22997
22998 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22999
23000         * loop.c (this_loop_info): New variable.
23001         (loop_has_call, loop_has_volatile, loop_has_tablejump,
23002         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
23003         All uses updated.
23004         (prescan_loop, strength_reduce): New argument loop_info.  All callers
23005         updated.
23006         (scan_loop): New variable loop_info, initialise to address of
23007         this_loop_info.
23008         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
23009         Delete variable loop_has_multiple_exit targets and replace with
23010         field in this_loop_info.
23011         (find_and_verify_loops): Rename this_loop to this_loop_num.
23012         (strength_reduce): Delete loop_iteration_info.  Replace variable
23013         loop_info with function argument of same name.
23014         (insert_bct): Rework test for loop being completely unrolled.
23015
23016         * loop.h (struct loop_info): New fields num, loops_enclosed,
23017         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
23018         has_indirect_jump, and cont.  Redefine use of unroll_number.
23019         (loop_unroll_number): Delete.
23020
23021         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
23022         field of loop_info.
23023         (loop_iterations): Delete variable vtop and instead use
23024         loop_info->vtop computed in prescan_loop.
23025
23026 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
23027
23028         * fix-header.c (main): Do not pass a null pointer to strcmp.
23029
23030 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
23031
23032         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
23033         filenames.
23034         * configure: Rebuilt.
23035
23036 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
23037
23038         * jump.c (jump_optimize_1): Do not delete assignments to
23039         internal_arg_pointer.
23040         * cse.c (delete_trivially_dead_insns): Always consider a set of
23041         the internal_arg_pointer live.
23042
23043 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
23044
23045         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
23046         (update_life_info) [REG_WAS_0]: Search the original insns rather
23047         than the new insns for the note.  Fix typos finding note_dest.
23048         If no dest found, discard the note rather than abort.
23049         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
23050         (replace_insns): Remove the old insn list after update_life_info
23051         not before.
23052
23053 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
23054
23055         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
23056         sched_analyze_insn.
23057         (sched_analyze_1): Let add_dependence care for not adding dups.
23058         (sched_analyze_2): Likewise.
23059         (add_branch_dependences): Likewise.
23060
23061 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23062
23063         * i386/winnt.c (export_list): New type.
23064         (exports_head): Rename to
23065         (export_head):  this.
23066         (i386_pe_record_exported_symbol): Add is_data flag.
23067         (i386_pe_asm_file_end): Emit directive for exported variables.
23068         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
23069         prototype.
23070         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
23071         (ASM_DECLARE_OBJECT_NAME): Likewise.
23072         (ASM_DECLARE_FUNCTION_NAME): Likewise.
23073         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
23074
23075 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
23076
23077         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
23078
23079         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
23080         operand.
23081
23082 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
23083
23084         * config/openbsd.h: Define SET_ASM_OP.
23085         * tm.texi: cross-reference SET_ASM_OP in the index.
23086
23087 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
23088
23089         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
23090         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
23091         and class_narrowest_mode at compile time.  Kill init_rtl.
23092         Mark rtx_length, mode_class, mode_size, mode_unit_size,
23093         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
23094         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
23095         EXTRA_CC_NAMES.
23096         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
23097         format.
23098         * rtl.h: Declare rtx_length and rtx_format as const.
23099         * machmode.def: Define CC().  Use CC() to define CCmode.  If
23100         EXTRA_CC_MODES is defined, expand it here.
23101         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
23102         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
23103         const.  Kill all references to EXTRA_CC_MODES.
23104
23105         * toplev.c: Don't prototype or call init_rtl.
23106         * optabs.c: Don't call init_mov_optab.
23107         * genemit.c: Don't generate init_mov_optab.  Don't call
23108         init_rtl.
23109         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
23110         here.
23111         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
23112         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
23113         genrecog.c: Don't call init_rtl.
23114
23115         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
23116         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
23117         definition of EXTRA_CC_MODES.
23118
23119         * md.texi: Kill ref to EXTRA_CC_NAMES.
23120         * tm.texi: Document new way to define EXTRA_CC_MODES.
23121
23122         * genrecog.c: Do not look up the name of a define_split.
23123         (Unrelated bugfix.)
23124
23125 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
23126
23127         * config/v850/v850.md: Fix typo introduced by previous delta.
23128
23129 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23130
23131         * gcc.c (fatal): Make definition static to match prototype.
23132
23133 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23134
23135         * combine.c (get_last_value): Don't look for earlier sets if the last
23136         known set is somewhere in between the insns being combined.
23137
23138 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
23139
23140         * configure.in: Don't use shell ! to negate exit codes
23141         * configure: Regenerate
23142
23143 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
23144
23145         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
23146         the fact that ALIGN is measured in bits, not bytes.
23147
23148 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
23149
23150         * errors.c: New file; defines functions error, warning, and
23151         fatal, variables have_error and progname.
23152         * errors.h: New file; prototypes and decls for stuff in errors.c.
23153
23154         * Makefile: Add rules to build errors.o and
23155         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
23156         genopinit, genrecog, genextract, genpeep, genattr, and
23157         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
23158         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
23159         genpeep.o, genattr.o, and genoutput.o.
23160
23161         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
23162         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
23163         define or prototype fatal.  Set progname at beginning of main.
23164         * genoutput.c:  Likewise, and don't define or prototype error
23165         either.
23166
23167         * c-typeck.c (c_expand_start_case): Return immediately if exp
23168         is an ERROR_MARK.
23169         * fold-const.c (operand_equal_p): Return immediately if arg1
23170         or arg0 are ERROR_MARKs.
23171         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
23172         fields of type ERROR_MARK when calculating if the record can
23173         go in a register.
23174
23175 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
23176         with much help from Jeffrey A Law and Richard Henderson
23177
23178         * i386.md: In the 6 insns which call output_fix_trunc,
23179         earlyclobber operands[0].
23180
23181 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
23182
23183         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
23184         creating new registers.
23185
23186 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
23187
23188         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
23189         i386_reg_alloc_order, i386_regparm_string,
23190         i386_align_loops_string, i386_align_jumps_string,
23191         i386_align_funcs_string, i386_preferred_stack_boundary_string,
23192         and i386_branch_cost_string as type "const char *".
23193         * i386.c: Define all above strings as type "const char *".
23194
23195 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
23196
23197         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
23198         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
23199
23200 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
23201
23202         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
23203         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
23204
23205 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
23206
23207         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
23208         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
23209         (dwarf2out_line, dwarf2out_finish): Likewise.
23210         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
23211
23212 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23213
23214         * tree.c (lang_unsave_expr_now) : Correct return type.
23215         * tree.h (lang_unsave_expr_now) : Same.
23216
23217 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
23218
23219         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
23220         instead of duplicating code.
23221
23222 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23223
23224         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
23225
23226 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
23227
23228         * tree.h: fancy_abort always takes three args.
23229         * resource.c: Move include of system.h before toplev.h.
23230
23231 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
23232
23233         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
23234         as SYMBOL_REFs.
23235
23236 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
23237
23238         * system.h: Don't redefine abort or trim_filename.
23239         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
23240         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
23241         whether or not __FUNCTION__ is available.
23242         * tree.h: Duplicate rtl.h's definition of abort, for files
23243         that don't include rtl.h.  Delete all code to perform type
23244         checking with a compiler other than GCC.
23245         * varray.h: Delete all code to perform type checking with a
23246         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
23247         its arguments exactly once, using a statement expression.
23248         Adjust the VARRAY_<type> accessor macros to match.
23249         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
23250         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
23251         caller's location.  Define fatal_insn and fatal_insn_not_found
23252         as macros that use _fatal_insn and _fatal_insn_not_found.
23253         (fancy_abort, trim_filename): Kill prototypes.
23254
23255         * rtl.c (trim_filename): Move here from toplev.c.
23256         (fancy_abort): New function.
23257         (DIR_SEPARATOR): Provide default definition.
23258         * tree.c (tree_check_failed, tree_class_check_failed): Go
23259         through fancy_abort.
23260         (tree_check, tree_class_check, cst_or_constructor_check,
23261         expr_check): Delete.
23262         * varray.c (varray_check_failed): New function.
23263         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
23264         _fatal_insn and _fatal_insn_not_found.  Go through
23265         fancy_abort.
23266         (trim_filename, fancy_abort): Delete.
23267
23268         * builtins.c (expand_builtin_args_info): Report ICE with abort.
23269         * except.c (start_catch_handler): Report ICE with error/abort
23270         combo.
23271         * final.c (output_operand_lossage): Likewise.
23272         * flow.c (verify_flow_info): Likewise.
23273
23274         * gcc.c: Prototype fatal.
23275         * gengenrtl.c: Undef abort after including rtl.h not system.h.
23276         * genattr.c, genattrtab.c, genemit.c, genextract.c,
23277         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
23278         Don't define fancy_abort.
23279
23280 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
23281
23282         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
23283         canonization.
23284
23285 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
23286
23287         * m88k.h (VERSION_INFO2): Kill.
23288         (VERSION_STRING): Kill.
23289         (TM_RCS_ID): Kill.
23290         (VERSION_INFO1): Tidy.
23291         (TARGET_VERSION): Update.
23292         * m88k/dgux.h (VERSION_INFO2): Kill.
23293         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
23294         * m88k/luna.h (VERSION_INFO1): Tidy.
23295         * m88k/sysv4.h (VERSION_INFO1): Likewise.
23296         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
23297         (output_file_start): Adjust for death of VERSION_STRING.
23298
23299 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
23300
23301         * cpplib.c (detect_if_not_defined): New function.
23302         (do_if): Use it to detect potential once-only headers.
23303
23304 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
23305
23306         * c-common.c (combine_strings): Always set TREE_CONSTANT.
23307
23308 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23309
23310         * combine.c (nonzero_bits) : Allow single-ly set registers to be
23311         anywere in the function only if they are pseudos and set before
23312         being used (not live at the start of the function).
23313         (num_sign_bit_copies) : Same.
23314         (get_last_value_validate) : Same.
23315         (get_last_value) : Same.
23316
23317 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
23318
23319         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
23320         where N and M are constant and N is an integer multiple of M.
23321
23322 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23323
23324         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
23325         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
23326         sbitmap_union_of_preds): Add prototypes.
23327         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
23328         the intersection of successors with the new flow graph structures.
23329         (sbitmap_intersection_of_preds): New function to compute the
23330         intersection of predecessors with the new flow graph structures.
23331         (sbitmap_union_of_succs): New function to compute the union of
23332         successors with the new flow graph structures.
23333         (sbitmap_union_of_preds): New function to compute the union of
23334         predecessors with the new flow graph structures.
23335         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
23336         (expr_reaches_here_p): Use edge and basic_block structures instead
23337         of s_preds and s_succs.
23338         (compute_cprop_avinout): Use new sbitmap routines.
23339         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
23340         of s_preds and s_succs.
23341         * flow.c (compute_flow_dominators): Compute dominators using
23342         edges and basic blocks instead of s_preds and s_succs.
23343
23344 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23345
23346         * lists.c (unused_insn_list, unused_expr_list): New file for
23347         maintaining various types of lists. New statics for maintaining a
23348         cache of available INSN_LIST and EXPR_LIST nodes.
23349         (free_list): Static function for freeing a list of INSN/EXPR nodes.
23350         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
23351         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
23352         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
23353         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
23354         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
23355         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
23356         (free_INSN_LIST_node): Free an individual INSN_LIST node.
23357         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
23358         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
23359         (remove_dependence, free_pending_lists): Use new global routines.
23360         (flush_pending_lists, sched_analyze_insn): Use new global routines.
23361         (sched_analyze, compute_block_backward_dependences): Use new routines.
23362         (sched_analyze_1, sched_analyze_2): Use new routines.
23363         (schedule_insns): Use new global routines.
23364         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
23365         prototypes.
23366         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
23367         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
23368         prototypes.
23369         * toplev.c (rest_of_compilation): Initialize node cache.
23370         * Makefile.in (OBJS): Add lists.o to list of object files.
23371         (lists.o): Add dependancies.
23372
23373 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
23374
23375         * config/v850/v850.md: Fix compile time warning messages.
23376         * config/v850/v850.c: Fix compile time warning messages.
23377         * config/v850/v850.h: Fix compile time warning messages.
23378
23379 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23380
23381         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
23382         Remove unused prototype for `init_lengths'.
23383
23384 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23385
23386         * calls.c (emit_call_1): Mark parameter `stack_size' with
23387         ATTRIBUTE_UNUSED.
23388         (expand_call): Initialize variable `insn'.
23389         (emit_library_call): Likewise for variable `high_to_save'.
23390         (emit_library_call_value): Likewise.
23391         (store_one_arg): Likewise for variables `lower_bound' and
23392         `upper_bound'.
23393
23394         * combine.c (try_combine): Likewise for variables `i2_code_number'
23395         and `other_code_number'.
23396         (find_split_point): Likewise for variables `pos', `unsignedp' and
23397         `inner'.
23398         (simplify_if_then_else): Likewise for variables `op' and `c1'.
23399         (simplify_and_const_int): Remove unused variable `width'.
23400         (merge_outer_ops): Likewise.
23401
23402         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
23403         HOST_WIDE_INT' when comparing against one.
23404         (simplify_relational_operation): Likewise.
23405         (cse_insn): Initialize variables `src_eqv_volatile',
23406         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
23407
23408         * final.c (init_final): Constify parameter `filename'.
23409         (final_start_function): Mark parameter `optimize' with
23410         ATTRIBUTE_UNUSED.
23411         (profile_function): Likewise for parameters `first' and `optimize'.
23412         (output_source_line): Likewise for parameter `file'.
23413
23414         * integrate.c (subst_constants): Cast a value to `size_t' when
23415         comparing against one.
23416         (mark_stores): Initialize variable `mode'.  Cast a value to
23417         `size_t' when comparing against one.
23418
23419         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
23420
23421         * loop.c (move_movables): Initialize variable `first'.
23422         (strength_reduce): Likewise for variable `increment'.
23423         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
23424         value to `size_t' when comparing against one.
23425         (load_mems): Initialize variable `end_label'.
23426
23427         * output.h (init_final): Constify parameter.
23428
23429         * reload.c (decompose): Initialize variable `base'.
23430
23431         * reload1.c (reload): Likewise for variable `is_scalar'.
23432         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
23433         (choose_reload_regs): Initialize variable `mode'.
23434         (emit_reload_insns): Likewise for variable `store_insn'.
23435         (reload_cse_noop_set_p): Mark parameter `insn' with
23436         ATTRIBUTE_UNUSED.
23437         (reload_combine): Initialize variable `set'.
23438
23439         * unroll.c (unroll_loop): Likewise for variable `local_label'.
23440         (copy_loop_body): Cast a value to `size_t' when comparing against
23441         one.
23442
23443         * varasm.c (assemble_variable): Initialize variable `size_tree'.
23444         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
23445         (remove_from_pending_weak_list): Mark parameter `name' with
23446         ATTRIBUTE_UNUSED.
23447
23448 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23449
23450         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
23451         gcse dump file.
23452
23453 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
23454
23455         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
23456         (ASM_DECLARE_FUNCTION_NAME): Define.
23457         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
23458         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
23459         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
23460         not already defined.
23461
23462 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
23463
23464         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
23465         of n_popped when call/call_value are not defined.
23466
23467 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
23468
23469         * tm.texi: GNU CC -> GCC conversion.
23470         (CC1_SPEC): Indicate it is used for all language front ends.
23471
23472 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
23473
23474         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
23475         NOTE_INSN_EH_REGION_END correctly.
23476
23477 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
23478                           Jeff Law <law@cygnus.com>
23479
23480         * loop.c (strength_reduce): Automatically unroll loops if the
23481         unrolled loop size is smaller than the rolled loop size.
23482
23483         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
23484         and delete comment that code should be rewritten.
23485
23486 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
23487
23488         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
23489         as reachable.
23490
23491         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
23492
23493 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23494
23495         * fixinc/mkfixinc.sh: Don't fix uwin headers.
23496         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
23497         (LINK_SPEC): Add -u _main when building executables.
23498         (ASM_DECLARE_FUNCTION): Update from Cygwin.
23499         (ASM_FILE_END): Use the default for ix86-pe.
23500         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
23501
23502 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
23503
23504         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
23505         and ASM_CLOSE_PAREN are empty strings.
23506
23507 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
23508                           Geoffrey Keating <geoffk@cygnus.com>
23509
23510         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
23511         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
23512         (unprotoize.o): Ditto.
23513         (test-protoize-simple): Don't define STD_PROTO_DIR.
23514         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
23515         changes to make 'test-protoize-simple' pass.
23516         (STD_PROTO_DIR): Remove define.
23517         (STANDARD_EXEC_PREFIX): Supply default define.
23518         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
23519         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
23520         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
23521         (GET_ENV_PATH_LIST): New macro.
23522         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
23523         (do_processing): Initialize default_syscalls_dir using new
23524         macros.  Use it to initialize syscalls_absolute_filename.
23525
23526 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
23527
23528         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
23529         B into a register before emit_conditional_move.
23530
23531 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
23532
23533         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
23534         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
23535         multiplicand out of (+ (* a b) (* c d)).
23536
23537 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
23538                           Richard Henderson  <rth@cygnus.com>
23539
23540         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
23541         (new_insn_dead_notes): Likewise.
23542         (update_n_sets): Likewise.
23543         (update_flow_info): Move to flow.c, renamed to update_life_info;
23544         extend to handle multiple source insns.
23545         * flow.c: Include resource.h
23546         (unlink_insn_chain): New.
23547         (split_hard_reg_notes): New.
23548         (maybe_add_dead_note): New.
23549         (maybe_add_dead_note_use): New.
23550         (find_insn_with_note): New.
23551         (new_insn_dead_notes): New.
23552         (update_n_sets): New.
23553         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
23554         (maybe_remove_dead_notes): New.
23555         (update_life_info): New.
23556         (prepend_reg_notes): New.
23557         (replace_insns): New.
23558         * output.h (update_life_info): Declare.
23559         * recog.c (split_block_insns): Use update_life_info.
23560         * resource.c (find_free_register): Use reg_alloc_order, don't use
23561         fixed regs, make sure the mode is supported, don't use new regs.
23562         (reg_dead_p): New.
23563         * rtl.h (replace_insns): Declare.
23564
23565 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
23566
23567         * expr.c (expand_expr): Cope with COND_EXPRs with one
23568         non-returning branch.
23569
23570 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
23571
23572         * expr.c (store_expr): Always pass down the target, even when not
23573         doing CSE.
23574
23575 1999-08-24  Nick Clifton  <nickc@cygnus.com>
23576
23577         * configure.in: Define target_cpu_default for v850 targets.
23578         * configure: Regenerate
23579
23580         * config/v850/v850.h (TARGET_CPU_generic): Define.
23581         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
23582         addresses are 4 byte aligned.
23583
23584         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
23585         addresses.
23586
23587 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23588
23589         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
23590         (main): Add prototypes.
23591
23592         * genattrtab.c (substitute_address, write_const_num_delay_slots,
23593         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
23594         (write_attr_get): Emit prototypes along with function definition.
23595         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
23596         (write_complex_function): Emit static prototype along with
23597         function definition.
23598
23599         * genemit.c (gen_split): Emit prototypes along with function
23600         definition.
23601
23602         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
23603         Likewise for predicates and `insn_operand_predicate'.
23604         (process_template): Emit static prototype along with function
23605         definition.
23606
23607         * genrecog.c (make_insn_sequence): Constify a char*.  Add
23608         prototypes for get_split_*().
23609         (write_subroutine): Emit prototypes along with function
23610         definition.
23611
23612 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23613
23614         * gcse.c (find_avail_set): Follow chains of register-register copies.
23615         Use oprs_not_set_p to guarantee that the returned value can be
23616         substituted.
23617         (cprop_insn): Don't verify the return value of find_avail_set with
23618         oprs_not_set_p.
23619
23620         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
23621         (cprop_cc0_jump): New function.
23622         (cprop_insn): Break out new function cprop_jump and use it.
23623         Also use cprop_cc0_jump for machines with CC0.
23624         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
23625
23626         * tree.h (current_function_calls_setjmp,
23627         current_function_calls_longjmp): Delete declarations.
23628         * dsp16xx.c: Include "function.h".
23629         * elxsi.c: Likewise.
23630         * gmicro.c: Likewise.
23631         * h8300.c: Likewise.
23632         * i370.c: Likewise.
23633         * m32r.c: Likewise.
23634         * mn10200.c: Likewise.
23635         * mn10300.c: Likewise.
23636         * ns32k.c: Likewise.
23637         * spur.c: Likewise.
23638         * v850.c: Likewise.
23639
23640         * rtl.h (rtx_equal_function_value_matters): Declare.
23641         * toplev.c (rtx_equal_function_value_matters): Don't declare.
23642         * cse.c: Likewise.
23643         * function.c: Likewise.
23644         * emit-rtl.c: Likewise.
23645
23646 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
23647
23648         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
23649         call.
23650
23651 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
23652
23653         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
23654         exactly.
23655
23656 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
23657
23658         * cpp.texi: Add a node documenting macro varargs (copied
23659         from extend.texi).
23660
23661 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
23662
23663         * cppspec.c: Put a null pointer at the end of the new argv.
23664
23665 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
23666
23667         * configure.in: Remove code to select/de-select the haifa
23668         scheduler.  Every scheduled port gets haifa now.
23669         * configure: Rebuilt.
23670         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
23671         * sched.c Deleted.
23672         * Makefile.in: Corresponding changes.
23673
23674 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23675
23676         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
23677         All callers changed.
23678         (prepare_float_lib_cmp): Likewise.
23679         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
23680         * expr.h (emit_float_lib_cmp): Delete declaration.
23681         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
23682         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
23683         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
23684         specially.
23685         (cmptf): Now conditional on TARGET_HARD_QUAD.
23686
23687 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
23688
23689         * resource.c (mark_target_live_regs): Use
23690         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
23691
23692 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23693
23694         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
23695
23696         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
23697
23698         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
23699
23700 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23701
23702         * rtl.h (rtx_format): Constify a char*.
23703
23704         * rtl.c (rtx_format): Likewise.
23705         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
23706         (init_rtl): Use accessor macro, not `rtx_format'.
23707
23708         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
23709         char*.
23710
23711         * caller-save.c (mark_referenced_regs): Likewise.
23712
23713         * combine.c (subst, make_compound_operation, known_cond,
23714         gen_rtx_combine, update_table_tick, get_last_value_validate,
23715         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
23716
23717         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
23718         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
23719         count_reg_usage): Likewise.
23720
23721         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
23722         Likewise.
23723
23724         * final.c (leaf_renumber_regs_insn): Likewise.
23725
23726         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
23727         dump_edge_info, count_reg_references): Likewise.
23728
23729         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
23730         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
23731         Likewise.
23732
23733         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
23734         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
23735         add_label_notes): Likewise.
23736
23737         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
23738         clear_struct_flag, count_sub_rtxs, count_alternatives,
23739         compares_alternatives_p, contained_in_p, walk_attr_value,
23740         write_expr_attr_cache): Likewise.
23741
23742         * genconfig.c (walk_insn_part): Likewise.
23743
23744         * genemit.c (max_operand_1, gen_exp): Likewise.
23745
23746         * genextract.c (walk_rtx): Likewise.
23747
23748         * genflags.c (num_operands): Likewise.
23749
23750         * genoutput.c (scan_operands): Likewise.
23751
23752         * genpeep.c (match_rtx): Likewise.
23753
23754         * genrecog.c (add_to_sequence): Likewise.
23755
23756         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
23757         Likewise.
23758
23759         * integrate.c (save_constants, copy_for_inline,
23760         copy_rtx_and_substitute, subst_constants, restore_constants):
23761         Likewise.
23762
23763         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
23764         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
23765
23766         * local-alloc.c (contains_replace_regs, memref_referenced_p):
23767         Likewise.
23768
23769         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
23770         add_label_notes, replace_call_address, count_nonfixed_reads,
23771         invariant_p, find_single_use_in_loop, find_mem_givs,
23772         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
23773         Likewise.
23774
23775         * print-rtl.c (reg_names, print_rtx): Likewise.
23776
23777         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
23778
23779         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
23780         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
23781         print_blocks): Likewise.
23782
23783         * regclass.c (fix_register, record_address_regs,
23784         reg_scan_mark_refs): Likewise.
23785
23786         * regmove.c (stable_but_for_p): Likewise.
23787
23788         * reload.c (loc_mentioned_in_p, operands_match_p,
23789         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
23790         copy_replacements, refers_to_regno_for_reload_p,
23791         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
23792         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
23793         Likewise.
23794
23795         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
23796         delete_address_reloads_1, count_occurrences,
23797         reload_cse_mem_conflict_p, reload_combine_note_use,
23798         add_auto_inc_notes): Likewise.
23799
23800         * resource.c (mark_referenced_resources, mark_set_resources):
23801         Likewise.
23802
23803         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
23804         reg_mentioned_p, regs_set_between_p, modified_between_p,
23805         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
23806         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
23807         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
23808         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
23809
23810         * sched.c (sched_analyze_2, attach_deaths): Likewise.
23811
23812         * stupid.c (stupid_mark_refs): Likewise.
23813
23814         * unroll.c (remap_split_bivs): Likewise.
23815
23816         * varasm.c (mark_constants): Likewise.
23817
23818         * a29k/a29k.c (uses_local_reg_p): Likewise.
23819
23820         * alpha/alpha.c (summarize_insn): Likewise.
23821
23822         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
23823         eliminate_lr2ip): Likewise.
23824
23825         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
23826
23827         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
23828         reg_mentioned_in_mem): Likewise.
23829
23830         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
23831         symbolic_reference_mentioned_p): Likewise.
23832
23833         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
23834
23835         * sh/sh.c (regs_used, mark_use): Likewise.
23836
23837         * vax/vax.c (vax_rtx_cost): Likewise.
23838
23839 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23840
23841         * machmode.h (mode_name): Constify a char*.
23842
23843         * rtl.c (mode_name): Likewise.
23844
23845         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
23846
23847         * optabs.c (init_libfuncs): Constify a char*.
23848
23849         * print-tree.c (mode_name): Remove redundant declaration.
23850         (print_node): Use accessor macro, not `mode_name'.
23851
23852         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
23853         not `mode_name'.
23854         (new_spill_reg): Constify a char*.
23855
23856         * tree.c (mode_name): Remove redundant declaration.
23857
23858 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23859
23860         * rtl.c (rtx_name): Constify a char*.
23861
23862         * rtl.h (rtx_name, fix_sched_param): Likewise.
23863
23864         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
23865         (mypr): Use accessor macro, not `rtx_name'.
23866
23867         * genemit.c (print_code): Constify a char*.
23868
23869         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
23870
23871         * genpeep.c (print_code): Constify a char*.
23872
23873         * genrecog.c (print_code): Likewise.
23874
23875         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
23876         end_bb): Add static prototype.
23877         (draw_edge): Constify a char*.
23878         (end_bb): Remove unused parameter.
23879
23880         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
23881         print_block_visualization): Constify a char*.
23882
23883 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
23884
23885         * c-common.c (c_get_alias_set): Update comment.
23886
23887 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
23888
23889         * linux.h (LIB_SPEC): Added.
23890
23891 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23892
23893         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
23894
23895 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
23896
23897         * tree.c (expr_check): Fix typo in last change.
23898
23899 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
23900
23901         * rtl.def (NOTE): Change format to "iuu0n".
23902         (ADDR_DIFF_VEC): Change format to "eEee0".
23903         (ADDRESSOF): Change format to "eit".
23904
23905         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
23906         (RTVEC_ELT): Change to match.
23907         (XVECEXP): Use XVEC and RTVEC_ELT.
23908         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
23909         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
23910         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
23911         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
23912         TRAP_CONDITION, TRAP_CODE): Use XEXP.
23913         (INTVAL): Use XWINT.
23914         (ADDRESSOF_DECL): Use XTREE.
23915         (SET_ADDRESSOF_DECL): Delete.
23916         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
23917         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
23918         ifdefed out since 2.6 at least.
23919         (gen_rtvec_vv): Delete prototype.
23920
23921         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
23922         not rtunion.
23923         (copy_most_rtx): Handle 't' format letter.
23924         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
23925         (gen_rtvec_vv): Delete function.  All callers changed to use
23926         gen_rtvec_v instead.
23927         * print-rtl.c (print_rtx): Move special casing of NOTEs to
23928         the '0' format letter.
23929
23930         * function.c (gen_mem_addressof): Don't use
23931         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
23932         instead.
23933         * integrate.c (copy_rtx_and_substitute): Likewise.
23934         Copy 't' slots with XTREE.
23935         (subst_constants): Treat 't' slots like '[swi]' slots.
23936         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
23937         * jump.c (rtx_equal_for_thread_p): Likewise.
23938         * rtlanal.c (rtx_equal_p): Likewise.
23939         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
23940         only four arguments.
23941         * gengenrtl.c (type_from_format): Provide correct types for
23942         'b' and 't' slots.
23943
23944
23945         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
23946         If a recent gcc is in use (always in stage2 and beyond), use
23947         statement expressions, so we don't make a function call unless
23948         the check fails.  Evaluate arguments exactly once.
23949         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
23950         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
23951         Delete.
23952         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
23953         they evaluate their arguments exactly once, irrespective of
23954         the compiler in use.
23955
23956         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
23957         is used by the currently-enabled check macros.  This is:
23958         (tree_check_failed, tree_class_check_failed): For gcc.
23959         (tree_check, tree_class_check, cst_or_constructor_check,
23960         expr_check): For other compilers.
23961
23962         * gencheck.c: Do not define any *_CHECK1 macros.
23963
23964 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
23965                           Mark Mitchell <mark@codesourcery.com>
23966
23967         * c-common.c (c_get_alias_set): Fix support for poitners and
23968         references.
23969
23970 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
23971
23972         * alias.c: Include tree.h.
23973         (nonlocal_reference_p, mark_constant_function): New functions.
23974         * flow.c (life_analysis): Call mark_constant_function.
23975         * rtl.h (mark_constant_function): Declare it.
23976
23977 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
23978
23979         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
23980         unrecognisable switches.
23981
23982 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23983
23984         * loop.c (recombine_givs): Set ix field after sorting.
23985         (recombine_givs): Remove bogus index / giv lockstep looping.
23986
23987 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23988
23989         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
23990         on CODE.
23991         (emit_store_flag_force): Use do_compare_rtx_and_jump.
23992         (do_cmp_and_jump): Formatting fixes.
23993         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
23994         do_compare_rtx_and_jump instead of compare_from_rtx.
23995         (do_compare_rtx_and_jump): New function; mostly copied from
23996         compare_from_rtx.
23997         (do_jump_for_compare): Delete.
23998         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
23999         MIN_EXPR.
24000         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
24001         of compare/do_jump_for_compare pairs.
24002         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
24003         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
24004         compare_from_rtx/do_jump_for_compare pairs.
24005         (do_jump_by_parts_equality): Likewise.
24006         (do_jump_by_parts_equality_rtx): Likewise.
24007         * expr.h (do_compare_rtx_and_jump): Declare.
24008         * optabs.c (prepare_cmp_insn): New function, contains most of the code
24009         that used to be in emit_cmp_insn.
24010         (cmp_available_p): New function.
24011         (prepare_operand): New function.
24012         (emit_cmp_and_jump_insn_1): New function, contains some code that used
24013         to be in emit_cmp_insn.
24014         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
24015         parameters to be pointers; don't emit final compare but modify some of
24016         the values pointed to by the args so the caller can perform the
24017         correct comparison.
24018         (expand_binop): Call emit_store_flag_force with signed forms of
24019         comparison code.
24020         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
24021         emit_jump_insn pair.
24022         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
24023         emit_cmp_and_jump_insn_1.  Call emit_queue.
24024         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
24025         arg.
24026         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
24027         jump sets cc0 before deleting it.
24028         * integrate.c (expand_inline_function): Likewise.
24029         * unroll.c (unroll_loop): Similar changes in several places.
24030         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
24031         before deleting it.
24032
24033 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24034
24035         * Makefile.in (insn-recog.o): Update dependencies.
24036         * genrecog.c (main): Make generated file include "function.h".
24037
24038 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
24039
24040         * cse.c (cse_insn): Call never_reached_warning when a jump is
24041         changed to be unconditional.
24042         * flags.h: Declare warn_notreached.
24043         * flow.c (delete_block): Call never_reached_warning when
24044         a block is deleted.
24045         * jump.c (delete_barrier_successors): Call never_reached_warning
24046         when we delete everything after a BARRIER.
24047         (never_reached_warning): New function.
24048         * rtl.h: Declare never_reached_warning.
24049         * toplev.c (warn_notreached): New variable.
24050         (lang_independent_options): Set warn_notreached
24051         when -Wunreachable-code.
24052         (compile_file): We need line numbers for -Wunreachable-code.
24053
24054 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
24055
24056         * haifa-sched.c (insn_unit): Fix typo on out of range test.
24057         * sched.c (insn_unit): Likewise.
24058
24059 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
24060
24061         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
24062
24063 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24064
24065         * flow.c (create_edge_list): Use xmalloc, not malloc.
24066
24067 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
24068
24069         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
24070         C-style comments.  Do not lose the character before double slash.
24071
24072 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24073
24074         * basic-block.h (struct edge_list): Stucture to maintain a vector
24075         of edges.
24076         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
24077          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
24078         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
24079         New function prototypes.
24080         * flow.c (create_edge_list): Function to create an edge list.
24081         (free_edge_list): Discards memory used by an edge list.
24082         (print_edge_list): Debug output showing an edge list.
24083         (verify_edge_list): Internal consistency check for an edge list.
24084         (find_edge_index): Function to find an edge index for a pred and succ.
24085
24086 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
24087
24088         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
24089         hashtable.
24090
24091 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
24092
24093         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
24094
24095 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
24096
24097         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
24098
24099 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
24100
24101         * toplev.c (rest_of_compilation): Allow machine dependent
24102         reorganisation pass to place information into the RTL dump
24103         file if it so wishes.
24104
24105 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
24106
24107         * explow.c (hard_function_value): Use VOIDmode instead of
24108         MAX_MACHINE_MODE.
24109         * stmt.c (expand_return): Likewise.
24110         * stor-layout.c (get_best_mode): Likewise.
24111
24112         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
24113         emit call instead of emit_insn call.
24114
24115 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24116
24117         * configure.in: Handle --disable/enable-win32-registry.
24118         * install.texi: Document --disable/enable-win32-registry.
24119         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
24120         (WIN32_REGISTRY_KEY): New macro.
24121         * prefix.c: Use to enable/disable win32-specific code.
24122         (lookup_key): Use versioned key.
24123         * configure: Regenerate.
24124         * config.in: Likewise.
24125
24126 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
24127
24128         * cpplib.c (read_line_number): New fn, split out of...
24129         (do_line): Here.
24130
24131 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24132
24133         tree.c (lang_unsave_expr_now) : New.
24134         (unsave_expr_now): Call lang_unsave_expr_now.
24135         tree.h (lang_unsave_expr_now) : New.
24136
24137 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
24138
24139         * toplev.c (flag_new_exceptions): On by default.
24140
24141 1999-08-13  Michael Meissner  <meissner@cygnus.com>
24142
24143         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
24144
24145 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
24146
24147         * dwarfout.c (fundamental_type_code): Return FT_boolean for
24148         INTEGER_TYPE with precision==1, it's __java_boolean.
24149
24150 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24151
24152         * global.c (prune_preferences): Move some invariants out of the
24153         inner loop.
24154
24155 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
24156
24157         * configure.in (alpha*-dec-osf*): Add osf5.
24158
24159 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
24160
24161         * configure.in: Rework handling of ARM GNU/Linux slightly.
24162         (arm*-*-linux-gnuoldld): New target.
24163         * configure: Regenerate.
24164         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
24165         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
24166         * config/arm/linux-oldld.h: New file.
24167         * config/arm/linux-elf26.h: Don't include linux-elf.h.
24168         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
24169         Don't define.
24170         * config/arm/linux-elf.h (ASM_SPEC): Define.
24171         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
24172         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
24173         for 26-bit APCS and old linker.
24174         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
24175         `arm_elf'.
24176         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
24177         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
24178         don't define `arm' or `arm_elf'.
24179         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
24180         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
24181
24182 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
24183
24184         * rtl.texi: Fix typo.
24185
24186 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
24187
24188         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
24189
24190 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
24191
24192         * extend.texi (C++ Signatures): Remove node.
24193         * invoke.texi: Remove discussion of -fhandle-signatures,
24194         signature, sigof, __signature__, and __sigof__.
24195
24196 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
24197
24198         * Makefile.in (JAVAGC): Removed.
24199
24200 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24201
24202         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
24203
24204 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
24205
24206         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
24207
24208 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
24209
24210         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
24211         a register that is already known to be a pointer.
24212
24213 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
24214
24215         * fixinc/inclhack.tpl: Only install assert.h conditionally.
24216         * fixinc/inclhack.sh: Regenerated.
24217         * fixinc/fixincl.sh: Regenerated.
24218
24219 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
24220
24221         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
24222         Fix documentation of -ansi flag to describe its C++ behavior.
24223         Remove bogus reference to GCC 2.9.
24224
24225 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
24226
24227         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
24228         note if it is non-NULL.
24229
24230 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24231
24232         * except.h (eh_nesting_info): Add new structure defintion.
24233         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
24234         (reachable_handlers, update_rethrow_references): Add function
24235         prototypes.
24236         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
24237         a rethrow symbol instead of an integer exception region number.
24238         * flow.c (Make_edges): Use new exception nesting routines to determine
24239         which handlers are reachable from a CALL or asynchronous insn.
24240         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
24241         goto receivers.
24242         (delete_eh_regions): Update rethrow labels, and don't delete
24243         regions which are the target of a rethrow.
24244         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
24245         avoid overloading the SYMBOL_REF_USED flag.
24246         (rethrow_symbol_map): Use new rethrow_ref field.
24247         (rethrow_used): Use new rethrow_ref field.
24248         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
24249         of an integer.  Fix formatting.
24250         (output_exception_table_entry): Use new rethrow_ref field.
24251         (can_throw): Check for EH_REGION_NOTE before deciding
24252         whether a CALL can throw or not.
24253         (scan_region): Call rethrow_used() instead of accessing data structure.
24254         (update_rethrow_references): New function to make sure only regions
24255         which are still targets of a rethrow are flagged as such.
24256         (process_nestinfo): New static function to initialize a handler
24257         list for a specific region.
24258         (init_eh_nesting_info): New function to allocate and initialize
24259         the list of all EH handlers reachable from all regions.
24260         (reachable_handlers): New function to retrieve the list of handlers
24261         reachable from a specific region and insn.
24262         (free_eh_nesting_info): New function to dispose of a list of
24263         reachable handlers.
24264
24265 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24266
24267         * flow.c (split_edge): Set JUMP_LABEL field.
24268         (commit_one_edge_insertion): Set head correctly for insert_before.
24269         When inserting insns, update insn block numbers if allocated.
24270
24271 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24272
24273         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
24274         retry_incomplete_types): Add static prototype.
24275         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
24276         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
24277         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
24278         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
24279         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
24280         Constify a char*.
24281
24282         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
24283         dwarf2out_start_source_file, dwarf2out_line): Likewise.
24284
24285 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24286
24287         * output.h (assemble_name): Constify a char*.
24288
24289         * varasm.c (UNIQUE_SECTION, assemble_start_function,
24290         assemble_variable, assemble_name): Likewise.
24291
24292         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
24293
24294         * arm/pe.c (arm_pe_unique_section): Likewise.
24295
24296         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
24297
24298         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
24299
24300         * i386/interix.c (i386_pe_unique_section): Likewise.
24301
24302         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
24303
24304         * i386/winnt.c (i386_pe_unique_section): Likewise.
24305
24306         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
24307
24308         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
24309
24310         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
24311
24312         * pa/pa.c (output_call): Likewise.
24313
24314         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
24315
24316         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
24317
24318         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
24319         Likewise.
24320
24321         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
24322         Likewise.
24323
24324         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
24325
24326         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
24327         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
24328
24329         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
24330
24331 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24332
24333         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
24334
24335 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24336
24337         * tree.h (lang_identify): Constify a char*.
24338         (print_error_function): Add extern prototype.  Constify a char*.
24339
24340         * c-lang.c (lang_identify): Constify a char*.
24341
24342         * objc/objc-act.c (lang_identify): Constify a char*.
24343
24344 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24345
24346         * genpeep.c (main): Make generated file include "function.h".
24347         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
24348
24349 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24350
24351         * Makefile.in: Update dependencies.
24352         * alias.c: Include "function.h"
24353         * c-decl.c: Likewise.
24354         * caller-save.c: Likewise.
24355         * calls.c: Likewise.
24356         * combine.c: Likewise.
24357         * cse.c: Likewise.
24358         * explow.c: Likewise.
24359         * final.c: Likewise.
24360         * global.c: Likewise.
24361         * graph.c: Likewise.
24362         * local-alloc.c: Likewise.
24363         * loop.c: Likewise.
24364         * optabs.c: Likewise.
24365         * profile.c: Likewise.
24366         * recog.c: Likewise.
24367         * regclass.c: Likewise.
24368         * regmove.c: Likewise.
24369         * reload.c: Likewise.
24370         * reorg.c: Likewise.
24371         * resource.c: Likewise.
24372         * sched.c: Likewise.
24373         * stupid.c: Likewise.
24374         * config/1750a/1750a.c: Likewise.
24375         * config/a29k/a29k.c: Likewise.
24376         * config/arc/arc.c: Likewise.
24377         * config/arm/arm.c: Likewise.
24378         * config/arm/thumb.c: Likewise.
24379         * config/c4x/c4x.c: Likewise.
24380         * config/clipper/clipper.c: Likewise.
24381         * config/convex/convex.c: Likewise.
24382         * config/fx80/fx80.c: Likewise.
24383         * config/i860/i860.c: Likewise.
24384         * config/m68k/m68k.c: Likewise.
24385         * config/m88k/m88k.c: Likewise.
24386         * config/mips/mips.c: Likewise.
24387         * config/pdp11/pdp11.c: Likewise.
24388         * config/pyr/pyr.c: Likewise.
24389         * config/romp/romp.c: Likewise.
24390         * config/sh/sh.c: Likewise.
24391         * config/tahoe/tahoe.c: Likewise.
24392         * config/vax/vax.c: Likewise.
24393         * config/we32k/we32k.c: Likewise.
24394         * config/sparc/sparc.c: Include "function.h".
24395         (mem_min_alignment): Test current_function rather than
24396         regno_pointer_align.
24397         * config/pa/pa.c: Likewise.
24398         (compute_frame_size): Delete declaration of
24399         current_function_outgoing_args_size.
24400         * config/arc/arc.h (current_function_varargs): Delete declaration.
24401         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
24402         declaration.
24403         * config/i370/i370.h (current_function_outgoing_args_size): Delete
24404         declaration.
24405         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
24406         current_function_uses_pic_offset_table.
24407         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
24408         of current_function_returns_pointer.
24409         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24410         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24411         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24412         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24413         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24414         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24415         * config/m88k/m88k.c: Include "function.h"
24416         (call_used_regs, current_function_pretend_args_size,
24417         current_function_outgoing_args_size, frame_pointer_needed): Delete
24418         declarations.
24419         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
24420         declaration.
24421         * config/mips/mips.h (current_function_calls_alloca): Delete
24422         declaration.
24423         * config/mn10200/mn10200.h (current_function_needs_context,
24424         rtx_equal_function_value_matters): Delete declarations.
24425         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
24426         flag_pic): Delete declarations.
24427         * config/pa/pa.h (current_function_pretend_args_size,
24428         current_function_decl): Delete declarations.
24429         * config/pa/som.h (current_function_varargs): Delete declaration.
24430         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
24431         declaration.
24432         * config/pyr/pyr.h (current_function_pretend_args_size,
24433         current_function_args_size, current_function_calls_alloca): Delete
24434         declarations.
24435         * config/sh/sh.h (current_function_varargs): Delete declaration.
24436         * config/sparc/sparc.h (current_function_outgoing_args_size,
24437         current_function_calls_alloca, current_function_decl): Delete
24438         declarations.
24439         * config/spur/spur.h (current_function_pretend_args_size,
24440         current_function_calls_alloca): Delete declarations.
24441         * config/v850/v850.c (current_function_outgoing_args_size): Delete
24442         declaration.
24443         * config/vax/vms.h (current_function_name): Delete declaration.
24444         * gcse.c: Include "function.h".
24445         (current_function_name, current_function_calls_setjmp): Delete
24446         declarations.
24447         * haifa-sched.c: Include "function.h".
24448         (forced_labels): Delete declaration.
24449         * jump.c: Likewise.
24450         * reg-stack.c: Likewise.
24451         * reload1.c: Likewise.
24452         * genemit.c (main): Make generated file include function.h.
24453         * genoutput.c (output_prologue): Likewise.
24454
24455         * builtins.c (saveregs_value, apply_args_value): Delete variables.
24456         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
24457         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
24458         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
24459         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
24460         macros for some of them.
24461         (emit_filename, emit_lineno): Delete declarations.
24462         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
24463         regno_pointer_* variables through current_function.
24464         (gen_inline_header_rtx): Delete function.
24465         (save_emit_status): Delete function.
24466         (set_new_last_label_num): New function.
24467         (clear_emit_caches): New function.
24468         (restore_emit_status): Just clear last_labelnum and call
24469         clear_emit_caches.
24470         (get_last_insn_anywhere): Variable sequence_stack is now accessed
24471         through macro seq_stack.
24472         (add_insn_after): Likewise.
24473         (add_insn_before): Likewise.
24474         (remove_insn): Likewise.
24475         (pop_topmost_sequence): Likewise.
24476         (in_sequence_p): Likewise.
24477         (start_sequence_for_rtl_expr): Likewise.
24478         (start_sequence): Likewise, and likewise for
24479         sequence_rtl_expr/seq_rtl_expr.
24480         (push_topmost_sequence): Likewise.
24481         (end_sequence): Likewise.
24482         (init_virtual_regs): Now takes a "struct emit_status *" argument.
24483         All callers changed.  Store into that pointer instead of globals.
24484         (init_emit): Allocate emit elt of current_function.
24485         Changes for sequence_rtl_expr/sequence_stack renaming.
24486         Call clear_emit_caches instead of doing it in-line.
24487         Access regno_pointer_* variables through current_function.
24488         (init_emit_once) Don't clear sequence_stack.
24489
24490         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
24491         Delete variables.
24492         (arg_pointer_save_area): Delete declaration.
24493         (finish_expr_for_function): Renamed from init_queue; no longer static.
24494         (init_expr): Don't call init_queue.
24495         (save_expr_status, restore_expr_status): Delete functions.
24496         (expand_expr): Changes to reflect new layout of struct function.
24497         Don't access current_function_check_memory_usage when current_function
24498         is 0.
24499         * expr.h (forced_labels, save_expr_regs, saveregs_value,
24500         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
24501         current_function_outgoing_args_size, current_function_arg_offset_rtx,
24502         current_function_uses_const_pool, function_call_count,
24503         current_function_uses_pic_offset_table, nonlocal_labels,
24504         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
24505         current_function_check_memory_usage, nonlocal_goto_handler_slots,
24506         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
24507         declarations.
24508         (finish_expr_for_function): Declare.
24509         * flags.h (current_function_has_nonlocal_label,
24510         current_function_has_nonlocal_goto, current_function_is_thunk,
24511         current_function_has_computed_jump): Delete declarations.
24512         * flow.c (forced_labels): Delete declaration.
24513         * function.c (current_function_pops_args,
24514         current_function_returns_struct, current_function_returns_pcc_struct,
24515         current_function_needs_context, current_function_calls_setjmp,
24516         current_function_calls_longjmp, current_function_has_nonlocal_label,
24517         current_function_has_nonlocal_goto, current_function_is_thunk,
24518         current_function_has_computed_jump, current_function_calls_alloca,
24519         current_function_contains_functions, current_function_returns_pointer,
24520         current_function_epilogue_delay_list, current_function_args_size,
24521         current_function_pretend_args_size, current_function_arg_offset_rtx,
24522         current_function_outgoing_args_size, current_function_varargs,
24523         current_function_stdarg, current_function_args_info, cleanup_label,
24524         current_function_name, current_function_uses_const_pool,
24525         current_function_instrument_entry_exit, current_function_return_rtx,
24526         current_function_uses_pic_offset_table, nonlocal_labels,
24527         current_function_internal_arg_pointer, current_function_cannot_inline,
24528         current_function_check_memory_usage, function_call_count,
24529         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
24530         nonlocal_goto_stack_level, return_label, save_expr_regs,
24531         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
24532         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
24533         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
24534         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
24535         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
24536         Delete variables.
24537         (push_function_context_to): Don't save them.  Don't call
24538         save_storage_status, save_emit_status or save_expr_status.
24539         (pop_function_context_from): Don't restore them.  Don't call
24540         restore_storage_status or restore_expr_status.
24541         (get_func_frame_size): New function.
24542         (get_frame_size): Use it.
24543         (assign_outer_stack_local): Reflect some member name changes in struct
24544         function.
24545         (put_reg_into_stack): Likewise.
24546         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
24547         seq_rtl_expr.
24548         (fixup_var_refs): Likewise.
24549         (fix_lexical_addr): Likewise.
24550         (trampoline_address): Likewise.
24551         (prepare_function_start): Clear field inlinable of current_function.
24552         (init_function_for_compilation): New function.
24553         (expand_dummy_function_end): New function.
24554         (expand_function_end): Call finish_expr_for_function.
24555         * function.h (struct emit_status): New; fields moved here from struct
24556         function and from global variables.  Add accessor macros for some of
24557         the fields.
24558         (struct expr_status): Likewise.
24559         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
24560         (struct function): Add fields expr and emit, inlinable, inl_emit,
24561         original_arg_vector, original_decl_initial, inl_last_parm_insn,
24562         inl_max_label_num.  Add many comments.
24563         Add accessor macros for all elts of struct function that no longer
24564         have a global variable.
24565         (cleanup_label, return_label, frame_offset, tail_recursion_label,
24566         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
24567         stack_slot_list): Delete declarations.
24568         (get_func_frame_size): Declare.
24569         (save_expr_status, restore_expr_status, save_emit_status,
24570         save_storage_status, restore_storage_status): Delete declarations.
24571         (init_virtual_regs): Declare.
24572         * output.h (current_function_pops_args,
24573         current_function_returns_struct, current_function_returns_pcc_struct,
24574         current_function_needs_context, current_function_calls_setjmp,
24575         current_function_calls_longjmp, current_function_calls_alloca,
24576         current_function_has_nonlocal_label, current_function_varargs,
24577         current_function_has_computed_jump, current_function_returns_pointer,
24578         current_function_contains_functions, current_function_args_size,
24579         current_function_pretend_args_size, current_function_stdarg,
24580         current_function_outgoing_args_size, current_function_args_info,
24581         current_function_name, current_function_return_rtx,
24582         current_function_epilogue_delay_list,
24583         current_function_uses_const_pool, current_function_cannot_inline):
24584         Delete declarations.
24585         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
24586         regno_reg_rtx): Delete declaration.
24587         (REGNO_POINTER_FLAG): Delete macro.
24588         * stmt.c (expand_goto): Changes to reflect that some fields in struct
24589         function were renamed.
24590         * stor-layout.c (save_storage_status, restore_storage_status): Delete
24591         functions.
24592         * toplev.c: Include "function.h".
24593         (current_function_decl): Delete declaration.
24594         (compile_file): Call init_dummy_function_start and
24595         expand_dummy_function_end around some initializations that need to
24596         emit rtl.
24597         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
24598         Call init_function_for_compilation.
24599         * unroll.c: Include "function.h"
24600         (unroll_loop): Access regno_pointer_* variables through
24601         current_function.
24602
24603         * tree.h (struct tree_decl): Add elt f to saved_insns member.
24604         (DECL_SAVED_INSNS): use it.
24605         (expand_dummy_function_end): Declare.
24606         (init_function_for_compilation): Declare.
24607         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
24608         that it's no longer an INLINE_HEADER.
24609         (expand_call): Likewise.
24610         * integrate.c (finish_inline): Delete function.
24611         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
24612         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
24613         args.  Don't generate an INLINE_HEADER rtx, just return the arg
24614         vector.  All callers changed.
24615         (save_for_inline_copying):  Create a duplicate struct emit_status to
24616         hold the emit state for compiling the current function.  Use this and
24617         the other new fields in struct function that are for integration
24618         instead of an INLINE_HEADER.
24619         Use memcpy instead of bcopy.
24620         Store the current struct function in DECL_SAVED_INSNS of fndecl.
24621         (save_for_inline_nocopy): Similar changes, except no new emit_status
24622         is needed here.
24623         (expand_inline_function): Get information from function structure,
24624         not from an inline header rtx.
24625         (output_inline_function): Lose code to extract the necessary
24626         information from an inline header; simply put back the function
24627         structure into current_function.  Clear its inlinable elt.
24628         * rtl.def (INLINE_HEADER): Delete.
24629         * rtl.h: Delete all accessors for an INLINE_HEADER.
24630         (gen_inline_header_rtx): Delete declaration.
24631         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
24632         Delete declarations.
24633         (REGNO_POINTER_ALIGN): Delete.
24634         (clear_emit_caches): Declare.
24635         (set_new_last_label_num): Declare.
24636
24637 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
24638
24639         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
24640
24641         * except.c (expand_eh_region_start_for_decl): Always start a new block.
24642         * stmt.c (is_eh_region): Make sure current_function is present, too.
24643
24644 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
24645
24646         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
24647         for 64bit PA targets.
24648
24649         * pa.h (SELECT_SECTION): Define.
24650         * som.h (SELECT_SECTION): Delete.
24651
24652 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24653
24654         * alias.c (init_alias_analysis): Wrap call to
24655         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
24656
24657 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
24658
24659         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
24660         <sys/asm.h> contains an asm comment with an apostrophe
24661         * fixinc/inclhack.sh:  regen
24662         * fixinc/fixincl.x:  regen
24663
24664 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
24665
24666         * function.c (init_function_start): Clear prologue & epilogue.
24667         (prologue_epilogue_contains): New function.
24668         * alias.c (init_alias_analysis): Use it.
24669         * rtl.h (prologue_epilogue_contains): Declare it.
24670
24671 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
24672
24673         * jump.c (onlyjump_p): New function.
24674         * rtl.h: Declare it.
24675         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
24676         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
24677
24678 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
24679
24680         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
24681         to invert loops.  Simplify block scanning.
24682
24683 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
24684
24685         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
24686         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
24687
24688 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
24689
24690         * config/sparc/liteelf.h: New file to support sparclite-elf target
24691         * config/sparc/t-sp86x: New file to support sparc86x targets
24692         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
24693         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
24694         * configure.in: Support above target triplets
24695         * configure: Regenerated
24696
24697 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
24698
24699         * fixinc/server.c (server_setup): Do not prefix function used as
24700         parameter with `&'.
24701
24702 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
24703
24704         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
24705         Remove fp reg alternatives.
24706
24707 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
24708
24709         * Makefiin (TAROUTOPTS): Kill.
24710         (install-headers-tar): Use "xpf" for tar headerfile extraction
24711         * i370/x-oe (TAROUTOPTS): Delete.
24712         * m68k/x-apollo68 (TAROUTOPTS): Delete.
24713         * m68k/x-hp320 (TAROUTOPTS): Delete.
24714         * m68k/x-hp320g (TAROUTOPTS): Delete.
24715         * gcc.texi: Update bug reporting text.
24716
24717 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
24718
24719         * reg-stack.c (change_stack) Fixed problem with negative array index.
24720
24721 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
24722
24723         * extend.texi, install.texi: Fix spelling mistakes.
24724
24725         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
24726         (s-attrtab); No longer try to use pre-made insn-attrtab file.
24727         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
24728         PREMADE_ATTRTAB_MD.
24729         * mips/t-ecoff: Likewise.
24730         * mips/t-elf: Likewise.
24731         * mips/t-mips: Likewise.
24732         * mips/t-osfrose: Likewise.
24733         * mips/t-r3900: Likewise.
24734         * mips/t-svr3: Likewise.
24735         * mips/t-svr4: Likewise.
24736         * mips/t-ultrix: Likewise.
24737
24738         * gcc.texi: Document recommend means to provide software floating
24739         point libraries in libgcc.a
24740
24741 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
24742
24743         * c-lex.c (yylex): We can have a number with no digits.
24744
24745 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
24746
24747         * jump.c (delete_prior_computation): New function, broken
24748         out of delete_computation.  Check for side effects with
24749         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
24750         multi-word hard registers.
24751         (delete_computation): Use it.  Check for side effects with
24752         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
24753         missing REG_DEAD note for a register which is both set and
24754         used by an insn.
24755
24756 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
24757
24758         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
24759         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
24760         (ASM_FILE_START): Import _mcount with the right type.
24761         (ASM_DECLARE_FUNCTION_NAME): Define.
24762         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
24763         * pa.c (output_function_prologue): Always emit the function's label
24764         here.
24765         * pa.h (TEXT_SPACE_P): Define.
24766         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
24767         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
24768         * som.h (TEXT_SPACE_P): Delete.
24769         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
24770         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
24771
24772 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
24773
24774         * expr.c (emit_group_load): Allow src to be a CONCAT.
24775
24776 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24777
24778         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
24779         (___mulsi3): Use '!' comment character.
24780
24781 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24782
24783         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
24784
24785 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
24786
24787         * gcc.c: Update URLs and mail addresses.
24788         * gcc.texi: Likewise.
24789
24790 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
24791
24792         * rs6000.c (current_file_function_operand): Return zero for
24793         weak functions.
24794         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
24795         weak symbols.
24796         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
24797         for weak symbols.
24798
24799 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
24800
24801         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
24802         allocate space in the stack frame for the PIC register.
24803
24804 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
24805
24806         * m68k.md (xordi3, anddi3): These patterns are not available on
24807         the coldfire.
24808
24809 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
24810
24811         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
24812         (PUT_REAL): Likewise.
24813
24814 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24815
24816         * final.c (shorten_branches): Don't add an alignment for loops
24817         that have no label inside.
24818
24819 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24820
24821         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
24822         prototypes in macro HAVE_cmpstrsi.
24823
24824         * cpplib.c (cpp_get_token): Remove unused label `op3'.
24825
24826         * emit-rtl.c (operand_subword): Remove unused variable
24827         `bits_per_word'.
24828
24829         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
24830
24831         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
24832
24833 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
24834
24835         * cpphash.c (macroexpand): Delete leading whitespace when arg
24836         is concatenated before.
24837         (unsafe_chars): Correct test for whether + and - can extend a
24838         token.
24839
24840         * cppinit.c (cpp_start_read): Do dependencies for
24841         -include/-imacros files also.
24842
24843         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
24844         tokenizing non-directive lines.
24845         (cpp_expand_to_buffer): Temporarily disable no-output mode.
24846         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
24847         the input file.
24848
24849 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
24850
24851         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
24852
24853         * c-lex.c: Sync with C++ frontend.
24854         (linemode): New variable.
24855         (parse_float): imag, conversion_errno, and type are output only.
24856         (yylex): Adjust.  Move initial '.' case into main switch.
24857         Use linemode.
24858         (handle_generic_pragma): Just deal with tokens.
24859         (readescape): Use ISXDIGIT and ISGRAPH.
24860         * c-parse.in: Add END_OF_LINE token.
24861
24862         * c-lex.c (lang_init): Generalize.
24863         (nextchar): Remove.  Replace uses with UNGETC.
24864         (skip_white_space): Handle linemode here.  Optimize for cpplib.
24865         (skip_white_space_on_line): Remove.
24866         (extend_token_buffer_to): New fn.
24867         (extend_token_buffer): Use it.
24868         (read_line_number, check_newline): Just deal with tokens.
24869         (token_getch, token_put_back): New fns.
24870         (yylex): Use them.  More cpplib optimizations.  Simplify.
24871
24872 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
24873                           Jason Merrill  <jason@yorick.cygnus.com>
24874
24875         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
24876         (consume_string): Make this smart about USE_CPPLIB.
24877         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
24878         (yylex): Rewrite to be intelligent about USE_CPPLIB.
24879         Also, clean up cases where we redundantly set token_buffer[0].
24880         (read_line_number): New fn.
24881         (ignore_escape_flag): New variable.
24882
24883 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
24884
24885         * a29k/t-a29kbare: Fix some comments.
24886         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
24887         (FPBIT, DPBIT): Define.
24888         * a29k/t-vx29k: Likewise.
24889         * arc/t-arc: Likewise.
24890         * arm/t-arm-elf: Likewise.
24891         * arm/t-bare: Likewise.
24892         * arm/t-pe: Likewise.
24893         * arm/t-pe-thumb: Likewise.
24894         * arm/t-semi: Likewise.
24895         * arm/t-thumb: Likewise.
24896         * arm/t-thumb-elf: Likewise.
24897         * arm/t-thumb-linux: Likewise.
24898         * h8300/t-h8300: Likewise.
24899         * i960/t-i960: Likewise.
24900         * i960/t-vxworks960: Likewise.
24901         * m32r/t-m32r: Likewise.
24902         * mips/t-ecoff: Likewise.
24903         * mips/t-elf: Likewise.
24904         * mips/t-r3900: Likewise.
24905         * pa/t-pro: Likewise.
24906         * rs6000/t-aix43: Likewise.
24907         * rs6000/t-beos: Likewise.
24908         * rs6000/t-newas: Likewise.
24909         * rs6000/t-ppccomm: Likewise.
24910         * rs6000/t-rs6000: Likewise.
24911         * rs6000/t-winnt: Likewise.
24912         * rs6000/t-xnewas: Likewise.
24913         * rs6000/t-xrs6000: Likewise.
24914         * sh/t-sh: Likewise.
24915         * sparc/t-elf: Likewise.
24916         * sparc/t-sparcbare: Likewise.
24917         * sparc/t-sparclite: Likewise.
24918         * sparc/t-splet: Likewise.
24919         * v850/t-v850: Likewise.
24920         * mn10200/t-mn10200: Fix comments.
24921         * mn10300/t-mn10300: Likewise.
24922
24923         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
24924         dummy operand.  Allocate a new pseudo for the dummy operand.
24925         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
24926
24927         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
24928
24929 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
24930
24931         * configure: Rebuilt.
24932         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
24933
24934 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
24935
24936         * recog.c (preproces_constraints): Zero recog_op_alt before
24937         processing the constraints.
24938
24939         * arm.c (typedef minipool_node): Renamed from pool_node.
24940         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
24941         (add_minipool_constant): New function.
24942         (dump_minipool): New function.
24943         (find_barrier): Remove special case for getting the insn size of
24944         an insn that references the constant pool.
24945         (minipool_fixup): New structure.
24946         (push_minipool_barrier): New function.
24947         (push_minipool_fix): New function.
24948         (note_invalid_constants): New function.
24949         (add_pool_constant, dump_table, fixit, broken_move): Delete.
24950         (arm_reorg): Rewrite code to fix up the constant pool into a
24951         series of mini-pools embedded in the insn stream.
24952         (arm_output_epilogue): New function, made mainly from the body
24953         of output_func_epilogue.
24954         (output_func_epilogue): Move insn generation part of epilogue code
24955         to arm_output_epilogue.
24956         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
24957         * arm.md (pool_range): New attribute.
24958         (zero_extendqidi2): Add attribute pool_range.
24959         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
24960         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
24961         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
24962         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
24963         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
24964         (epilogue): New expand.
24965         (epilogue_insn): New insn.  Call arm_output_epilogue.
24966
24967         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
24968         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
24969
24970 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
24971
24972         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
24973
24974 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
24975
24976         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
24977
24978 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
24979
24980         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
24981
24982 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
24983
24984         * global.c: Fix comment.
24985
24986 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
24987
24988         * gcc.c (access_check): New static function.
24989         (find_a_file): Use it when searching a directory list.
24990         * collect2.c (find_a_file): Don't accept directories found when
24991         searching a directory list.
24992
24993 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
24994
24995         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
24996         function parameters with `&'.
24997         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
24998
24999 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
25000
25001         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
25002         or tidy_fallthru_edge if the last insn in the block is not
25003         an unconditional jump or a simple conditional jump.
25004
25005 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25006
25007         * Makefile.in (c-decl.o): Depends on defaults.h.
25008
25009 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
25010
25011         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
25012         PA1.1 and above.
25013         (CLASS_MAX_NREGS): Likewise.
25014
25015 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
25016
25017         * cse.c (cse_insn): Fix dumb thinko in last change.
25018
25019 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25020
25021         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
25022         "const char *".
25023
25024 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
25025
25026         * dwarf2out.c (add_location_or_const_value_attribute): Correct
25027         test for sizes of passed and declared parameter types.
25028
25029 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25030
25031         * fixincludes: Fix the return type of bsearch, char* -> void*.
25032
25033         * fixinc/inclhack.def: Likewise.
25034
25035 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
25036
25037         * invoke.texi (-fdump-translation-unit): New option.
25038
25039 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
25040
25041         * expr.h (PROMOTE_PROTOTYPES): Move ...
25042         * defaults.h: ... to here.
25043         * c-decl.c: Include defaults.h instead of expr.h.
25044         * c-typeck.c: Include defaults.h.
25045
25046 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
25047
25048         * toplev.h (errorcount): Declare.
25049         (warningcount): Likewise.
25050         (sorrycount): Likewise.
25051         * c-lex.c (errorcount): Don't declare.
25052         * dwarf2out.c (errorcount): Don't declare.
25053
25054 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
25055
25056         * config/libgloss.h: Add a note discouraging use with ELF.
25057         * configure.in: Don't use libgloss.h for ELF targets.
25058         Always use_collect2 on a.out targets.
25059
25060 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
25061
25062         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
25063         (force_to_mode, case ASHIFTRT): Add shiftrt label.
25064
25065 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25066
25067         * loop.c (strength_reduce): When doing biv->giv conversion, update
25068         reg note of NEXT->insn.
25069
25070 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25071
25072         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
25073
25074 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25075
25076         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
25077         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
25078         Ensure expr.h is included.
25079         * c-typecheck.c (convert_arguments): Ditto.
25080
25081         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
25082
25083         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
25084         * config/convex/convex.h: Ditto.
25085         * config/dsp16xx/dsp16xx.h: Ditto.
25086         * config/fx80/fx80.h: Ditto.
25087         * config/gmicro/gmicro.h: Ditto.
25088         * config/i370/i370.h: Ditto.
25089         * config/i386/i386.h: Ditto.
25090         * config/m32r/m32r.h: Ditto.
25091         * config/m68k/m68k.h: Ditto.
25092         * config/m88k/m88k.h: Ditto.
25093         * config/mips/mips.h: Ditto.
25094         * config/pa/pa.h: Ditto.
25095         * config/pyr/pyr.h: Ditto.
25096         * config/tahoe/tahoe.h: Ditto.
25097         * config/we32k/we32k.h: Ditto.
25098
25099         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
25100         based on arch size.
25101
25102         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
25103
25104         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
25105         from comment.
25106
25107         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
25108
25109 1999-08-02  Richard Henderson  <rth@cygnus.com>
25110
25111         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
25112         for the register spill block.
25113         (m32r_va_arg): New.
25114         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
25115         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
25116
25117         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
25118         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
25119         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
25120
25121 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25122
25123         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
25124         MAX_WCHAR_TYPE defined in sparc.h.
25125         * config/sparc/linuxaout.h: Likewise.
25126         * config/sparc/linux64.h: Likewise.
25127         Also default to -mvis if CPU is UltraSPARC.
25128
25129 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25130
25131         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
25132         (RTX_OK_FOR_OLO10): Likewise.
25133         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
25134         %lo(), allow it in addresses...
25135         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
25136         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
25137         does not make sense.
25138         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
25139         (sparc_output_scratch_registers): New function.
25140         (output_function_prologue, sparc_flat_output_function_prologue): Use
25141         it.
25142         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
25143         defined.
25144         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
25145         * configure.in: Add check for .register pseudo-op support in as and
25146         check for offsetable %lo().
25147         * acconfig.h: Add templates for the above checks.
25148         * configure: Regenerate.
25149
25150 1999-08-02  Richard Henderson  <rth@cygnus.com>
25151
25152         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
25153         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
25154         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
25155
25156 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25157
25158         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
25159         reg_biv_class.
25160
25161 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25162
25163         * config/float-sparc.h: New file.
25164         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
25165         sparc-*-linux-gnu and sparc64-*-linux*.
25166
25167 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25168
25169         * rs6000.c (rs6000_va_list): Type is an array.
25170         (rs6000_va_start): Don't doubly adjust for varargs.
25171         (rs6000_va_arg): Evaluate long long GPR adjustment.
25172
25173 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
25174
25175         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
25176         -maix64 and -maix32.
25177         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
25178         LINK_SPEC): Change appropriately.
25179         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
25180         (u_short_cint_operand): Likewise.
25181         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
25182         for 64-bit hosts.
25183         * rs6000/t-aix43 (MULTILIB): Change to -m64.
25184
25185         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
25186
25187 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
25188
25189         * rs6000/rs6000.c (num_insns_constant_wide): Correct
25190         for type promotion.
25191         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
25192         (non_add_cint_operand): Likewise.
25193         (logical_operand): Likewise.
25194         (non_logical_cint_operand): Likewise.
25195         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
25196         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
25197         (rs6000_select_rtx_section): Suppress warning.
25198         (small_data_operand): Suppress warning.
25199         (rs6000_got_register): Suppress warning.
25200         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
25201         type, so `J' is generally the wrong constraint for a SImode value;
25202         use `L' instead.
25203         (andsi3_internal2): Likewise.
25204         (andsi3_internal3): Likewise.
25205         (iorsi3_internal1): Likewise.
25206         (xorsi3_internal1): Likewise.
25207         (movsi): Likewise.
25208         (movsf_softfloat): Likewise.
25209         (scc insns): Likewise.
25210         (movsi+2): Preserve sign bits of SImode constant.
25211         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
25212         (movdf+1): Sign-extend properly.
25213         (movdi_32+1): Sign-extend properly.
25214         (scc insns): Sign-extend properly.
25215
25216         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
25217         K, L, and T.
25218
25219 1999-08-02  Richard Henderson  <rth@cygnus.com>
25220
25221         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
25222         -mcpu parsing code.
25223         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
25224         * alpha.md (all fp insns): Likewise.
25225
25226 1999-08-02  Nick Clifton  <nickc@cygnus.com>
25227
25228         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
25229         already defined.
25230
25231 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
25232
25233         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
25234         pic_load_label generator directly.
25235         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
25236         No longer a named pattern.
25237
25238 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
25239
25240         * explow.c (force_reg): Call force_operand if X does not
25241         satisfy general_operand.
25242
25243 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
25244
25245         * fix-header.c (main): When testing for CONTINUED, use string
25246         equality, not pointer equality.
25247
25248 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
25249
25250         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
25251
25252 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
25253
25254         * cse.c (cse_insn): Fix loop which deletes insns after a jump
25255         that has become an unconditional jump.
25256
25257         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
25258         (output_function_epilogue): Similarly.
25259
25260 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25261
25262         * tree.h (init_dummy_function_start): Declare.
25263
25264 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25265
25266         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
25267         last_expr_type, last_expr_value, block_start_count, block_stack,
25268         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
25269         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
25270         dynamically in stmt elt of struct function for each function.
25271         (struct nesting): Rename function_call_count elt to n_function_calls,
25272         target_temp_slot_level to block_target_temp_slot_level.  All users
25273         changed.
25274         (struct stmt_status): New structure definition.
25275         Add many accessor macros for stmt_status elements which previously
25276         were global variables.
25277         (init_stmt_for_function): Allocate stmt elt for current_function.
25278         Reflect that block_start_count was renamed to
25279         current_block_start_count.
25280         (save_stmt_status, restore_stmt_status): Delete functions.
25281         (preserve_subexpressions_p): Don't access loop_stack when outside
25282         a function.
25283         (expand_start_bindings): Reflect that block_start_count was renamed to
25284         current_block_start_count.
25285         (expand_fixup): Likewise.
25286         (expand_decl): Don't access block_stack when outside a function.
25287         (expand_decl_cleanup): Likewise.
25288         (expand_dcc_cleanup): Likewise.
25289         (expand_dhc_cleanup): Likewise.
25290         (expand_anon_union_decl): Likewise.
25291         (set_file_and_line_for_stmt): New function.
25292         (in_control_zone_p): New function.
25293
25294         * function.h (struct function): Add new elt stmt.
25295         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
25296         case_stack, nesting_stack, nesting_depth, block_start_count,
25297         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
25298         emit_lineno, goto_fixup_chain.
25299         (save_eh_status, restore_eh_status, save_stmt_status,
25300         restore_stmt_status): Delete declarations.
25301         * function.c (push_function_context_to): Don't call save_stmt_status.
25302         (pop_function_context_to): Don't call restore_stmt_status.
25303         * tree.h (in_control_zone_p): Declare.
25304         * rtl.h (set_file_and_line_for_stmt): Declare.
25305
25306         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
25307         call set_file_and_line_for_stmt.
25308
25309 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
25310
25311         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
25312         Also update copyright.
25313
25314 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25315
25316         * c-pragma.c: Don't include "except.h".
25317         * emit-rtl.c: Likewise.
25318         * stor-layout.c: Likewise.
25319         * tree.c: Likewise.
25320         * varasm.c: Likewise.
25321
25322         * flow.c: Include "function.h".
25323         * tree.h (init_dummy_function_start): Declare new function.
25324
25325         * except.h (struct eh_status): New structure.
25326         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
25327         been included.
25328         (eh_return_stub_label, ehstack, catchstack, ehqueue,
25329         catch_clauses, false_label_stack, caught_return_label_stack,
25330         protect_list, current_function_ehc): Add accessor macros for the
25331         corresponding fields in current_function->eh; delete declarations
25332         for all items that used to be declared here.
25333         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
25334         catch_clauses, false_label_stack, caught_return_label_stack,
25335         protect_list, current_function_ehc): Delete variables.
25336         (init_eh_for_function): Allocate current_function->eh.
25337         (save_eh_status, restore_eh_status): Delete functions.
25338
25339         * function.h (struct function): Add fields next_global and eh.
25340         Delete all exception handling related fields.
25341         * function.c (current_function): New variable.
25342         (all_functions): New variable.
25343         (push_function_context_to): Don't allocate a struct function,
25344         use current_function instead.  Call init_dummy_function_start when
25345         outside a function.  Clear current_function before returning.
25346         (pop_function_context_from): Restore current_function.
25347         Don't free the restored struct function.
25348         (prepare_function_start): New function.
25349         (init_dummy_function_start): New function.
25350         (init_function_start): Break out some code into prepare_function_start
25351         and call it here.
25352
25353         * stmt.c (save_stmt_status): Don't call save_eh_status.
25354         (restore_stmt_status): Don't call restore_eh_status.
25355
25356         * Makefile.in: Update dependencies.
25357
25358 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
25359
25360         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
25361         of depending on a magic constant value.  Update comments.
25362         (hppa_expand_prologue): Similarly.
25363
25364         * pa.md (reload_indi, reload_outdi): Allow any register for the
25365         original reload register.
25366
25367 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
25368
25369         * cccp.c (print_help): Change marcos to macros.
25370
25371 1999-07-30  Richard Henderson  <rth@cygnus.com>
25372
25373         * c-typeck.c (initializer_constant_valid_p): Move ...
25374         * c-common.c (initializer_constant_valid_p): ... here.  Use
25375         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
25376         of label addresses.
25377         * c-common.h (initializer_constant_valid_p): Declare.
25378         * c-tree.h (initializer_constant_valid_p): Remove.
25379
25380 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
25381
25382         * config/i386/sol2-c1.asm: Align the stack.
25383         * config/i386/sol2-gc1.asm: Likewise.
25384
25385 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
25386
25387         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
25388         -Asparclite for sparc86x.
25389         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
25390         sparc86x.
25391         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
25392
25393 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
25394
25395         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
25396         the user if using the non-default arch size in BI_ARCH configuration.
25397         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
25398
25399         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
25400         Fix patterns so that they actually match.
25401         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
25402         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
25403         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
25404         TARGET_HARD_MUL32.
25405         (mulsidi3): Reflect this in the expand.
25406         (smulsi3_highpart): Only on TARGET_ARCH32.
25407         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
25408         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
25409         (umulsidi3): Reflect this in the expand.
25410         (umulsi3_highpart): Only on TARGET_ARCH32.
25411         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
25412         don't require g0 to be zero.
25413         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
25414         ({,u}divsi3): New expands.
25415         ({,u}divsi3_sp64): New patterns.
25416         (after lshrdi3_v8plus): Four new patterns to help combiner
25417         optimizing nested mixed mode shifts.
25418
25419         * config/sparc/sparc.c (sparc_override_options): Use deprecated
25420         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
25421         speed things up. Don't use them by default on plain v9 in 64bit
25422         mode, according to what SPAMv9 sais.
25423
25424         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
25425         top 32 bits of %[og][0-7] in signal handlers.
25426         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
25427
25428 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
25429
25430         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
25431         (ashlsi3): Corresponding changes.
25432
25433         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
25434
25435 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
25436
25437         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
25438
25439 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25440
25441         * arm.h (Hint): Delete macro.
25442         Substitute HOST_WIDE_INT for Hint in some prototypes.
25443         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
25444
25445 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
25446
25447         * builtins.c (expand_builtin_setjmp): Use force_operand to
25448         make sure that the buffer address is in a suitable form to be
25449         passed to force_reg.
25450
25451 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
25452
25453         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
25454         them here.
25455
25456 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
25457
25458         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
25459         proper mode in the condition string.
25460         (icacheflush, dcacheflush): Remove modes from match_operands.
25461
25462         * pa.c (emit_move_sequence): Always convert scratch_reg to the
25463         proper mode before using it.
25464
25465         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
25466         pair.
25467
25468         * pa.c (store_reg): Do not call add_high_const generator directly.
25469         (load_reg, set_reg_plus_d): Likewise.
25470         * pa.md (add_high_const): No longer a named pattern.
25471
25472         * pa.c (legitimize_address): Consistently use Pmode rather than
25473         SImode.  Do not call gen_pic2_highpart directly anymore.
25474         * pa.md (pic2_highpart): No longer a named pattern.
25475         (pic2_lo_sum): Similarly.  Reformat to make more readable.
25476
25477         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
25478         needed.
25479
25480         * README: Update.
25481
25482 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25483
25484         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
25485
25486 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
25487
25488         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
25489         and tag the spill mems.
25490         (hppa_va_start): New.
25491         (hppa_va_arg): New.
25492         * pa.h (EXPAND_BUILTIN_VA_START): New.
25493         (EXPAND_BUILTIN_VA_ARG): New.
25494
25495 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
25496
25497         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
25498         and tag the spill mems.
25499         (mn10300_va_start): New.
25500         (mn10300_va_arg): New.
25501         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
25502         (EXPAND_BUILTIN_VA_ARG): New.
25503
25504 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
25505
25506         * mn10200.c (mn10200_va_arg): New.
25507         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
25508
25509 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
25510
25511         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
25512         rather than play with TREE_INT_CST_LOW.
25513
25514 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
25515
25516         * config/arm/telf.h: Include dbxelf.h.
25517         (CPP_PREDEFINES): Only define if not already defined.
25518         (ASM_IDENTIFY_GCC): Likewise.
25519         (SUBTARGET_EXTRA_SECTIONS): Likewise.
25520         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
25521         * config/arm/thumb.h (LINK_SPEC): Only define if not already
25522         defined.
25523         (DBX_DEBUGGING_INFO): Don't define.
25524         * config/arm/linux-telf.h: New file.
25525         * config/arm/linux-tgas.h: New file.
25526         * config/arm/t-thumb-linux: New file.
25527         * config/arm/uclinux-elf.h: New file.
25528         * config/arm/uclinux-telf.h: New file.
25529         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
25530         thumb-*-uclinux): New targets.
25531         * configure: Regenerate.
25532
25533 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
25534
25535         * pa.md (post_store, pre_load): New expanders.
25536         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
25537         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
25538         need to directly generate RTL for them.
25539         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
25540         changes.
25541
25542 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
25543
25544         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
25545         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
25546         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
25547         (secndary_reload_class): Make TARGET_ELF conditional compile.
25548         (print_operand_address): Similar.
25549         (output_toc): Print all values as hex.
25550         (get_issue_rate): Rearrange and add RS64A and PPC630.
25551         * rs6000.h (processor_type): Add RS64A and PPC630.
25552         (PROCESSOR_POWERPC64): New.
25553         (PROMOTE_MODE): Use word_mode.
25554         (RTX_COSTS): Add RS64A and PPC630.
25555         * rs6000.md (scheduling information): Add lmul and ldiv
25556         representing 64-bit integer multiply and divide.  Add rs64a and
25557         PPC630 information.
25558         (ashldi3): Add support for "rldic" instruction.
25559         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
25560
25561 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
25562
25563         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
25564         instead of V8 for sparclite86x in cpu_table.
25565
25566 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25567
25568         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
25569         output_file_directive.
25570
25571 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
25572
25573         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
25574         tree for op1, not the rtl.
25575
25576 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
25577
25578         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
25579         to m88k_va_start, leaving only the register spill.
25580         (m88k_build_va_list): New.
25581         (m88k_va_start): New.
25582         (m88k_va_arg): New.
25583         * m88k.h (BUILD_VA_LIST_TYPE): New.
25584         (EXPAND_BUILTIN_VA_START): New.
25585         (EXPAND_BUILTIN_VA_ARG): New.
25586
25587 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
25588
25589         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
25590         Rename from expand_builtin_saveregs.
25591         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
25592
25593 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
25594
25595         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
25596         for the register spill block.
25597         (i960_build_va_list): New.
25598         (i960_va_start): New.
25599         (i960_va_arg): New.
25600         * i960.h (BUILD_VA_LIST_TYPE): New.
25601         (EXPAND_BUILTIN_VA_START): New.
25602         (EXPAND_BUILTIN_VA_ARG): New.
25603         * i960.md (store_multiple): Use change_address on individul mems.
25604
25605 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
25606
25607         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
25608         an ARRAY_TYPE.
25609         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
25610         (expand_builtin_va_end): Evaluate arg for side effects.
25611         * c-common.c (c_common_nodes_and_builtins): Construct a
25612         va_list_arg_type_node to handle array decomposition to pointer.
25613
25614 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
25615
25616         * except.c (st_dynamic_cleanup): Use force_operand on the
25617         buffer's address.
25618
25619 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
25620
25621         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
25622         * c4x.c (c4x_va_arg): New.
25623
25624 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
25625
25626         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
25627         has manual_pop set.
25628
25629 1999-07-26  Nathan Sidwell  <nathan@acm.org>
25630
25631         * eh-common.h (__eh_matcher): Prototype correctly.
25632
25633 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
25634
25635         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
25636         (TARGET_SINGLE_PIC_BASE): Likewise.
25637         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
25638         definitions.
25639         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
25640         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
25641         (TARGET_OPTIONS): Add -mpic-register=N.
25642         (OUTPUT_INT_ADDR_CONST): New macro.
25643         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
25644         LEGITIMATE_PIC_OPERAND_P): Likewise.
25645         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
25646         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
25647         output_addr_const directly.
25648         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
25649         ARM port.
25650         (thumb_pic_register, thumb_pic_register_string): Declare.
25651
25652         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
25653         from arm.c.
25654         (label_mentioned_p): New function: Imported from arm.c.
25655         (legitimize_pic_address): New function: Imported from arm.c.
25656         (is_pic):New function: Imported from arm.c.
25657         (thumb_finalize_pic):New function: Imported from arm.c.
25658         (add_constant): Cope with PIC constants.
25659         (fixit): Cope with PIC constants.
25660         (output_return): Do not treat the PIC register as live if
25661         TARGET_SINGLE_PIC_BASE is true.
25662         (thumb_function_prologue): Do not treat the PIC register as live if
25663         TARGET_SINGLE_PIC_BASE is true.
25664         (thumb_expand_prologue): Do not treat the PIC register as live if
25665         TARGET_SINGLE_PIC_BASE is true.
25666         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
25667         TARGET_SINGLE_PIC_BASE is true.
25668         (thumb_print_operand): Accept '|'.
25669         (thumb_override_options): Process PIC options.
25670
25671         * config/arm/thumb.md (movsi): Support PIC.
25672         (call_insn): Change "i" constraint to "X".
25673         (call_value_insn): Likewise.
25674         (consttable_4, consttable_8, consttable_end): Set and clear
25675         "making_const_table" as appropriate.
25676         (pic_load_addr, pic_add_dot_plus_four): New insns.
25677
25678         * invoke.texi (Thumb Options): Fix spelling.  Document new
25679         options -msingle-pic-base and -mpic-register=.
25680
25681 1999-07-26  Andrew Haley  <aph@cygnus.com>
25682
25683         * config/m32r/initfini.c (__init): Use a full word immediate for
25684         __fini: this allows it to be placed in any memory region.
25685
25686         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
25687         -mmodel=medium.  This is OK for all memory models.
25688
25689 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
25690
25691         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
25692         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
25693
25694 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
25695
25696         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
25697         defined.
25698
25699         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
25700
25701 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
25702
25703         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
25704         (BUILD_VA_LIST_TYPE): New.
25705         (EXPAND_BUILTIN_VA_START): New.
25706         (EXPAND_BUILTIN_VA_ARG): New.
25707         * i860.c (output_delayed_branch): Disable.
25708         (output_delay_insn): Likewise.
25709         (i860_saveregs): New.
25710         (i860_build_va_list): New.
25711         (i860_va_start): New.
25712         (i860_va_arg): New.
25713         * i860.md: Disable all peepholes using output_delayed_branch.
25714         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
25715
25716 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
25717
25718         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
25719         (BUILD_VA_LIST_TYPE): New.
25720         (EXPAND_BUILTIN_VA_START): New.
25721         (EXPAND_BUILTIN_VA_ARG): New.
25722         * clipper.c (clipper_builtin_saveregs): Only dump registers.
25723         Return the address of the save area.
25724         (clipper_build_va_list): New.
25725         (clipper_va_start): New.
25726         (clipper_va_arg): New.
25727
25728 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
25729
25730         * arc.h (EXPAND_BUILTIN_VA_START): New.
25731         (EXPAND_BUILTIN_VA_ARG): New.
25732         * arc.c (arc_setup_incoming_varargs): Set alias set of
25733         varargs save area.
25734         (arc_va_start): New.
25735         (arc_va_arg): New.
25736
25737 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
25738
25739         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
25740         (BUILD_VA_LIST_TYPE): New.
25741         (EXPAND_BUILTIN_VA_START): New.
25742         (EXPAND_BUILTIN_VA_ARG): New.
25743         * alpha.c (alpha_builtin_saveregs): Delete.
25744         (alpha_build_va_list): New.
25745         (alpha_va_start): New.
25746         (alpha_va_arg): New.
25747
25748 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
25749
25750         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
25751         column zero.
25752         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
25753         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
25754
25755         * gcc.texi: More changes related to list conversion.
25756         * invoke.texi: Likewise.
25757
25758 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
25759
25760         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
25761         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
25762         (expand_builtin_next_arg): Accept ARGLIST not EXP.
25763         (stabilize_va_list): New function.
25764         (std_expand_builtin_va_start): New function.
25765         (expand_builtin_va_start): New function.
25766         (get_varargs_alias_set): New function.
25767         (std_expand_builtin_va_arg): New function.
25768         (expand_builtin_va_arg): New function.
25769         (expand_builtin_va_end): New function.
25770         (expand_builtin_va_copy): New function.
25771         (expand_builtin): Call them.
25772         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
25773         __builtin_{varargs_start,stdarg_start,end,copy}.
25774         (build_va_arg): New function.
25775         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
25776         (build_va_arg): Declare.
25777         * c-decl.c (ptr_type_node, va_list_type_node): New.
25778         * c-parse.gperf (__builtin_va_arg): New.
25779         * c-parse.in (VA_ARG): New token.
25780         (unary_expr): Recognize it.
25781         * expr.c (expand_expr): Expand VA_ARG_EXPR.
25782         * expr.h (std_expand_builtin_va_start): Declare.
25783         (std_expand_builtin_va_arg): Declare.
25784         (expand_builtin_va_arg): Declare.
25785         (get_varargs_alias_set): Declare.
25786         * tree.def (VA_ARG_EXPR): New.
25787         * tree.h (BUILT_IN_VARARGS_START): New.
25788         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
25789         (ptr_type_node, va_list_type_node): Declare.
25790         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
25791         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
25792         * m88k.h, m88k.c: Likewise.
25793         * mn10300.h, mn10300.c: Likewise.
25794         * pa.h, pa.c: Likewise.
25795         * rs6000.h, rs6000.c: Likewise.
25796         * sh.h, sh.c: Likewise.
25797         * sparc.h, sparc.c: Likewise.
25798
25799         * emit-rtl.c (operand_subword): Copy alias set.
25800         (change_address): Likewise.
25801
25802 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
25803
25804         * pa.c (compute_frame_size): Scan all the used callee saved registers,
25805         not just the first one.
25806
25807 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
25808
25809         * config/arm/arm.h (TARGET_SWITCHES): Add
25810         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
25811         (TARGET_OPTIONS): Add -mpic-register=.
25812         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
25813         (arm_pic_register_string): Declare.
25814         (NEED_PLT_GOT): Delete, replace with ...
25815         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
25816         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
25817         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
25818         * config/arm/arm.c (arm_override_options): Add new option
25819         -mpic-register=N.
25820         (arm_pic_register_string): New variable.
25821         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
25822         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
25823         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
25824         (output_return_instruction): Likewise.
25825         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
25826         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
25827         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
25828
25829         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
25830         mention of -msched-prolog.  Document new options -msingle-pic-base
25831         and -mpic-register=.
25832
25833 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
25834
25835         * haifa-sched.c (reemit_notes): Tidy.
25836         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
25837         haifa's routine.
25838
25839 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
25840
25841         * explow.c (trunc_int_for_mode): New function.
25842         (plus_constant_wide): Use it.
25843         * combine.c (simplify_and_const_int): Likewise.
25844         (merge_outer_ops): Likewise.
25845         (simplify_shift_const): Likewise.
25846         * cse.c (simplify_unary_operation): Likewise.
25847         (simplify_binary_operation): Likewise.
25848         * emit-rtl.c (operand_subword): Likewise.
25849         * rtl.h: Declare it.
25850
25851 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25852
25853         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
25854         (use NUM_REGS instead of NUM_INTS).
25855
25856 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25857
25858         * builtins.c: New file.
25859         * expr.c (saveregs_value, apply_args_value):  Delete definition,
25860         moved into builtins.c.
25861         (string_constant): No longer static.
25862         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
25863         apply_args_size, apply_result_size, result_vector,
25864         expand_builtin_apply_args, expand_builtin_apply,
25865         expand_builtin_return): Delete functions, moved into builtins.c.
25866         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
25867         * expr.h (saveregs_value, apply_args_value): Declare variables.
25868         (expand_builtin, string_constant): Declare functions.
25869         * Makefile.in: Update to build builtin.o.
25870
25871 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
25872
25873         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
25874         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
25875         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
25876         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
25877         false.
25878         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
25879         Define to zero.
25880
25881 1999-07-21  Michael Meissner  <meissner@cygnus.com>
25882
25883         * print-rtl.c (print_rtx): Print the names of the virtual
25884         registers.
25885
25886 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
25887
25888         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
25889         introduced in previous delta.
25890
25891 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25892
25893         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
25894         to avoid name clash.
25895
25896 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25897
25898         * c-lex.c (yylex) : Correct the test for overflow when lexing
25899         integer literals.
25900
25901 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
25902
25903         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
25904         (adjust_priority): Always call ADJUST_PRIORITY.
25905         (schedule_insn): Only put insns into the ready at cost 0.
25906         (schedule_block): Remove redundant initial sort.  Give clock_var
25907         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
25908         is not 0.
25909         * tm.texi (MD_SCHED_REORDER): Update docs.
25910
25911         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
25912         * sparc.c (ultra_reorder_called_this_block): Delete.
25913         (ultrasparc_sched_init): Don't set it.
25914         (ultrasparc_sched_reorder): Don't check it.
25915
25916 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
25917
25918         * rs6000.h (struct rs6000_args): Add sysv_gregno.
25919         * rs6000.c (init_cumulative_args): Init sysv_gregno.
25920         (function_arg_boundary): Align DFmode.
25921         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
25922         to get fp reg and stack overflow correct.
25923         (function_arg): Likewise.
25924         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
25925         (setup_incoming_varargs): Restructure for ABI_V4; use
25926         function_arg_advance to skip final named argument.
25927         (expand_builtin_saveregs): Properly unskip the last integer arg
25928         when doing varargs.  Adjust overflow location calculation.
25929
25930         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
25931         explicitly unsigned.
25932         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
25933         (__VA_GP_REGSAVE): Similarly.
25934         (__va_longlong_p): Delete.
25935         (__va_arg_type_violation): New declaration.
25936         (va_arg): Restructure.  Flag promotion errors.  Align double.
25937         TFmode passed by reference.
25938
25939         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
25940         in the HOST_BITS_PER_WIDE_INT > 32 case.
25941
25942 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
25943
25944         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
25945
25946 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
25947
25948         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
25949         * toplev.c (documented_lang_options): Add -fpreprocessed.
25950         * cpplib.h (struct cpp_buffer): Add preprocessed.
25951         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
25952         (cpp_start_read): Don't expand macros or emit an initial #line
25953         directive if -fpreprocessed.
25954
25955 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
25956
25957         * cpplib.h (struct cpp_buffer): Added manual_pop for
25958         better C++ tokenization.
25959         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
25960         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
25961         * c-common.c (cpp_token): Make non-static.
25962
25963 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25964
25965         * c-common.h: New file.
25966         * c-common.c (permanent_obstack): Delete unused declaration.
25967         (c_global_trees): New array.
25968         (c_common_nodes_and_builtins): New function; split off common code
25969         from init_decl_processing in both c-decl.c and cp/decl.c.
25970         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
25971         c_global_trees and accessor macros defined in c-common.h.
25972         Include c-common.h.
25973         * c-decl.c: Delete definitions for tree nodes that were replaced by
25974         c_global_trees.
25975         (init_decl_processing): Build void_list_node.
25976         Call c_common_nodes_and_builtins; delete code to generate the common
25977         builtins here.
25978         * objc/objc-act.c (build_module_descriptor): Rename variable
25979         void_list_node to avoid clash with c-common.h.
25980
25981         * Makefile.in: Update dependencies.
25982         * objc/Make-lang.in: Likewise.
25983
25984 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
25985
25986         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
25987         (UNIQUE_SECTION_P): Likewise.
25988         (UNIQUE_SECTION): Likewise.
25989
25990 1999-07-19  Linas Vepstas  <linas@linas.org>
25991
25992         * config/i370/README: New file.
25993         * config/i370/linux.h: New file.
25994         * config/i370/mvs.h: New file.
25995         * config/i370/oe.h: New file.
25996         * config/i370/t-linux: New file.
25997         * config/i370/t-mvs: New file.
25998         * config/i370/t-oe: New file.
25999         * config/i370/x-oe: New file.
26000         * config/i370/xm-linux.h: New file.
26001         * config/i370/xm-mvs.h: New file.
26002         * config/i370/xm-oe.h: New file.
26003
26004         * i370.c (label_node_t): Add first_ref_page, label_addr,
26005         label_first_ref, label_last_ref members.
26006         (mvs_need_base_reload): Renamed from mvs_label_emitted.
26007         (MAX_MVS_LABEL_SIZE): Define.
26008         (MAX_LONG_LABEL_SIZE): Define.
26009         (alias_node_t, alias_anchor, alias_number): New.
26010         (mvs_function_table): Reorder for EBCDIC.
26011         (ascebc, ebcasc): Unconditionally define.
26012         (i370_branch_dest, i370_branch_length): New functions.
26013         (i370_short_branch, i370_label_scan): New functions.
26014         (mvs_get_label): Renamed from mvs_add_label.  Search for
26015         an existing label before creating a new one.
26016         (mvs_add_label): New function.
26017         (mvs_get_label_page): New function.
26018         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
26019         over the entire list.
26020         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
26021         (mvs_check_page) [TARGET_ELF_ABI]: New function.
26022         (mvs_add_alias, mvs_need_alias): New functions.
26023         (mvs_get_alias, mvs_check_alias): New functions.
26024         (handle_pragma): New function.
26025         (mvs_function_check): New function.
26026         (unsigned_jump_follows_p): Search harder.
26027         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
26028         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
26029         * i370.h (TARGET_VERSION): Delete.
26030         (CPP_SPEC, CPP_PREDEFINES): Delete.
26031         (mvs_label_emitted): Delete.
26032         (TARGET_EBCDIC): Delete.
26033         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
26034         (HANDLE_PRAGMA): Define.
26035         (HARD_REGNO_NREGS): Handle complex modes.
26036         (HARD_REGNO_MODE_OK): Likewise.
26037         (CLASS_MAX_NREGS): Likewise.
26038         (RET_REG): Likewise.
26039         (EXTRA_CONSTRAINT): Define.
26040         (RETURN_IN_MEMORY): True for DImode.
26041         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
26042         (FUNCTION_PROFILER): Delete.
26043         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
26044         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
26045         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
26046         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
26047         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
26048         (ASM_FILE_START): Add "RMODE ANY".
26049         (ASM_OUTPUT_EXTERNAL): Check for aliases.
26050         (ASM_GLOBALIZE_LABEL): Likewise.
26051         (ASM_OUTPUT_LABELREF): Likewise.
26052         (ASM_OUTPUT_COMMON): Likewise.
26053         (PRINT_OPERAND): Handle 'K', 'W', default.
26054         (PRINT_OPERAND_ADDRESS): New.
26055         (Lots of defines): Add support for TARGET_ELF_ABI.
26056         * i370.md (attr length): New.  Define for all patterns.
26057         (*): Lots of tweeks to assembly output and constraints.
26058
26059 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
26060
26061         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
26062         Disable patterns performing SImode comparisons with SImode values
26063         if TARGET_POWERPC64 and instruction does not sign-extend or does
26064         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
26065         differ for signed quantities.
26066         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
26067         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
26068         (decrement_and_branch_on_count): Add 64-bit variant.
26069
26070 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26071
26072         * final.c (output_asm_insn): When searching for the matching string
26073         for a given dialect, don't run past the end of the list of
26074         alternatives if there are fewer alternatives in the template than
26075         dialects.
26076
26077 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
26078
26079         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
26080         Removed paragraph about compression of files and size limitation,
26081         duplicated in the FAQ.  Use gcc-patches for posting patches.
26082         * gcc.c (main): Updated URL with bug reporting instructions to
26083         gcc.gnu.org.  Removed e-mail address.
26084         * system.h (abort): Likewise.
26085
26086 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
26087
26088         * Makefile.in (stmp-multilib-sub): Make the files extracted
26089         from $(LIBGCC1) writable.
26090
26091 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
26092
26093         * config/arm/aout.h: Reformat for improved readability.
26094
26095         * config/arm/arm.h: Reformat for improved readability.
26096         Replace uses of fprintf with asm_fprintf where appropriate.
26097         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
26098         function declaration assembler actions.
26099         (NUM_INTS): New macro: Convert from bytes to words.
26100         (NUM_REGS): New macro: Compute number of registers required to
26101         hold a quanitity of tyep MODE.
26102         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
26103         types.
26104         (NUM_ARG_REGS): New macro: The number of argument registers
26105         available.
26106         (ARG_REGISTER): New macro: Compute the register number of the Nth
26107         argument register.
26108         (LAST_ARG_REGNUM): New macro: The number of the last argument
26109         register.
26110         (SP_REGNUM): New macro: Register number of the stack pointer.
26111         (FP_REGNUM): New macro: Register number of the frame pointer.
26112         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
26113         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
26114         CUMULATIVE_ARGS so that it counts registers not bytes.
26115
26116         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
26117         TARGET_INTERWORK.
26118         Replace uses of fprintf with asm_fprintf where appropriate.
26119         (output_ascii_pseudo_op): Replace with version from thumb.c
26120
26121         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
26122
26123         * config/arm/elf.h (CPP_PREDEFINES): Replace with
26124         SUBTARGET_CPP_SPEC.
26125         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
26126         (ASM_FILE_START): Emit ASM_APP_OFF.
26127
26128 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
26129
26130         * pa.c (compute_frame_size): Round frame according to
26131         STACK_BOUNDARY rather than a hardwired value.
26132
26133         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
26134
26135         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
26136         of "1".
26137         * configure: Rebuilt.
26138
26139         * configure.in (hppa*-*-linux*): New configuration.
26140         * configure: Rebuilt.
26141         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
26142         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
26143         * pa/pa-linux.h: New file.
26144         * pa/t-linux: New file.
26145         * pa/xm-linux.h: New file.
26146
26147         * pa.c (hppa_legitimize_address): Change references from SImode to
26148         either Pmode or word_mode as appropriate.
26149         (emit_move_sequence, store_reg, load_reg): Likewise.
26150         (set_reg_plus_d, hppa_expand_prologue): Likewise.
26151         (output_mul_insn): Likewise.
26152         * pa.h (PROMOTE_MODE): Likewise.
26153         (INITIALZE_TRAMPOLINE): Likewise.
26154         (Pmode): Define to word_mode.
26155
26156         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
26157         value of 4.  Allocate 8 bytes for each FP register save.
26158         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
26159         value of 4.
26160         (hppa_expand_prologue): Likewise.
26161         * pa.h (PROMOTE_MODE): Likewise.
26162         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
26163         (FUNCTION_ARG_BOUNDARY): Likewise.
26164
26165         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
26166
26167         * pa.c (out_of_line_prologue_epilogue): Delete.
26168         (override_options): Remove -mspace related code.
26169         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
26170         (compute_frame_size): Only allocate space for register that
26171         actually need to be saved.
26172         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
26173         (TARGET_SWITCHES): Remove -mspace, -mno-space
26174         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
26175         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
26176         * pa/ee.asm, pa/ee_fp.asm: Delete.
26177
26178         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
26179
26180         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
26181         directive in column zero.
26182
26183 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
26184
26185         * m68k.c (output_function_prologue): Fix computation of save mask
26186         when generating PIC code.
26187
26188 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
26189
26190         * tree.c (build_type_attribute_variant): Move current_obstack restore
26191         after build_qualified_type call.
26192
26193 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
26194
26195         * configure.in: Use t-iris6, even with GNU LD.
26196         * config/mips/iris6gld.h: Fix typo in linker spec.
26197         * config/mips/t-iris6gld: Remove.
26198
26199 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
26200
26201         * rs6000.md (insv, extzv): Remove SImode dependence in named
26202         patterns.  Explicitly generate DImode RTL if PowerPC64 and
26203         operand is DImode.
26204         (insvdi): Reverse start and size in instruction template.
26205
26206 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
26207
26208         * invoke.texi: Typo fixes.
26209
26210 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
26211
26212         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
26213         handle at this time instead of silently generating incorrect code.
26214         (gen_imagpart): Likewise.
26215
26216         * reload.c (find_reloads): Emit a USE for a pseudo register without
26217         a hard register if we could not create an optional reload for the
26218         pseudo.
26219
26220 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26221
26222         * c-typeck.c (output_init_element, process_init_element):
26223         When advancing constructor_unfilled_fields for a RECORD_TYPE,
26224         check for nameless bit fields.
26225
26226 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
26227
26228         * regclass.c (scan_one_insn): Notice subregs that change the
26229         size of their operand.
26230         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
26231
26232 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
26233
26234         * configure.in (alpha*-*-*): Include alpha/t-ieee.
26235         * configure: Rebuilt.
26236         * alpha/t-ieee: New file.
26237
26238 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
26239
26240         * rs6000.c (find_addr_reg): Do not select r0 as an address
26241         register.
26242
26243 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
26244
26245         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
26246
26247 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
26248
26249         * rs6000.md (movsf): Do not force easy FP constants into memory.
26250
26251         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
26252         immed_double_const to ensure they are properly truncated then
26253         sign extended.
26254
26255 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
26256
26257         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
26258         always unless NO_DEBUG is used.  Compile this code
26259         unconditionally.
26260         (replace_symbols_in_block): Compile it unconditionally.
26261
26262 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
26263
26264         * configure.in (i?86-*-elf*): New target.
26265         * configure: Rebuilt.
26266         * i386/i386elf.h, i386/t-i386elf: New files.
26267
26268 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
26269
26270         * toplev.c (main): Don't complain about saying -gdwarf.
26271         (rest_of_compilation): Remove redundant code.
26272
26273 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
26274
26275         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
26276
26277 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
26278
26279         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
26280         "Li960R:", to avoid name clash.
26281
26282 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26283
26284         * loop.c (check_dbra_loop): When reversing a loop, delete all
26285         REG_EQUAL notes referencing the reversed biv except those which are
26286         for a giv based on it.
26287
26288 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
26289
26290         * version.c: Drop "gcc-" prefix from version #.
26291
26292 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
26293
26294         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
26295         the label if we're being verbose.
26296
26297 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
26298
26299         * m68k.c (output_function_prologue): Add pic register to mask
26300         if live and flag_pic.
26301         (output_function_epilogue): Likewise.
26302
26303 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
26304
26305         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
26306         directives in column zero.
26307
26308         * pa/elf.h (ASM_FILE_START): Define.
26309         * pa/som.h (ASM_FILE_START): Include .level directives.
26310         * pa/hpux10.h (ASM_FILE_START): Delete.
26311         * pa/hpux11.h (ASM_FILE_START): Delete.
26312
26313         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
26314
26315 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26316
26317         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
26318         when reload_out equals reload_in.
26319
26320 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
26321
26322         * invoke.texi (Spec Files): New node: Describe the contents of
26323         spec files.
26324
26325 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
26326
26327         * invoke.texi (DEC Alpha Options): Put @end table at
26328         beginning of line, to avoid confusing texi2html.
26329
26330 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
26331
26332         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
26333         introduced in previous delta.
26334
26335 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
26336
26337         * reload1.c (gen_reload): When synthesizing a 3 operand add
26338         sequence, improve test for when to reload OP1 into the reload
26339         register instead of OP0.
26340
26341 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
26342
26343         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
26344
26345 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
26346
26347         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
26348         string literal.
26349
26350 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
26351
26352         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
26353         (va_dcl): Use __builtin_va_alist_t.
26354
26355 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
26356
26357         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
26358         on the permanent_obstack.
26359         * dwarfout.c (output_type): Likewise.
26360
26361 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26362
26363         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26364         Merged from c-typeck.c and cp/typeck.c.
26365         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26366         Merged into c-common.
26367
26368 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
26369
26370         * c-lex.c (errorcount): Declare it.
26371         (finish_parse): Update errorcount when using CPPLIB.
26372
26373 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
26374
26375         * fixinc/inclhack.def(end_else_label): Double the backslash so
26376         sed gets a chance to see it.
26377         * fixinc/inclhack.sh: regen
26378         * fixinc/fixincl.x: regen
26379
26380 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
26381
26382         Add framework to support armv5 architecture when it becomes
26383         available:
26384
26385         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
26386         (arm_arch5): New variable.
26387         (all_architectures): Add armv5 line.
26388         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
26389         -march=armv5 is specified on the command line.
26390         (arm_arch5): Export this variable.
26391         * invoke.texi: Document new string accepted by -march= switch for
26392         ARM ports.
26393
26394         * config/arm/arm.h: Replace use of constant 12 as a register
26395         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
26396         * config/arm/arm.c: Replace use of constant 12 as a register
26397         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
26398
26399         * config/arm/elf.h: Tidy up.
26400         * config/arm/coff.h: Tidy up.
26401
26402 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
26403
26404         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
26405         * gcc/config/mips/t-iris6gld: New file.
26406         * gcc/config/mips/iris6gld.h: Likewise.
26407
26408 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26409
26410         * c-decl.c (widest_integer_literal_type_node,
26411         widest_unsigned_literal_type) : New.
26412         (init_decl_processing): Handle/use the two new types.
26413         * c-common.c (type_for_size,type_for_mode) : Same.
26414         * c-lex.c (yylex) : Same.
26415         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26416         Same.
26417         * c-tree.h (widest_integer_literal_type_node,
26418         widest_unsigned_literal_type) : New.
26419
26420 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
26421
26422         * dwarfout.c (field_byte_offset): Correctly compute the object's
26423         byte offset for the first bit of a field which crosses an alignment
26424         boundary on a !BYTES_BIG_ENDIAN target.
26425
26426 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
26427
26428         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
26429         ntohs.
26430
26431 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
26432                           Jeff Law <law@cygnus.com>
26433
26434         * ginclude/varargs.h (va_dcl): Use word_mode for type of
26435         __builtin_va_list.
26436
26437         * except.c: Include intl.h.
26438         (expand_eh_return): Set current_function_cannot_inline.
26439         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
26440         * function.h (struct function): Add eh_return_stub_label.
26441         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
26442         * Makefile.in (except.o): Depend on intl.h.
26443
26444 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
26445
26446         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
26447         same as offsettable in cases 1 and 2.
26448
26449 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
26450
26451         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
26452         (extlh, extwh): Likewise.
26453
26454 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26455
26456         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
26457
26458 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
26459
26460         * configure.in: Add arm-pe and thumb-pe targets.
26461         * configure: Regenerate.
26462
26463         * thumb.c (arm_naked_function_p): New function: Determines if
26464         a function is naked (has no gcc generated prologue/epilogue).
26465         (is_called_in_ARM_mode): Return true if the func has the
26466         interfacearm attribute.
26467         (output_return): Do not generate a return for naked functions.
26468         (thumb_function_prologue): Do not generate a prologue for
26469         naked functions.
26470         (thumb_expand_prologue): Do not generate a prologue for naked
26471         functions.
26472         (thumb_expand_epilogue): Do not generate an epilogue for naked
26473         functions.
26474         (arm_valid_machine_decl_attribute): New function, copied from
26475         arm.c:  Permit naked and interfacearm attributes.
26476
26477         * config/arm/pe.c: New file: Support code for arm-pe target.
26478         * config/arm/pe.h: New file: Header file for arm-pe target.
26479         * config/arm/tpe.h: New file: Header file for thumb-pe target.
26480         * config/arm/t-thumb-pe: New file: Makefile fragment for
26481         thumb-pe target.
26482
26483 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
26484
26485         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
26486         -fPIC or -fpic is specified.
26487
26488 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
26489
26490         * expr.c (emit_block_move): Use copy_to_mode_reg for
26491         !TARGET_MEM_FUNCTIONS case too.
26492
26493         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
26494         appropriate.
26495         * configure: Rebuilt.
26496         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
26497         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
26498         definitions made redundant by dbxelf.h inclusion.  Delete
26499         lots of definitions related to assembly output that are
26500         specific to the SOM object format.
26501         * pa.c (output_function_prologue): Do not emit the function's
26502         name for OBJ_ELF.
26503         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
26504         * pa-pro.h: Deleted.
26505         * som.h: New file with SOM specific definitions.
26506         * elf.h: New file with ELF specific definitions.
26507
26508         * elfos.h (const_section): Output a tab before assembler directives.
26509         (ctors_section, dtors_section): Likewise.
26510         (ASM_OUTPUT_SECTION_NAME): Likewise.
26511
26512         * pa/pa1.h: Delete unused file.
26513
26514 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
26515
26516         * configure.in (hppa*-hp-hpux11*): New configuration.
26517         * configure: Rebuilt.
26518         * pa/pa-hpux11.h: New file.
26519         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
26520         command line.
26521
26522         * mips.md (leasi, leadi): New patterns.
26523
26524         * expr.c (emit_block_move): Properly handle case where one of the
26525         block move arguments has a queued increment or decrement.
26526         (clear_storage): Similarly.  Fix formatting goof.
26527
26528 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
26529
26530         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
26531         semicolon from the BSD VA_LIST replacement expression.
26532
26533         * fixinc/inclhack.sh: regen
26534         * fixinc/fixincl.x: regen
26535
26536         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
26537         now use the fixincl program.
26538
26539 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
26540
26541         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
26542         case.  Also make the PIC register call_used.
26543
26544         * m68k.h (FINALIZE_PIC): Delete.
26545         * m68k.c (finalize_pic): Delete.
26546
26547 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
26548
26549         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
26550         to memory.
26551
26552 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
26553
26554         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
26555
26556 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
26557
26558         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
26559
26560 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
26561
26562         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
26563
26564 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
26565
26566         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
26567
26568 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
26569
26570         * rs6000.c (output_toc): Always use hex values for floating-point
26571         constants.  Store single-precision values in upper-half of TOC
26572         entry in 64-bit mode.
26573         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
26574         to final constraints.
26575         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
26576         (fctiwz): Improve accuracy of RTL for pattern.
26577
26578 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26579
26580         * expr.c (expand_expr): Allow RTL_EXPR's through the
26581         MAX_INTEGER_COMPUTATION_MODE checks.
26582
26583 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
26584
26585         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
26586         such that MASK_SUPPORT_ARCH is not negative.
26587
26588 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
26589
26590         * loop.c (verify_dominator): Properly handle ADDR_VEC and
26591         ADDR_DIFF_VEC insns that appear inside loops.
26592
26593 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
26594                           Jeff Law <law@cygnus.com>
26595
26596         * rs6000.md (movdf_hardfloat32): Revert previous patch.
26597         Handle LO_SUM the same as offsettable in cases 1 and 2.
26598         * rs6000.c (find_addr_reg): Revert previous patch.
26599
26600 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
26601
26602         * system.h (strstr): New external function declaration.
26603         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
26604         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
26605         * config.in, configure: Rebuilt.
26606
26607 1999-06-24  Tom Tromey  <tromey@cygnus.com>
26608
26609         * gcc.c (main): Read user-specified specs files after computing
26610         additional startfile_prefixes.
26611
26612 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
26613
26614         Revert these two patches:
26615
26616         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26617         * loop.c (strength_reduce): When doing biv->giv conversion, update
26618         reg note of NEXT->insn.
26619
26620         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26621         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26622         reg_biv_class.
26623         (recombine_givs): Set ix field after sorting.
26624
26625 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26626
26627         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
26628         for the parts of an UNSPEC / UNSPEC_VOLATILE.
26629
26630 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
26631
26632         *fixinc/inclhack.def:  Add fix development commentary
26633         (read_ret_type): reactivate and add selection clause
26634         (zzz_*): tweak output file name to match what is used in hackshell.tpl
26635         *fixinc/{fixincl.x|inclhack.sh}: regen
26636
26637 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
26638
26639         * expr.c (expand_expr): STRIP_NOPS before checking against
26640         MAX_INTEGER_COMPUTATION_MODE
26641         (check_max_integer_computation_mode): Likewise.
26642
26643 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
26644
26645         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
26646
26647 1999-06-22  Jim Wilson  <wilson@cygnus.com>
26648
26649         * expr.c (store_expr): When target is a promoted subreg, return a
26650         promoted subreg as a result.
26651
26652 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
26653
26654         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
26655         coding standards.
26656         (dwarf2out_define): Mark unused parameters appropriately.
26657         (gen_unspecified_parameters_die): Ditto.
26658         (gen_subprogram_die): Fix signed/unsigned warnings.
26659         (gen_variable_die): Ditto.
26660
26661 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
26662
26663         * fixinc/inclhack.def(end_else_label): combined else_label
26664         and endif_label and fixed the sed expression.
26665         *fixinc/{fixincl.x|inclhack.sh}: regen
26666
26667 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
26668
26669         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
26670         'x' when handling non-offsettable addresses
26671
26672 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
26673
26674         * final.c (shorten_branches): Don't try to split an insn that has
26675         been deleted.
26676
26677 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
26678
26679         * config/mips/mips.c (symbolic_expression_p): New function.
26680         (mips_select_rtx_section): Put symbolic expressions in the
26681         data section, not the read-only data section.
26682
26683 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
26684
26685         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
26686
26687 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
26688
26689         * collect2.c (main): Log frame table count.
26690         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
26691         (scan_prog_file) [COFF]: Handle frame tables.
26692
26693         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
26694         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
26695         * alpha/elf.h: Undef them again.
26696         * alpha/vms.h: Remove their definitions.
26697
26698 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26699
26700         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
26701         remove the clobber of r0 and change the REG_UNUSED note to
26702         REG_INC.
26703
26704 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
26705
26706         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
26707         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
26708         fits in HOST_WIDE_INT and one uses union to access a long constant
26709         as double.
26710
26711 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
26712
26713         * sparc.c (sparc_override_options): Don't allow profiling for
26714         code models other than medlow.
26715         (sparc_function_profiler): New function from old FUNCTION_PROFILER
26716         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
26717         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
26718         (sparc_block_profiler): Likewise.
26719         (sparc_function_block_profiler_exit): Likewise.
26720         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
26721         (FUNCTION_BLOCK_PROFILER): Likewise.
26722         (BLOCK_PROFILER): Likewise.
26723         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
26724         (MCOUNT_FUNCTION): New.
26725         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
26726         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
26727         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
26728         (MCOUNT_FUNCTION): New.
26729         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
26730         (BLOCK_PROFILER): Delete.
26731         (MCOUNT_FUNCTION): New.
26732
26733 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
26734
26735         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
26736
26737 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
26738
26739         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26740         Add the macros.
26741
26742         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26743         Ditto.
26744
26745         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26746         Ditto.
26747
26748         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26749         Ditto.
26750
26751 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
26752
26753         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
26754         types.
26755
26756 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
26757
26758         * i386/djgpp.h (LIB_SPEC): New.
26759         (STARTFILE_SPEC): New.
26760
26761         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
26762
26763 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
26764
26765         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
26766         compiler flags.
26767
26768         * system.h (WSTOPSIG): New macro.
26769
26770 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
26771
26772         * c-pragma.c (push_alignment): Don't ignore alignments greater than
26773         4 bytes.
26774         (insert_pack_attributes): Take into account member natural
26775         alignment.
26776
26777         * i386/winnt.c (exports_head): New static variable.
26778         (i386_pe_record_exported_symbol): New function.
26779         (i386_pe_asm_file_end): Use.
26780         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
26781         symbols to be emitted at end of assembly.
26782         (ASM_DECLARE_OBJECT_NAME): Likewise.
26783         (ASM_DECLARE_FUNCTION_NAME): Likewise.
26784
26785         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
26786         -iwithprefix.
26787
26788 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
26789
26790         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
26791         in last change.
26792
26793 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
26794
26795         * haifa-sched.c (sched_analyze_1): Use free_list instead of
26796         zapping reg_last_uses directly.
26797         (sched_analyze_2, sched_analyze_insn): Likewise.
26798         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
26799
26800 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
26801
26802         * rs6000.md (movdf_hardfloat32): Use worst case insn length
26803         attributes for cases 1 and 2.
26804
26805 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
26806
26807         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
26808         instead of set.
26809
26810 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
26811
26812         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
26813
26814 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
26815
26816         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
26817         PIC_OFFSET_TABLE_REGNUM for general alloaction.
26818         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
26819         must be stacked if it is used for PIC accesses.
26820         * arm.c (use_return_insn): Handle PIC register specially.
26821         (output_return_instruction): Likewise.
26822         (output_func_{prologue,epilogue}): Likewise.
26823         (output_expand_prologue): Likewise.
26824
26825         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
26826         (*strsi_predec): Renamed from *strqi_predec.
26827         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
26828         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
26829
26830         * arm.c (arm_override_options): Remove warning about PIC code
26831         not being supported.
26832
26833 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
26834
26835         * rs6000.c (find_addr_reg): New function.
26836         * rs6000.h (find_addr_reg): Declare.
26837         (offsettable_addr_operand): Delete.
26838         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
26839         from and stores to GPRs.
26840
26841 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
26842
26843         * alpha.c (alpha_expand_block_move): Use get_insns rather than
26844         gen_sequence as argument to emit_no_conflict_block.
26845
26846 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26847
26848         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
26849         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
26850         *fixinc/fixincl.x: regen
26851         *fixinc/inclhack.sh: regen
26852
26853 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
26854
26855         * added support for -mpcrel (PC relative addressing for m68k)
26856         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
26857         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
26858         * m68k.c (print_operand_address): Handle 32-bit PIC case.
26859         (comments for general_src_operand): Add some explanation
26860         about EXTRA_CONSTRAINTS.
26861         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
26862         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
26863         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
26864         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
26865         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
26866         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
26867         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
26868         if not already set.
26869         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
26870         * m68k.h (TARGET_PCREL): New target flag.
26871         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
26872         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
26873         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
26874         contains a SYMBOL_REF.  Relax this constraint during reload, since
26875         we want to use the predicates, not reload's built-in concept of a
26876         valid memory address, to control what insns need reloading.
26877         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
26878         operands (essentially 'g', 'm', and 's' under normal circumstances).
26879         * m68k.c (print_operand): Cause printing of pc-relative addresses
26880         to include pc register.
26881         (print_operand_address): Ditto.
26882         (general_src_operand): Accept operands that are not only
26883         general_operands, but are also valid when used as a pc-relative
26884         source.
26885         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
26886         (memory_src_operand): Similar, for memory_operands.
26887         (pcrel_address): New predicate to accept the special case of a
26888         pc-relative address.
26889         * m68k.md (many patterns): Rewrite common SImode, HImode, and
26890         QImode insns to accept *_src_operand instead of *_operand where
26891         pc-relative operands can fit.  For example, a pc-relative operand
26892         can be used as a memory source operand for addsi3, but not as a
26893         memory destination.
26894         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
26895
26896 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
26897
26898         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
26899         .thumb_set pseudo op to mark aliases of thumb functions.
26900
26901 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
26902
26903         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
26904         preference to ASM_OUTPUT_DEF, if it is defined.
26905
26906         * tm.texi: Document new, optional target macro
26907         ASM_OUTPUT_DEF_FROM_DECLS.
26908
26909 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26910
26911         * fixincludes: ISCNTL patch
26912         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
26913         (dgux_int_varargs): new for DG/UX
26914         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
26915
26916 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
26917
26918         * invoke.texi (ia32 options): Fix typo.
26919
26920 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26921
26922         * loop.c (strength_reduce): When doing biv->giv conversion, update
26923         reg note of NEXT->insn.
26924
26925 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
26926
26927         * loop.c (move_movables): Note issues with replacing REGs with
26928         SUBREGs.
26929         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
26930
26931 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
26932
26933         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
26934
26935         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
26936         the reference to `mcount' was not correct for the ELF on FreeBSD.
26937
26938 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26939
26940         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26941         reg_biv_class.
26942
26943         (recombine_givs): Set ix field after sorting.
26944
26945 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
26946
26947         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
26948         to safe to extract a subword out of a REG.
26949
26950 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26951
26952         * sh.md (mulsi3): Don't add a no-op move at the end.
26953
26954 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26955
26956         * cse.c (cse_insn): Don't put hard register source into tables for
26957         the last insn of a libcall.
26958
26959 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26960
26961         * loop.c (strength_reduce): Insert sets of derived givs at every
26962         biv increment, even if it's the only one.
26963
26964 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
26965
26966         * dwarfout.c (add_incomplete_type): New fn.
26967         (output_type): Call it.
26968         (retry_incomplete_types): New fn.
26969         (dwarfout_finish): Call it.
26970
26971         From Eric Raskin <ehr@listworks.com>:
26972         (output_type): Output types for bases.
26973
26974 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
26975
26976         * mips.c (mips_output_conditional_branch): Add `break'
26977         between `default' label and `close braces'.
26978
26979 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
26980
26981         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
26982         specifications and make it realistic.
26983         (LIB_SPEC): Likewise.
26984
26985 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
26986
26987         * config/mips/mips.c (mips_secondary_reload_class): Check for
26988         (PLUS (SP) (REG)) and return appropriate register class.
26989         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
26990         Handle (PLUS (SP) (REG)).
26991         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
26992         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
26993         of emit_insn for tablejump.
26994
26995 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
26996
26997         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
26998         asm_fprintf format string by itself.
26999         (output_function_profiler): Likewise.
27000
27001 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
27002
27003         * combine.c (simplify_logical, case AND): Only call
27004         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
27005         or the constant is positive.
27006
27007 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
27008
27009         * configure.in: Fix typo in rs6000-ibm-aix4 case.
27010         * configure: Regenerate.
27011
27012 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
27013
27014         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
27015         require a sub-version #.
27016         * configure: Rebuilt.
27017
27018 1999-06-14  Robert Lipe  (robertlipe@usa.net)
27019
27020         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
27021
27022 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
27023
27024         * c-typeck.c (process_init_element): Detect excess elements in
27025         char array initializer.
27026
27027 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
27028
27029         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
27030
27031 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
27032
27033         * invoke.texi (Option Summary): Add -fpermissive flag.
27034
27035 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
27036
27037         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
27038         that require PIC code sequences.
27039
27040 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
27041
27042         * configure.in: Add new target: thumb-elf.
27043         * configure: Regenerate.
27044         * config/arm/t-thumb-elf: New file: Makefile fragment for
27045         thumb-elf build.
27046         * config/arm/telf.h: New file: Header file for thumb-elf
27047         build.
27048
27049 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
27050
27051         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
27052         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
27053         initializers is some circumstances.
27054
27055         * fixinc/inclhack.def (endif_label): Add additional selector for
27056         more bogus stuff after #endif statements.
27057         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
27058
27059 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27060
27061         * i386/cygwin.h (SET_ASM_OP): Define.
27062
27063 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27064
27065         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
27066
27067 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27068
27069         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
27070         latter.
27071
27072         * sh.md (ic_invalidate_line_i): Remove second alternative.
27073
27074 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27075
27076         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
27077         test for the presence of valid prototypes.  Delete bypass expr.
27078         (ioctl_fix_ctrl): Correct the selection expression.
27079         (no_double_slash): Correct quoting rules
27080         *fixinc/fixincl.x: regen
27081         *fixinc/inclhack.sh: regen
27082
27083 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
27084
27085         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
27086
27087 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
27088
27089         * rs6000.md (movsi_got_internal_mem): Delete.
27090         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
27091         (GOT_TOC_REGNUM): Delete.
27092         (PIC_OFFSET_TABLE_REGNUM): Define.
27093         (FINALIZE_PIC): Disable.
27094         * rs6000.c (rs6000_got_register): New code for fixed pic register.
27095         (rs6000_replace_regno): Delete.
27096         (rs6000_finalize_pic): Likewise.
27097         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
27098
27099 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27100
27101         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
27102         is a note; use <= for the compare; advance P while it is
27103         a NOTE.
27104
27105 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
27106
27107         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
27108         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
27109
27110         * varasm.c (remove_from_pending_weak_list): Verify t->name
27111         is non-NULL before passing it to strcmp.
27112
27113 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27114
27115         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
27116         the typed arguments are not part of a comment
27117         (ioctl_fix_ctrl): Added a purpose comment
27118         *fixinc/fixincl.x: regenerate
27119         *fixinc/inclhack.sh: regenerate
27120
27121 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
27122
27123         * invoke.texi: Add C4x invocation docs.
27124
27125 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
27126
27127         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
27128         Define new macros.
27129         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
27130         TARGET_EXPOSE_LDP.
27131         (c4x_legitimize_reload_address): New function.
27132         * config/c4x/c4x.md: Update docs.
27133
27134 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
27135
27136         * fixincludes: Avoid removing '.'.
27137         * fixinc/fixinc.svr4: Likewise.
27138         * fixinc/fixinc.winnt: Likewise.
27139         * fixinc/inclhack.tpl: Likewise.
27140         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
27141
27142 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
27143
27144         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
27145         pattern.
27146         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
27147
27148 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27149
27150         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
27151         correctly.
27152
27153 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
27154
27155         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
27156         * configure: Regenerate.
27157
27158 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
27159
27160         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
27161         values.
27162
27163 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
27164
27165         * fixinc/inclhack.def (avoid_bool): Also catch
27166         "typedef [unsigned] int bool".
27167         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
27168
27169         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
27170         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
27171         * configure: Rebuilt.
27172
27173 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
27174
27175         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
27176         such that we can override its definitions if necessary.
27177         (CPP_SPEC): New define.  Support processor specific predefines via
27178         %(cpp_cpu).
27179         (CC1_SPEC): New define.  Support processor specific compiler
27180         options via %(cc1_cpu).
27181         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
27182         -static.
27183
27184 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
27185
27186         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
27187         between sed's -e flag, and the open-quote following it.
27188         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
27189
27190 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
27191                           Jeffrey A Law  (law@cygnus.com)
27192
27193         * varasm.c (assemble_start_function): Remove the function
27194         from the pending weak decls list when we define a function.
27195         (assemble_variable): Similarly for variables.
27196         (weak_finish): Ignore items on the list with a NULL name.
27197         (remove_from_ending_weak_list); New function to "remove" an item
27198         from the pending weak declarations list.
27199
27200 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
27201
27202         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
27203
27204 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
27205
27206         * c-lex.c (GETC): Redefine to call getch.
27207         (UNGETC): Redefine to call put_back.
27208         (putback_buffer): New structure type.
27209         (putback): New static structure.
27210         (getch): New function.
27211         (put_back): New function.
27212         (yylex): Replace unused bytes from bad multibyte character.
27213
27214 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
27215
27216         * cpplib.c (do_define): Cast `alloca' return value.
27217         (do_include, do_undef, do_pragma): Likewise.
27218         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
27219         values.
27220         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
27221         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
27222
27223 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
27224
27225         * sparc.md (abstf2): This should be an expand.
27226         (split after abstf2_notv9): Fix mode.
27227         (abstf2_hq_v9): New pattern.
27228         (abstf2_v9): Only use when no hard quad.
27229         (absdf2_v9): Fix if target is not the same as source.
27230         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
27231         Add correct output constraints.
27232
27233 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
27234
27235         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
27236         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
27237
27238 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
27239
27240         * mips.h (mips_output_conditional_branch): New function.
27241         (mips_adjust_insn_length): Likewise.
27242         (ASSEMBLER_SCRATCH_REGNUM): New macro.
27243         (ADJUST_INSN_LENGTH): Likewise.
27244         * mips.c (print_operand): Add `F' and `W' for floating-point
27245         comparison opcodes.
27246         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
27247         are now in bytes.
27248         (mips_adjust_insn_length): New function.
27249         (mips_output_conditional_branch): New function.
27250         * mips.md (length): Adjust attribute definition to handle
27251         conditional branches.  Change lengths to bytes, rather than
27252         instructions throughout.  Remove length attribute from
27253         instructions whose length is four bytes, and rely on the default
27254         instead.
27255         (dslot): Fix typo in comment.
27256         Reword conditional branch patterns to use
27257         mips_output_conditional_branch.
27258
27259 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
27260
27261         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
27262         (LIB_SPEC): Likewise.
27263         Link with -lprof1_r for -g/-pg.
27264
27265 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27266
27267         * loop.c (check_dbra_loop): Fix change of Jan 19.
27268
27269 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
27270
27271         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
27272         (STARTFILE_SPEC):  Define, override the svr4.h version.
27273         (ENDFILE_SPEC):  Likewise.
27274
27275 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
27276
27277         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
27278         * fixinc/fixincl.x: Regenerated.
27279         * fixinc/inclhack.sh: Regenerated.
27280
27281 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27282
27283         * sh.c (barrier_align): Don't return early for normal branch/barrier
27284         when optimizing for SH2.
27285
27286 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
27287
27288         * i386/udk.h (LINK_SPEC): Correct linker search path for
27289         system libraries.
27290
27291 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27292
27293         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
27294         (braf_label_ref_operand): Delete.
27295         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
27296         * sh.md (casesi_jump_2): Operand1 is now the inside of a
27297         label_ref, and has no predicate.
27298         The patten has a predicate to guard against invalid substitutions.
27299         (dummy_jump): Delete.
27300         (casesi): Update use of casesi_jump_2.
27301
27302 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27303
27304         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
27305         *fixinc/fixincl.x: regenerate
27306         *fixinc/inclhack.sh: regenerate
27307
27308 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
27309
27310         * dwarf2out.c (add_incomplete_type): New fn.
27311         (gen_struct_or_union_type_die): Call it.
27312         (retry_incomplete_types): New fn.
27313         (dwarf2out_finish): Call it.
27314
27315 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
27316
27317         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
27318         current block starts with a CODE_LABEL and ends with a CALL and
27319         we can not find all the argument setup instructions for the CALL.
27320
27321 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
27322
27323         Revert this change:
27324         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
27325         something is a candidate for optimize_bit_field_compare.
27326
27327 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27328
27329         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
27330
27331 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
27332
27333         * alpha.c (override_options): Thinko in last patch.
27334
27335         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
27336         (LIB_SPEC): Recognize -pthread.
27337
27338 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
27339
27340         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
27341         definition in config/arm/coff.h
27342         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
27343
27344 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27345
27346         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
27347         fixes that need "file=xxx\n" prepended before invocation
27348         (start_fixer - new): starting the fixer process is complex enough
27349         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
27350         (process): uses the new routine; omit usage of putenv()
27351         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
27352         * fixinc/fixincl.x: regenerate
27353
27354 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
27355
27356         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
27357         and version #s (1.1 -> 2.96) as needed.
27358         * README.g77: Kill way out of date file in the toplevel directory.
27359
27360 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
27361
27362         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
27363         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
27364         * configure: Rebuilt.
27365         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
27366         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
27367         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
27368         (SWITCH_TAKES_ARG): Likewise.
27369         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
27370         * config/t-freebsd: Moved from config/i386/ so it can used for all
27371         FreeBSD targets.
27372
27373 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
27374
27375         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
27376
27377 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
27378
27379         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
27380         * configure: Rebuilt.
27381
27382 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
27383
27384         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
27385         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
27386         * rs6000/rs6000.c (rs6000_file_start): Use putc.
27387         (rs6000_output_load_toc_table): Same.
27388         (output_prolog, output_mi_thunk): Same.
27389         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
27390         (ASM_GLOBALIZE_LABEL): Use putc.
27391
27392 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
27393
27394         * alpha.md (reload_*_help): New patterns and splitters.
27395         (reload_*): Use them.
27396         (mov[qh]i): Likewise.
27397
27398 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
27399
27400         * cccp.c (handle_directive): Handle backslash-newlines in quoted
27401         strings correctly.
27402
27403 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
27404
27405         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
27406
27407 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
27408
27409         * flow.c (mark_regs_live_at_end, insn_dead_p,
27410         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
27411         and HARD_FRAME_POINTER_REGNUM special treatment if reload
27412         hasn't run or the frame pointer is needed.
27413         * haifa-sched.c (attach_deaths): Likewise.
27414         * sched.c (attach_deaths): Likewise.
27415
27416 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
27417
27418         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
27419         calculate_can_reach_end returns nonzero.
27420
27421         * configure.in (native gas tests): Search for an assembler in the
27422         same manner that the installed compiler will.
27423         * configure: Rebuilt.
27424         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
27425
27426         * alias.c (find_base_term): Improve handling of addresses
27427         constructed from binary operations.
27428
27429 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
27430
27431         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
27432
27433 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
27434
27435         * function.h (cleanup_label, frame_offset): Declare.
27436         (tail_recursion_label, tail_recursion_reentry): Likewise.
27437         (arg_pointer_save_area, rtl_expr_chain): Likewise.
27438         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
27439         (tail_recursion_label, tail_recursion_reentry): Likewise.
27440         (arg_pointer_save_area, rtl_expr_chain): Likewise.
27441
27442 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
27443
27444         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
27445         defined.
27446         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
27447         (MAX_OFILE_ALIGNMENT): Define.
27448
27449 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
27450
27451         * fixincl.c: Replace local include scheme with #includes of
27452         gansidecl.h and system.h.
27453         * procopen.c:  Likewise.
27454         * server.c:  Likewise.
27455
27456 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
27457
27458         * i386/t-dgux (EXTRA_PARTS): Add crti.o
27459         (crti.o): Add build rule and dependencies.
27460         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
27461
27462 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
27463
27464         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
27465         (LIB_LINUX_SPEC): Likewise.
27466         (LIB_LINUX_SPEC): Add support for -pthread
27467         (CPP_OS_LINUX_SPEC): Likewise.
27468         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
27469         specified.
27470
27471 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
27472
27473         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
27474         conditional move.
27475         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
27476         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
27477         for IEEE math and CC_FCOMI.
27478         (put_jump_code): No IEEE if CC_FCOMI is set.
27479
27480 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27481
27482         * fold-const.c (fold_truthop): Make the field reference unsigned
27483         when converting a single bit compare.
27484
27485 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27486
27487         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
27488
27489 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
27490
27491         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
27492         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
27493         version did.
27494
27495         * reload.c (push_reload): Do not call remove_address_replacements
27496         when presented with identical optional reloads.
27497
27498 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
27499
27500         * alpha.h (MASK_FIX, TARGET_FIX): New.
27501         (MASK_*): Reorganize constants.
27502         (CPP_AM_FIX_SPEC): New.
27503         (TARGET_SWITCHES): Add FIX.
27504         (EXTRA_SPECS): Likewise.
27505         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
27506         (SECONDARY_MEMORY_NEEDED): Likewise.
27507         (REGISTER_MOVE_COST): Likewise.
27508         * alpha.c (override_options): Add FIX support.  Always use
27509         ALPHA_TP_PROG for ev6.
27510         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
27511         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
27512         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
27513
27514 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
27515
27516         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
27517         something is a candidate for optimize_bit_field_compare.
27518
27519 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
27520
27521         * gcc.texi (Passes): Document branch-shortening.
27522         * invoke.texi (Debugging Options): Document the fact that `-dp'
27523         outputs length information for instructions.
27524
27525 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
27526
27527         * flow.c: Revert previous delta.
27528
27529 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
27530
27531         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
27532         FRAME_POINTER_REGNUM.
27533         (mark_set_1): Ditto.
27534         (mark_used_regs): Ditto.
27535
27536 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
27537
27538         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
27539         (GOT_PCREL): New macro.  Define to 1 if not already defined.
27540         * arm/elf.h (GOT_PCREL): Define to 0.
27541         * arm.c (arm_finalize_pic): Take into account the setting of
27542         GOT_PCREL.
27543
27544 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
27545
27546         * output.h (STRIP_NAME_ENCODING): Provide default definition.
27547         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
27548
27549         * flow.c (mark_set_1): Do not record BLKmode stores as dead
27550         store elimination candidates.
27551
27552 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
27553
27554         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
27555         TARGET_GAS.
27556
27557 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
27558
27559         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
27560         Add use of x-aix41-gld.
27561
27562 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
27563
27564         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
27565         (ASM_OUTPUT_DESTRUCTOR): Define.
27566
27567 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
27568
27569         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
27570         last CODE_LABEL in a loop if we have previously passed a jump
27571         to the top of the loop.
27572
27573 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
27574
27575         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
27576         applying Philip's patch.
27577
27578 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
27579
27580         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
27581         are not VAR_DECLs.
27582
27583 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
27584
27585         * loop.c (strength_reduce): Grow reg_single_usage as needed.
27586
27587 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
27588
27589         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
27590         Also remove a useless comment.
27591
27592 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
27593
27594         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
27595
27596 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
27597
27598         * collect2.c (main): Only generate import or export file and add
27599         to link arguments if non-empty.  Use xmalloc not alloca.
27600         (write_{export,import}_file): Delete.
27601         (write_aix_file): New function.
27602         (locatelib): Use xmalloc not malloc.
27603         (GCC_OK_SYMBOL): Do not check type if aix64.
27604
27605 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
27606
27607         Based on patch by Scott Bambrough and Pat Beirne:
27608         * config/arm/arm.c (making_const_table): New variable.
27609         * config/arm/arm.h (making_const_table): Declare.
27610         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
27611         appropriate.
27612         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
27613         Keep track of when we are building the constant table.
27614
27615 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
27616
27617         * config/arm/arm.c (arm_override_options): Fix erroneous warning
27618         message.
27619
27620 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
27621
27622         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
27623         defined.
27624
27625 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
27626
27627         * tm.texi (FUNCTION_ARG): Correct description of a stack element
27628         in a PARALLEL.
27629
27630 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
27631
27632         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
27633
27634 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
27635
27636         * rs6000.c (output_mi_thunk): Enable full support again.
27637
27638 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27639
27640         * sh.h (BRANCH_COST): Define.
27641
27642 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
27643
27644         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
27645
27646 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
27647
27648         * function.c (assign_stack_local): Align stack slot propertly.
27649         (assign_outer_stack_local): Likewise.
27650
27651 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
27652
27653         * expr.h (lang_expand_constant): Declare.
27654         * toplev.c (lang_expand_constant): Define it.
27655         * varasm.c (output_constant): Use it.
27656
27657 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
27658
27659         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
27660         Change function definitions to K&R style.
27661
27662 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27663
27664         * fixinc/fixincl.c: We must not ignore SIGCLD now.
27665
27666 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
27667
27668         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
27669         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
27670         (several places): omit static initialization
27671         (process): use single fd, since only the read fd is used
27672         * fixinc/gnu-regex.c: define 'const' away, if not supported
27673         * fixinc/procopen.c(several places): omit static initialization
27674         * fixinc/server.c: define 'volitile' away, if not supported
27675
27676 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27677
27678         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
27679         asm_fprintf and %L to generate the label name.
27680         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
27681         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
27682
27683 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
27684
27685         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
27686         insn for a conditional jump can not be found.
27687
27688 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
27689
27690         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
27691         on variables in specific sections other than .sbss and .sdata.
27692
27693 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
27694
27695         * stmt.c (expand_return): Call start_cleanup_deferral and
27696         end_cleanup_deferral around conditional code.
27697
27698 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27699
27700         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
27701         filename lists.  Utilizes new "krstr" AutoGen function.
27702         * fixinc/fixincl.x: Rebuilt.
27703
27704 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
27705
27706         * i386.c (output_float_compare): Avoid GNU-C extensions.
27707
27708 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
27709
27710         * version.c: Bump to distinguish mainline tree from the
27711         gcc-2.95 branch.
27712
27713 See ChangeLog.1 for earlier changes.